JP5466184B2 - Communication apparatus and operation method thereof - Google Patents
Communication apparatus and operation method thereof Download PDFInfo
- Publication number
- JP5466184B2 JP5466184B2 JP2011015134A JP2011015134A JP5466184B2 JP 5466184 B2 JP5466184 B2 JP 5466184B2 JP 2011015134 A JP2011015134 A JP 2011015134A JP 2011015134 A JP2011015134 A JP 2011015134A JP 5466184 B2 JP5466184 B2 JP 5466184B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- message
- unit
- polling
- relay
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Communication Control (AREA)
- Mobile Radio Communication Systems (AREA)
Description
本発明は、通信装置およびその動作方法に関するものである。 The present invention relates to a communication device and an operation method thereof.
近年にあっては、非接触ICカードを使った入退室システムや改札システムが増えている。 In recent years, the number of entrance / exit systems and ticket gate systems using contactless IC cards has increased.
これらのシステムは、ポーリングコマンドを作成する上位装置(例えば入退管理サーバ)と、ポーリングコマンドを所定の通信方法によるポーリング電文へ変換し送出する中継装置(例えばICカードRW)と、任意の通信手段と通信する変換部および入退時に必要な識別情報を管理する識別情報管理部を有するモバイル端末(例えばICカード)とを備える構成になっており、上位装置がポーリングコマンドを中継装置へ送り、中継装置はそれをトリガーにして任意の間隔でポーリング電文を繰り返し送出し、モバイル端末を検知している。 These systems include a host device (for example, an entry / exit management server) that creates a polling command, a relay device (for example, an IC card RW) that converts the polling command into a polling message using a predetermined communication method, and arbitrary communication means. And a mobile terminal (for example, an IC card) having an identification information management unit for managing identification information necessary for entry / exit, and a host device sends a polling command to the relay device and relays The device uses it as a trigger to repeatedly send polling messages at arbitrary intervals to detect the mobile terminal.
ところで、既存の入退室システムにおいて、非接触ICカードに使用される既存の通信方法(以下、通信方法Mという)だけでなく、PAN(Personal Area Network)や電界通信等の新たな通信方法(以下、通信方法Nという)も使用できるようにし、通信方法Mの通信方法によるポーリング電文は変更せず、システムの変更を最小限にして、通信方法Nを使用できるようにする場合、下記の実現要件に対応することが必要となる。 By the way, in the existing entrance / exit system, not only the existing communication method (hereinafter referred to as communication method M) used for the non-contact IC card, but also a new communication method (hereinafter referred to as PAN) , Communication method N) can be used, the polling message by the communication method of communication method M is not changed, and the change of the system can be minimized and the communication method N can be used. It is necessary to cope with.
1)通信方法Mのポーリング電文および応答の電文は、中継装置とモバイル端末の間で送受信される必要があり、通信方法Nのポーリング電文および応答の電文も同様である。 1) The polling message and the response message of the communication method M need to be transmitted and received between the relay device and the mobile terminal, and the polling message and the response message of the communication method N are the same.
2)通信方法Nを用いる通信部に対しては、通信方法Mを用いる通信部から通信方法Mのポーリング電文が送信される。かかるポーリング電文は、通信方法Nを用いる通信部にはデータにしか見えない。そのため、当該通信部は、通信方法Mのポーリング電文を含む電文を通信方法Nにより相手の中継装置やモバイル端末に送信し、返信される応答の電文から通信方法Mによるポーリング電文への応答の電文を取り出し、これを通信方法Mを用いる通信部に送信する必要がある。 2) A polling message of the communication method M is transmitted from the communication unit using the communication method M to the communication unit using the communication method N. Such a polling message appears only as data to a communication unit using the communication method N. Therefore, the communication unit transmits a message including the polling message of the communication method M to the partner relay device or mobile terminal by the communication method N, and the response message from the response message to the polling message by the communication method M Must be taken out and transmitted to a communication unit using the communication method M.
1)、2)の実現要件を満たすためには、通信方法Mだけを用いるシステムと比べ、通信方法M、Nを用いるシステムでの追加処理として、「通信方法Nによるポーリング電文およびその応答の電文の送受信(通信方法Nによるポーリング)」と「通信方法Nのデータとして通信方法Mのポーリング電文とその応答の電文を送受信する処理(通信方法Nを介した通信方法Mによるポーリング)」が必要となる。 In order to satisfy the realization requirements of 1) and 2), as compared with a system using only the communication method M, as an additional process in a system using the communication methods M and N, “a polling message by the communication method N and a message of its response” Transmission / reception (polling by communication method N) ”and“ processing for transmitting / receiving a polling message of communication method M and a response message thereof as data of communication method N (polling by communication method M via communication method N) ”are required. Become.
しかし、1)、2)の実現要件に対応して新たな処理が追加されることにより新たな処理時間を要し、通信方法Mでは制限時間内に終わっていたポーリングが、通信方法M、Nを使用することでタイムアウトが発生し、制限時間以内にポーリングを終わらせることができない場合がある。 However, a new processing time is added due to the addition of a new process corresponding to the realization requirements of 1) and 2), and the polling that has been completed within the time limit in the communication method M is performed in the communication methods M and N. There is a case where a timeout occurs by using and polling cannot be completed within the time limit.
本発明は、上記の課題に鑑みてなされたものであり、その目的とするところは、2つの通信方法を使用する通信装置におけるポーリングを早期に終了させることのできる技術を提供することにある。 The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a technique capable of ending polling in a communication apparatus using two communication methods at an early stage.
上記の課題を解決するために、第1の本発明は、第1の通信方法で通信する第1の通信部と第2の通信方法で通信する第2の通信部とを備える通信装置であって、前記第2の通信部は、前記第1の通信方法によるポーリング電文に対する応答の電文が記憶される記憶部と、前記ポーリング電文を前記第1の通信部へ送信し、前記ポーリング電文に対する応答の電文を前記記憶部に記憶させ、外部から前記第2の通信方法によるポーリング電文を受信したなら、前記第2の通信方法によるポーリング電文に対する応答の電文を外部に送出し、外部から前記第1の通信方法によるポーリング電文を含む前記第2の通信方法による電文を受信したなら、前記記憶部から応答の電文を読み出し、当該応答の電文を含む前記第2の通信方法による電文を作成し、外部に送出する中継処理部とを備え、前記第1の通信部は、前記通信装置に対して着脱自在であり、前記第2の通信部は、前記第1の通信部が前記通信装置に取り付けられていることを検出するセンサを備え、前記第1の通信部への前記第1の通信方法によるポーリング電文の送信を、前記センサにより前記第1の通信部が前記通信装置に取り付けられていることが検出されたら行うことを特徴とする通信装置をもって解決手段とする。 In order to solve the above-described problem, a first aspect of the present invention is a communication device including a first communication unit that communicates using a first communication method and a second communication unit that communicates using a second communication method. The second communication unit transmits a response message to the polling message according to the first communication method, transmits the polling message to the first communication unit, and responds to the polling message. If the polling message by the second communication method is received from the outside, a response message to the polling message by the second communication method is sent to the outside and the first message is sent from the outside. If a message according to the second communication method including the polling message according to the communication method is received, a response message is read from the storage unit, and a message according to the second communication method including the response message is read. Form, and a relay processing unit for sending to the outside, the first communication unit is attachable to and detachable from the communication apparatus, the second communication unit, the first communication unit the communication A sensor for detecting that the first communication unit is attached to the first communication unit, and the first communication unit is attached to the communication device by the sensor. The communication means is characterized in that it is performed when it is detected that it has been detected .
第2の本発明は、第1の通信方法で通信する第1の通信部と第2の通信方法で通信する第2の通信部とを備える通信装置の動作方法であって、前記第2の通信部は、前記第1の通信方法によるポーリング電文に対する応答の電文が記憶される記憶部を備え、前記動作方法は、前記第2の通信部の中継処理部が、前記ポーリング電文を前記第1の通信部へ送信し、前記第2の通信部の中継処理部が、前記ポーリング電文に対する応答の電文を前記記憶部に記憶させ、前記第2の通信部の中継処理部が、外部から前記第2の通信方法によるポーリング電文を受信したなら、前記第2の通信方法によるポーリング電文に対する応答の電文を外部に送出し、前記第2の通信部の中継処理部が、外部から前記第1の通信方法によるポーリング電文を含む前記第2の通信方法による電文を受信したなら、前記記憶部から応答の電文を読み出し、当該応答の電文を含む前記第2の通信方法による電文を作成し、外部に送出するものであり、前記第1の通信部は、前記通信装置に対して着脱自在であり、前記第2の通信部は、前記第1の通信部が前記通信装置に取り付けられていることを検出するセンサを備え、前記第1の通信部への前記第1の通信方法によるポーリング電文の送信を、前記センサにより前記第1の通信部が前記通信装置に取り付けられていることが検出されたら行うことを特徴とする通信装置の動作方法をもって解決手段とする。
The second aspect of the present invention is an operation method of a communication apparatus including a first communication unit that communicates by a first communication method and a second communication unit that communicates by a second communication method, wherein the second communication unit The communication unit includes a storage unit that stores a response message to the polling message according to the first communication method, and the operation method includes that the relay processing unit of the second communication unit transmits the polling message to the first message. The relay processing unit of the second communication unit stores a response message to the polling message in the storage unit, and the relay processing unit of the second communication unit is externally connected to the first communication unit. If a polling message by the
本発明によれば、2つの通信方法を使用する通信装置におけるポーリングを早期に終了させることのできる技術を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the technique which can complete | finish polling in the communication apparatus which uses two communication methods at an early stage can be provided.
以下、本発明の実施の形態について図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[第1の実施の形態]
図1は、第1〜3の実施の形態に係る通信システムの構成図である。
[First Embodiment]
FIG. 1 is a configuration diagram of a communication system according to first to third embodiments.
通信装置1は、通信装置2内の情報を用いて情報処理を行う情報処理部11と、情報処理部11と有線で接続された通信部12と、通信方法M(例えば、非接触カードに使用される磁界通信)によって通信部12と通信し、通信装置2とは通信方法N(例えば、電界通信)によって通信する通信部13を備える。
The
通信部13は、通信装置1に新たに設けられたものであり、通信部13が設けられる前の通信装置1は通信装置2と、つまり、通信部12は、通信方法Mによって、通信装置2と通信していた。
The
しかし、通信部13が設けられてからは、通信装置1は通信装置2と、つまり、通信部13は、新たな通信方法、つまり、通信方法Mとは異なる通信方法Nで、通信装置2と通信する。
However, after the
通信部13は、通信方法Mによって通信部12と通信する中継部131と、中継部131と有線で接続され、通信方法Nで通信装置2と通信する中継部132とを備える。
The
通信装置2は、通信装置1にとって必要な情報を有する情報処理部21と、情報処理部21と有線で接続された通信部22と、通信方法Mによって通信部22と通信し、通信装置1とは通信方法Nによって通信する通信部23を備える。
The
通信部23は、通信装置2に新たに設けられたものであり、通信部23が設けられる前の通信装置2は通信装置1と、つまり、通信部22は、通信方法Mによって、通信装置1と通信していた。
The
しかし、通信部23が設けられてからは、通信装置2は通信装置1と、つまり、通信部23は、通信方法Nで、通信装置2と通信する。
However, after the
通信部23は、通信方法Mによって通信部22と通信する中継部231と、中継部231と有線で接続され、通信方法Nで通信装置1(つまり通信装置1の中継部132)と通信する中継部232とを備える。
The
図2は、第1〜4の実施の形態で使用される各電文の構成図である。 FIG. 2 is a configuration diagram of each message used in the first to fourth embodiments.
図2(a)に示す電文D1は、通信方法Mのポーリング電文であり、通信方法Mのヘッダおよびデータからなる。データには、情報処理部11から送信されるポーリングコマンドが含まれる。
A message D1 shown in FIG. 2A is a polling message of the communication method M, and includes a header and data of the communication method M. The data includes a polling command transmitted from the
図2(b)に示す電文D2は、通信方法Nのポーリング電文であり、通信方法Nのヘッダおよびデータからなる。データには、電文D2がポーリング電文である旨の情報が含まれる。 A message D2 shown in FIG. 2B is a polling message of the communication method N, and includes a header and data of the communication method N. The data includes information indicating that the message D2 is a polling message.
図2(c)に示す電文D3は、電文D1(通信方法Mのポーリング電文)への応答の電文であり、通信方法Mのヘッダおよびデータからなる。データには、情報処理部21から送信される応答コマンドが含まれる。
A message D3 illustrated in FIG. 2C is a message in response to the message D1 (polling message of the communication method M), and includes a header and data of the communication method M. The data includes a response command transmitted from the
図2(d)に示す電文D4は、電文D2(通信方法Nのポーリング電文)への応答の電文であり、通信方法Nのヘッダおよびデータからなる。データには、電文D4がポーリング電文の応答である旨の情報が含まれる。 A message D4 shown in FIG. 2D is a message in response to the message D2 (polling message of the communication method N), and includes a header and data of the communication method N. The data includes information indicating that the message D4 is a response to the polling message.
図2(e)に示す電文D5は、通信方法Nの電文であり、通信方法Nのヘッダおよびデータからなる。データには、電文D1が含まれる。 A message D5 shown in FIG. 2E is a message of the communication method N, and includes a header and data of the communication method N. The data includes a message D1.
図2(f)に示す電文D6は、通信方法Nの電文であり、通信方法Nのヘッダおよびデータからなる。データには、電文D3が含まれる。 A message D6 shown in FIG. 2 (f) is a message of the communication method N and includes a header and data of the communication method N. The data includes a message D3.
図3は、第1の実施の形態における中継部132と中継部232の構成図である。
FIG. 3 is a configuration diagram of the
中継部132は、電文D2と電文D5を外部に送出する中継処理部1321と、電文D1が記憶される記憶部1322とを備える。
The
中継部232は、電文D4と電文D6を外部に送出する中継処理部2321と、電文D3が記憶される記憶部2322とを備える。
The
図4は、第1の実施の形態の通信部13における処理の流れを示すフローチャートである。
FIG. 4 is a flowchart illustrating a processing flow in the
通信部13の中継部131は、通信部12から電文D1を受信した(S1:YES)なら、電文D1を中継部132へ転送する(S3)。
When the
中継部132の中継処理部1321は、電文D1を記憶部1322に記憶させる(S5)。
The
次に、中継処理部1321は、電文D2を作成し、外部に送出する(S7)。
Next, the
次に、中継処理部1321は、外部から電文D4を受信したか否かを判定する(S9)。中継処理部1321は、電文D4を受信していないなら(S9:NO)、タイムアウト(ステップS7の時刻から所定の時間が経過した)か否かを判定し(S11)、タイムアウトでないなら、ステップS9へ戻り、タイムアウトなら、ステップS7へ戻る。
Next, the
中継処理部1321は、外部から電文D4を受信したなら(S9:YES)、記憶部1322から電文D1を読み出し、電文D1を含む電文D5を作成し、外部に送出する(S13)。
When receiving the message D4 from the outside (S9: YES), the
次に、中継処理部1321は、外部から電文D6を受信したか否かを判定する(S15)。中継処理部1321は、電文D6を受信していないなら(S15:NO)、タイムアウト(ステップS13の時刻から所定の時間が経過した)か否かを判定し(S17)、タイムアウトでないなら、ステップS15へ戻り、タイムアウトなら、処理を終える。
Next, the
中継処理部1321は、外部から電文D6を受信したなら(S15:YES)、電文D6から電文D3を取り出し、中継部131を介して、通信部12へ送信し(S19)、処理を終える。
When receiving the message D6 from the outside (S15: YES), the
図5は、第1の実施の形態の通信部23における処理の流れを示すフローチャートである。
FIG. 5 is a flowchart illustrating a processing flow in the
通信部23の中継部232の中継処理部2321は、通信装置2が起動されると、電文D1を作成し、中継部231を介して、通信部22へ送信する(S101)。
When the
次に、中継部231は、通信部22から電文D3を受信したか否かを判定する(S103)。
Next, the
中継部231は、電文D3を受信していないと判定したら(S103:NO)、タイムアウト(ステップS101の時刻から所定の時間が経過した)か否かを判定し(S107)、タイムアウトでないなら、ステップS103へ戻り、タイムアウトなら、ステップS107へ進む。
If it is determined that the message D3 has not been received (S103: NO), the
ステップS107では、中継処理部2321は、電文D1の送信回数が予め設定された規定回数より多いか否かを判定し、超えていないなら、ステップS101へ戻る。
In step S107, the
中継処理部2321は、規定回数より多いなら、返信がないことを示す電文を通信装置2へ通知し(S109)、処理が終了する。
If the
中継部231は、電文D3を受信したなら(S103:YES)、電文D3を中継部232へ転送する(S111)。
When the
中継部232の中継処理部2321は、電文D3を記憶部2322に記憶させる(S113)。
The
次に、中継処理部2321は、外部から電文D2を受信したなら(S115:YES)、電文D4を作成し、外部に送出する(S117)。
Next, when receiving the message D2 from the outside (S115: YES), the
次に、中継処理部2321は、外部から電文D5を受信したなら(S119:YES)、記憶部2322から電文D3を読み出し、電文D3を含む電文D6を作成し、外部に送出し(S121)、処理が終了する。
Next, when receiving the message D5 from the outside (S119: YES), the
図6は、第1の実施の形態における通信システムの動作の一例を示すシーケンス図である。 FIG. 6 is a sequence diagram illustrating an example of the operation of the communication system according to the first embodiment.
図6は、通信装置1、2が互いに近づき、通信が開始される様子を示すものである。
FIG. 6 shows a state in which the
通信部23の中継部232の中継処理部2321は、通信装置2が起動されると、電文D1を作成し、中継部231を介して、通信部22へ送信する(T1、T3)。
When the
通信部22は、電文D1からポーリングコマンドを取り出し、情報処理部21に送信する(T5)。
The
情報処理部21は、ポーリングコマンドを受信し、ポーリングコマンドに対する応答コマンド(例えば、肯定応答のコマンド)を作成し、通信部22に送信する(T7)。
The
通信部22は、ポーリングコマンドを含む電文D3を作成し、中継部231を介して、中継部232に送信する(T9、T11)。中継部232の中継処理部2321は、電文D3を記憶部2322に記憶させる。
The
一方、通信装置1では、通信装置1が起動されると、情報処理部11が、ポーリングコマンドを通信部12に送信する(T21)。
On the other hand, in the
通信部12は、ポーリングコマンドを含む電文D1を作成し、中継部131を介して、中継部132に送信する(T23、T25)。
The
中継部132の中継処理部1321は、電文D1を記憶部1322に記憶させる。
The
また、中継処理部1321は、電文D2を作成し、通信方法Nにより外部に送出する(T27)。
Also, the
通信装置1、2の間の距離が長いと、電文D2は通信装置2に届かず、通信部13は、タイムアウトと電文D2の送信を繰り返す。例えば、通信部12も同様にタイムアウトとなり、電文D1が再び送信される。以降も同様に、通信装置1、2の間の距離が長いと、通信部13は、タイムアウトと電文D2の送信を繰り返す。
When the distance between the
情報処理部11については、ここでは、タイムアウトとなるような設定がなされていないこととする。よって、情報処理部11は、ポーリングコマンドに対する応答を待機する。
Here, it is assumed that the
通信装置1、2が互いに近づき、通信部23の中継部232は、電文D2を受信したら、電文D4を作成し、通信方法Nにより外部に送出する(T31)。
When the
通信部13の中継部132の中継処理部1321は、電文D4を受信したなら、記憶部1322から電文D1を読み出し、電文D1を含む電文D5を作成し、外部に送出する(T33)。
When receiving the message D4, the
通信部23の中継部232の中継処理部2321は、電文D5を受信したなら、記憶部2322から電文D3を読み出し、電文D3を含む電文D6を作成し、外部に送出する(T35)。
When receiving the message D5, the
通信部13の中継部132の中継処理部1321は、電文D6を受信したなら、電文D3を取り出し、中継部131を介して、通信部12に送信する(T37、T39)。
When receiving the message D6, the
通信部12は、電文D3から応答コマンドを取り出し、情報処理部11に送信する(T41)。
The
こうして、第1の実施の形態では、情報処理部11、21間のポーリングが終了し、その期間においては、通信部12、22間のポーリング、および、通信部13、23間のポーリングも終了する。
Thus, in the first embodiment, polling between the
なお、情報処理部11は、応答コマンドが肯定応答を示すものなら、同様のシーケンスで、通信部12、通信部13、通信部23、通信部22を介して、情報処理部21に対し通信を行い、通信が終了したなら、通信部12にポーリングコマンドを送信し、応答コマンドが肯定応答を示すまで、これを繰り返す。
If the response command indicates an affirmative response, the
情報処理部11は、応答コマンドが否定応答を示すものであった場合でも、通信部12にポーリングコマンドを送信し、応答コマンドが肯定応答を示すまで、これを繰り返す。
Even when the response command indicates a negative response, the
したがって、第1の実施の形態によれば、通信装置2において、中継処理部2321は、通信方法Mによるポーリング電文D1を通信部22へ送信し(T1、T3)、ポーリング電文D1に対する応答の電文D3を記憶部2322に記憶させ(T9、T11)、外部から通信方法Nによるポーリング電文D2を受信したなら(T27)、通信方法Nによるポーリング電文に対する応答の電文D4を外部に送出し(T31)、外部から通信方法Mによるポーリング電文D1を含む通信方法Nによる電文D5を受信したなら(T33)、記憶部2322から応答の電文D3を読み出し、電文D3を含む通信方法Nによる電文D6を作成し、外部に送出する(T35)。
Therefore, according to the first embodiment, in the
また、第1の実施の形態によれば、通信装置1において、中継処理部1321は、通信部12から通信方法Mによるポーリング電文D1を受信したなら(T23、T25)、当該ポーリング電文D1を記憶部1322に記憶させ、通信方法Nによるポーリング電文D2を外部に送出し(T27)、外部から通信方法Nによるポーリング電文に対する応答の電文D4を受信したなら(T31)、記憶部1322からポーリング電文D1を読み出し、当該ポーリング電文D1を含む通信方法Nによる電文D5を作成し、外部に送出し(T33)、外部から通信方法Mによるポーリング電文D1に対する応答の電文D3を含む通信方法Nによる電文D6を受信したなら(T35)、当該電文D6から当該応答の電文D3を取り出し、通信部12へ送信する(T37、T39)ので、つまり、通信装置2における通信方法Mのポーリングを予め行っておくので、その結果、通信部12、22間のポーリング、および、通信部13、23間のポーリングを早期に終了させることができる。
Further, according to the first embodiment, in the
[第2の実施の形態]
次に、本発明の第2の実施の形態について説明する。第2の実施の形態では、第1の実施の形態に同一または類似の装置および装置構成を用い、同一または類似のものについては第1の実施の形態で使用した符号を使用して重複説明を略し、第1の実施の形態とは異なる事項を中心に説明を行う。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. In the second embodiment, the same or similar apparatus and apparatus configuration as those in the first embodiment are used, and the same or similar elements are redundantly described by using the reference numerals used in the first embodiment. For brevity, the description will focus on matters different from the first embodiment.
第2の実施の形態では、複数の通信装置1が使用可能であり、各通信装置1は固有の装置識別子を記憶している。
In the second embodiment, a plurality of
図2(a)に示す電文D1のデータに含まれるポーリングコマンドには装置識別子が含まれる。 The polling command included in the data of the message D1 shown in FIG. 2A includes a device identifier.
図7は、第2の実施の形態における通信システムの動作の一例を示すシーケンス図である。 FIG. 7 is a sequence diagram illustrating an example of the operation of the communication system according to the second embodiment.
第2の実施の形態では、通信部23の中継部232の中継処理部2321は、電文D5を受信したなら(T33)、電文D6を作成し送出する(T35)だけでなく、電文D5から電文D1を取り出し、中継部231を介して、通信部22へ送信する(T51、T53)。
In the second embodiment, when the
通信部22は、電文D1からポーリングコマンドを取り出し、情報処理部21に送信する(T55)。
The
情報処理部21は、ポーリングコマンドを受信し、ポーリングコマンドに対する肯定応答の応答コマンドを作成し、通信部22に送信する(T57)。
The
通信部22は、ポーリングコマンドを含む電文D3を作成し、中継部231を介して、中継部232に送信する(T59、T61)。中継部232の中継処理部2321は、電文D3を例えば廃棄する。
The
情報処理部21は、ポーリングコマンドから装置識別子を取り出し、装置識別子に応じた処理の準備を行う。
The
例えば、情報処理部21は、通信装置2を組み込んだ携帯端末を所持したユーザが、当該装置識別子に対応する通信装置1を組み込んだ入退室ゲートを通るときは、そのサービスを提供している会社用の料金精算を行えるように準備をすることができる。
For example, the
したがって、第2の実施の形態によれば、通信方法Nによる電文D5に含まれる通信方法Mによるポーリング電文D1は、通信装置1に固有の装置識別子を含み、中継処理部2321は、電文D5からポーリング電文D1を取り出し、通信部22へ送信する(T51、T53)ので、通信部22側で装置識別子を取り出し、使用することができる。
Therefore, according to the second embodiment, the polling message D1 by the communication method M included in the message D5 by the communication method N includes the device identifier unique to the
[第3の実施の形態]
次に、本発明の第3の実施の形態について説明する。第3の実施の形態では、第1の実施の形態に同一または類似の装置および装置構成を用い、同一または類似のものについては第1の実施の形態で使用した符号を使用して重複説明を略し、第1の実施の形態とは異なる事項を中心に説明を行う。
[Third Embodiment]
Next, a third embodiment of the present invention will be described. In the third embodiment, the same or similar apparatus and apparatus configuration as those of the first embodiment are used, and the same or similar elements are redundantly described by using the reference numerals used in the first embodiment. For brevity, the description will focus on matters different from the first embodiment.
図8は、第3の実施の形態における中継部132の構成図である。
FIG. 8 is a configuration diagram of the
中継部132は、中継処理部1321を備え、記憶部1322は不要である。
The
図9は、第3の実施の形態における通信システムの動作の一例を示すシーケンス図である。 FIG. 9 is a sequence diagram illustrating an example of the operation of the communication system according to the third embodiment.
第3の実施の形態では、中継部132の中継処理部1321は、電文D1を受信したら(T25)、これを記憶せず、電文D2を作成し、通信方法Nにより外部に送出する(T27)。
In the third embodiment, when receiving the message D1 (T25), the
そして、中継処理部1321は、電文D4を受信したなら(T31)、電文D1が送信されるのを待機し、電文D1が送信されたら(T23、T25)、電文D1を含む電文D5を作成し、外部に送出する(T33)。
When receiving the message D4 (T31), the
したがって、第3の実施の形態によれば、通信装置1において、中継処理部1321は、通信方法Nによるポーリング電文D2を外部に送出し(T27)、外部から通信方法Nによるポーリング電文に対する応答の電文D4を受信した後(T31)、通信部12から通信方法Mによるポーリング電文D1を受信したなら(T23、T25)、当該ポーリング電文D1を含む通信方法Nによる電文D5を作成し、外部に送出し(T33)、外部から通信方法Mによるポーリング電文D1に対する応答の電文D3を含む通信方法Nによる電文D6を受信したなら(T35)、当該電文D6から当該応答の電文D3を取り出し、通信部12へ送信する(T37、T39)ので、記憶部1322を不要にすることができる。
Therefore, according to the third embodiment, in the
なお、第3の実施の形態において第2の実施の形態の構成を採用してもよい。 Note that the configuration of the second embodiment may be employed in the third embodiment.
[第4の実施の形態]
次に、本発明の第4の実施の形態について説明する。第4の実施の形態では、第1の実施の形態に同一または類似の装置および装置構成を用い、同一または類似のものについては第1の実施の形態で使用した符号を使用して重複説明を略し、第1の実施の形態とは異なる事項を中心に説明を行う。
[Fourth Embodiment]
Next, a fourth embodiment of the present invention will be described. In the fourth embodiment, the same or similar apparatus and apparatus configuration as those in the first embodiment are used, and the same or similar elements are redundantly described by using the reference numerals used in the first embodiment. For brevity, the description will focus on matters different from the first embodiment.
図10は、第4の実施の形態における通信装置2の構成を示す図である。
FIG. 10 is a diagram illustrating a configuration of the
通信装置2は、第1〜第3の実施の形態の通信部22の機能を備えた中継部(便宜的に中継部22という)と情報処理部21を備えた通信部22Aを着脱自在に構成され、通信部22Aが取り付けられていることを検出するセンサ24と通信部23を備える。センサ24は、通信部22Aが取り付けられていないときはオフであり、通信部22Aが取り付けられたならオンになる。
The
図11は、第4の実施の形態の通信部23における処理の流れを示すフローチャートである。
FIG. 11 is a flowchart illustrating a processing flow in the
通信部23の中継部232の中継処理部2321は、通信装置2が起動されると、通信部22Aが取り付けられ、これにより、センサ24がオンとなり、センサ24から信号を受信したなら(S151:YES)、電文D1を作成し、中継部231を介して、通信部22へ送信する(S101)。以下の動作は第1の実施の形態と同様である。
When the
図12は、第4の実施の形態における通信システムの動作の一例を示すシーケンス図である。 FIG. 12 is a sequence diagram illustrating an example of the operation of the communication system according to the fourth embodiment.
通信部23の中継部232の中継処理部2321は、通信装置2が起動されると、電文D1を作成するのでなく、センサ24からの信号を待機する。
When the
センサ24は、通信部22Aが取り付けられ、これにより、センサ24がオンになったなら(T101)、中継処理部2321に信号を送信する(T103)。
When the
中継処理部2321は、センサ24から信号を受信したなら、電文D1を作成し、中継部231を介して、中継部22へ送信する(T1、T3)。
When receiving a signal from the
したがって、第4の実施の形態によれば、通信装置2において、通信部23は、通信部22Aが通信装置2に取り付けられていことを検出するセンサ24を備え、通信部22Aへの通信方法Mによるポーリング電文D1の送信(T1、T3)を、センサ24により通信部22Aが取り付けられていることが検出されたら行うので、通信部22Aを着脱自在にすることができる。
Therefore, according to the fourth embodiment, in the
なお、第4の実施の形態において第2の実施の形態や第3の実施の形態の構成を採用してもよい。 In the fourth embodiment, the configurations of the second embodiment and the third embodiment may be adopted.
また、各実施の形態において、情報処理部11は通信装置1にでなく、別な通信装置に設けてもよい。
In each embodiment, the
また、通信装置1は、通信部12の機能を備えた中継部と情報処理部21を備えた通信部並びに通信部23を備える構成としてもよい。
Further, the
なお、各実施の形態に係る通信装置1や通信装置2の動作方法を装置に実行させるためのコンピュータを機能させるためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録でき、また、インターネットなどの通信網を介して伝送させて、広く流通させることができる。
A computer program for causing a computer to cause the apparatus to execute the operation method of the
1、2…通信装置
11、21…情報処理部
12、13、22、22A、23…通信部
24…センサ
131、132、231、232、22…中継部
1321、2321…中継処理部
1322、2322…記憶部
DESCRIPTION OF
Claims (2)
前記第2の通信部は、
前記第1の通信方法によるポーリング電文に対する応答の電文が記憶される記憶部と、
前記ポーリング電文を前記第1の通信部へ送信し、前記ポーリング電文に対する応答の電文を前記記憶部に記憶させ、外部から前記第2の通信方法によるポーリング電文を受信したなら、前記第2の通信方法によるポーリング電文に対する応答の電文を外部に送出し、外部から前記第1の通信方法によるポーリング電文を含む前記第2の通信方法による電文を受信したなら、前記記憶部から応答の電文を読み出し、当該応答の電文を含む前記第2の通信方法による電文を作成し、外部に送出する中継処理部と
を備え、
前記第1の通信部は、前記通信装置に対して着脱自在であり、
前記第2の通信部は、前記第1の通信部が前記通信装置に取り付けられていることを検出するセンサを備え、前記第1の通信部への前記第1の通信方法によるポーリング電文の送信を、前記センサにより前記第1の通信部が前記通信装置に取り付けられていることが検出されたら行う
ことを特徴とする記載の通信装置。 A communication device comprising a first communication unit that communicates with a first communication method and a second communication unit that communicates with a second communication method,
The second communication unit is
A storage unit for storing a response message to the polling message according to the first communication method;
If the polling message is transmitted to the first communication unit, the response message to the polling message is stored in the storage unit, and the polling message by the second communication method is received from the outside, the second communication A response message to the polling message by the method is sent to the outside, and if a message by the second communication method including the polling message by the first communication method is received from the outside, the response message is read from the storage unit, A relay processing unit that creates a message by the second communication method including the response message and sends the message to the outside ,
The first communication unit is detachable from the communication device;
The second communication unit includes a sensor that detects that the first communication unit is attached to the communication device, and transmits a polling message to the first communication unit by the first communication method. The communication device according to claim 1, wherein the communication device is performed when the sensor detects that the first communication unit is attached to the communication device.
前記第2の通信部は、
前記第1の通信方法によるポーリング電文に対する応答の電文が記憶される記憶部を備え、
前記動作方法は、
前記第2の通信部の中継処理部が、前記ポーリング電文を前記第1の通信部へ送信し、
前記第2の通信部の中継処理部が、前記ポーリング電文に対する応答の電文を前記記憶部に記憶させ、
前記第2の通信部の中継処理部が、外部から前記第2の通信方法によるポーリング電文を受信したなら、前記第2の通信方法によるポーリング電文に対する応答の電文を外部に送出し、
前記第2の通信部の中継処理部が、外部から前記第1の通信方法によるポーリング電文を含む前記第2の通信方法による電文を受信したなら前記記憶部から応答の電文を読み出し、当該応答の電文を含む前記第2の通信方法による電文を作成し、外部に送出するものであり、
前記第1の通信部は、前記通信装置に対して着脱自在であり、
前記第2の通信部は、前記第1の通信部が前記通信装置に取り付けられていることを検出するセンサを備え、前記第1の通信部への前記第1の通信方法によるポーリング電文の送信を、前記センサにより前記第1の通信部が前記通信装置に取り付けられていることが検出されたら行う
ことを特徴とする通信装置の動作方法。 An operation method of a communication apparatus including a first communication unit that communicates with a first communication method and a second communication unit that communicates with a second communication method,
The second communication unit is
A storage unit storing a response message to the polling message according to the first communication method;
The operation method is as follows:
The relay processing unit of the second communication unit transmits the polling message to the first communication unit,
The relay processing unit of the second communication unit stores a response message to the polling message in the storage unit,
If the relay processing unit of the second communication unit receives a polling message by the second communication method from the outside, it sends a response message to the polling message by the second communication method to the outside,
If the relay processing unit of the second communication unit receives a message from the second communication method including the polling message from the first communication method from the outside, it reads out a response message from the storage unit, and Creating a message by the second communication method including a message and sending it to the outside ;
The first communication unit is detachable from the communication device;
The second communication unit includes a sensor that detects that the first communication unit is attached to the communication device, and transmits a polling message to the first communication unit by the first communication method. The communication device operating method is performed when the sensor detects that the first communication unit is attached to the communication device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011015134A JP5466184B2 (en) | 2011-01-27 | 2011-01-27 | Communication apparatus and operation method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011015134A JP5466184B2 (en) | 2011-01-27 | 2011-01-27 | Communication apparatus and operation method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012156852A JP2012156852A (en) | 2012-08-16 |
| JP5466184B2 true JP5466184B2 (en) | 2014-04-09 |
Family
ID=46838111
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011015134A Expired - Fee Related JP5466184B2 (en) | 2011-01-27 | 2011-01-27 | Communication apparatus and operation method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5466184B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5478548B2 (en) * | 2011-04-14 | 2014-04-23 | 日本電信電話株式会社 | Communication apparatus and operation method thereof |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4927661B2 (en) * | 2007-08-10 | 2012-05-09 | ジェイティエンジニアリング株式会社 | Communication method, network system, storage medium, and network connection device |
| US8285843B2 (en) * | 2008-03-18 | 2012-10-09 | Panasonic Corporation | Remote monitoring system |
-
2011
- 2011-01-27 JP JP2011015134A patent/JP5466184B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012156852A (en) | 2012-08-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9501771B2 (en) | Method and system for exchanging information updates between mobile devices | |
| EP1998276B1 (en) | IC Card comprising a main device and an additonal device | |
| US9658748B2 (en) | System and method of managing states of computer screen and controlling mobile communication terminal | |
| EP2523109B1 (en) | Transferring application state across devices | |
| EP2770782B1 (en) | Wireless data communication | |
| CN103065235B (en) | Event attendance notification system and method | |
| CN102474822A (en) | Communication terminal and communication method | |
| CN105468548B (en) | Communication of serial peripheral interface | |
| CN103677988A (en) | Multi-process communication method and system for software system | |
| US9231661B2 (en) | Methods and appliances for forwarding communication between external appliances and secure elements using an interposed element and near field communication (NFC) | |
| CN110297722B (en) | Thread task communication method and related products | |
| KR20200031556A (en) | Transmission device, transmission method and transmission program | |
| CN105099514B (en) | Method for discovering multiple NFC-B devices by NFC-B reader and corresponding NFC-B reader | |
| EP2770755A1 (en) | Near field communication tag type identification | |
| JP5466184B2 (en) | Communication apparatus and operation method thereof | |
| CN107945430B (en) | Serial-port-based bidirectional concurrent communication method for intelligent POS machine | |
| KR20200061857A (en) | Queueing system and method for providing the queueing system | |
| CN109934314A (en) | A kind of method for reading data and system of electric power Internet of Things electronic tag | |
| JP5277209B2 (en) | Communication apparatus and operation method thereof | |
| JP5478548B2 (en) | Communication apparatus and operation method thereof | |
| JP5385889B2 (en) | Communication apparatus and operation method thereof | |
| EP2981048A1 (en) | Initiator terminal, target terminal, method of interrupting access of initiator terminal, and method of interrupting access of target terminal | |
| US20110264763A1 (en) | Method for retrieving object from device management client and associated device management system | |
| CN103778091A (en) | Apparatus and method for operating and switching single conductor interface | |
| JP6583703B1 (en) | Bi-directional SMS distribution device and bi-directional SMS distribution program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130121 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131002 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131022 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131218 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140121 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140123 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5466184 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |