JP2010193025A - Data processing method, reader/writer and mobile terminal - Google Patents

Data processing method, reader/writer and mobile terminal Download PDF

Info

Publication number
JP2010193025A
JP2010193025A JP2009033508A JP2009033508A JP2010193025A JP 2010193025 A JP2010193025 A JP 2010193025A JP 2009033508 A JP2009033508 A JP 2009033508A JP 2009033508 A JP2009033508 A JP 2009033508A JP 2010193025 A JP2010193025 A JP 2010193025A
Authority
JP
Japan
Prior art keywords
reader
writer
terminal
portable terminal
processing
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.)
Withdrawn
Application number
JP2009033508A
Other languages
Japanese (ja)
Inventor
Yosuke Tanno
洋祐 丹野
Shinichi Ozawa
信一 小澤
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2009033508A priority Critical patent/JP2010193025A/en
Publication of JP2010193025A publication Critical patent/JP2010193025A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data processing method suitable for continuing processing by turning a mobile terminal to a carrier-on state again without interrupting the processing even if the mobile terminal is temporarily turned to a carrier-off state after starting the processing by turning the mobile terminal to the carrier-on state. <P>SOLUTION: A reader/writer recognizes the terminal ID of a mobile terminal existing in a communicable range by a short-distance radio communication interface, the reader/writer requests program processing to the recognized mobile terminal, and under a condition that coincidence between the recognized terminal ID and the terminal ID of the mobile terminal which is temporarily turned to a communication disabled state is obtained by collation, the reader/writer performs control for the re-establishment of communication with the mobile terminal (232, 233, 234). Since communication for restarting the interrupted processing is re-established under the condition of the coincidence of the terminal ID by collation, the continuation of the interrupted processing can be easily guaranteed even if the reader/writer is interrupted by the other mobile terminal when the mobile terminal is in the carrier-off state. The reader/writer manages execution steps of the program processing of the mobile terminal in a processing state. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、短距離無線通信インタフェースを有する携帯端末とリーダライタとの間で行うデータ処理方法、そして当該データ処理方法に好適な携帯端末及びリーダライタに関し、例えばネットワークに接続するリーダライタを介する音楽配信やチケット予約などのデータ処理に適用に有効な技術に関する。   The present invention relates to a data processing method performed between a portable terminal having a short-range wireless communication interface and a reader / writer, and a portable terminal and reader / writer suitable for the data processing method, for example, music via a reader / writer connected to a network. The present invention relates to a technique effective for application to data processing such as distribution and ticket reservation.

短距離無線通信インタフェースの1つとしてNFC(Near Field Communication)と称する短距離無線通信規格があり、ISO/IEC IS 18092として国際標準になっている。これは、13.56MHzの電波を使い、10cm程度のごく近距離で100〜400kbpsの双方向通信を可能とするものであり、非接触式ICカード、携帯電話やPDA(Personal Data Assistant)などの携帯端末に広く適用されている。   One of the short-range wireless communication interfaces is a short-range wireless communication standard called NFC (Near Field Communication), which is an international standard as ISO / IEC IS 18092. It uses 13.56MHz radio waves and enables two-way communication of 100 to 400kbps at a very short distance of about 10cm. It is a portable device such as a non-contact IC card, mobile phone, and PDA (Personal Data Assistant). Widely applied to terminals.

前記短距離無線通信インタフェースは、物品購入に対する決済や、交通機関の自動改札業務などに用いられる。前者の決済処理は1つのリーダライタとの間で完了する。後者の自動改札では、一のリーダライタとの間で入札の処理を完了し、他のリーダライタとの間で出札の処理を完了する。出札処理では入札処理で携帯端末に記録された情報を用いる。前記決済処理、入札処理、出札処理の夫々が行われるときには、携帯端末はリーダライタの通信圏内になければならず、途中で圏外に出たときは処理が中止され、最初から処理をやり直すことが必要になる。いずれにしても、1つのリーダライタの通信圏内に携帯端末を置いてデータ処理が行われるとき、持ち主が携帯端末を操作してそのデータ処理に関与することは行われていない。   The short-range wireless communication interface is used for payment for purchasing goods, automatic ticket gates for transportation, and the like. The former settlement process is completed with one reader / writer. In the latter automatic ticket gate, the bidding process is completed with one reader / writer, and the bidding process is completed with another reader / writer. In the billing process, information recorded on the mobile terminal in the bid process is used. When each of the settlement processing, bidding processing, and billing processing is performed, the mobile terminal must be within the communication range of the reader / writer, and if the mobile terminal goes out of service on the way, the processing is stopped and the processing can be restarted from the beginning. I need it. In any case, when data processing is performed by placing a mobile terminal within the communication range of one reader / writer, the owner does not operate the mobile terminal and participate in the data processing.

前記短距離無線通信を用いるデータ処理システムとして例えば特許文献1に記載されたものは、ICカードを外部のリーダライタにかざすことで、ICカードが無線インタフェースを通じてリーダライタと通信を始め、このとき、ICカードはその内部状態の変化をホストデバイスなどに与え、ホストデバイスが特定のアプリケーションの起動を制御したり電源制御を行ったりすることについて記載される。   As a data processing system using short-range wireless communication, for example, the one described in Patent Document 1 holds an IC card over an external reader / writer so that the IC card starts communicating with the reader / writer through a wireless interface. The IC card gives a change in its internal state to a host device or the like, and describes that the host device controls activation of a specific application or performs power supply control.

特開2003−141477号公報JP 2003-141477 A

本発明者は、前記短距離無線通信を用いるデータ処理において一つのアプリケーションに着目したとき、携帯端末をリーダライタの通信圏内に置く(キャリアオン)ことによって処理を開始した後、一旦、携帯端末をリーダライタの通信圏外に出す(キャリアオフ)ことによって処理を中断させず、再びキャリアオンすることでその処理を継続することについて検討した。例えば音楽配信ネットワークに接続されたリーダライタを用いて所望の音楽をダウンロードする場合、最初のキャリアオンで音楽配信会社との間のユーザ認証のようなセキュアな認証を行ってメニュープログラムを携帯端末にダウンロードし、その後、キャリアオフした状態でメニュー操作を行い、再度キャリアオンして選択曲目等をリーダライタから音楽配信会社に送信して所望の楽曲をダウンロードし、最後に決済を完了する、とういような処理である。しかしながら、そのような処理を考慮した技術について特許文献1に代表される従来技術にはみあたらなかった。本発明者の検討によれば、そのようなキャリアオンを複数回繰り返して一つのデータ処理を完結する方法は、処理途中のキャリアオフのときに当該リーダライタは他の携帯端末との間で別の処理を開始することが可能であるから、中断された処理の継続にはその点を考慮することが必要である。更に、処理が複雑な場合には中断された処理と継続する処理との間の整合性を採る仕組みが必要になる。また、中断期間が長過ぎる場合には、一つのリーダライタが多くのアプリケーション処理を制御しなければならなくなり、コンピュータリソースの規模が不所望に増大してしまう。   When the inventor pays attention to one application in the data processing using the short-range wireless communication, after starting the processing by placing the mobile terminal in the communication area of the reader / writer (carrier on), We examined how to continue the process by turning the carrier on again without interrupting the process by putting it out of the communication range of the reader / writer (carrier off). For example, when downloading desired music using a reader / writer connected to a music distribution network, the menu program is stored in the mobile terminal by performing secure authentication such as user authentication with the music distribution company at the first carrier-on. After downloading, perform the menu operation with the carrier turned off, then turn on the carrier again, send the selected song etc. from the reader / writer to the music distribution company, download the desired song, and finally complete the settlement. It is a process like this. However, there has been no conventional technique represented by Patent Document 1 regarding a technique that takes such processing into consideration. According to the inventor's study, a method for completing one data processing by repeating such carrier-on multiple times is such that the reader / writer is separated from other portable terminals when the carrier is off during the processing. Therefore, it is necessary to consider this point in order to continue the interrupted processing. Furthermore, when the process is complicated, a mechanism is required to ensure consistency between the interrupted process and the continued process. If the interruption period is too long, one reader / writer must control many application processes, and the scale of computer resources increases undesirably.

本発明の目的は、携帯端末をキャリアオンすることによって処理を開始した後、一旦、携帯端末をキャリアオフしても処理を中断させず、再びキャリアオンすることでその処理を継続する処理を行なうのに好適なデータ処理方法を提供することにある。   An object of the present invention is to perform a process of starting a process by turning on a mobile terminal and then continuing the process by turning on the carrier again without interrupting the process even if the mobile terminal is turned off. To provide a data processing method suitable for the above.

本発明の更に具体的な目的は、キャリアオンを複数回繰り返して一つのデータ処理を完結する場合に処理途中のキャリアオフのときリーダライタが他の携帯端末との間で別の処理を開始しても中断された処理の継続を保証することが容易なデータ処理方法を提供することにある。   A more specific object of the present invention is to start another process with another portable terminal when the carrier is turned off in the middle of processing when the carrier on is repeated a plurality of times to complete one data processing. It is an object of the present invention to provide a data processing method that can easily guarantee the continuation of the interrupted processing.

本発明の更に別の具体的な目的は、キャリアオンを複数回繰り返して一つのデータ処理を完結する処理が複雑な場合に中断された処理と継続する処理との間の整合性を容易に採ることができるデータ処理方法を提供することにある。   Still another specific object of the present invention is to easily achieve consistency between a suspended process and a continued process when the process of completing one data process by repeating carrier-on multiple times is complicated. An object of the present invention is to provide a data processing method.

本発明の更に別の具体的な目的は、キャリアオンを複数回繰り返して一つのデータ処理を完結する場合に処理の中断を許容することがコンピュータリソースの規模を不所望に増大させることのないデータ処理方法を提供することにある。   Still another specific object of the present invention is to allow data to be interrupted in a case where one data processing is completed by repeating carrier-on multiple times so that the scale of computer resources is not undesirably increased. It is to provide a processing method.

本発明の更に別の具体的な目的は、キャリアオンを複数回繰り返して一つのデータ処理を完結する場合に処理の中断期間に携帯端末でデータが改竄される虞を未然に防止することができるデータ処理方法を提供することにある。   Still another specific object of the present invention is to prevent the possibility of data being tampered with in a portable terminal during a processing interruption period when one data processing is completed by repeating carrier-on multiple times. To provide a data processing method.

本発明の別の目的は上記データ処理方法に好適な携帯端末を提供することにある。   Another object of the present invention is to provide a portable terminal suitable for the data processing method.

本発明の更に別の目的は上記データ処理方法に好適なリーダライタを提供することにある。   Still another object of the present invention is to provide a reader / writer suitable for the data processing method.

本発明の前記並びにその他の目的と新規な特徴は本明細書の記述及び添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち代表的なものの概要を簡単に説明すれば下記の通りである。   The following is a brief description of an outline of typical inventions disclosed in the present application.

すなわち、本発明に係るデータ処理方法は、短距離無線通信インタフェースによって通信可能な範囲にある携帯端末の端末IDをリーダライタが認識し、認識した携帯端末にリーダライタがプログラム処理を要求する要求し、一旦通信不能になった前記携帯端末との間における端末IDの照合一致を第1の条件として前記リーダライタが前記携帯端末との間で通信を再確立する制御を行う。端末IDの照合一致を条件に中断処理を再開するための通信を再確立するから、キャリアオフのとき他の携帯端末がリーダライタに割り込んでも中断された処理の継続を保証することが容易である。   That is, in the data processing method according to the present invention, the reader / writer recognizes the terminal ID of the portable terminal within the communicable range by the short-range wireless communication interface, and the reader / writer requests the recognized portable terminal to request program processing. The reader / writer performs control for re-establishing communication with the portable terminal using a terminal ID collation match with the portable terminal once unable to communicate as a first condition. Since communication for resuming the interruption process is re-established on the condition that the terminal ID is matched, it is easy to guarantee the continuation of the interrupted process even if another portable terminal interrupts the reader / writer when the carrier is off. .

前記リーダライタは前記携帯端末によるプログラム処理の実行段階を処理ステートの値で管理し、前記再開処理において、前記リーダライタが管理する処理ステートの値に一致する値が前記携帯端末から通知されることを条件として通信を再確立する制御を行う。キャリアオンを複数回繰り返して一つのデータ処理を完結する処理が複雑な場合に中断された処理と継続する処理との間の整合性を容易に採ることができる。処理が複雑でなくても、処理ステートを管理することにより、初めて通信圏内に入った携帯端末の端末IDなのか、処理途中で再度通信圏内に入った携帯端末の端末IDなのかを容易に区別することができる。   The reader / writer manages the execution stage of the program processing by the portable terminal with the value of the processing state, and in the restart process, a value that matches the value of the processing state managed by the reader / writer is notified from the portable terminal. Control to re-establish communication on condition of. When the process of completing one data process by repeating the carrier-on multiple times is complicated, it is possible to easily achieve the consistency between the interrupted process and the continued process. Even if processing is not complicated, by managing the processing state, it is easy to distinguish whether it is the terminal ID of a mobile terminal that has entered the communication range for the first time or the terminal ID of a mobile terminal that has entered the communication range again during processing can do.

前記リーダライタが認識した端末IDの携帯端末から一定時間応答がないとき、リーダライタは認識した端末IDを破棄するタイムアウト処理を行なう。これにより、コンピュータリソースの規模を不所望に増大させることを要せず、また、キャリアオフ中に携帯端末でデータが改竄される虞を未然に防止することができる。   When there is no response from the portable terminal having the terminal ID recognized by the reader / writer for a certain time, the reader / writer performs a timeout process for discarding the recognized terminal ID. Thereby, it is not necessary to unnecessarily increase the scale of computer resources, and it is possible to prevent the possibility of data being tampered with in the portable terminal during the carrier-off.

本願において開示される発明のうち代表的なものによって得られる効果を簡単に説明すれば下記のとおりである。   The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows.

すなわち、携帯端末をキャリアオンすることによって処理を開始した後、一旦、携帯端末をキャリアオフしても処理を中断させず、再びキャリアオンすることでその処理を継続する処理を行なうのに好適なデータ処理方法を実現することができる。   In other words, after the processing is started by turning on the carrier of the portable terminal, the processing is not interrupted even if the carrier of the portable terminal is once turned off, and suitable for performing the processing that continues the processing by turning on the carrier again. A data processing method can be realized.

図1はリーダライタと携帯端末との間の短距離無線通信を用いるデータ処理方法の手順を概略的に例示するフローチャートである。FIG. 1 is a flowchart schematically illustrating a procedure of a data processing method using short-range wireless communication between a reader / writer and a portable terminal. 図2はNFCによる短距離無線通信インタフェースを用いるデータ処理システムの構成を例示するブロック図である。FIG. 2 is a block diagram illustrating the configuration of a data processing system using a short-range wireless communication interface based on NFC. 図3は図1のデータ処理過程にけるリーダライタと一つの携帯端末との配置関係を例示する説明図である。FIG. 3 is an explanatory diagram illustrating the arrangement relationship between the reader / writer and one portable terminal in the data processing process of FIG. 図4は処理ステート1の処理におけるリーダライタ2、短距離無線通信制御チップ3、及びホストデバイス4の制御をそれぞれ関連付けて示したフローチャートである。FIG. 4 is a flowchart showing the control of the reader / writer 2, the short-range wireless communication control chip 3, and the host device 4 in the processing in the processing state 1 in association with each other. 図5は処理ステートNの処理におけるリーダライタ2、短距離無線通信制御チップ3、及びホストデバイス4の制御をそれぞれ関連付けて示したフローチャートである。FIG. 5 is a flowchart showing the control of the reader / writer 2, the short-range wireless communication control chip 3, and the host device 4 in the process state N in association with each other. 図6はNFCCHPにおけるEEPROM、ROM及びRAMの記憶情報を例示する説明図である。FIG. 6 is an explanatory diagram illustrating information stored in EEPROM, ROM and RAM in NFCCHP. 図7Aは図2のデータ処理システムを用いて例えばプリペイド型の電子マネーを購入するときにおける非接触通信を開始するための設定を行う処理動作を模式的に示す動作説明図である。FIG. 7A is an operation explanatory view schematically showing a processing operation for performing setting for starting contactless communication when, for example, prepaid electronic money is purchased using the data processing system of FIG. 図7Bは図2のデータ処理システムを用いて例えばプリペイド型の電子マネーを購入するときにおける非接触通信によってメニューダウンロードを行うときの処理動作を模式的に示す動作説明図である。FIG. 7B is an operation explanatory diagram schematically showing a processing operation when menu download is performed by non-contact communication when, for example, prepaid electronic money is purchased using the data processing system of FIG. 図7Cは図2のデータ処理システムを用いて例えばプリペイド型の電子マネーを購入するときにおける非接触通信でダウンロードしたメニューから選択を行う処理動作を模式的に示す動作説明図である。FIG. 7C is an operation explanatory view schematically showing a processing operation for selecting from a menu downloaded by contactless communication when, for example, prepaid electronic money is purchased using the data processing system of FIG. 図7Aは図2のデータ処理システムを用いて例えばプリペイド型の電子マネーを購入するときにおける選択項目に関する決済を行う処理動作を模式的に示す動作説明図である。FIG. 7A is an operation explanatory view schematically showing a processing operation for making a settlement relating to a selection item when, for example, prepaid electronic money is purchased using the data processing system of FIG. 図8Aは電子マネーを利用して音楽データをダウンロードするためのメニューを非接触通信でダウンロードするときの処理動作を模式的に示す動作説明図である。FIG. 8A is an operation explanatory diagram schematically showing a processing operation when a menu for downloading music data using electronic money is downloaded by non-contact communication. 図8Bは電子マネーを利用して音楽データをダウンロードするためのメニューを用いて項目選択を行うときの処理動作を模式的に示す動作説明図である。FIG. 8B is an operation explanatory diagram schematically showing a processing operation when an item is selected using a menu for downloading music data using electronic money. 図8Cは電子マネーを利用して音楽データをダウンロードして決済を行うときの処理動作を模式的に示す動作説明図である。FIG. 8C is an operation explanatory diagram schematically showing a processing operation when music data is downloaded using electronic money and payment is made. 図8Dはダウンロードした極を再生する場合を模式的に示す動作説明図である。FIG. 8D is an operation explanatory diagram schematically showing a case where the downloaded pole is reproduced. 図9は通信途中で携帯端末がリーダライタの通信圏外に出たときの動作を模式的に示す動作説明図である。FIG. 9 is an operation explanatory diagram schematically showing the operation when the mobile terminal goes out of the communication range of the reader / writer during communication.

1.実施の形態の概要
先ず、本願において開示される発明の代表的な実施の形態について概要を説明する。代表的な実施の形態についての概要説明で括弧を付して参照する図面中の参照符号はそれが付された構成要素の概念に含まれるものを例示するに過ぎない。
1. First, an outline of a typical embodiment of the invention disclosed in the present application will be described. Reference numerals in the drawings referred to in parentheses in the outline description of the representative embodiments merely exemplify what are included in the concept of the components to which the reference numerals are attached.

〔1〕<端末ID>本発明に係るデータ処理方法は、短距離無線通信インタフェースを有する携帯端末(1)と、前記携帯端末との間で双方向通信を行うリーダライタ(2)と、を用いてプログラム処理を行なうデータ処理方法であって、通信可能な範囲にある携帯端末の端末IDを前記リーダライタが認識する認識処理(214,215)と、認識した携帯端末にリーダライタがプログラム処理を要求する要求処理(218)と、一旦通信不能になった前記携帯端末との間における端末IDの照合一致を第1の条件として前記リーダライタが前記携帯端末との間で通信を再確立する制御を行う再開処理(232,234)と、を含む。端末IDの照合一致を条件に中断処理を再開するための通信を再確立するから、キャリアオフのとき他の携帯端末がリーダライタに割り込んでも中断された処理の継続を保証することが容易である。   [1] <Terminal ID> A data processing method according to the present invention comprises: a portable terminal (1) having a short-range wireless communication interface; and a reader / writer (2) that performs bidirectional communication with the portable terminal. A data processing method for performing program processing using a recognition process (214, 215) in which the reader / writer recognizes a terminal ID of a portable terminal within a communicable range, and the reader / writer performs program processing on the recognized portable terminal. The reader / writer re-establishes communication with the portable terminal using a request ID (218) for requesting a terminal ID and a matching match of the terminal ID between the portable terminal once unable to communicate as a first condition. And resumption processing (232, 234) for performing control. Since communication for resuming the interruption process is re-established on the condition that the terminal ID is matched, it is easy to guarantee the continuation of the interrupted process even if another portable terminal interrupts the reader / writer when the carrier is off. .

〔2〕<処理ステート>項1のデータ処理方法において、前記リーダライタは前記携帯端末による前記プログラム処理の実行段階に対応する処理ステートの値を管理し(217,221,239)、前記再開処理において、前記リーダライタが管理する処理ステートの値に一致する値が前記携帯端末から通知されることを第2条件として、前記リーダライタが前記携帯端末との間で通信を再確立する制御を行う(233,234)。これにより、キャリアオンを複数回繰り返して一つのデータ処理を完結する処理が複雑な場合に中断された処理と継続する処理との間の整合性を容易に採ることができる。処理が複雑でなくても、処理ステートを管理することにより、初めて通信圏内に入った携帯端末の端末IDなのか、処理途中で再度通信圏内に入った携帯端末の端末IDなのかを容易に区別することができる。   [2] <Processing state> In the data processing method according to item 1, the reader / writer manages a value of a processing state corresponding to an execution stage of the program processing by the portable terminal (217, 221, 239), and the restart processing The reader / writer performs control to re-establish communication with the portable terminal on the second condition that a value matching the value of the processing state managed by the reader / writer is notified from the portable terminal. (233,234). Thereby, it is possible to easily achieve consistency between the interrupted process and the continued process when the process of completing one data process by repeating the carrier-on multiple times is complicated. Even if processing is not complicated, by managing the processing state, it is easy to distinguish whether it is the terminal ID of a mobile terminal that has entered the communication range for the first time or the terminal ID of a mobile terminal that has entered the communication range again during processing can do.

〔3〕<タイムアウト処理>項1のデータ処理方法はさらに、前記リーダライタが認識した端末IDの携帯端末から一定時間応答がないとき、リーダライタは認識した端末IDを破棄するタイムアウト処理(235,241)を含む。これにより、コンピュータリソースの規模を不所望に増大させることを要せず、また、キャリアオフ中に携帯端末でデータが改竄される虞を未然に防止することができる。   [3] <Time-out process> The data processing method according to item 1 further includes a time-out process (235, where the reader / writer discards the recognized terminal ID when there is no response from the portable terminal having the terminal ID recognized by the reader / writer for a certain period of time. 241). Thereby, it is not necessary to unnecessarily increase the scale of computer resources, and it is possible to prevent the possibility of data being tampered with in the portable terminal during the carrier-off.

〔4〕<端末ID>本発明の更に具体的な観点によるデータ処理方法は、短距離無線通信インタフェースを有する携帯端末と、前記携帯端末との間で双方向通信を行うリーダライタと、を用いてプログラム処理を行なう方法であって、通信可能な範囲にある携帯端末の端末IDを前記リーダライタが認識する認識処理と、前記リーダライタが認識した端末IDの携帯端末にプログラムを送信するプログラム送信処理と、前記リーダライタが携帯端末にコマンドを送信するコマンド送信処理と、受信したコマンドに従って前記携帯端末が前記プログラムを実行した結果を前記リーダライタが受信する実行結果受信処理と、一旦通信不能になった前記携帯端末との間における端末IDの照合一致を第1の条件として前記リーダライタが前記携帯端末との間で通信を再確立する制御を行う再開処理と、を含む。   [4] <Terminal ID> A data processing method according to a more specific aspect of the present invention uses a portable terminal having a short-range wireless communication interface and a reader / writer that performs bidirectional communication with the portable terminal. And a program transmission for transmitting the program to the mobile terminal having the terminal ID recognized by the reader / writer, and a recognition process for recognizing the terminal ID of the mobile terminal within the communicable range. Processing, command transmission processing in which the reader / writer transmits a command to the portable terminal, execution result reception processing in which the reader / writer receives a result of the portable terminal executing the program in accordance with the received command, and communication is temporarily disabled. The reader / writer uses the portable terminal as a first condition that the terminal ID is matched with the portable terminal. Including, a restart processing performs control to re-establish communication with the.

〔5〕<処理ステート>項4のデータ処理方法において、前記リーダライタは前記携帯端末による前記プログラム処理の実行段階に対応する処理ステートの値を管理し、前記再開処理において、前記リーダライタが管理する処理ステートの値に一致する値が前記携帯端末から通知されることを第2の条件として、前記リーダライタが前記携帯端末との間で通信を再確立する制御を行う。   [5] <Processing state> In the data processing method according to item 4, the reader / writer manages a value of a processing state corresponding to an execution stage of the program processing by the portable terminal, and the reader / writer manages in the restart processing. The reader / writer performs control for re-establishing communication with the portable terminal under a second condition that a value that matches the value of the processing state to be transmitted is notified from the portable terminal.

〔6〕<タイムアウト処理>項4のデータ処理方法は更に、前記リーダライタが認識した端末IDの携帯端末から一定時間応答がないとき当該端末IDを破棄するための前記一定時間を計測するタイムアウト処理を含む。   [6] <Time-out process> The data processing method according to item 4 further includes a time-out process for measuring the predetermined time for discarding the terminal ID when there is no response from the portable terminal of the terminal ID recognized by the reader / writer for a predetermined time. including.

〔7〕項6のデータ処理方法において、前記コマンド送信処理が完了した後に前記リーダライタが前記タイムアウト処理を開始し、前記一定時間が経過する前に前記実行結果受信処理が開始されたとき前記タイムアウト処理を中止する。   [7] In the data processing method according to [6], when the reader / writer starts the timeout process after the command transmission process is completed, and the execution result reception process is started before the fixed time has elapsed, the timeout is performed. Cancel processing.

〔8〕項4のデータ処理方法において、前記リーダライタはネットワークを介して音楽配信を行い、前記携帯端末は前記リーダライタから楽音情報をダウンロードするPDAである。   [8] In the data processing method according to item 4, the reader / writer is a PDA that distributes music via a network, and the mobile terminal is a PDA that downloads musical tone information from the reader / writer.

〔9〕項4のデータ処理方法において、前記リーダライタはネットワークを介して有価証券又は物品の購入受付を行い、前記携帯端末は前記リーダライタを介して有価証券又は物品の購入申し込みを行うPDAである。   [9] In the data processing method according to [4], the reader / writer accepts purchase of securities or goods via a network, and the portable terminal is a PDA that applies for purchase of securities or goods via the reader / writer. is there.

〔10〕本発明に係る携帯端末は、リーダライタとの間で双方向通信を行う短距離無線通信デバイス(3)と、前記短距離無線通信デバイスに接続されたホストデバイス(4)とを有する。前記短距離無線通信デバイスは、前記リーダライタとの間の通信不能状態が通信可能状態に遷移したとき固有の端末IDを出力し(351)、前記端末IDの出力に応答して前記リーダライタからプログラムが送信されてきたときはメモリに格納し(337,423)、前記端末IDの出力に応答して前記リーダライタからコマンドが送信されてきたときは当該コマンドを前記ホストデバイスに与える(364)。前記ホストデバイスは与えられたコマンドに従って前記メモリのプログラムを実行して実行結果を前記短距離無線通信デバイスに与える(433)。前記短距離無線通信デバイスは、プログラムの実行結果を前記リーダライタに送信する(359)。携帯端末でプログラムをダウンロードしてからリーダライタとの通信圏外で当該プログラムを実行しても、その結果をリーダライタに返すために再度リーダライタとの通信圏内に入ったとき固有の端末IDを出力するから、リーダライタ側でその端末IDを用いることによって、他の携帯端末による処理と区別でき、中断された処理の継続を容易に保証することができる。   [10] A mobile terminal according to the present invention includes a short-range wireless communication device (3) that performs bidirectional communication with a reader / writer, and a host device (4) connected to the short-range wireless communication device. . The short-range wireless communication device outputs a unique terminal ID (351) when an incommunicable state with the reader / writer changes to a communicable state, and responds to the output of the terminal ID from the reader / writer. When the program is transmitted, it is stored in the memory (337, 423), and when a command is transmitted from the reader / writer in response to the output of the terminal ID, the command is given to the host device (364). . The host device executes the program in the memory according to a given command and gives an execution result to the short-range wireless communication device (433). The short-range wireless communication device transmits the execution result of the program to the reader / writer (359). Even if a program is downloaded from a mobile terminal and then executed outside the communication area with the reader / writer, a unique terminal ID is output when the program enters the communication area with the reader / writer again to return the result to the reader / writer. Therefore, by using the terminal ID on the reader / writer side, it can be distinguished from the processing by other portable terminals, and the continuation of the interrupted processing can be easily guaranteed.

〔11〕項10の携帯端末において、前記短距離無線通信デバイスは前記コマンドによるプログラムの実行段階に対応する処理ステートを管理する。前記短距離無線通信デバイスが前記端末IDを出力したときこれに応答してリーダライタから処理ステートの値が返されたとき(353)、前記短距離無線通信デバイスが管理する処理ステートの値に一致する値が前記リーダライタから通知されることを条件として、前記短距離無線通信デバイスは前記コマンドを前記ホストデバイスに与える(354,355,356)。キャリアオンを複数回繰り返して一つのデータ処理を完結する処理が複雑な場合に中断された処理と継続する処理との間の整合性を携帯端末側において容易に採ることができる。   [11] In the portable terminal of item 10, the short-range wireless communication device manages a processing state corresponding to a program execution stage based on the command. When the short-range wireless communication device outputs the terminal ID, a value of the processing state is returned from the reader / writer in response to this (353), and it matches the value of the processing state managed by the short-range wireless communication device The short-range wireless communication device gives the command to the host device on the condition that a value to be notified is notified from the reader / writer (354, 355, 356). When the process for completing one data process by repeating carrier-on multiple times is complicated, the consistency between the interrupted process and the continued process can be easily taken on the portable terminal side.

〔12〕項11の携帯端末において、前記短距離無線通信デバイスが前記端末IDの出力に応答してリーダライタから処理ステートの値が返されたとき(353)、前記短距離無線通信デバイスが管理する処理ステートの値に一致する値が前記リーダライタから通知されなかったとき、前記短距離無線通信デバイスは前記ホストデバイスに前記プログラムを廃棄させる(354,355,363,435)。これにより、中断された処理を継続する必要にない場合に不要なプログラムによってリソースが無駄に費やされることはない。   [12] In the portable terminal according to item 11, when the short-range wireless communication device returns a processing state value from the reader / writer in response to the output of the terminal ID (353), the short-range wireless communication device manages When the reader / writer does not notify a value that matches the processing state value to be performed, the short-range wireless communication device causes the host device to discard the program (354, 355, 363, 435). Thus, resources are not wasted by unnecessary programs when it is not necessary to continue the interrupted process.

〔13〕項10の携帯端末において、前記携帯端末は前記リーダライタから楽音情報をダウンロードするPDAである。   [13] The mobile terminal according to item 10, wherein the mobile terminal is a PDA that downloads musical tone information from the reader / writer.

〔14〕項10の携帯端末において、前記携帯端末は前記リーダライタを介して有価証券又は物品の購入申し込みを行うPDAである。   [14] The mobile terminal according to item 10, wherein the mobile terminal is a PDA that applies for purchase of securities or goods via the reader / writer.

〔15〕項10の携帯端末は更、バッテリ電源回路(8)を有する。前記短距離無線通信デバイスは、前記リーダライタから与えられる搬送波を整流して第1の内部電源電圧を生成する整流回路と、前記バッテリ電源から与えられるバッテリ電源を受けて第2の内部電源電圧を生成するレギュレータとを有する。前記短距離無線通信デバイスは、前記第1の内部電源電圧と前記第2の内部電源電圧を動作電源として利用する。リーダライタの通信圏外でも前記短距離無線通信デバイスはバッテリ電源を用いて動作することができる。   [15] The portable terminal of item 10 further includes a battery power supply circuit (8). The short-range wireless communication device receives a second internal power supply voltage in response to a rectifier circuit that rectifies a carrier wave supplied from the reader / writer to generate a first internal power supply voltage, and a battery power supply supplied from the battery power supply. And a regulator to generate. The short-range wireless communication device uses the first internal power supply voltage and the second internal power supply voltage as operation power supplies. The short-range wireless communication device can operate using a battery power source even outside the communication range of the reader / writer.

〔16〕本発明に係るリーダライタは、携帯端末との間で双方向通信を行うものであって、通信可能な範囲の携帯端末が出力する端末IDを始めて認識したとき(214)、当該端末IDを保持する(215)と共に、当該端末IDの携帯端末にプログラムを送信し(218)、プログラムを送信した後、携帯端末に前記プログラムを実行させるコマンドを送信し(234)、プログラムの実行結果を前記携帯端末から受信し(237)、一旦通信不能になった前記携帯端末との間で端末IDの照合が一致することを第1の条件として前記携帯端末との間で通信を再確立する(232,234)。これにより、携帯端末から初めに供給される端末IDを保持し、保持した端末IDと処理を再開するとき通知された端末IDとを照合することによって、他の携帯端末による処理と区別でき、中断された処理の継続を容易に保証することができる。   [16] The reader / writer according to the present invention performs bidirectional communication with a portable terminal, and when the terminal ID output by the portable terminal within a communicable range is first recognized (214), The ID is held (215), and the program is transmitted to the portable terminal of the terminal ID (218). After the program is transmitted, a command for executing the program is transmitted to the portable terminal (234), and the program execution result Is received from the portable terminal (237), and communication with the portable terminal is reestablished on the first condition that terminal ID collation matches with the portable terminal that has once become incapable of communication. (232, 234). As a result, the terminal ID initially supplied from the portable terminal is held, and the held terminal ID is compared with the terminal ID notified when the process is resumed, so that the process can be distinguished from the process by other portable terminals. The continuation of the processed processing can be easily guaranteed.

〔17〕項16のリーダライタは、前記携帯端末による前記プログラム処理の実行段階に対応する処理ステートの値を管理し(217,221,239)、前記リーダライタが管理する処理ステートの値に一致する値が前記携帯端末から通知されることを第2の条件として前記携帯端末との間で通信を再確立する(233,234)。これにより、中断された処理と継続する処理との間の整合性を容易に採ることができる。初めて通信圏内に入った携帯端末の端末IDなのか、処理途中で再度通信圏内に入った携帯端末の端末IDなのかを容易に区別することができる。   [17] The reader / writer of item 16 manages the value of the processing state corresponding to the execution stage of the program processing by the portable terminal (217, 221, 239), and matches the value of the processing state managed by the reader / writer Communication with the portable terminal is re-established as a second condition that a value to be notified from the portable terminal (233, 234). Thereby, consistency between the interrupted process and the continued process can be easily taken. It is possible to easily distinguish between the terminal ID of the mobile terminal that has entered the communication range for the first time and the terminal ID of the mobile terminal that has entered the communication range again during the processing.

〔18〕項16のリーダライタは、前記認識した端末IDの携帯端末から一定時間応答がないとき前記認識した端末IDを破棄するための前記一定時間を計測するタイムアウト処理を行なう。リーダライタのコンピュータリソースを不所望に増大させることを要せず、また、キャリアオフ中に携帯端末でデータが改竄される虞を未然に防止することができる。   [18] The reader / writer of item 16 performs a time-out process for measuring the predetermined time for discarding the recognized terminal ID when there is no response from the portable terminal of the recognized terminal ID for a predetermined time. It is not necessary to undesirably increase the computer resources of the reader / writer, and it is possible to prevent the possibility of data being tampered with in the portable terminal while the carrier is off.

〔19〕項18のリーダライタにおいて、前記コマンドの送信処理を完了した後に前記タイムアウト処理を開始し、前記一定時間の経過前に前記コマンドによるプログラムの実行結果を受信したとき、前記タイムアウト処理を中止する。   [19] In the reader / writer of item 18, the timeout process is started after the command transmission process is completed, and the timeout process is stopped when the execution result of the program according to the command is received before the predetermined time has elapsed. To do.

〔20〕項16のリーダライタはネットワークを介して携帯端末に音楽配信を行うものである。   [20] The reader / writer according to item 16 distributes music to a mobile terminal via a network.

〔21〕項16のリーダライタはネットワークを介して前記携帯端末から有価証券又は物品の購入受付を行うものである。   [21] The reader / writer according to item 16 accepts purchase of securities or goods from the portable terminal via a network.

2.実施の形態の詳細
実施の形態について更に詳述する。最初にシステム構成を説明してから、短距離無線通信インタフェース制御の詳細について順次説明する。
2. Details of Embodiments Embodiments will be further described in detail. First, the system configuration will be described, and then details of the short-range wireless communication interface control will be sequentially described.

《システム構成》
図2にはNFCによる短距離無線通信インタフェースを用いるデータ処理システムの構成が例示される。1は携帯端末としてのPDA、2はリーダライタ装置(本明細書においては単にリーダライトと記す)である。PDA1は、短距離無線通信制御用のデバイスである短距離無線通信制御チップ(NFCCHP)3、ホストデバイス(HST)4、ディスプレイ(DISP)5、入力回路(INDEV)6、アンテナ7、バッテリ電源回路(BTRY)8、及び音声出力インタフェース(MUSIF)9を備える。
"System configuration"
FIG. 2 illustrates the configuration of a data processing system using a short-range wireless communication interface by NFC. Reference numeral 1 denotes a PDA as a portable terminal, and 2 a reader / writer device (simply referred to as reader light in this specification). The PDA 1 includes a short-range wireless communication control chip (NFFCHP) 3, a host device (HST) 4, a display (DISP) 5, an input circuit (INDEV) 6, an antenna 7, and a battery power supply circuit that are devices for short-range wireless communication control. (BTRY) 8 and an audio output interface (MUSIF) 9 are provided.

ホストデバイス(HST)4は、ディスプレイコントローラ(DISPC)400、プログラムを実行するプロセッサコア(MCU)401、プログラムやデータを格納するRAM402、周辺デバイスコントローラ(PRPHC)405、接触通信インタフェース404または入力回路6から受信したデジタル音声データをアナログ音声データへ変換する音声処理回路(MUSP)406、変換されたアナログ音声データを出力する音声出力インタフェース9、短距離無線通信制御チップ3に信号線で端子を介して接続する接触インタフェース回路(CNTCTIF)404、バッテリ電源回路8から電源配線を介して動作電源電圧VDDを受ける接触電源端子(CNTCTPW)403、およびバス407を有し、単一の半導体集積回路チップで構成され、又は実装基板に複数個の半導体チップを実装して構成される。ディスプレイ5はディスプレイコントローラ400によって表示駆動制御される。入力回路6はキー入力回路やタッチパッド等で構成され、それによる入力データは周辺デバイスコントローラ405で認識されてプロセッサコア401等に渡される。ホストデバイス4、ディスプレイ5、及び入力回路6はバッテリ電源回路8から出力される電源電圧VDDを動作電源とする。   The host device (HST) 4 includes a display controller (DISPC) 400, a processor core (MCU) 401 that executes a program, a RAM 402 that stores programs and data, a peripheral device controller (PRPHC) 405, a contact communication interface 404, or an input circuit 6 A voice processing circuit (MUSP) 406 that converts digital voice data received from the analog voice data, a voice output interface 9 that outputs the converted analog voice data, and a short-range wireless communication control chip 3 via a signal line via a terminal A single semiconductor integrated circuit having a contact interface circuit (CNTCTIF) 404 to be connected, a contact power supply terminal (CNTCTPW) 403 that receives an operation power supply voltage VDD from the battery power supply circuit 8 via a power supply wiring, and a bus 407 Tsu is composed flop, or configured to mount a substrate by mounting a plurality of semiconductor chips. The display 5 is displayed and controlled by a display controller 400. The input circuit 6 is composed of a key input circuit, a touch pad, and the like, and input data thereby is recognized by the peripheral device controller 405 and passed to the processor core 401 and the like. The host device 4, the display 5, and the input circuit 6 use the power supply voltage VDD output from the battery power supply circuit 8 as an operation power supply.

短距離無線通信制御チップ3はアンテナ7を介してリーダライタ2とNFCによる短距離無線通信のインタフェース制御を行う。ホストデバイス4は、短距離無線通信制御チップ3に対する設定制御、短距離無線通信制御チップ3がダウンロードしたデータやプログラムに対するデータ処理などを行なう。   The short-range wireless communication control chip 3 performs interface control of short-range wireless communication by the reader / writer 2 and NFC via the antenna 7. The host device 4 performs setting control for the short-range wireless communication control chip 3, data processing for data and programs downloaded by the short-range wireless communication control chip 3, and the like.

短距離無線通信制御チップ3は、特に制限されないが、データプロセッサとしての基本的な機能と、NFCによる近接非接触インタフェース機能と、ホストデバイス4との接触インタフェース機能を備える。   The short-range wireless communication control chip 3 includes a basic function as a data processor, a proximity non-contact interface function by NFC, and a contact interface function with the host device 4 although not particularly limited.

前記データプロセッサ機能を実現するために、プログラムを実行する中央処理装置(CPU)308、割り込みコントローラ(INTC)306、短距離無線通信制御チップ3の動作モードなどを制御するシステムコントローラ(SYSC)309、コプロセッサ(COPRO)307、CPU308が実行するプログラムやデータを保持する読み出し専用のROM311、CPU308のワーク領域などに用いられるRAM312、電気的に書換え可能な不揮発性メモリ(EEPROM)314、タイマ(TMR)312、および内部バス319などを備える。システムコントローラ309によるモード制御に内容はシステム制御レジスタ(SYSREG)31の設定値などによって決定される。割り込みコントローラ306は、キャリアオンオフ情報(CRRSTP)や通信完了信号(COMCMP)などの割り込み要求に応答してCPU308に対して割り込み信号INTを出力する制御を行う。   In order to realize the data processor function, a central processing unit (CPU) 308 that executes a program, an interrupt controller (INTC) 306, a system controller (SYSC) 309 that controls an operation mode of the short-range wireless communication control chip 3, etc. A coprocessor (COPRO) 307, a read-only ROM 311 for holding programs and data executed by the CPU 308, a RAM 312 used for a work area of the CPU 308, an electrically rewritable nonvolatile memory (EEPROM) 314, a timer (TMR) 312 and an internal bus 319. The contents of the mode control by the system controller 309 are determined by the set value of the system control register (SYSREG) 31 or the like. The interrupt controller 306 performs control to output an interrupt signal INT to the CPU 308 in response to an interrupt request such as carrier on / off information (CRRSTP) or a communication completion signal (COMCMP).

前記ホストデバイス4との接触インタフェース機能を実現するために、ホストデバイス4と信号線で接続される接触通信インタフェース(CNTCTIF)317を備え、接触通信インタフェース(CNTCTIF)317とバス319との間に、接触インタフェース制御論理(CNTCTIFC)315が配置される。TXDはホストデバイス4への送信データ、RXDはホストデバイス4からの受信データである。接触インタフェース制御論理315のインタフェースデータ幅やインタフェース速度等はコントロールレジスタ(CNTREG)316の設定値に従って決定される。   In order to realize a contact interface function with the host device 4, a contact communication interface (CNTCTIF) 317 connected to the host device 4 through a signal line is provided, and between the contact communication interface (CNTCTIF) 317 and the bus 319, A touch interface control logic (CNTCTIFC) 315 is arranged. TXD is transmission data to the host device 4, and RXD is reception data from the host device 4. The interface data width, interface speed, etc. of the contact interface control logic 315 are determined according to the set value of the control register (CNTREG) 316.

前記近接非接触インタフェース機能を実現するために、アンテナ7に接続するアナログ回路(ANLG)300、及びアナログ回路300をバス319に接続するためのRFインタフェース制御回路(RFIFC)304を有する。アナログ回路300はアナログフロントエンドを構成するRF(Radio Frequency)アナログ回路(RFANLG)301を有する。RFアナログ回路301は、搬送波で形成された信号を検波して復調する受信回路(図示せず)、負荷変調によってアンテナ7を駆動する送信回路(図示せず)、搬送波を整流して動作電源電圧Vdd1を生成する整流回路(RCTF)302、およびバッテリ電源8からの電源電圧VDDを受けてNFCCHP3のもう一つの動作電源電圧Vdd2を生成するレギュレータ(RGLTR)303などを備える。Rxdは復調された信号、Txdは負荷変調制御信号である。RFインタフェース制御回路304は復調信号をデコードして受信データに変換し、また、送信データに基づいて負荷変調制御信号を生成する制御を行う。RFアナログ回路301は搬送波のエンベロープ検波信号などに基づいて搬送波、即ちキャリアが受信されるか否かを判別し、キャリアの受信があればキャリアオンオフ信号CRRSTPは非活性(オフ状態)にされ、キャリアの受信がなくなったときキャリアオンオフ信号CRRSTPが活性化(オン状態)される。このキャリアオンオフ信号の状態は、RFインタフェース制御回路304のキャリアモニタレジスタ305の値を読み出すことで確認でき、また必要に応じてキャリアオンオフ信号が変化するたびに割り込みコントローラ306に割り込み要求を発行させることができる。NFCCHP3の動作電源はVdd1とVdd2によって得られる。即ち、搬送波の整流によってVdd1が既定の電圧であればVdd1が用いられ、搬送波が途切れたときはVdd2が用いられる。実際には、Vdd1とVdd2は同じ電源配線に電圧を供給し、レギュレータ303の出力は高インピーダンスとされ、電圧Vdd1が不所望に高くなったとき、Vdd2側に電流が流れ込まないようになっている。   In order to realize the proximity non-contact interface function, an analog circuit (ANLG) 300 connected to the antenna 7 and an RF interface control circuit (RFIFC) 304 for connecting the analog circuit 300 to the bus 319 are provided. The analog circuit 300 includes an RF (Radio Frequency) analog circuit (RFANLG) 301 constituting an analog front end. The RF analog circuit 301 includes a reception circuit (not shown) that detects and demodulates a signal formed by a carrier wave, a transmission circuit (not shown) that drives the antenna 7 by load modulation, and an operating power supply voltage that rectifies the carrier wave A rectifier circuit (RCTF) 302 that generates Vdd1, a regulator (RGLTR) 303 that receives the power supply voltage VDD from the battery power supply 8 and generates another operating power supply voltage Vdd2 of NFCCHP3, and the like. Rxd is a demodulated signal, and Txd is a load modulation control signal. The RF interface control circuit 304 performs control to decode the demodulated signal and convert it into reception data, and to generate a load modulation control signal based on the transmission data. The RF analog circuit 301 determines whether or not a carrier wave, that is, a carrier is received based on the envelope detection signal of the carrier wave. If there is a carrier reception, the carrier on / off signal CRRSTP is deactivated (off state), and the carrier The carrier on / off signal CRRSTP is activated (ON state) when the reception of the signal is no longer received. The state of the carrier on / off signal can be confirmed by reading the value of the carrier monitor register 305 of the RF interface control circuit 304, and the interrupt controller 306 issues an interrupt request whenever the carrier on / off signal changes as necessary. Can do. The operating power supply of NFCCHP3 is obtained by Vdd1 and Vdd2. That is, Vdd1 is used when Vdd1 is a predetermined voltage due to rectification of the carrier wave, and Vdd2 is used when the carrier wave is interrupted. Actually, Vdd1 and Vdd2 supply voltage to the same power supply wiring, the output of the regulator 303 is set to high impedance, and when the voltage Vdd1 becomes undesirably high, no current flows into the Vdd2 side. .

上記リーダライタ2と携帯端末1によるシステムは、前記短距離無線通信を用いるデータ処理において一つのアプリケーションに着目したとき、携帯端末1をリーダライタ2の通信圏内に置く(キャリアオン)ことによって処理を開始した後、一旦、携帯端末1をリーダライタ2の通信圏外に出す(キャリアオフ)ことによって処理を中断させず次の非接触通信の前までの処理を継続して実行し、再びキャリアオンすることで非接触通信以降の処理を継続するようになっている。そのためのデータ処理手順について以下に詳述する。NFCCHP3の動作電源に関しては搬送波による電源電圧Vdd1だけでなく外部からの電源電圧Vdd2も利用可能にすることによってそれを保証している。   When the reader / writer 2 and the portable terminal 1 pay attention to one application in the data processing using the short-range wireless communication, the system is performed by placing the portable terminal 1 in the communication area of the reader / writer 2 (carrier on). After starting, once the mobile terminal 1 is taken out of the communication area of the reader / writer 2 (carrier off), the processing is continued until the next non-contact communication without interrupting the processing, and the carrier is turned on again. As a result, processing after non-contact communication is continued. The data processing procedure for this will be described in detail below. Regarding the operating power supply of NFCCHP3, not only the power supply voltage Vdd1 by the carrier wave but also the power supply voltage Vdd2 from the outside can be used.

《短距離無線通信インタフェースの概要》
リーダライタ2と携帯端末1との間の短距離無線通信を用いるデータ処理においては、一つのアプリケーションに着目すると、携帯端末1をリーダライタ2の通信圏内に置く(キャリアオン)ことによって処理を開始した後、一旦、携帯端末1をリーダライタ2の通信圏外に出しても(キャリアオフ)、前記一のアプリケーション処理を中断させず、再びキャリアオンすることでその処理を継続可能にするものである。そのための短距離無線通信インタフェース制御には、端末ID管理機能、処理ステート管理機能、及びタイムアウト処理機能などを特徴点として備える。
<Outline of short-range wireless communication interface>
In data processing using short-range wireless communication between the reader / writer 2 and the portable terminal 1, focusing on one application, the processing is started by placing the portable terminal 1 within the communication range of the reader / writer 2 (carrier on). Then, even if the portable terminal 1 is once moved out of the communication range of the reader / writer 2 (carrier off), the processing can be continued by turning on the carrier again without interrupting the one application process. . For this purpose, the short-range wireless communication interface control includes a terminal ID management function, a processing state management function, a timeout processing function, and the like as features.

端末ID管理機能とは、通信可能な範囲にある携帯端末1の端末IDを前記リーダライタ2が最初に認識すると、認識した携帯端末1にリーダライタ2がプログラム処理を要求し、一旦通信不能(通信一時中断状態)になった前記携帯端末1との間における端末IDの照合一致を一つの条件として前記リーダライタ2が前記携帯端末1との間で通信を再確立する制御を行うというものである。端末IDの照合一致を条件に中断処理を再開するための通信を再確立するから、キャリアオフのとき他の携帯端末がリーダライタに割り込んでも中断された処理の継続を保証することが容易である。   With the terminal ID management function, when the reader / writer 2 first recognizes the terminal ID of the portable terminal 1 within the communicable range, the reader / writer 2 requests the recognized portable terminal 1 for program processing, and once communication is disabled ( The reader / writer 2 performs control to re-establish communication with the portable terminal 1 on the condition that the terminal ID collation coincides with the portable terminal 1 that has been temporarily suspended. is there. Since communication for resuming the interruption process is re-established on the condition that the terminal ID is matched, it is easy to guarantee the continuation of the interrupted process even if another portable terminal interrupts the reader / writer when the carrier is off. .

処理ステート管理機能とは、前記リーダライタ2が前記携帯端末1による前記プログラム処理の実行段階に対応する処理ステートの値を管理し、前記中断した処理を再開するとき、前記リーダライタ2が管理する処理ステートの値に一致する値が前記携帯端末1から通知されることをもう一つの条件として、前記リーダライタ2が前記携帯端末1との間で通信を再確立する制御を行う、というものである。これにより、キャリアオンを複数回繰り返して一つのデータ処理を完結する処理が複雑な場合に中断された処理と継続する処理との間の整合性を容易に採ることができる。処理が複雑でなくても、処理ステートを管理することにより、初めて通信圏内に入った携帯端末1の端末IDなのか、処理途中で再度通信圏内に入った携帯端末1の端末IDなのかを容易に区別することができる。   The processing state management function means that the reader / writer 2 manages the value of the processing state corresponding to the execution stage of the program processing by the portable terminal 1 and is managed by the reader / writer 2 when the interrupted processing is resumed. The reader / writer 2 performs control for re-establishing communication with the portable terminal 1 under another condition that a value matching the value of the processing state is notified from the portable terminal 1. is there. Thereby, it is possible to easily achieve consistency between the interrupted process and the continued process when the process of completing one data process by repeating the carrier-on multiple times is complicated. Even if processing is not complicated, by managing the processing state, it is easy to determine whether it is the terminal ID of the mobile terminal 1 that has entered the communication range for the first time or the terminal ID of the mobile terminal 1 that has entered the communication range again during the processing. Can be distinguished.

タイムアウト処理機能とは、前記リーダライタ2が認識した端末IDの携帯端末1から一定時間応答がないとき、リーダライタ2は認識した端末IDを破棄するためのタイマカウンタ処理を行なうというものである。これにより、コンピュータリソースの規模を不所望に増大させることを要せず、また、キャリアオフ中に携帯端末でデータが改竄される虞を未然に防止することができる。   The time-out processing function is such that when there is no response from the portable terminal 1 of the terminal ID recognized by the reader / writer 2 for a certain time, the reader / writer 2 performs a timer counter process for discarding the recognized terminal ID. Thereby, it is not necessary to unnecessarily increase the scale of computer resources, and it is possible to prevent the possibility of data being tampered with in the portable terminal during the carrier-off.

《データ処理方法の概略的な処理手順》
図1にはリーダライタ2と携帯端末1との間の短距離無線通信を用いるデータ処理方法の手順が概略的に例示される。図3にはそのデータ処理過程にけるリーダライタ2と一つの携帯端末1との配置関係が例示される。
<< Schematic processing procedure of data processing method >>
FIG. 1 schematically illustrates a procedure of a data processing method using short-range wireless communication between the reader / writer 2 and the portable terminal 1. FIG. 3 illustrates an arrangement relationship between the reader / writer 2 and one portable terminal 1 in the data processing process.

図3において、VLDMGNはリーダライタ2と携帯端末1との間で短距離無線通信を行うことができる通信圏、すなわち、リーダライタ2による搬送波の出力による有効磁界の範囲を意味する。P1はリーダライタ2に対して携帯端末1が通信圏外であることを示し、P3はリーダライタ2に対して携帯端末1が通信圏内であることを示し、P2は通信圏外から圏内への携帯端末1の遷移を意味し、P4は通信圏内から圏外への携帯端末1の遷移を意味する。SHPはリーダライタ2が配置されている売店等の場所を意味する。   In FIG. 3, VLDGN means a communication area in which short-range wireless communication can be performed between the reader / writer 2 and the portable terminal 1, that is, a range of an effective magnetic field by a carrier wave output by the reader / writer 2. P1 indicates to the reader / writer 2 that the mobile terminal 1 is outside the communication range, P3 indicates to the reader / writer 2 that the mobile terminal 1 is within the communication range, and P2 indicates a mobile terminal from outside the communication range to the range. 1 indicates a transition of 1, and P 4 indicates a transition of the mobile terminal 1 from the communication range to the outside of the communication range. SHP means a place such as a store where the reader / writer 2 is arranged.

図1において圏外P1のスタート100から携帯端末1が圏内に遷移して(P2)キャリアオンさせると、携帯端末1の端末IDがリーダライタ2に認識され、認識した携帯端末1にリーダライタ2がプログラム処理を要求する(101)。携帯端末1によるプログラム処理は処理ステートによって処理の進捗状況が管理される。その管理は携帯端末1とリーダライタ2の双方で行う。ここでは一つのアプリケーション処理を便宜上処理ステート1乃至処理ステートNによって管理する。Nは2乃至Nの任意の数である。   In FIG. 1, when the mobile terminal 1 transitions from the start 100 of the out-of-service P1 to the service area (P2) and the carrier is turned on, the terminal ID of the mobile terminal 1 is recognized by the reader / writer 2, and the reader / writer 2 A program process is requested (101). As for the program processing by the portable terminal 1, the progress of the processing is managed by the processing state. The management is performed by both the portable terminal 1 and the reader / writer 2. Here, one application process is managed by process state 1 to process state N for convenience. N is an arbitrary number from 2 to N.

処理ステートの番号はアプリケーション処理の進行に従って順次更新される。処理ステート1では、通信圏内(P3)でリーダライタ2から携帯端末1へのプログラムダウンロード、及びダウンロードプログラムのROM311若しくはRAM313へのストアが行われる。その後、携帯端末1からリーダライタ2への処理結果の通信が行われ、処理ステート番号が次の値に更新される(105)。携帯端末1側では処理結果を送信する処理を行うことによって処理ステート番号を更新し、リーダライタ側では処理結果を受信することによって処理ステート番号を更新する。処理ステート番号の更新に従って処理が順次進む。処理状況による分岐の処理(102)では、携帯端末1が再度圏内に遷移したとき(P2,P3)、リーダライタ2から与えられた処理ステート番号と携帯端末1自らが管理する処理ステート番号との一致を条件に、当該処理ステート番号の処理に進む。   The process state number is sequentially updated as the application process progresses. In the processing state 1, the program is downloaded from the reader / writer 2 to the portable terminal 1 and the downloaded program is stored in the ROM 311 or the RAM 313 in the communication area (P3). Thereafter, the processing result is communicated from the portable terminal 1 to the reader / writer 2, and the processing state number is updated to the next value (105). On the portable terminal 1 side, the processing state number is updated by performing processing for transmitting the processing result, and on the reader / writer side, the processing state number is updated by receiving the processing result. The process proceeds sequentially according to the update of the process state number. In the branch process (102) depending on the processing status, when the portable terminal 1 transitions to the area again (P2, P3), the processing state number given from the reader / writer 2 and the processing state number managed by the portable terminal 1 itself are The process proceeds to the process state number on the condition of the match.

処理ステート2以降では、上記同様にして、コマンド通信・コマンド実行(107,111)や結果通信(109,113)の処理が行なわれる。説明を簡略化するために処理ステート1では省略したが、処理ステート2以降では、コマンド通信・コマンド実行(107,111)の後、若しくはコマンド実行中に携帯端末1が圏外に出てもアプリケーション処理は中断されず、携帯端末1が再度圏内に入ってキャリアオンされることによって(110,114)、当該処理ステートのコマンド実行結果を携帯端末1からリーダライタ2へ送信でき、処理ステート番号も次の値に更新され(109,113)、更に後段の処理ステートの処理を続行することが可能にされる。   In processing state 2 and later, processing of command communication / command execution (107, 111) and result communication (109, 113) is performed in the same manner as described above. Although omitted in the processing state 1 to simplify the explanation, in the processing state 2 and later, even if the mobile terminal 1 goes out of service area after command communication / command execution (107, 111) or during command execution, application processing is performed. When the mobile terminal 1 enters the area again and is turned on (110, 114), the command execution result of the processing state can be transmitted from the mobile terminal 1 to the reader / writer 2, and the processing state number is also the next. (109, 113), and it is possible to continue processing in the subsequent processing state.

処理ステートの処理が終る毎に最後の処理ステート番号の処理が完結したか判別され(115)、最後の処理ステート番号の処理が完結していなければキャリアオフが発生しているか判別され(116)、キャリアオフでなければステップ102に帰還され、キャリアオフであればステップ101に帰還される。最後の処理ステート番号の処理が完結していれば、圏外に移動することによりキャリアオフされ(117)、当該アプリケーション処理が終了される(118)。タイムアウト処理のためのタイマカウンタ動作は、例えば各処理ステートにおける、コマンド通信・コマンド実行処理107,111のコマンド送信後に起動し、また、105,109,114で代表される結果通信の処理ステートの最後の処理として起動すればよい。タイマカウンタ動作がタイムアウトしなければ図2のフローは最後の処理ステートまで継続されるが、一旦タイムアウトを生ずると、リーダライタ2はタイムアウトに係る端末IDを破棄することによって、中断されたアプリケーション処理は継続不可能にされ、最初から当該アプリケーション処理をやり直すことが必要になる。   Each time the processing of the processing state is completed, it is determined whether the processing of the last processing state number is completed (115). If the processing of the last processing state number is not completed, it is determined whether carrier-off has occurred (116). If the carrier is not off, the process returns to step 102. If the carrier is off, the process returns to step 101. If the process of the last process state number has been completed, the carrier is turned off by moving out of the service area (117), and the application process is terminated (118). The timer counter operation for timeout processing is started after command transmission of the command communication / command execution processing 107 and 111 in each processing state, for example, and at the end of the result communication processing state represented by 105, 109 and 114 It may be activated as the process. If the timer counter operation does not time out, the flow in FIG. 2 is continued until the last processing state. However, once the time-out occurs, the reader / writer 2 discards the terminal ID related to the time-out, thereby interrupting the application process. It becomes impossible to continue, and it is necessary to restart the application process from the beginning.

《データ処理方法の詳細な処理手順》
図4には処理ステート1(図1 103、105に対応)の処理におけるリーダライタ(RDWR)2、短距離無線通信制御チップ(NFCCHP)3、及びホストデバイス(HST)4の制御をそれぞれ関連付けて示され、図5には処理ステートN(図1 107〜114に対応)の処理におけるリーダライタ(RDWR)2、短距離無線通信制御チップ(NFCCHP)3、及びホストデバイス(HST)4の制御をそれぞれ関連付けて示される。各図においてリーダライタ(RDWR)2による処理ステップには200番台の参照符号を付し、短距離無線通信制御チップ(NFCCHP)3による処理ステップには300番台の参照符号を付し、ホストデバイス(HST)4による処理ステップには400番台の参照符号を付してある。
《Detailed processing procedure of data processing method》
4 associates the control of the reader / writer (RDWR) 2, the short-range wireless communication control chip (NFFCHP) 3, and the host device (HST) 4 in the processing of the processing state 1 (corresponding to FIGS. 110 and 105). FIG. 5 shows the control of the reader / writer (RDWR) 2, the short-range wireless communication control chip (NFFCHP) 3, and the host device (HST) 4 in the processing of the processing state N (corresponding to 107 to 114 in FIG. 1). Shown in association with each other. In each figure, processing steps by the reader / writer (RDWR) 2 are given reference numbers in the 200s, processing steps by the short-range wireless communication control chip (NFFCHP) 3 are given reference symbols in the 300s, and the host device ( The processing steps according to HST) 4 are given reference numerals in the 400s.

図4において、HST4はバッテリ電源を供給し(420)、NFCCHP3への初期設定を行って(421)、受信待ちに遷移する(422)。NFCCHP3はバッテリ電源を受けて起動し(330)、初期設定された後に受信待ちに遷移する(331)。RDEWR2は適宜のタイミングでポーリングコマンドの送信を行っており(210,211)、携帯端末1が通信圏内にあればNFCCHP3がポーリングコマンドを受信し(332)、RDWR2はNFCCHP3に対して適宜のユーザ認証などのセキュアな認証処理を行なう(212,333)。金融機関を介する決済、著作権データのダウンロード、秘匿データのダウンロード等を伴うような場合を想定するからである。認証処理(212)の後、RDWR2は受信待ち状態に遷移する(213)。この間にNFCCHP3はROM311やEEPROM314内の固有のデータを用いて端末IDとしてのチップIDを生成し、生成したチップIDをRAM312に保持し(334)、また、生成したチップIDをRDWR2に送信し(335)、受信待ち状態に遷移する(336)。   In FIG. 4, the HST 4 supplies battery power (420), performs initial setting to NFCCHP3 (421), and transitions to reception waiting (422). The NFCCHP 3 is activated upon receiving battery power (330), and after initial setting, transitions to reception waiting (331). The RDEWR2 transmits a polling command at an appropriate timing (210, 211). If the mobile terminal 1 is in the communication range, the NFCCH3 receives the polling command (332), and the RDWR2 appropriately authenticates the user to the NFCCH3. A secure authentication process is performed (212, 333). This is because it is assumed that payment is made via a financial institution, copyright data is downloaded, confidential data is downloaded, and the like. After the authentication process (212), the RDWR 2 transitions to a reception waiting state (213). During this time, NFCCHP3 generates a chip ID as a terminal ID using unique data in ROM 311 and EEPROM 314, holds the generated chip ID in RAM 312 (334), and transmits the generated chip ID to RDWR2 ( 335), transition to the reception waiting state (336).

チップIDを受取ったRDWR2は、図示を省略する内蔵RAMに既に登録されているチップIDと照合し(214)、新規IDである場合には当該チップIDを図示を省略する内蔵RAMに登録し(215)、当該新規チップIDの処理ステート番号を格納して管理するための記憶領域を同じく図示を省略する内蔵RAMに確保し(216)、当該領域における処理ステート番号を初期値にする(217)。そして、RDWR2は処理ステート1から処理ステートNまでの処理を制御するアプリケーションプログラムをNFCCHP3に送信し(218)、受信待ちに遷移する(219)。   The RDWR 2 that has received the chip ID collates with the chip ID already registered in the internal RAM (not shown) (214), and if it is a new ID, registers the chip ID in the internal RAM (not shown) ( 215), a storage area for storing and managing the processing state number of the new chip ID is secured in the internal RAM (not shown) (216), and the processing state number in the area is set to the initial value (217). . Then, the RDWR 2 transmits an application program for controlling the processing from the processing state 1 to the processing state N to the NFCCHP 3 (218), and transitions to reception waiting (219).

NFCCHP3はステップ218で送信されたプログラムを受信して例えばRAM313に格納する(337)。RAM313に格納したプログラムのうち、HST4が実行する部分をHST4に送信し(338)、RAM313に処理ステート番号を格納して管理するための記憶領域を確保し(339)、当該領域における処理ステート番号を初期値にする(340)。この段階で、NFCCHP3のRAM313には、図6に例示されるように、生成されたチップID、処理ステート番号、前記アプリケーションを規定するプログラムを保持する。処理ステート番号の格納領域はSYSREG310に割当ててもよい。その他、ROM311やEEPROM314にはチップIDを生成するために用いたチップ固有値が保持されている。   The NFCCHP 3 receives the program transmitted at step 218 and stores it in the RAM 313 (337). Of the program stored in the RAM 313, the part executed by the HST4 is transmitted to the HST4 (338), and a storage area for storing and managing the process state number in the RAM 313 is secured (339), and the process state number in the area is stored. Is set to an initial value (340). At this stage, the RAM 313 of the NFCCH3 holds a generated chip ID, a processing state number, and a program that defines the application, as illustrated in FIG. The storage area of the processing state number may be allocated to the SYSREG 310. In addition, the ROM 311 and the EEPROM 314 hold chip specific values used for generating a chip ID.

HST4はステップ338で送信されたプログラムを受信してRAM402等に格納し(423)、格納したプログラムの実行準備が完了したことをNFCCHP3に通知し(424)、受信待ちに遷移する(425)。   The HST 4 receives the program transmitted in step 338 and stores it in the RAM 402 or the like (423), notifies the NFCCHP 3 that the stored program is ready for execution (424), and transitions to reception waiting (425).

NFCCHP3はHST4からプログラムの実行準備完了の通知を受けると(341)、処理ステート1の完了信号をRDWR2に出力し(342)、RAM313上の処理ステート番号を+1に更新し(343)、受信待ちに遷移する(344)。   When NFCCHP3 receives a notice of completion of program execution preparation from HST4 (341), it outputs a processing state 1 completion signal to RDWR2 (342), updates the processing state number on RAM 313 to +1 (343), and waits for reception. (344).

RDWR2は処理ステート1の完了信号を受取ると(220)、図示を省略する内蔵RAM上の処理ステート番号を+1に更新する(221)。   When RDWR2 receives the processing state 1 completion signal (220), it updates the processing state number in the internal RAM (not shown) to +1 (221).

特に制限されないが、図4及び図5においては、図4の処理ステート1が終了した後、携帯端末1がリーダライタ2の通信圏外に出ても、その後、圏内に入れば、処理ステート2に繋がるようにされている。即ち、図5において、RDWR2はポーリングコマンド送信して(230)、受信待ちに遷移する操作(231)を所要のタイミングで繰り返す。PDA1がRDWR2の通信圏内にあれば、NFCCHP3はポーリングコマンドを受信し(350)、RAM313に保有するチップIDをRDWR2に送信して(351)、受信待ちに遷移する(352)。RDWR2はチップIDを受信すると、自らの内蔵RAMに保有するチップIDとそれを照合し(232)、照合一致したとき当該チップIDに対応する処理ステート番号を内蔵RAMから取得し(233)、取得したチップIDとコマンドをNFCCHP3に送信し(234)、タイムアウト処理を行なう(235)。ステップ232で照合不一致のときは、図示を省略するがNFCCHP3にエラーコードを返す。   Although not particularly limited, in FIG. 4 and FIG. 5, after processing state 1 in FIG. 4 ends, even if mobile terminal 1 goes out of the communication area of reader / writer 2 and then enters the service area, it enters processing state 2. It is supposed to be connected. In other words, in FIG. 5, the RDWR 2 transmits a polling command (230), and repeats an operation (231) for transitioning to waiting for reception at a required timing. If PDA1 is within the communication range of RDWR2, NFCCH3 receives the polling command (350), transmits the chip ID held in RAM 313 to RDWR2 (351), and transitions to reception waiting (352). When the RDWR2 receives the chip ID, the RDWR2 collates it with the chip ID held in its own internal RAM (232), and when the collation matches, acquires the processing state number corresponding to the chip ID from the internal RAM (233). The transmitted chip ID and command are transmitted to NFCCHP 3 (234), and timeout processing is performed (235). If the collation does not match in step 232, an error code is returned to NFCCHP3 although not shown.

タイムアウト処理(235)ではリーダライタ2がタイマ201に所定時間を設定し、その後、タイムアウトになるまで、応答を待つ処理を行なう(236)。この応答を待つ処理236は、ポーリングコマンド送信して応答があったときチップID照合及び処理ステート送信を行なう処理であり、ステップ230乃至ステップ234までの処理と同じである。タイムアウトするまで応答がなければ、例えばタイムアウト割り込み処理によって、タイムアウトに係るアプリケーションの対象となるチップIDと処理ステートの情報を廃棄して、当該アプリケーション処理を中止する。RDWR2が処理236を行なっているとき、NFCCHP3はRDWR2の通信圏内から外へ出てもかまわない。   In the timeout process (235), the reader / writer 2 sets a predetermined time in the timer 201, and then waits for a response until a timeout occurs (236). The process 236 for waiting for a response is a process for performing a chip ID collation and a process state transmission when there is a response after transmitting a polling command, and is the same as the process from step 230 to step 234. If there is no response until time-out, for example, by time-out interrupt processing, the chip ID and processing state information targeted for the application related to time-out are discarded, and the application processing is stopped. When the RDWR 2 is performing the process 236, the NFCCHP 3 may go out of the communication range of the RDWR 2.

ステップ236でRDWR2が応答を待っているとき、RDWR2から処理ステート情報及びコマンドを受取った(353)NFCCHP3は、RAM313に保持している処理ステートと今回受信した処理ステートとを照合し(354)、一致又は不一致を判別する(354)。一致であれば、NFCCHP3はHST4にコマンドを送信し(356)する。HST4はコマンドを受信し(430)、受信コマンドが処理終了コマンドでなければ当該コマンドを実行し(432)、コマンド実行結果をNFCCHP3に送信し(433)、受信待ちに遷移する(434)。ステップ431において、そのコマンドが処理終了コマンドであることが判別されると、HST4は当該アプリケーションのプログラムを破棄し(435)、その結果をNFCCHP3に返す(436、365)。   When RDWR2 waits for a response in step 236, it receives the processing state information and command from RDWR2 (353). NFCCHP3 collates the processing state held in RAM 313 with the processing state received this time (354). A match or mismatch is determined (354). If they match, NFCCHP3 sends a command to HST4 (356). The HST 4 receives the command (430), executes the command if the received command is not a processing end command (432), transmits the command execution result to the NFCCHP 3 (433), and shifts to reception waiting (434). If it is determined in step 431 that the command is a process end command, the HST 4 discards the program of the application (435) and returns the result to the NFCCHP 3 (436, 365).

NFCCHP3がHST4からコマンド実行結果を受信したときは(357)、前記RDWR2によるステップ236の処理に応答する処理358を行う。ステップ358による処理を行なうとき、NFCCHP3はRDWR2の通信圏内にあればよい。ステップ358の処理は、RDWR2にチップIDを送信し、それに応答して返される処理ステートを受信し、受信した処理ステートがRAM313に保持する処理ステートと一致するかを判別する処理であり、ステップ350乃至ステップ355までの処理と同じである。ステップ358において受信した処理ステートがRAM313に保持する処理ステートと一致するときは送信結果をRDWR2に返し、処理ステートを+1更新し(360)、それによって当該アプリケーションの全ての処理ステートの処理が完了していなければ、受信待ちに遷移しタイムアウト処理を行なって(362)、RDWR2からポーリングコマンドが送信されて来る(350)のを待つ。NFCCHP3によるタイムアウト処理(362)はCPU308がTMR312に所定の時間をセットしてタイマ動作を起動する処理であり、ポーリングコマンドが送信されて来る(350)までにタイムアウトした場合には、RAM313に保持しているチップID及び処理ステート情報を廃棄し、HST4にそのアプリケーションのプログラムを廃棄させて、当該アプリケーションの処理を中止する。前記ステップ355の判別が不一致のときも、RAM313に保持しているチップID及び処理ステート情報を廃棄し、HST4にそのアプリケーションのプログラムを廃棄させて、当該アプリケーションの処理を中止する。   When NFCCHP3 receives the command execution result from HST4 (357), processing 358 is performed in response to the processing of step 236 by the RDWR2. When performing the processing in step 358, NFCCHP3 only needs to be within the communication range of RDWR2. The process of step 358 is a process of transmitting a chip ID to the RDWR2, receiving a process state returned in response thereto, and determining whether or not the received process state matches the process state held in the RAM 313. Thru | or the process to step 355 is the same. When the processing state received in step 358 matches the processing state held in the RAM 313, the transmission result is returned to the RDWR2, and the processing state is updated by one (360), thereby completing the processing of all the processing states of the application. If not, a transition is made to waiting for reception, timeout processing is performed (362), and a polling command is transmitted from RDWR2 (350). The time-out process (362) by NFCCHP3 is a process in which the CPU 308 sets a predetermined time in the TMR 312 and starts a timer operation. If the time-out process occurs until the polling command is transmitted (350), the time-out process (362) The current chip ID and processing state information are discarded, the program of the application is discarded by the HST 4, and the processing of the application is stopped. Even when the determination in step 355 is not coincident, the chip ID and processing state information held in the RAM 313 are discarded, the program of the application is discarded in the HST 4, and the processing of the application is stopped.

RDWR2はNFCCHP3からコマンド実行結果を受信したとき(237)、処理結果を判定し(238)、正常であれば処理ステートを+1更新し(239)、それによって全ての処理ステートの処理が完了すれば処理中の当該アプリケーション実行対象のチップIDを破棄し(242)、ステップ240において完了とされなければ、前記同様のタイムアウト処理(241)を行って、次の処理ステートのための処理が継続可能にされる。このタイムアウト処理(241)の後、RDWR2はステップ230の処理に入る。このときNFCCHP3はRDWR2の通信圏内から外れてもよい。前述のごとく、タイムアウトする前にNFCCHP3がRRDWR2の通信圏内に入れば、ポーリングコマンドに応答して(350)、NFCCHP3及びRRDWR2は処理を継続することができる。   When RDWR2 receives the command execution result from NFCCHP3 (237), it determines the processing result (238), and if it is normal, it updates the processing state by +1 (239). The application-execution target chip ID being processed is discarded (242), and if it is not completed in step 240, the same timeout process (241) is performed so that processing for the next processing state can be continued. Is done. After this timeout process (241), RDWR2 enters the process of step 230. At this time, NFCCHP3 may be out of the communication range of RDWR2. As described above, if NFCCH3 enters the communication range of RRDWR2 before timeout, NFCCHP3 and RRDWR2 can continue processing in response to the polling command (350).

図5に基づいて説明したデータ処理手順において、TMR312によるタイムアウトは信号TMOUTによってINTC306に割り込み要求として通知され、これによって信号INTでCPU308に割り込みが要求されることにより、CPU308は当該割り込み要因に応じた割り込み処理プログラムを実行して、前述のタイムアウトした場合の処理を行う。   In the data processing procedure described with reference to FIG. 5, the time-out by the TMR 312 is notified as an interrupt request to the INTC 306 by the signal TMOUT, whereby the CPU 308 is requested to interrupt by the signal INT, and the CPU 308 responds to the interrupt factor. The interrupt processing program is executed to perform the processing in the case of the time-out described above.

また、受信待ち遷移の状態から次の制御への遷移は、信号COMCMPによる通信完了がINTC306に割り込み要求として通知されることにより、CPU308が当該割り込み要因に応じた割り込み処理プログラムを実行することによって行われる。   In addition, the transition from the reception waiting transition state to the next control is performed by the CPU 308 executing the interrupt processing program corresponding to the interrupt factor by notifying the INTC 306 of the completion of communication by the signal COMCMP as an interrupt request. Is called.

図4及び図5のデータ処理手順において、前記端末ID管理機能は、例えばPDA1がRDWR2の通信圏外から圏内に入ってきたとき、RDWR2は先にチップIDを認識しているPDA1との間におけるチップIDの照合一致を一つの条件としてPDA1との間で通信を再確立する制御を行う(232,234)ことによって実現されている。   In the data processing procedure of FIGS. 4 and 5, the terminal ID management function is configured such that, for example, when the PDA 1 enters the area from outside the communication area of the RDWR 2, the chip between the RDWR 2 and the PDA 1 that previously recognizes the chip ID. This is realized by performing control for re-establishing communication with the PDA 1 under the condition that ID collation coincides as one condition (232, 234).

図4及び図5のデータ処理手順において、処理ステート管理機能は、前記RDWR2がPDA1によるプログラム処理の実行段階に対応する処理ステートの値を管理し、中断した処理を再開するとき、RDWR2が管理する処理ステートの値に一致する値がPDA1から通知されることをもう一つの条件として、RDWR2がPDA1との間で通信を再確立する制御を行う(233,234)ことによって実現されている。   In the data processing procedure of FIGS. 4 and 5, the processing state management function manages the value of the processing state corresponding to the execution stage of the program processing by the PDA 1, and the RDWR 2 manages when the interrupted processing is resumed. This is realized by controlling the RDWR 2 to re-establish communication with the PDA 1 (233, 234) on the condition that the value matching the value of the processing state is notified from the PDA 1.

図4及び図5のデータ処理手順において、タイムアウト処理機能は、前記リーダライタ2が認識した端末IDの携帯端末1から一定時間応答がないとき、リーダライタ2は認識した端末IDを破棄するためのタイマカウンタ処理(235)によって実現されている。図5においてPDA1においてもタイムアウト処理(362)を行っている。   In the data processing procedure of FIGS. 4 and 5, the timeout processing function is for the reader / writer 2 to discard the recognized terminal ID when there is no response from the portable terminal 1 of the terminal ID recognized by the reader / writer 2 for a certain period of time. This is realized by the timer counter process (235). In FIG. 5, the PDA 1 also performs a timeout process (362).

《システムの使用例》
図7A乃至図7Dは有価証券購入に利用する場合を例示する。例えばプリペイド型の電子マネーの購入を一例とする。先ず、図7Aに示されるようにPDA1を用いて短距離無線通信を行うための設定を行う。次に、図7Bのように、PDA1をRDWR2の通信圏内VLDMGNにおいて、購入のためのメニュープログラムをダウンロードする。このとき、PDA1のDISP5にはダウンロードの進捗状態を表示させる。ダウンロード完了後、図7CのようにPDA1をRDWR2の通信圏外にもって行き、操作しやすい姿勢若しくは環境にて、ダウンロードしたメニュープログラムをPDA1に実行させることにより、DISP5の表示に従って電子マネーを購入するための選択事項を決定する。最後に、PDA1を再びRDWR2の通信圏内において、前記選択事項に従った決済が行われる。
<< System usage examples >>
7A to 7D exemplify a case where it is used for purchasing securities. For example, the purchase of prepaid electronic money is taken as an example. First, as shown in FIG. 7A, settings for performing short-distance wireless communication using the PDA 1 are performed. Next, as shown in FIG. 7B, the PDA 1 downloads a menu program for purchase in the communication range VLDGN of the RDWR 2. At this time, the download progress state is displayed on the DISP 5 of the PDA 1. In order to purchase electronic money in accordance with the display of DISP5 by taking PDA1 out of the communication range of RDWR2 as shown in FIG. Determine your choices. Finally, the PDA 1 is settled again in accordance with the selection item in the communication range of the RDWR 2.

例えば、図7Bの状態で処理ステートが処理ステートMであったとき、図7Cのときに通信圏外へ持ち出されたとしても、全ての処理ステートが完了していない場合は、携帯端末1で処理ステート番号が保持(ここでは処理ステートM)されているため、図7Dで再び通信圏内VLDMGNに入った後、端末IDの照合を行い、一致が判定されれば、処理ステートMの次の処理ステートM+1を実行することが可能となるものである。非連続的に通信圏内VLDMGNにいた場合、つまり、通信圏内と通信圏外とを行き来した場合においても、本願発明を適用することにより、連続的な処理を実行可能となるものである。処理ステート番号を保持することにより、例えば1度通信が確立(処理ステート1が完了)されていれば、通信圏外に移動したとしても図4における処理ステート1を再度実行することが不要となり、すでに完了している処理ステートの次の処理ステートを実行すればよく、全体として、処理時間を削減することが可能となる。   For example, when the processing state is the processing state M in the state of FIG. 7B, even if the processing state is taken out of the communication range at the time of FIG. Since the number is held (in this case, the processing state M), after entering the communication range VLDGN again in FIG. 7D, the terminal ID is checked, and if a match is determined, the processing state M + 1 next to the processing state M Can be executed. Even when the user is discontinuously in the communication range VLDDMGN, that is, when the user moves back and forth between the communication range and the outside of the communication range, by applying the present invention, continuous processing can be executed. By holding the processing state number, for example, once communication has been established (processing state 1 is completed), it is not necessary to execute processing state 1 in FIG. The processing state next to the completed processing state may be executed, and the processing time can be reduced as a whole.

図8A乃至図8Dは電子マネーを利用して音楽データをダウンロードする場合を例示する。先ず、図8Aに示されるようにPDA1をRDWR2の通信圏内VLDMGNにおいて、音楽配信ネットワークから音楽データを購入のためのメニュープログラムをダウンロードする。このとき、PDA1のDISP5にはダウンロードの進捗状態を表示させる。ダウンロード完了後、図8BのようにPDA1をRDWR2の通信圏外にもって行き、操作しやすい姿勢若しくは環境にて、ダウンロードしたメニュープログラムをPDA1に実行させることにより、DISP5の表示に従って購入する楽曲の選択を行う。最後に、図8Cのように、PDA1を再びRDWR2の通信圏内において、選択した楽曲をダウンロードし、決済を完了する。その後は、図8Dのように、PDA1をRDWR2の通信圏外にもって行き、ダウンロードした楽曲を必要に応じて再生することができる。尚、通信途中でPDA1がRDWR2の通信圏外の出たときは図9のようにその旨DISP5に表示してエラー発生を告知することが望ましい。   8A to 8D illustrate a case where music data is downloaded using electronic money. First, as shown in FIG. 8A, the PDA 1 downloads a menu program for purchasing music data from the music distribution network in the communication range VLDGN of the RDWR 2. At this time, the download progress state is displayed on the DISP 5 of the PDA 1. After the download is completed, take the PDA 1 out of the communication range of the RDWR 2 as shown in FIG. Do. Finally, as shown in FIG. 8C, the PDA 1 downloads the selected music again within the communication range of the RDWR 2 and completes the settlement. After that, as shown in FIG. 8D, the PDA 1 can be moved out of the communication range of the RDWR 2 and the downloaded music can be reproduced as necessary. When the PDA 1 goes out of the communication range of the RDWR 2 during communication, it is desirable to notify the occurrence of an error by displaying that fact on the DISP 5 as shown in FIG.

以上本発明者によってなされた発明を実施形態に基づいて具体的に説明したが、本発明はそれに限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能であることは言うまでもない。   Although the invention made by the present inventor has been specifically described based on the embodiments, it is needless to say that the present invention is not limited thereto and can be variously modified without departing from the gist thereof.

例えば、図1において処理ステート1の処理についても処理ステート2以降と同様に、途中で携帯端末が通信圏外に出てから再度圏内に入ってきた場合にも処理を継続可能にしてもよいことは当然である。このとき、処理の継続を許可するか否かを判定するために、図4のステップ219の後に図5のステップ230乃至234を挿入し、図4のステップ341の後に図5のステップ350乃至354を挿入すると共に、挿入したステップ354の比較結果が一致の場合にステップ342を可能とし、不一致の場合にチップID、処理ステート番号及びプログラムを廃棄して処理を中止させればよい。   For example, in the processing state 1 in FIG. 1, as in the processing state 2 and subsequent steps, it may be possible to continue the processing even when the mobile terminal comes out of the communication range and then enters the range again. Of course. At this time, in order to determine whether or not to permit the continuation of the processing, steps 230 to 234 in FIG. 5 are inserted after step 219 in FIG. 4, and steps 350 to 354 in FIG. 5 are inserted after step 341 in FIG. Is inserted, and if the comparison result of the inserted step 354 matches, the step 342 is made possible, and if they do not match, the chip ID, processing state number and program are discarded and the processing is stopped.

又処理ステートの区切り方は上記に限定されず、アプリケーション処理の内容に応じて適宜変更可能である。   The method of dividing the processing state is not limited to the above, and can be appropriately changed according to the contents of the application processing.

短距離無線通信はISO/IEC IS 18092の国際標準に限定されない。携帯端末はPDAに限定されず、携帯電話器などの機器であってもよい。   Short-range wireless communication is not limited to the international standard ISO / IEC IS 18092. The mobile terminal is not limited to a PDA, and may be a device such as a mobile phone.

有価証券は電子マネーに限定されず、金券、クーポン券、予約券権などその種類は限定されず、電子的データに限定されず、紙などの媒体にその内容が記載されたものであってもよい。   Securities are not limited to electronic money, but their types such as gold vouchers, coupons, and reservation vouchers are not limited, are not limited to electronic data, even if their contents are described on a medium such as paper Good.

1 携帯端末(PDA)
2 リーダライタ(RDWR)
3 短距離無線通信制御チップ(NFCCHP)
4 ホストデバイス(HST)
5 ディスプレイ(DISP)
6 入力回路(INDEV)
7 アンテナ
8 バッテリ電源回路(BTRY)
400 ディスプレイコントローラ(DISPC)
401 プロセッサコア(MCU)
402 RAM
405 周辺デバイスコントローラ(PRPHC)
404 接触インタフェース回路(CNTCTIF)
403 接触電源端子(CNTCTPW)
408 バス
308 中央処理装置(CPU)
309 割り込みコントローラ(INTC)
309 システムコントローラ(SYSC)
307 コプロセッサ(COPRO)
311 ROM
312 RAM
314 不揮発性メモリ(EEPROM)
312 タイマ(TMR)
319 内部バス
306 割り込みコントローラ
317 接触通信インタフェース(CNTCTIF)
315 接触インタフェース制御論理(CNTCTIFC)
300 アナログ回路(ANLG)
304 RFインタフェース制御回路(RFIFC)
301 RFアナログ回路(RFANLG)
302 整流回路(RCTF)
303 レギュレータ(RGLTR)
Vdd1 電搬送波による電源電圧
Vdd2 外部からの電源電圧
1 Personal digital assistant (PDA)
2 Reader / Writer (RDWR)
3 Short-range wireless communication control chip (NFFCHP)
4 Host device (HST)
5 Display (DISP)
6 Input circuit (INDEV)
7 Antenna 8 Battery power circuit (BTRY)
400 Display controller (DISPC)
401 processor core (MCU)
402 RAM
405 Peripheral device controller (PRPHC)
404 Contact interface circuit (CNTCTIF)
403 Contact power supply terminal (CNTCTPW)
408 Bus 308 Central processing unit (CPU)
309 Interrupt controller (INTC)
309 System Controller (SYSC)
307 Coprocessor (COPRO)
311 ROM
312 RAM
314 Non-volatile memory (EEPROM)
312 Timer (TMR)
319 Internal bus 306 Interrupt controller 317 Contact communication interface (CNTCTIF)
315 Touch interface control logic (CNTCTIFC)
300 Analog circuit (ANLG)
304 RF interface control circuit (RFIFC)
301 RF analog circuit (RFANLG)
302 Rectifier circuit (RCTF)
303 Regulator (RGLTR)
Vdd1 Power supply voltage by electric carrier Vdd2 Power supply voltage from outside

Claims (21)

短距離無線通信インタフェースを有する携帯端末と、前記携帯端末との間で双方向通信を行うリーダライタと、を用いてプログラム処理を行なうデータ処理方法であって、
通信可能な範囲にある携帯端末の端末IDを前記リーダライタが認識する認識処理と、
認識した携帯端末にリーダライタがプログラム処理を要求する要求処理と、
一旦通信不能になった前記携帯端末との間における端末IDの照合一致を第1の条件として前記リーダライタが前記携帯端末との間で通信を再確立する制御を行う再開処理と、を含むデータ処理方法。
A data processing method for performing program processing using a portable terminal having a short-range wireless communication interface and a reader / writer that performs bidirectional communication with the portable terminal,
A recognition process in which the reader / writer recognizes a terminal ID of a portable terminal within a communicable range;
Request processing in which the reader / writer requests program processing to the recognized mobile terminal, and
Data including: resumption processing for controlling the reader / writer to re-establish communication with the portable terminal using a terminal ID collation match with the portable terminal once unable to communicate Processing method.
前記リーダライタは前記携帯端末による前記プログラム処理の実行段階に対応する処理ステートの値を管理し、
前記再開処理において、前記リーダライタが管理する処理ステートの値に一致する値が前記携帯端末から通知されることを第2条件として、前記リーダライタが前記携帯端末との間で通信を再確立する制御を行う、請求項1記載のデータ処理方法。
The reader / writer manages the value of the processing state corresponding to the execution stage of the program processing by the mobile terminal,
In the restart process, the reader / writer reestablishes communication with the portable terminal on the second condition that a value matching the value of the processing state managed by the reader / writer is notified from the portable terminal. The data processing method according to claim 1, wherein control is performed.
前記リーダライタが認識した端末IDの携帯端末から一定時間応答がないとき、リーダライタは認識した端末IDを破棄するタイムアウト処理を更に含む、請求項1記載のデータ処理方法。   The data processing method according to claim 1, further comprising a time-out process in which the reader / writer discards the recognized terminal ID when there is no response from the portable terminal having the terminal ID recognized by the reader / writer for a predetermined time. 短距離無線通信インタフェースを有する携帯端末と、前記携帯端末との間で双方向通信を行うリーダライタと、を用いてプログラム処理を行なうデータ処理方法であって、
通信可能な範囲にある携帯端末の端末IDを前記リーダライタが認識する認識処理と、
前記リーダライタが認識した端末IDの携帯端末にプログラムを送信するプログラム送信処理と、
前記リーダライタが携帯端末にコマンドを送信するコマンド送信処理と、
受信したコマンドに従って前記携帯端末が前記プログラムを実行した結果を前記リーダライタが受信する実行結果受信処理と、
一旦通信不能になった前記携帯端末との間における端末IDの照合一致を第1の条件として前記リーダライタが前記携帯端末との間で通信を再確立する制御を行う再開処理と、を含むデータ処理方法。
A data processing method for performing program processing using a portable terminal having a short-range wireless communication interface and a reader / writer that performs bidirectional communication with the portable terminal,
A recognition process in which the reader / writer recognizes a terminal ID of a portable terminal within a communicable range;
A program transmission process for transmitting a program to a portable terminal having a terminal ID recognized by the reader / writer;
A command transmission process in which the reader / writer transmits a command to the mobile terminal;
An execution result receiving process in which the reader / writer receives a result of the mobile terminal executing the program according to the received command;
Data including: resumption processing for controlling the reader / writer to re-establish communication with the portable terminal using a terminal ID collation match with the portable terminal once unable to communicate Processing method.
前記リーダライタは前記携帯端末による前記プログラム処理の実行段階に対応する処理ステートの値を管理し、
前記再開処理において、前記リーダライタが管理する処理ステートの値に一致する値が前記携帯端末から通知されることを第2の条件として、前記リーダライタが前記携帯端末との間で通信を再確立する制御を行う、請求項4記載のデータ処理方法。
The reader / writer manages the value of the processing state corresponding to the execution stage of the program processing by the mobile terminal,
In the restart process, the reader / writer reestablishes communication with the portable terminal on the second condition that a value that matches the value of the processing state managed by the reader / writer is notified from the portable terminal. The data processing method according to claim 4, wherein control is performed.
前記リーダライタが認識した端末IDの携帯端末から一定時間応答がないとき当該端末IDを破棄するための前記一定時間を計測するタイムアウト処理を更に含む、請求項4記載のデータ処理方法。   5. The data processing method according to claim 4, further comprising a time-out process for measuring the predetermined time for discarding the terminal ID when there is no response from the portable terminal having the terminal ID recognized by the reader / writer for a predetermined time. 前記コマンド送信処理が完了した後に前記リーダライタが前記タイムアウト処理を開始し、前記一定時間が経過する前に前記実行結果受信処理が開始されたとき前記タイムアウト処理を中止する、請求項6記載のデータ処理方法。   The data according to claim 6, wherein the reader / writer starts the timeout process after the command transmission process is completed, and stops the timeout process when the execution result reception process is started before the fixed time has elapsed. Processing method. 前記リーダライタはネットワークを介して音楽配信を行い、前記携帯端末は前記リーダライタから楽音情報をダウンロードするPDAである、請求項4記載のデータ処理方法。   5. The data processing method according to claim 4, wherein the reader / writer distributes music via a network, and the portable terminal is a PDA that downloads musical tone information from the reader / writer. 前記リーダライタはネットワークを介して有価証券又は物品の購入受付を行い、前記携帯端末は前記リーダライタを介して有価証券又は物品の購入申し込みを行うPDAである、請求項4記載のデータ処理方法。   5. The data processing method according to claim 4, wherein the reader / writer accepts purchase of securities or goods via a network, and the portable terminal is a PDA that applies for purchase of securities or goods via the reader / writer. リーダライタとの間で双方向通信を行う短距離無線通信デバイスと、前記短距離無線通信デバイスに接続されたホストデバイスとを有し、
前記短距離無線通信デバイスは、前記リーダライタとの間の通信不能状態が通信可能状態に遷移したとき固有の端末IDを出力し、前記端末IDの出力に応答して前記リーダライタからプログラムが送信されてきたときはメモリに格納し、前記端末IDの出力に応答して前記リーダライタからコマンドが送信されてきたときは当該コマンドを前記ホストデバイスに与え、
前記ホストデバイスは与えられたコマンドに従って前記メモリのプログラムを実行して実行結果を前記短距離無線通信デバイスに与え、
前記短距離無線通信デバイスは、プログラムの実行結果を前記リーダライタに送信する、携帯端末
A short-range wireless communication device that performs bidirectional communication with a reader / writer, and a host device connected to the short-range wireless communication device,
The short-range wireless communication device outputs a unique terminal ID when an incommunicable state with the reader / writer transitions to a communicable state, and a program is transmitted from the reader / writer in response to the output of the terminal ID. When the command is transmitted from the reader / writer in response to the output of the terminal ID, the command is given to the host device.
The host device executes the program of the memory according to a given command and gives an execution result to the short-range wireless communication device,
The short-range wireless communication device transmits a program execution result to the reader / writer.
前記短距離無線通信デバイスは前記コマンドによるプログラムの実行段階に対応する処理ステートを管理し、
前記短距離無線通信デバイスが前記端末IDを出力したときこれに応答してリーダライタから処理ステートの値が返されたとき、前記短距離無線通信デバイスが管理する処理ステートの値に一致する値が前記リーダライタから通知されることを条件として、前記短距離無線通信デバイスは前記コマンドを前記ホストデバイスに与える、請求項10記載の携帯端末。
The short-range wireless communication device manages a processing state corresponding to an execution stage of a program by the command,
When the short-range wireless communication device outputs the terminal ID, a value corresponding to the processing state value managed by the short-range wireless communication device is returned when a processing state value is returned from the reader / writer in response to the output of the terminal ID. The mobile terminal according to claim 10, wherein the short-range wireless communication device gives the command to the host device on condition that notification is received from the reader / writer.
前記短距離無線通信デバイスが前記端末IDの出力に応答してリーダライタから処理ステートの値が返されたとき、前記短距離無線通信デバイスが管理する処理ステートの値に一致する値が前記リーダライタから通知されなかたとき、前記短距離無線通信デバイスは前記ホストデバイスに前記プログラムを廃棄させる、請求項11記載の携帯端末。   When the short-range wireless communication device returns a processing state value from the reader / writer in response to the output of the terminal ID, a value corresponding to the processing state value managed by the short-range wireless communication device is the reader / writer. The portable terminal according to claim 11, wherein the short-range wireless communication device causes the host device to discard the program when not notified from the host device. 前記携帯端末は前記リーダライタから音楽情報をダウンロードするPDAである、請求項10記載の携帯端末。   The portable terminal according to claim 10, wherein the portable terminal is a PDA that downloads music information from the reader / writer. 前記携帯端末は前記リーダライタを介して有価証券又は物品の購入申し込みを行うPDAである、請求項10記載の携帯端末。   The mobile terminal according to claim 10, wherein the mobile terminal is a PDA that applies for purchase of securities or goods via the reader / writer. バッテリ電源回路を更に有し、
前記短距離無線通信デバイスは、前記リーダライタから与えられる搬送波を整流して第1の内部電源電圧を生成する整流回路と、前記バッテリ電源から与えられるバッテリ電源を受けて第2の内部電源電圧を生成するレギュレータとを有し、
前記短距離無線通信デバイスは、前記第1の内部電源電圧と前記第2の内部電源電圧を動作電源として利用する、請求項10記載の携帯端末。
A battery power circuit;
The short-range wireless communication device receives a second internal power supply voltage in response to a rectifier circuit that rectifies a carrier wave supplied from the reader / writer to generate a first internal power supply voltage, and a battery power supply supplied from the battery power supply. A regulator to generate,
The mobile terminal according to claim 10, wherein the short-range wireless communication device uses the first internal power supply voltage and the second internal power supply voltage as operation power supplies.
携帯端末との間で双方向通信を行うリーダライタであって、
通信可能な範囲の携帯端末が出力する端末IDを始めて認識したとき、当該端末IDを保持すると共に、当該端末IDの携帯端末にプログラムを送信し、
プログラムを送信した後、携帯端末に前記プログラムを実行させるコマンドを送信し、プログラムの実行結果を前記携帯端末から受信し、
一旦通信不能になった前記携帯端末との間で端末IDの照合が一致することを第1の条件として前記携帯端末との間で通信を再確立する、リーダライタ。
A reader / writer that performs two-way communication with a portable terminal,
When the terminal ID output by the portable terminal within the communicable range is recognized for the first time, the terminal ID is held and the program is transmitted to the portable terminal of the terminal ID.
After sending the program, send a command to execute the program to the mobile terminal, receive the execution result of the program from the mobile terminal,
A reader / writer that re-establishes communication with the portable terminal on the first condition that terminal ID verification matches with the portable terminal that has once become incapable of communication.
前記リーダライタは前記携帯端末による前記プログラム処理の実行段階に対応する処理ステートの値を管理し、
前記リーダライタが管理する処理ステートの値に一致する値が前記携帯端末から通知されることを第2の条件として前記携帯端末との間で通信を再確立する、請求項16記載のリーダライタ。
The reader / writer manages the value of the processing state corresponding to the execution stage of the program processing by the mobile terminal,
The reader / writer according to claim 16, wherein communication with the portable terminal is reestablished on a second condition that a value that matches a value of a processing state managed by the reader / writer is notified from the portable terminal.
前記認識した端末IDの携帯端末から一定時間応答がないとき前記認識した端末IDを破棄するための前記一定時間を計測するタイムアウト処理を行なう、請求項16記載のリーダライタ。   The reader / writer according to claim 16, wherein a time-out process for measuring the predetermined time for discarding the recognized terminal ID is performed when there is no response from the portable terminal of the recognized terminal ID for a predetermined time. 前記コマンドの送信処理を完了した後に前記タイムアウト処理を開始し、前記一定時間の経過前に前記コマンドによるプログラムの実行結果を受信したとき、前記タイムアウト処理を中止する、請求項18記載のリーダライタ。   19. The reader / writer according to claim 18, wherein the time-out process is started after the command transmission process is completed, and the time-out process is stopped when the execution result of the program based on the command is received before the predetermined time has elapsed. ネットワークを介して携帯端末に音楽配信を行う、請求項16記載のリーダライタ。   The reader / writer according to claim 16, which distributes music to a mobile terminal via a network. ネットワークを介して前記携帯端末から有価証券又は物品の購入受付を行う、請求項16記載のリーダライタ。   The reader / writer according to claim 16, wherein the reader / writer accepts purchase of securities or goods from the portable terminal via a network.
JP2009033508A 2009-02-17 2009-02-17 Data processing method, reader/writer and mobile terminal Withdrawn JP2010193025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009033508A JP2010193025A (en) 2009-02-17 2009-02-17 Data processing method, reader/writer and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009033508A JP2010193025A (en) 2009-02-17 2009-02-17 Data processing method, reader/writer and mobile terminal

Publications (1)

Publication Number Publication Date
JP2010193025A true JP2010193025A (en) 2010-09-02

Family

ID=42818625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009033508A Withdrawn JP2010193025A (en) 2009-02-17 2009-02-17 Data processing method, reader/writer and mobile terminal

Country Status (1)

Country Link
JP (1) JP2010193025A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012160910A (en) * 2011-01-31 2012-08-23 Toshiba Corp Electronic apparatus and communication control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012160910A (en) * 2011-01-31 2012-08-23 Toshiba Corp Electronic apparatus and communication control method

Similar Documents

Publication Publication Date Title
US20210174325A1 (en) Nfc mobile payments using tokenization
US7184706B2 (en) Mobile terminal apparatus using a communication protocol capable of flexible communication between non-contact communication means and internal control means
US8181867B1 (en) Transit card credit authorization
US11556916B2 (en) Electronic device and method for supporting automatic Wi-Fi connection with enhanced security method when making electronic wallet payment
WO2009039419A1 (en) Wireless smart card and integrated personal area network, near field communication and contactless payment system
CN107615320A (en) A kind of system of selection of transaction application and terminal
JP2005353048A (en) Method for recharging affiliated card by use of radio device
JP2003203212A (en) Ic card, information terminal, and data communication system and method among three parties
WO2010102488A1 (en) Method and terminal realizing apply selection in non-contract electronic payment
EP3118796A1 (en) Payment information operation method and electronic device for supporting the same
CN109074571A (en) Method of commerce and equipment based on near-field communication NFC
US8286862B2 (en) Methods and apparatus for use in association with security parameter
US20100287095A1 (en) Portable Terminal Device, Charging Management Component, and Program for Controlling Portable Terminal
US20200118109A1 (en) Proximity Electronic Credit Exchange System And Method Therefor
US20150121499A1 (en) Method of operating a security token, computer program product and security token
US20150142653A1 (en) Wireless power supply to enable payment transaction
US20040152489A1 (en) Data processing apparatus and data processing method
JP2010193025A (en) Data processing method, reader/writer and mobile terminal
US7832634B1 (en) Customer care intelligent routing
US20200364695A1 (en) Near field communication resource transfer
JP2006260196A (en) Electronic money settlement system, communication portable terminal used for system thereof, and non-contact ic card used for system thereof
JP4643487B2 (en) Non-contact IC card system
CN108596599A (en) A kind of method of payment, intelligent module and Cash collecting equipment
JP2010061540A (en) Data processing system
US20220253828A1 (en) Seller calculator and payment system including same

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20100527

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120501