JP2010109608A - Radio communication terminal and radio communication system - Google Patents
Radio communication terminal and radio communication system Download PDFInfo
- Publication number
- JP2010109608A JP2010109608A JP2008278737A JP2008278737A JP2010109608A JP 2010109608 A JP2010109608 A JP 2010109608A JP 2008278737 A JP2008278737 A JP 2008278737A JP 2008278737 A JP2008278737 A JP 2008278737A JP 2010109608 A JP2010109608 A JP 2010109608A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- mode
- terminal
- communication mode
- wireless communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本発明は、無線通信端末及び無線通信システムに関する。 The present invention relates to a wireless communication terminal and a wireless communication system.
無線通信端末の通信回線の構成として、中継装置を介さずに無線通信端末同士が1対1で通信を行う場合がある。無線通信端末同士で構成する回線構成では、その回線を接続する通信手順として、どちらの無線通信端末から処理を始めるかの役割をそれぞれの無線通信端末において定める必要がある。その役割において、通信接続手順における処理を始める側をホストと定義し、ホストからの通信接続要求を受け付ける側をターゲットとして定義する場合がある。
また、無線通信端末では、無線通信の接続に関するパラメータの設定を行う際に、各無線通信端末における通信手順の役割を合わせて決定する技術がある(例えば、特許文献1参照)。
In addition, in the wireless communication terminal, there is a technology for determining the role of the communication procedure in each wireless communication terminal when setting parameters related to the wireless communication connection (see, for example, Patent Document 1).
しかしながら、特許文献1では、無線接続に関するパラメータが設定されていない場合、或いは、パラメータ設定の必要がない場合には、その役割を決定する手順を行えず、役割の設定ができないという問題がある。すなわち、回線接続処理を所望の無線通信端末側から始めようとしても、その役割(ホストまたはターゲット)を割り付けることができないことにより、通信を開始できない場合が生じるという問題がある。
However,
本発明は、上記問題を解決すべくなされたもので、その目的は、1対1の無線通信回線を接続する処理において、各無線通信端末に所望の役割(ホストまたはターゲット)を割り当てることができる無線通信端末及び無線通信システムを提供することにある。 The present invention has been made to solve the above problems, and its object is to assign a desired role (host or target) to each wireless communication terminal in the process of connecting a one-to-one wireless communication line. To provide a wireless communication terminal and a wireless communication system.
上記問題を解決するために、本発明は、無線通信を行う相手側端末に対して該無線通信におけるデータリンク層プロトコルの接続要求を送信する第1通信モードと該接続要求を送信しない第2通信モードを有し該第1通信モードと該第2通信モードのいずれかの通信モードで動作する外部端末と、該無線通信を中継する端末を介さずに1対1の無線通信を行う無線通信端末であって、前記第1通信モードと前記第2通信モードとを有し、該第1通信モードと該第2通信モードのいずれかの通信モードで動作させる通信制御部と、前記通信制御部で動作させている通信モードと同一の通信モードで動作中の前記外部端末が存在するか否かを判定する端末判定部と、前記端末判定部により前記外部端末が存在すると判定された場合には、該外部端末に対して通信モードの変更を要求するモード変更要求部と、を備えることを特徴とする無線通信端末である。 In order to solve the above problem, the present invention provides a first communication mode in which a connection request of a data link layer protocol in wireless communication is transmitted to a counterpart terminal that performs wireless communication and a second communication in which the connection request is not transmitted. And a wireless communication terminal that performs one-to-one wireless communication without going through a terminal that relays the wireless communication, and an external terminal that operates in any one of the first communication mode and the second communication mode. A communication control unit having the first communication mode and the second communication mode and operating in any one of the first communication mode and the second communication mode; and the communication control unit When it is determined that the external terminal is present by the terminal determination unit that determines whether or not the external terminal is operating in the same communication mode as the communication mode being operated, The outer end It is a wireless communication terminal, comprising a mode change request unit for requesting the change of the communication mode, the relative.
また、本発明は、上記発明において、前記端末判定部は、前記通信制御部で動作させている通信モードが前記第1通信モードのときに、前記接続要求の送信先の前記外部端末から該接続要求に対する応答を予め定められる所定期間内に受信しない場合、又は、前記外部端末からの前記接続要求を受信した場合には、前記外部端末が存在すると判定することとする。
また、本発明は、上記発明において、前記通信制御部は、前記通信制御部で動作させている通信モードが前記第1通信モードのときに前記端末判定部により前記外部端末が存在すると判定された場合には、前記通信モードを前記第2通信モードで動作させ、前記モード変更要求部は、該存在すると判定された場合には、該外部端末からの前記接続要求に応じて前記通信モードの変更を要求することとする。
Further, the present invention is the above invention, wherein, when the communication mode operated by the communication control unit is the first communication mode, the terminal determination unit connects the connection request from the external terminal to which the connection request is transmitted. When a response to the request is not received within a predetermined period, or when the connection request is received from the external terminal, it is determined that the external terminal exists.
Also, in the present invention according to the above invention, the communication control unit determines that the external terminal exists by the terminal determination unit when the communication mode operated by the communication control unit is the first communication mode. In this case, the communication mode is operated in the second communication mode, and when it is determined that the mode is present, the mode change request unit changes the communication mode in response to the connection request from the external terminal. Is required.
また、本発明は、上記発明において、前記モード変更要求部は、前記接続要求に対する接続拒否応答を応答すると共に、前記通信モードの変更を要求することとする。
また、本発明は、上記発明において、前記端末判定部は、前記通信制御部で動作させている通信モードが前記第2通信モードのときに前記外部端末から前記接続要求を予め定められる所定時間内に受信しない場合には、前記外部端末が存在すると判定することとする。
また、本発明は、上記発明において、前記通信制御部は、前記通信制御部で動作させている通信モードが前記第2通信モードのときに前記端末判定部により前記外部端末が存在すると判定された場合には、前記通信モードを前記第1通信モードで動作させ、前記モード変更要求部は、前記外部端末が存在すると判定された場合には、該外部端末に対して前記通信モードの変更を要求することとする。
また、本発明は、上記発明において、前記モード変更要求部は、該外部端末に対する前記接続要求を送信すると共に、前記通信モードの変更を要求することとする。
Further, according to the present invention, in the above invention, the mode change request unit responds with a connection rejection response to the connection request and requests to change the communication mode.
Also, in the present invention according to the above invention, the terminal determination unit is configured to perform the connection request from the external terminal within a predetermined time when the communication mode operated by the communication control unit is the second communication mode. If not received, it is determined that the external terminal exists.
Also, in the present invention according to the above invention, the communication control unit determines that the external terminal exists by the terminal determination unit when the communication mode operated by the communication control unit is the second communication mode. In this case, the communication mode is operated in the first communication mode, and when it is determined that the external terminal exists, the mode change request unit requests the external terminal to change the communication mode. I decided to.
Further, according to the present invention, in the above invention, the mode change request unit transmits the connection request to the external terminal and requests to change the communication mode.
また、本発明は、第1通信端末と第2通信端末とを対向させて中継する端末を介さずに1対1の無線通信を行う無線通信システムであって、無線通信を行う相手側端末に対して該無線通信におけるデータリンク層プロトコルの接続要求を送信する第1通信モードと該接続要求を送信しない第2通信モードを有し、該第1通信モードと該第2通信モードのいずれかの通信モードで動作する第1通信制御部と、前記第1通信制御部で動作させている通信モードと同一の通信モードで動作中の前記第2通信端末が存在するか否かを判定する端末判定部と、前記端末判定部により前記第2通信端末が存在すると判定された場合、該第2通信端末に対して通信モードの変更を要求するモード変更要求部と、を備える第1通信端末と、前記第1通信モードと前記第2通信モードを有し、該第1通信モードと該第2通信モードのいずれかの通信モードで動作させるとともに、前記第1通信端末からの通信モードの変更の要求に応じ、前記動作させている通信モードを変更する第2通信制御部と、を備える第2通信端末と、を備えることを特徴とする無線通信システムである。 In addition, the present invention is a wireless communication system that performs one-to-one wireless communication without using a terminal that relays the first communication terminal and the second communication terminal facing each other. A first communication mode for transmitting a connection request for a data link layer protocol in the wireless communication and a second communication mode for not transmitting the connection request, and one of the first communication mode and the second communication mode A terminal determination for determining whether or not there is a first communication control unit operating in a communication mode and the second communication terminal operating in the same communication mode as the communication mode operating in the first communication control unit And a mode change request unit that requests the second communication terminal to change the communication mode when the terminal determination unit determines that the second communication terminal exists, and a first communication terminal comprising: The first communication mode Having the second communication mode, operating in one of the first communication mode and the second communication mode, and operating in response to a request to change the communication mode from the first communication terminal And a second communication terminal that includes a second communication control unit that changes the communication mode.
また、本発明は、無線通信を行う相手側端末に対して該無線通信におけるデータリンク層プロトコルの接続要求を送信する第1通信モードと該接続要求を送信しない第2通信モードを有し該第1通信モードと該第2通信モードのいずれかの通信モードで動作する外部端末と、該無線通信を中継する端末を介さずに1対1の無線通信を行う無線通信端末であって、前記第1通信モードと前記第2通信モードとを有し、該第1通信モードと該第2通信モードのいずれかの通信モードで動作させるとともに、前記外部端末から通信モードの変更の要求があった場合には、該要求に応じて前記動作させている通信モードを変更する通信制御部と、を備えることを特徴とする無線通信端末である。 The present invention also includes a first communication mode for transmitting a data link layer protocol connection request in the wireless communication to a counterpart terminal that performs wireless communication, and a second communication mode in which the connection request is not transmitted. A wireless communication terminal that performs one-to-one wireless communication without going through a terminal that relays the wireless communication with an external terminal that operates in any one of the first communication mode and the second communication mode, When there is a request for changing the communication mode from the external terminal while operating in one of the first communication mode and the second communication mode. Includes a communication control unit that changes the operating communication mode in response to the request.
本発明によれば、1対1の無線通信回線を接続する処理において、各無線通信端末に所望の役割(ホストまたはターゲット)を割り当てることができる。 According to the present invention, a desired role (host or target) can be assigned to each wireless communication terminal in a process of connecting a one-to-one wireless communication line.
以下、本発明の一実施形態について図を参照して説明する。
(第1実施形態)
図1は、第1実施形態における通信システムの構成を示すブロック図である。
図に示される無線通信システムは、無線通信端末として、電子カメラ装置10とプリンタ装置20を対向させて、1対1の通信を行う構成を備える。この無線通信システム1は、ユーザ30によって行われる操作を、無線通信端末である電子カメラ装置10或いはプリンタ装置20が検出して、通信を開始して電子カメラ装置10に記憶された画像データをプリンタ装置20に送信する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a block diagram showing a configuration of a communication system in the first embodiment.
The wireless communication system shown in the figure has a configuration for performing one-to-one communication with the
図2は、第1実施形態における無線通信端末の構成を示すブロック図である。
図に示される無線通信端末は、無線通信機能を備える電子カメラ装置10である。
電子カメラ装置10は、撮像部11、記録媒体12、操作部13、表示部14、通信制御部15、記憶部16及び制御部17を備える。前述の図1に示した構成と同じ構成には、同じ符号を付す。
電子カメラ装置10における撮像部11は、被写体を撮影して撮像信号を生成するとともに、種々の画像処理を行って画像データを作成する。作成された画像データは、記録媒体12に記録される。記録媒体12には、電子カメラ装置10に着脱可能なメモリカードや、電子カメラ装置10に固定されたハードディスク装置などが用いられる。操作部13は、電子カメラ装置10の動作に関する指示を入力するための操作スイッチなどを備え、ユーザ30によって行われた操作入力を検出する。表示部14は、記録媒体12から読み出された画像データ、或いはユーザインターフェース画面等を表示する。
FIG. 2 is a block diagram showing the configuration of the wireless communication terminal in the first embodiment.
The wireless communication terminal shown in the figure is an
The
The
通信制御部15は、プリンタ装置20をはじめ、パーソナルコンピュータや外部記録装置などの外部機器との間で撮影画像等のデータ授受を行う無線通信インタフェースである。通信制御部15に適用される無線通信インタフェースとしては、WLAN(Wireless Local Area Network)、Blutooth、IrDA(Infrared DATA)、TransferJET、WiMediaなどの無線通信を行うインタフェースを有する。
通信制御部15は、データリンク層プロトコルの通信処理を行う機能を有する。通信制御部15は、通信を開始させる接続要求メッセージを送出するホストモード処理部15hと、通信を開始させる接続要求メッセージを送出しないターゲットモード処理部15tとを備える。
ホストモード処理部15hは、対向するプリンタ装置20に対して、上位の通信処理からの要求に応じて接続要求メッセージを送出して、通信回線接続処理を起動することができる。ホストモード処理部15hは、送出した接続要求メッセージに対して、対向するプリンタ装置20から返送される接続許可メッセージを受信して通信回線接続を確立する。ホストモード処理部15hは、送出した接続要求メッセージに対して、対向するプリンタ装置20から返送される接続拒否メッセージを受信すると通信回線接続処理を中断する。さらに、ホストモード処理部15hは、対向するプリンタ装置20から送出される接続要求メッセージを受信しても、応答するメッセージを送出しない。ホストモード処理部15hは、受信したメッセージに基づいた判定の結果を上位の通信処理に通知する。
ターゲットモード処理部15tは、対向するプリンタ装置20から送出される接続要求メッセージを受信し、接続が必要であると判定されると接続許可メッセージを返送する。
The
The
The host
The target
記憶部16は、RAM16r、フラッシュメモリ16fなどにより構成される。
フラッシュメモリ16fには制御プログラムの他に、撮影パラメータや通信パラメータ(データ通信プロトコル情報等)、各部の動作状態等が記録される。
制御部17は、図示されないCPU(Central Processing Unit)などの論理処理部が設けられ、フラッシュメモリ16fに記録されている制御プログラムを読み出し、論理処理部によって制御プログラムを実行し、RAMに記憶される種々のデータを読み書きすることにより、電子カメラ装置10の各部の動作を統括的に制御する。
The
In addition to the control program, the flash memory 16f records shooting parameters, communication parameters (data communication protocol information, etc.), operation states of each unit, and the like.
The
制御部17は、撮像部制御処理部17a、記録媒体制御部17b、操作部制御処理部17c、表示制御処理部17d、通信制御処理部17eを備える。
撮像部制御処理部17aは、記憶部16に記憶される撮影パラメータを参照し、撮像部11に制御信号を送出し、撮影時に生成された画像データを参照し記憶部16に割り付けられた記憶領域に記録する。記録媒体制御部17bは、記憶部16に記憶された画像データを参照し、記録媒体12に記録する。また、記録媒体12に記録された画像データを参照し、記憶部16に割り付けられた記憶領域に記録する。操作部制御処理部17cは、操作部13によって検出された操作入力に基づいて、各部への制御情報を通知する。表示制御処理部17dは、記憶部16に記憶された画像データを参照し、表示部14に表示させる。表示制御処理部17dは、操作部13の操作に必要とされるユーザインターフェース画面を生成し、表示部14に表示させる。
The
The imaging unit
通信制御処理部17eは、記憶部16に記憶された通信パラメータ(データ通信プロトコル情報等)を参照し、通信制御部15の制御を行うと共に、通信制御部15を介して通信される通信の上位処理手順が処理される。
通信制御処理部17eは、通信制御部15の制御に関する端末判定処理部17e1とモード変更要求処理部17e2を備える。
端末判定処理部17e1は、通信制御部15において動作させている通信モードの設定を管理し、通信制御部15が受信した結果に基づいて、対向するプリンタ装置20で動作している通信モードの判定を行う。
端末判定処理部17e1は、ホストモード処理部15hから接続要求メッセージを送出した後、その接続要求に対する応答メッセージ(接続許可応答、または接続拒否応答)を予め定められる所定期間内にプリンタ装置20から受信したことをホストモード処理部15hから通知されない場合、又は、プリンタ装置20からの接続要求メッセージを受信したことをホストモード処理部15hから通知された場合には、プリンタ装置20によって動作している通信モードが、同じホストモードであると判定する。
The communication
The communication
The terminal determination processing unit 17e1 manages the setting of the communication mode operated in the
After transmitting a connection request message from the host
モード変更要求処理部17e2は、通信制御部15において動作させる通信モードの役割切換の制御を行い、通信制御部15にホストモード処理部15hとターゲットモード処理部15tとを切換える指示を送出して、いずれか一方を動作させる。モード変更要求処理部17e2は、通信制御部15における通信モードの役割に応じて、プリンタ装置20側の役割を切り換える要求を通信制御部15から送出する指示をする。
The mode change request processing unit 17e2 controls the switching of the role of the communication mode operated in the
図3は、第1実施形態における無線通信端末の構成を示すブロック図である。
図に示される無線通信端末は、無線通信機能を備えるプリンタ装置20である。
プリンタ装置20は、印刷部21、操作部22、通信制御部23、記憶部24及び制御部25を備える。前述の図1に示した構成と同じ構成には、同じ符号を付す。
プリンタ装置20における印刷部21は、通信制御部23によって受信し、印刷データを図示されない印刷用紙に印刷する。操作部22は、プリンタ装置20の動作に関する指示を入力するための操作スイッチなどを備える。
FIG. 3 is a block diagram illustrating a configuration of the wireless communication terminal according to the first embodiment.
The wireless communication terminal shown in the figure is a
The
The
通信制御部23は、電子カメラ装置10をはじめ、パーソナルコンピュータや外部記録装置などの外部機器との間で撮影画像等のデータ授受を行う無線通信インタフェースである。通信制御部23に適用される無線通信インタフェースとしては、WLAN(Wireless Local Area Network)、Blutooth、IrDA(Infrared DATA)、TransferJET、WiMediaなどの無線通信を行うインタフェースを有する。
The
通信制御部23は、データリンク層プロトコルの通信処理を行う機能を有する。通信制御部23は、通信開始する接続要求メッセージを送出するホストモード処理部23hと、通信開始する接続要求メッセージを送出しないターゲットモード処理部23tとを備える。
ホストモード処理部23hは、対向する電子カメラ装置10に対して、上位の通信処理からの要求に応じて接続要求メッセージを送出して、通信回線接続を起動することができる。ホストモード処理部23hは、送出した接続要求メッセージに対して、対向する電子カメラ装置10から返送される接続許可メッセージを受信して通信回線接続を確立する。ホストモード処理部23hは、送出した接続要求メッセージに対して、対向する電子カメラ装置10から返送される接続拒否メッセージを受信すると通信回線接続処理を中断する。さらに、ホストモード処理部23hは、対向する電子カメラ装置10から送出される接続要求メッセージを受信しても、応答するメッセージを送出しない。ホストモード処理部23hは、受信したメッセージに基づいた判定の結果を上位の通信処理に通知する。
ターゲットモード処理部23tは、対向する電子カメラ装置10から送出される接続要求メッセージを受信し、接続が必要であると判定されると接続許可メッセージを返送する。
The
The host
The target
記憶部24は、RAM24r、フラッシュメモリ24fなどにより構成される。
フラッシュメモリ24fには制御プログラムの他に、印刷パラメータや通信設定パラメータ(データ通信プロトコル情報等)、各部の動作状態等が記録されている。
制御部25はフラッシュメモリ24fに記録されている制御プログラムを読み出し実行し、RAM24rに種々のデータ読み書きすることにより、プリンタ装置20の各部の動作を統括的に制御する。
The
In addition to the control program, the flash memory 24f stores printing parameters, communication setting parameters (data communication protocol information, etc.), operation states of each unit, and the like.
The
制御部25は、印刷制御処理部25a、操作部制御処理部25b及び通信制御処理部25cを備える。
印刷部制御処理部25aは、記憶部24に記憶される印刷パラメータを参照し、印刷部21に制御信号を送出する。印刷部制御処理部25aは、通信制御部23を介して受信し、記憶部24に割り付けられた記憶領域に記録された画像データを印刷部21に入力して、印刷部21に印刷させる。
操作部制御処理部25bは、操作部22によって検出された操作入力に基づいて、各部への制御情報を通知する。
The
The printing unit
The operation unit
通信制御処理部25cは、記憶部24に記憶された通信パラメータ(データ通信プロトコル情報等)を参照し、通信制御部23の制御を行うと共に、通信制御部23を介して通信される通信の上位処理手順が処理される。
通信制御処理部25cは、通信制御部23の制御に関する端末判定処理部25c1とモード変更要求処理部25c2を備える。
端末判定処理部25c1は、通信制御部23において動作させている通信モードの設定を管理して記憶部24に記録する。また、端末判定処理部25c1は、通信制御部23で受信した結果に基づいて、対向する電子カメラ装置10で動作している通信モードの判定を行う。
The communication
The communication
The terminal
端末判定処理部25c1は、ホストモード処理部23hから接続要求メッセージを送出した後、その接続要求に対する応答メッセージ(接続許可応答、または接続拒否応答)を予め定められる所定期間内に電子カメラ装置10から受信したことをホストモード処理部23hから通知されない場合、又は、電子カメラ装置10からの接続要求メッセージを受信したことをホストモード処理部23hから通知された場合には、電子カメラ装置10によって動作している通信モードが、同じホストモードであると判定する。
モード変更要求処理部25c2は、通信制御部23において動作させる通信モードの役割切換の制御を行い、通信制御部23に、ホストモード処理部23hとターゲットモード処理部23tとの切換を指示して、いずれか一方を動作させる。モード変更要求処理部25e2は、通信制御部23における通信モードの役割に応じて、電子カメラ装置10側の役割を切り換える要求を通信制御部23から送出する指示をする。
After sending the connection request message from the host
The mode change request processing unit 25c2 controls the role switching of the communication mode operated in the
図4は、第1実施形態における無線通信端末の接続手順の役割を示す図である。
図4(a)は、無線通信システム1を用いて、ユーザ31が電子カメラ装置10hを操作してプリンタ装置20tに印刷要求を行うアプリケーションに適応される構成を示す。図に示される構成において、ユーザ31が操作する装置から回線接続要求を送信するため、そのデータリンク層プロトコルにおける役割は、電子カメラ装置10hがホスト、プリンタ装置20tはターゲットとなる。
図4(b)は、無線通信システム1を用いて、ユーザ32がプリンタ装置20hを操作して電子カメラ装置10t内の画像を印刷するアプリケーション適応される構成を示す。図に示される構成において、ユーザ32が操作する装置から回線接続要求を送信するため、そのデータリンク層プロトコルにおける役割は、電子カメラ装置10tがターゲット、プリンタ装置20hはホストとなる。
電子カメラ装置10hとプリンタ装置20t、及び、電子カメラ装置10tとプリンタ装置20hのそれぞれの装置は、ホスト機能(ホストモード)とターゲット機能(ターゲットモード)の両方の機能を有する。すなわち、電子カメラ装置10とプリンタ装置20を利用して、それぞれのアプリケーションに適用するために、ホスト機能(ホストモード)とターゲット機能(ターゲットモード)の役割を切換えた状態を示す。
図に示された構成では、それぞれ対向して通信可能な構成を示している。
FIG. 4 is a diagram illustrating the role of the connection procedure of the wireless communication terminal in the first embodiment.
FIG. 4A shows a configuration adapted to an application in which the
FIG. 4B shows a configuration adapted to an application in which the
Each of the
The configuration shown in the figure shows a configuration in which communication can be performed in opposition to each other.
図5は、第1実施形態における無線通信端末の接続手順を示すシーケンス図である。
この図に示されるように、ホスト機能(ホストモード)に設定された無線通信端末から、接続要求メッセージを送出し、ターゲット機能(ターゲットモード)に設定された無線通信端末ではそのメッセージを受信する。ターゲット機能(ターゲットモード)に設定された無線通信端末では、受信した接続要求メッセージに応じて、接続許可メッセージを送出する。接続許可メッセージを受信した、ホスト機能(ホストモード)に設定された無線通信端末は、回線が接続されたことを検出する。このように、本実施形態におけるホスト機能とは、接続要求を行う機器が備える通信機能を示し、ターゲット機能とは接続要求を受け付ける機器が備える機能を示す。
FIG. 5 is a sequence diagram showing a connection procedure of the wireless communication terminal in the first embodiment.
As shown in this figure, a connection request message is transmitted from the wireless communication terminal set to the host function (host mode), and the wireless communication terminal set to the target function (target mode) receives the message. The wireless communication terminal set to the target function (target mode) transmits a connection permission message in response to the received connection request message. The wireless communication terminal set to the host function (host mode) that has received the connection permission message detects that the line has been connected. As described above, the host function in the present embodiment indicates a communication function provided in a device that makes a connection request, and the target function indicates a function provided in a device that receives a connection request.
図6は、第1実施形態における無線通信端末の通信手順におけるメッセージ構成を示す図である。
図6(a)、(b)及び(c)は、データリンク層プロトコルにおける接続制御を行うためのメッセージを示す。
それぞれの図に示されるメッセージのフレームは、共通のフレーム構造を有している。
接続要求メッセージ100Sは、フレーム構造を備えている。そのフレーム構造を構成する要素として、送信先識別子(以下、送信先IDという。)110、送信元識別子(以下、送信元IDという。)120、コントロールデータ130及びデータ140、CRC150を備えている。
FIG. 6 is a diagram illustrating a message configuration in the communication procedure of the wireless communication terminal in the first embodiment.
FIGS. 6A, 6B, and 6C show messages for performing connection control in the data link layer protocol.
The message frames shown in each figure have a common frame structure.
The
送信先ID110には、そのメッセージを送信する相手の識別子(ID)が設定される。但し、接続要求メッセージ時は相手機器が特定されていない場合は、FF-FF-FF-FF-FF-FF-FF-FF等の特殊な識別子(ID)が設定される。送信元ID120には、自機器の識別子(ID)が設定され、コントロールデータ130には、メッセージ種別と役割変更要求情報などが設定される。メッセージ種別は、接続要求メッセージM1、接続許可メッセージM2、接続拒否メッセージM3などの回線接続制御を行う制御情報を示す。
役割変更要求情報は、役割変更要求を示す情報などが設定される。役割変更要求は、通信を開始する機能について、相手機器の役割を設定されている役割から変更する要求をするためのものである。例えば、相手機器に変更を要求する場合を1に、変更を要求しない場合を0と定義する。
データ140には、接続を可能なデータ転送プロトコル種別が設定され、接続可能なデータ転送プロトコルが複数ある場合は、列挙する。また、複数のデータ転送プロトコルにより接続を期待する順に優先付けして、その優先順位が高い順にデータ転送プロトコル種別を列挙することにより、相手機器とのネゴシエーションによって所望のデータ転送プロトコルが選択されやすくなる。
CRC150は、このフレームによって示されたデータについてCRC演算を行った情報を示す。
In the
In the role change request information, information indicating a role change request is set. The role change request is a request for changing the role of the counterpart device from the set role for the function for starting communication. For example, 1 is defined when a change is requested from the counterpart device, and 0 is defined when no change is requested.
In the
図6(a)に、接続要求メッセージ100Sの構成を示す。
接続要求メッセージ100Sにおけるコントロールデータ130には、接続要求メッセージM1及び役割変更要求情報C4が含まれている。
通信回線の接続要求に合わせて、役割変更要求を通知しない接続要求メッセージ100Sにおける役割変更要求情報C4には、「0」が設定される。接続要求メッセージ100Sは、通信回線の接続要求のみを示すメッセージとなる。
また、通信回線の接続要求に合わせて、相手機器の役割をターゲットからホストに変更する要求を通知する接続要求メッセージ100S4における役割変更要求情報C4には、「1」が設定される。
FIG. 6A shows the configuration of the
The control data 130 in the
In accordance with the connection request for the communication line, “0” is set in the role change request information C4 in the
Also, “1” is set in the role change request information C4 in the connection request message 100S4 for notifying a request to change the role of the counterpart device from the target to the host in accordance with the communication line connection request.
図6(b)に、接続許可メッセージ100Rの構成を示す。
接続許可メッセージ100Rにおけるコントロールデータ130には、接続許可メッセージM2が含まれている。接続許可メッセージ100Rは、受信した接続要求メッセージ100S4、100Sに応じて、接続許可の応答をするメッセージである。
接続許可メッセージ100Rにおける構成し、送信先IDおよび送信元IDは接続要求メッセージと同様で、コントロールデータにはメッセージ種別(接続許可メッセージ)等が設定され、データには接続を行うデータ転送プロトコル種別が設定される。
FIG. 6B shows the configuration of the
The control data 130 in the
The
図6(c)に、接続拒否メッセージ100Aの構成を示す。
接続拒否メッセージ100Aにおけるコントロールデータ130には、接続拒否メッセージM3及び役割変更要求情報C5が含まれている。
通信回線の接続要求に対する接続拒否の応答に合わせて、役割変更要求を通知しない接続拒否メッセージ100Aにおける役割変更要求情報C5には、「0」が設定される。接続拒否メッセージ100Aは、通信回線の接続要求の接続拒否のみを示すメッセージとなる。
通信回線の接続要求に対する接続拒否の応答に合わせて、役割変更要求を通知する接続拒否メッセージ100A5における役割変更要求情報C5には、「1」が設定される。
さらに、データ140には自機が対応可能なデータ転送プロトコル種別が設定され、対応可能なプロトコルが複数ある場合には列挙される。
FIG. 6C shows the configuration of the
The control data 130 in the
“0” is set in the role change request information C5 in the connection reject
In accordance with the connection rejection response to the communication line connection request, “1” is set in the role change request information C5 in the connection rejection message 100A5 notifying the role change request.
Furthermore, data transfer protocol types that can be supported by the device itself are set in the
図7は、第1実施形態における接続処理開始時における無線通信端末の役割を示すブロック図である。
図に示される電子カメラ装置10hは、図4(a)のアプリケーションを想定した動作を予定し、ホストモードに設定されている。また、プリンタ装置20hは、図4(b)のアプリケーションを想定した動作を予定し、ホストモードに設定されている。すなわち、双方の装置が異なるアプリケーションを想定した動作を予定し、いずれの装置も、ホストモードに設定されているため、この状態のままでは通信を開始することはできない。
そこで、図示されないユーザ31が電子カメラ装置10hを操作してプリンタ装置20に印刷要求を行うアプリケーションに適応するための処理について、以下に示す。
このような状況に適応するために、電子カメラ装置10は、プリンタ装置20の通信モードの設定変更を制御することにより、通信可能な前述の図4(a)に示した状態とすることを可能とする。
FIG. 7 is a block diagram illustrating the role of the wireless communication terminal at the start of connection processing in the first embodiment.
The
Accordingly, processing for adapting to an application in which a user 31 (not shown) operates the
In order to adapt to such a situation, the
図8は、第1実施形態における接続処理における役割変更手順を示すシーケンス図である。
図に示されるシーケンス図におけるデータリンク層プロトコルでの役割の初期状態は、図7に示した電子カメラ装置10の設定がホストモード、プリンタ装置20の設定もホストモードの状態に、それぞれ設定されている。すなわち、ホストモード処理部15hとホストモード処理部23hが機能する状態にある(ステップSa11及び12)。
ユーザ31によるカメラ装置10の記録媒体12に記憶されている画像データをプリンタ装置20において印刷する操作がカメラ装置10の操作部に行われ、その操作入力を操作部13が検出する。制御部17における操作部制御処理部17cは、操作部13の検出結果に基づいて判定した結果、通信要求を検出する(ステップSa13)。
制御部17における通信制御処理部17eは、通信制御部15におけるホストモード処理部15hに、接続要求メッセージ100Sの送出を指示する(ステップSa14t)。プリンタ装置20は、接続要求メッセージ100Sを受信しても、通信制御部23におけるホストモード処理部23hは、応答することができず、非応答となる(ステップSa14r)。
FIG. 8 is a sequence diagram illustrating a role change procedure in the connection process according to the first embodiment.
The initial state of the role in the data link layer protocol in the sequence diagram shown in the figure is that the setting of the
An operation for printing image data stored in the
The communication
一方、プリンタ装置20における通信制御処理部25cが、通信制御部23におけるホストモード処理部23hに、接続要求メッセージ100Sの送出を指示すると、接続要求メッセージ100Sを電子カメラ装置10に送出する。通信制御部23は、接続許可メッセージを検出するまで、接続要求メッセージ100Sを予め定められた周期T2で送出し続ける。予め定められた周期T2は、例えば、1秒間に10回程度に設定する(ステップSa15t)。
電子カメラ装置10は、プリンタ装置20からの接続要求メッセージ100Sを受信しても、通信制御部15におけるホストモード処理部15hは、応答することができず、非応答となる(ステップSa15r)。
通信制御処理部17における端末判定処理部17e1は、予め定められた時間T1が経過するまで、電子カメラ装置10が送信した接続要求メッセージ100Sに対する接続許可メッセージ100Rは受信されないことになる。プリンタ装置20(ホストモード処理部23h)は、電子カメラ装置10が送信した接続要求メッセージ100Sに対して接続許可メッセージ100Rを送信しないことによる。端末判定処理部17e1は、時間T1が経過すると、プリンタ装置20が同じホストモードで動作しているものと判定する。モード変更要求処理部17e2は、端末判定処理部17e1によって判定された結果に基づいて、通信制御部15におけるホストモード処理部15hの動作を中断させて、ターゲットモード処理部15tに切り換える。周期T1は、周期T2に比べ十分に長い時間であり、例えば、1秒程度に設定する(ステップSa16)。
On the other hand, when the communication
Even if the
The terminal determination processing unit 17e1 in the communication
この通信モードの切換により、電子カメラ装置10は、プリンタ装置20からの接続要求メッセージ100Sを受信することが可能になる。通信制御部15におけるターゲットモード処理部15tは、プリンタ装置20からの接続要求メッセージ100Sを検出し、検出した結果を、制御部17に通知する(ステップSa17r)。
モード変更要求処理部17e2は、通信制御部15におけるターゲットモード処理部15tに、役割変更要求を含んだ接続拒否メッセージ100A5を送出する指示を行う。
ターゲットモード処理部15tは、指示に基づいて、役割変更要求を含んだ接続拒否メッセージ100A5を送出する(ステップSa18t)。
プリンタ装置20における通信制御部23において、ホストモード処理部23hは、送付された役割変更要求を含んだ接続拒否メッセージ100A5を検出し、検出結果を制御部25に通知する(ステップSa18r)。
By switching the communication mode, the
The mode change request processing unit 17e2 instructs the target
Based on the instruction, the target
In the
モード変更要求処理部17e2は、ステップSa18tの後、通信制御部15におけるターゲットモード処理部15tの動作を中断して、ホストモード処理部15hに切り換える(ステップSa19)。
モード変更要求処理部25e2は、ステップSa18rの検出結果の通知に基づいて、通信制御部23におけるホストモード処理部23hの動作を中断させて、ターゲットモード処理部15tに切り換える(ステップSa20)。
After step Sa18t, the mode change request processing unit 17e2 interrupts the operation of the target
Based on the notification of the detection result at step Sa18r, the mode change request processing unit 25e2 interrupts the operation of the host
改めて、制御部17におけるモード変更要求処理部17e2は、通信制御部15におけるホストモード処理部15hに、接続要求メッセージ100Sの送出を指示する(ステップSa21t)。プリンタ装置20は、接続要求メッセージ100Sをターゲットモード処理部23tによって受信して、検出結果を制御部25に通知する(ステップSa21r)。
プリンタ装置20が受信した接続要求メッセージ100Sに応じて、ターゲットモード処理部23tは、接続許可メッセージ100Rを電子カメラ装置10に送出する(ステップSa22t)。
プリンタ装置20が送信した接続許可メッセージ100Rを電子カメラ装置10における通信制御処理部17eが受信する(ステップSa22r)。
以上に示した手順により、電子カメラ装置10をホストモードとした通信回線を確立することができる。
Again, the mode change request processing unit 17e2 in the
In response to the
The communication
Through the procedure described above, a communication line using the
(第2実施形態)
図9は、第1実施形態における接続処理開始時における無線通信端末の役割を示すブロック図である。
図に示される電子カメラ装置10tは、図4(b)のアプリケーションを想定した動作を予定し、ターゲットモードに設定されている。また、プリンタ装置20tは、図4(a)のアプリケーションを想定した動作を予定し、ターゲットモードに設定されている。すなわち、双方の装置が異なるアプリケーションを想定した動作を予定し、いずれの装置も、ターゲットモードに設定されているため、このままでは通信できない。
そこで、図示されないユーザ31が電子カメラ装置10hを操作してプリンタ装置20に印刷要求を行うアプリケーションに適応するための処理について、以下に示す。
このような状況に適応するために、電子カメラ装置10は、プリンタ装置20の通信モードの設定変更を制御することにより、通信可能な前述の図4(a)に示した状態とすることを可能とする。
(Second Embodiment)
FIG. 9 is a block diagram illustrating the role of the wireless communication terminal at the start of connection processing in the first embodiment.
The
Accordingly, processing for adapting to an application in which a user 31 (not shown) operates the
In order to adapt to such a situation, the
図10は、第2実施形態における接続処理における役割変更手順を示すシーケンス図である。
図に示されるシーケンス図におけるデータリンク層プロトコルでの役割の初期状態は、図9に示した電子カメラ装置10の設定がターゲットモード、プリンタ装置20の設定もターゲットモードに、それぞれ設定されている。すなわち、それぞれターゲットモード処理部15tとターゲットモード処理部23tが機能する状態にある(ステップSb21及び22)。
ユーザ31によるカメラ装置10の記録媒体12に記憶されている画像データをプリンタ装置20において印刷する操作がカメラ装置10の操作部に行われ、その操作入力を操作部13が検出する。制御部17における操作部制御処理部17cは、操作部13の検出結果に基づいて判定した結果、通信要求を検出する(ステップSb23)。
カメラ装置10のターゲットモード処理部15tは、受信状態を継続するが、プリンタ装置20は、メッセージを送出しないので何も受信しない状態のまま、予め定められた所定の時間T1が経過する。周期T1は、例えば、1秒程度に設定する(ステップSb24)。
FIG. 10 is a sequence diagram illustrating a role changing procedure in the connection process according to the second embodiment.
In the initial state of the role in the data link layer protocol in the sequence diagram shown in the figure, the setting of the
An operation for printing image data stored in the
The target
通信制御処理部17における端末判定処理部17e1は、予め定められた時間T1が経過するまで、何も受信しなかったので、プリンタ装置20は、同じ通信モードで動作していると判定する。モード変更要求処理部17e2は、その判定の結果に基づいて、通信制御部15におけるターゲットモード処理部15tの動作を中断して、ホストモード処理部15hに切り換える(ステップSb25)。
Since the terminal determination processing unit 17e1 in the communication
制御部17における通信制御処理部17eは、通信制御部15におけるホストモード処理部15hに、役割変更要求を含んだ接続要求メッセージ100S4の送出を指示する(ステップSb26t)。
プリンタ装置20は、役割変更要求を含んだ接続要求メッセージ100Sを受信して、通信制御部23におけるターゲットモード処理部23tは、受信した接続要求メッセージ100Sから、含まれる役割変更要求とともに接続要求メッセージ100Sを検出する(ステップSb26r)。
プリンタ装置20が受信した接続要求メッセージ100Sに応じて、ターゲットモード処理部23tは、接続許可メッセージ100Rを電子カメラ装置10に送出する(ステップSb27t)。
プリンタ装置20が送信した接続許可メッセージ100Rを電子カメラ装置10における通信制御処理部17eが受信する(ステップSb27r)。
The communication
The
In response to the
The communication
モード変更要求処理部17e2は、ステップSa27tの後、通信制御部15におけるホストモード処理部15hの動作を中断して、ターゲットモード処理部15tに切り換える(ステップSb28)。
モード変更要求処理部25e2は、ステップSa27rの検出結果の通知に基づいて、通信制御部23におけるターゲットモード処理部23tの動作を中断して、ホストモード処理部23hに切り換える(ステップSb29)。
一方、プリンタ装置20における通信制御処理部25cが、通信制御部23におけるホストモード処理部23hに、接続要求メッセージ100Sの送出を指示すると、接続要求メッセージ100Sを電子カメラ装置10に送出する(ステップSb30t)。電子カメラ装置10は、プリンタ装置20からの接続要求メッセージ100Sを受信して、受信した結果を制御部17に通知する(ステップSb30r)。
電子カメラ装置10が受信した接続要求メッセージ100Sに応じて、ターゲットモード処理部15tは、接続許可メッセージ100Rをプリンタ装置20に送出する(ステップSb31)。電子カメラ装置10が送信した接続許可メッセージ100Rをプリンタ装置20における通信制御処理部25eが受信する(ステップSb31r)。
以上に示した手順により、電子カメラ装置10をホストモードとした通信回線を確立することができる。
After step Sa27t, the mode change request processing unit 17e2 interrupts the operation of the host
Based on the notification of the detection result at step Sa27r, the mode change request processing unit 25e2 interrupts the operation of the target
On the other hand, when the communication
In response to the
Through the procedure described above, a communication line using the
すなわち、電子カメラ装置10(プリンタ装置20)は、無線通信を行う相手側端末に対してその無線通信におけるデータリンク層プロトコルの接続要求を送信するホストモードと接続要求を送信しないターゲットモードのいずれかの通信モードで動作するプリンタ装置20(電子カメラ装置10)と、その無線通信を中継する端末を介さずに1対1の無線通信を行う。電子カメラ装置10(プリンタ装置20)の通信制御部15(23)は、ホストモードとターゲットモードとを有し、いずれかの通信モードで動作させる。端末判定部は、通信制御部15(23)で動作させている通信モードと同一の通信モードで動作中のプリンタ装置20(電子カメラ装置10)が存在するか否かを判定する。モード変更要求部17e2(23c2)は、端末判定部によりプリンタ装置20(電子カメラ装置10)が存在すると判定された場合、そのプリンタ装置20(電子カメラ装置10)に対して通信モードの変更を要求する。
これにより、1対1の無線通信における回線接続処理を、ホストモードで動作する無線通信端末を所望の無線通信端末に割り付けることが可能となる。そして、無線通信端末は、回線接続処理を、所望の無線通信端末側から始めることが可能となる。
That is, the electronic camera device 10 (printer device 20) is either a host mode that transmits a connection request of the data link layer protocol in the wireless communication to a partner terminal that performs wireless communication or a target mode that does not transmit a connection request. One-to-one wireless communication is performed with the printer device 20 (electronic camera device 10) that operates in the communication mode of the above without passing through a terminal that relays the wireless communication. The communication control unit 15 (23) of the electronic camera device 10 (printer device 20) has a host mode and a target mode, and operates in one of the communication modes. The terminal determination unit determines whether there is a printer device 20 (electronic camera device 10) operating in the same communication mode as the communication mode operated by the communication control unit 15 (23). When the terminal determination unit determines that the printer device 20 (electronic camera device 10) exists, the mode change request unit 17e2 (23c2) requests the printer device 20 (electronic camera device 10) to change the communication mode. To do.
This makes it possible to allocate a wireless communication terminal operating in the host mode to a desired wireless communication terminal for line connection processing in one-to-one wireless communication. Then, the wireless communication terminal can start the line connection process from the desired wireless communication terminal side.
また、端末判定部は、通信制御部15(23)で動作させている通信モードがホストモードのときに、接続要求の送信先のプリンタ装置20(電子カメラ装置10)から接続要求に対する応答を予め定められる所定期間内に受信しない場合、又は、プリンタ装置20(電子カメラ装置10)からの接続要求を受信した場合には、プリンタ装置20(電子カメラ装置10)が存在すると判定する。
これにより、電子カメラ装置10(プリンタ装置20)は、プリンタ装置20(電子カメラ装置10)もホストモードで動作していると判定することが可能となる。
In addition, when the communication mode operated by the communication control unit 15 (23) is the host mode, the terminal determination unit sends a response to the connection request in advance from the printer device 20 (electronic camera device 10) that is the connection request transmission destination. If it is not received within a predetermined period, or if a connection request is received from the printer device 20 (electronic camera device 10), it is determined that the printer device 20 (electronic camera device 10) exists.
Accordingly, the electronic camera device 10 (printer device 20) can determine that the printer device 20 (electronic camera device 10) is also operating in the host mode.
また、通信制御部15(23)は、通信制御部15(23)で動作させている通信モードがホストモードのときに端末判定部によりプリンタ装置20(電子カメラ装置10)が存在すると判定された場合には、通信モードをターゲットモードで動作させ、モード変更要求部17e2(23c2)は、存在すると判定された場合には、プリンタ装置20(電子カメラ装置10)からの接続要求に応じて通信モードの変更を要求する。
これにより、電子カメラ装置10(プリンタ装置20)は、プリンタ装置20(電子カメラ装置10)の動作モードをターゲットモードに変更させることが可能となる。
Further, the communication control unit 15 (23) determines that the printer device 20 (electronic camera device 10) exists by the terminal determination unit when the communication mode operated by the communication control unit 15 (23) is the host mode. In this case, the communication mode is operated in the target mode, and if it is determined that the mode change request unit 17e2 (23c2) exists, the communication mode is set in response to a connection request from the printer device 20 (electronic camera device 10). Request changes.
Thereby, the electronic camera device 10 (printer device 20) can change the operation mode of the printer device 20 (electronic camera device 10) to the target mode.
また、モード変更要求部17e2(23c2)は、接続要求に対する接続拒否応答を応答すると共に、通信モードの変更を要求する。
これにより、電子カメラ装置10(プリンタ装置20)は、プリンタ装置20(電子カメラ装置10)の動作モードをターゲットモードに変更させる要求を、接続要求に対する接続拒否応答と共に応答することが可能となる。
The mode change request unit 17e2 (23c2) responds with a connection rejection response to the connection request and requests a change of the communication mode.
As a result, the electronic camera device 10 (printer device 20) can respond to the request for changing the operation mode of the printer device 20 (electronic camera device 10) to the target mode together with a connection rejection response to the connection request.
また、端末判定部は、通信制御部15(23)で動作させている通信モードがターゲットモードのときにプリンタ装置20(電子カメラ装置10)から接続要求を予め定められる所定時間内に受信しない場合には、プリンタ装置20(電子カメラ装置10)が存在すると判定する。
これにより、電子カメラ装置10(プリンタ装置20)は、プリンタ装置20(電子カメラ装置10)もターゲットモードで動作していると判定することが可能となる。
The terminal determination unit does not receive a connection request from the printer device 20 (electronic camera device 10) within a predetermined time when the communication mode operated by the communication control unit 15 (23) is the target mode. Is determined that the printer device 20 (electronic camera device 10) is present.
Thus, the electronic camera device 10 (printer device 20) can determine that the printer device 20 (electronic camera device 10) is also operating in the target mode.
また、通信制御部15(23)は、通信制御部15(23)で動作させている通信モードがターゲットモードのときに端末判定部によりプリンタ装置20(電子カメラ装置10)が存在すると判定された場合には、通信モードをホストモードで動作させる。モード変更要求部17e2(23c2)は、プリンタ装置20(電子カメラ装置10)が存在すると判定された場合には、該プリンタ装置20(電子カメラ装置10)に対して前記通信モードの変更を要求する。
モード変更要求部17e2(23c2)は、通信制御部15(23)で動作させている通信モードがターゲットモードのときに端末判定部によりプリンタ装置20(電子カメラ装置10)が存在すると判定された場合には、通信制御部15(23)は、通信モードをホストモードで動作させ、該プリンタ装置20(電子カメラ装置10)に対して通信モードの変更を要求する。
これにより、電子カメラ装置10(プリンタ装置20)は、プリンタ装置20(電子カメラ装置10)の動作モードをホストモードに変更させることが可能となる。
The communication control unit 15 (23) determines that the printer device 20 (electronic camera device 10) exists by the terminal determination unit when the communication mode operated by the communication control unit 15 (23) is the target mode. In this case, the communication mode is operated in the host mode. When it is determined that the printer device 20 (electronic camera device 10) exists, the mode change request unit 17e2 (23c2) requests the printer device 20 (electronic camera device 10) to change the communication mode. .
When the mode change request unit 17e2 (23c2) determines that the printer device 20 (electronic camera device 10) exists by the terminal determination unit when the communication mode operated by the communication control unit 15 (23) is the target mode. First, the communication control unit 15 (23) operates the communication mode in the host mode, and requests the printer device 20 (electronic camera device 10) to change the communication mode.
Thereby, the electronic camera device 10 (printer device 20) can change the operation mode of the printer device 20 (electronic camera device 10) to the host mode.
また、モード変更要求部17e2(23c2)は、該プリンタ装置20(電子カメラ装置10)に対する接続要求を送信すると共に、通信モードの変更を要求する。
これにより、電子カメラ装置10(プリンタ装置20)は、プリンタ装置20(電子カメラ装置10)の動作モードをホストモードに変更させる要求を、接続要求に対する接続拒否応答と共に応答することが可能となる。
The mode change request unit 17e2 (23c2) transmits a connection request to the printer device 20 (electronic camera device 10) and requests a change of the communication mode.
As a result, the electronic camera device 10 (printer device 20) can respond to the request for changing the operation mode of the printer device 20 (electronic camera device 10) to the host mode together with a connection rejection response to the connection request.
すなわち、上記の実施形態について整理すると、無線通信システム1は、電子カメラ装置10とプリンタ装置20とを対向させて中継する端末を介さずに1対1の無線通信を行う。
無線通信システム1における電子カメラ装置10(プリンタ装置20)は、無線通信を行う相手側端末に対して該無線通信におけるデータリンク層プロトコルの接続要求を送信するホストモードと該接続要求を送信しないターゲットモードを有して構成される。電子カメラ装置10(プリンタ装置20)における第1通信制御部15(23)は、ホストモードとターゲットモードのいずれかの通信モードで動作する。端末判定部は、通信制御部15(23)で動作させている通信モードと同一の通信モードで動作中のプリンタ装置20(電子カメラ装置10)が存在するか否かを判定する。モード変更要求部17e2(23c2)は、端末判定部によりプリンタ装置20(電子カメラ装置10)が存在すると判定された場合、プリンタ装置20(電子カメラ装置10)に対して通信モードの変更を要求する。
無線通信システム1におけるプリンタ装置20(電子カメラ装置10)は、ホストモードとターゲットモードを有して構成される。プリンタ装置20(電子カメラ装置10)における通信制御部23(15)は、ホストモードとターゲットモードのいずれかの通信モードで動作させるとともに、電子カメラ装置10(プリンタ装置20)からの通信モードの変更の要求に応じ、動作させている通信モードを変更する。
これにより、1対1の無線通信における回線接続処理を、ホストモードで動作する通信端末を所望の電子カメラ装置10とプリンタ装置20のいずれかに割り付けることが可能となる。そして、無線通信システム1は、回線接続処理を、所望の通信端末側から始めることが可能となる。
That is, when the above embodiment is arranged, the
The electronic camera device 10 (printer device 20) in the
The printer device 20 (electronic camera device 10) in the
As a result, a communication terminal operating in the host mode can be assigned to either the desired
また、電子カメラ装置10(プリンタ装置20)は、無線通信を行う相手側端末に対して該無線通信におけるデータリンク層プロトコルの接続要求を送信するホストモードと該接続要求を送信しないターゲットモードを有し該ホストモードと該ターゲットモードのいずれかの通信モードで動作するプリンタ装置20(電子カメラ装置10)と、該無線通信を中継する端末を介さずに1対1の無線通信を行う。電子カメラ装置10(プリンタ装置20)における通信制御部15(23)は、ホストモードとターゲットモードとを有し、ホストモードとターゲットモードのいずれかの通信モードで動作させるとともに、プリンタ装置20(電子カメラ装置10)から通信モードの変更の要求があった場合には、その要求に応じて動作させている通信モードを変更する。
これにより、1対1の無線通信における回線接続処理を、ホストモードで動作する電子カメラ装置10(プリンタ装置20)を所望の無線通信端末に割り付けることが可能となる。そして、電子カメラ装置10(プリンタ装置20)は、回線接続処理を、プリンタ装置20(電子カメラ装置10)側の要求に応じて、通信モードを切換えて、所望の無線通信端末側から始めることが可能となる。
In addition, the electronic camera device 10 (printer device 20) has a host mode that transmits a connection request of the data link layer protocol in the wireless communication to a counterpart terminal that performs wireless communication and a target mode that does not transmit the connection request. Then, one-to-one wireless communication is performed with the printer device 20 (electronic camera device 10) operating in any one of the host mode and the target mode without using a terminal that relays the wireless communication. The communication control unit 15 (23) in the electronic camera device 10 (printer device 20) has a host mode and a target mode, and operates in either the host mode or the target mode, and the printer device 20 (electronic device). When there is a request for changing the communication mode from the camera device 10), the communication mode being operated is changed in response to the request.
As a result, the electronic camera device 10 (printer device 20) operating in the host mode can be assigned to a desired wireless communication terminal for line connection processing in one-to-one wireless communication. Then, the electronic camera device 10 (printer device 20) can start the line connection processing from the desired wireless communication terminal side by switching the communication mode in response to a request from the printer device 20 (electronic camera device 10) side. It becomes possible.
なお、本発明は、上記の各実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で変更可能である。本発明の無線通信システム1を構成する無線通信端末として電子カメラ装置10とプリンタ装置20を例示して説明したが、上記の構成を実現する他の形態の装置であっても良い。
また、電子カメラ装置10とプリンタ装置20の構成についても、例示した構成に制限はなく、他の構成とすることも可能である。
また、接続要求メッセージ100S4、接続拒否メッセージ100A5によって、役割変更要求を同じメッセージ内に割り付けられた情報とする例を示したが、メッセージを分割して、別々のメッセージによって送付することとしても良い。
また、役割割付変更を行う際にユーザは、電子カメラ装置10を操作することとしたが、プリンタ装置20を操作することとしても良い。
また、制御部17(23)は、演算処理部をCPUによって行うこととしたが、DSP(Digital Signal Processor)などを用いる処理プログラムによって実行させることも容易である
The present invention is not limited to the above embodiments, and can be modified without departing from the spirit of the present invention. Although the
Also, the configurations of the
Moreover, although the example in which the role change request is information assigned in the same message by the connection request message 100S4 and the connection rejection message 100A5 is shown, the messages may be divided and sent by separate messages.
Further, the user operates the
In addition, the control unit 17 (23) performs the arithmetic processing unit by the CPU, but it can be easily executed by a processing program using a DSP (Digital Signal Processor) or the like.
また、上述の電子カメラ装置10及びプリンタ装置20として例示した無線通信端末は、その内部にコンピュータシステムを有している。そして、上述した通信制御に係る処理過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。
Further, the wireless communication terminals exemplified as the
なお、本発明の無線通信システムは、無線通信システム1に相当する。また、本発明の無線通信端末と外部端末は、電子カメラ装置10(10h、10t)とプリンタ装置20(20h、20t)、或いは、プリンタ装置20(20h、20t)と電子カメラ装置10(10h、10t)に相当する。また、本発明の第1通信端末と第2通信端末は、電子カメラ装置10(10h、10t)とプリンタ装置20(20h、20t)、或いは、プリンタ装置20(20h、20t)と電子カメラ装置10(10h、10t)に相当する。また、本発明の通信制御部は、通信制御部15、23に相当する。また、本発明の端末判定部は、端末判定部17e1、25c1に相当する。また、本発明のモード変更要求部は、モード変更要求部17e2、25c2に相当する。また、本発明の第1通信モードは、ホストモードに相当する。また、本発明の第2通信モードは、ターゲットモードに相当する。
Note that the wireless communication system of the present invention corresponds to the
10 電子カメラ装置
11 撮像部
12 記録媒体
13 操作部
14 表示部
15 通信制御部
16 記憶部
17 制御部
17a 撮像部制御処理部
17b 記録媒体制御部
17c 操作部制御処理部
17d 表示制御処理部
17e 通信制御処理部
17e1 端末判定処理部
17e2 モード変更要求処理部
DESCRIPTION OF
Claims (9)
前記第1通信モードと前記第2通信モードとを有し、該第1通信モードと該第2通信モードのいずれかの通信モードで動作させる通信制御部と、
前記通信制御部で動作させている通信モードと同一の通信モードで動作中の前記外部端末が存在するか否かを判定する端末判定部と、
前記端末判定部により前記外部端末が存在すると判定された場合には、該外部端末に対して通信モードの変更を要求するモード変更要求部と、
を備えることを特徴とする無線通信端末。 A first communication mode for transmitting a data link layer protocol connection request in the wireless communication to a counterpart terminal for wireless communication, and a second communication mode for not transmitting the connection request. A wireless communication terminal that performs one-to-one wireless communication with an external terminal that operates in any one of the two communication modes without using a terminal that relays the wireless communication;
A communication control unit having the first communication mode and the second communication mode and operating in any one of the first communication mode and the second communication mode;
A terminal determination unit that determines whether or not there is the external terminal operating in the same communication mode as the communication mode operated in the communication control unit;
If the terminal determination unit determines that the external terminal exists, a mode change request unit that requests the external terminal to change the communication mode;
A wireless communication terminal comprising:
前記通信制御部で動作させている通信モードが前記第1通信モードのときに、前記接続要求の送信先の前記外部端末から該接続要求に対する応答を予め定められる所定期間内に受信しない場合、又は、前記外部端末からの前記接続要求を受信した場合には、前記外部端末が存在すると判定すること
を特徴とする請求項1に記載の無線通信端末。 The terminal determination unit
When the communication mode operated by the communication control unit is the first communication mode, a response to the connection request is not received within a predetermined period from the external terminal that is the transmission destination of the connection request, or The wireless communication terminal according to claim 1, wherein when the connection request is received from the external terminal, it is determined that the external terminal exists.
前記通信制御部で動作させている通信モードが前記第1通信モードのときに前記端末判定部により前記外部端末が存在すると判定された場合には、前記通信モードを前記第2通信モードで動作させ、
前記モード変更要求部は、
該存在すると判定された場合には、該外部端末からの前記接続要求に応じて前記通信モードの変更を要求する
ことを特徴とする請求項1に記載の無線通信端末。 The communication control unit
When the terminal determination unit determines that the external terminal exists when the communication mode operated by the communication control unit is the first communication mode, the communication mode is operated in the second communication mode. ,
The mode change request unit is
2. The wireless communication terminal according to claim 1, wherein, when it is determined that the communication terminal is present, a change in the communication mode is requested in response to the connection request from the external terminal.
前記接続要求に対する接続拒否応答を応答すると共に、前記通信モードの変更を要求する
ことを特徴とする請求項3に記載の無線通信端末。 The mode change request unit is
The wireless communication terminal according to claim 3, wherein a connection rejection response to the connection request is responded and a change of the communication mode is requested.
前記通信制御部で動作させている通信モードが前記第2通信モードのときに前記外部端末から前記接続要求を予め定められる所定時間内に受信しない場合には、前記外部端末が存在すると判定する
ことを特徴とする請求項1に記載の無線通信端末。 The terminal determination unit
When the communication mode operated by the communication control unit is the second communication mode and the connection request is not received from the external terminal within a predetermined time, it is determined that the external terminal exists. The wireless communication terminal according to claim 1.
前記通信制御部で動作させている通信モードが前記第2通信モードのときに前記端末判定部により前記外部端末が存在すると判定された場合には、前記通信モードを前記第1通信モードで動作させ、
前記モード変更要求部は、
前記外部端末が存在すると判定された場合には、該外部端末に対して前記通信モードの変更を要求する
ことを特徴とする請求項1に記載の無線通信端末。 The communication control unit
When the terminal determination unit determines that the external terminal exists when the communication mode operated by the communication control unit is the second communication mode, the communication mode is operated in the first communication mode. ,
The mode change request unit is
The wireless communication terminal according to claim 1, wherein when it is determined that the external terminal exists, the external terminal is requested to change the communication mode.
該外部端末に対する前記接続要求を送信すると共に、前記通信モードの変更を要求する
ことを特徴とする請求項6に記載の無線通信端末。 The mode change request unit is
The wireless communication terminal according to claim 6, wherein the connection request to the external terminal is transmitted and the change of the communication mode is requested.
無線通信を行う相手側端末に対して該無線通信におけるデータリンク層プロトコルの接続要求を送信する第1通信モードと該接続要求を送信しない第2通信モードを有し、該第1通信モードと該第2通信モードのいずれかの通信モードで動作する第1通信制御部と、
前記第1通信制御部で動作させている通信モードと同一の通信モードで動作中の前記第2通信端末が存在するか否かを判定する端末判定部と、
前記端末判定部により前記第2通信端末が存在すると判定された場合、該第2通信端末に対して通信モードの変更を要求するモード変更要求部と、
を備える第1通信端末と、
前記第1通信モードと前記第2通信モードを有し、該第1通信モードと該第2通信モードのいずれかの通信モードで動作させるとともに、前記第1通信端末からの通信モードの変更の要求に応じ、前記動作させている通信モードを変更する第2通信制御部と、
を備える第2通信端末と、
を備えることを特徴とする無線通信システム。 A wireless communication system that performs one-to-one wireless communication without using a terminal that relays the first communication terminal and the second communication terminal facing each other,
A first communication mode for transmitting a connection request of a data link layer protocol in the wireless communication to a counterpart terminal performing wireless communication; a second communication mode for not transmitting the connection request; and the first communication mode and A first communication control unit that operates in any one of the second communication modes;
A terminal determination unit that determines whether or not there is the second communication terminal operating in the same communication mode as the communication mode operated in the first communication control unit;
When it is determined by the terminal determination unit that the second communication terminal exists, a mode change request unit that requests the second communication terminal to change the communication mode;
A first communication terminal comprising:
A request to change the communication mode from the first communication terminal while having the first communication mode and the second communication mode and operating in any one of the first communication mode and the second communication mode And a second communication control unit that changes the operating communication mode,
A second communication terminal comprising:
A wireless communication system comprising:
前記第1通信モードと前記第2通信モードとを有し、該第1通信モードと該第2通信モードのいずれかの通信モードで動作させるとともに、前記外部端末から通信モードの変更の要求があった場合には、該要求に応じて前記動作させている通信モードを変更する通信制御部と、
を備えることを特徴とする無線通信端末。 A first communication mode for transmitting a data link layer protocol connection request in the wireless communication to a counterpart terminal for wireless communication, and a second communication mode for not transmitting the connection request. A wireless communication terminal that performs one-to-one wireless communication without going through a terminal that relays the wireless communication with an external terminal that operates in any one of the two communication modes;
The first communication mode and the second communication mode are provided, the operation is performed in any one of the first communication mode and the second communication mode, and a request for changing the communication mode is received from the external terminal. A communication control unit that changes the operating communication mode in response to the request;
A wireless communication terminal comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008278737A JP2010109608A (en) | 2008-10-29 | 2008-10-29 | Radio communication terminal and radio communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008278737A JP2010109608A (en) | 2008-10-29 | 2008-10-29 | Radio communication terminal and radio communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010109608A true JP2010109608A (en) | 2010-05-13 |
Family
ID=42298617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008278737A Withdrawn JP2010109608A (en) | 2008-10-29 | 2008-10-29 | Radio communication terminal and radio communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010109608A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012075043A (en) * | 2010-09-29 | 2012-04-12 | Toshiba Corp | Wireless communication method and wireless device |
JP2015177267A (en) * | 2014-03-13 | 2015-10-05 | 株式会社東芝 | Device and method for file transmission and reception |
-
2008
- 2008-10-29 JP JP2008278737A patent/JP2010109608A/en not_active Withdrawn
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012075043A (en) * | 2010-09-29 | 2012-04-12 | Toshiba Corp | Wireless communication method and wireless device |
JP2015177267A (en) * | 2014-03-13 | 2015-10-05 | 株式会社東芝 | Device and method for file transmission and reception |
US9859954B2 (en) | 2014-03-13 | 2018-01-02 | Toshiba Memory Corporation | File transmission/reception device and control method of file transmission/reception device |
US10187118B2 (en) | 2014-03-13 | 2019-01-22 | Toshiba Memory Corporation | File transmission/reception device and control method of file transmission/reception device |
US10454531B2 (en) | 2014-03-13 | 2019-10-22 | Toshiba Memory Corporation | File transmission/reception device and control method of file transmission/reception device |
US10623059B2 (en) | 2014-03-13 | 2020-04-14 | Toshiba Memory Corporation | File transmission/reception device and control method of file transmission/reception device |
US11309938B2 (en) | 2014-03-13 | 2022-04-19 | Kioxia Corporation | File transmission/reception device and control method of file transmission/reception device |
US11881910B2 (en) | 2014-03-13 | 2024-01-23 | Kioxia Corporation | File transmission/reception device and control method of file transmission/reception device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10397963B2 (en) | Information processing apparatus, control method, and non-transitory computer-readable storage medium | |
US10735603B2 (en) | Image forming apparatus with near-field and direct wireless communication | |
US9974104B2 (en) | Wireless communication apparatus and method for seamlessly communicating data by setting up and switching between multiple networks | |
US9913148B2 (en) | Data processing apparatus that discriminates a network formed by a normal access point from a network formed by a simple access point function | |
US9665317B2 (en) | Image forming system for exchanging location and processing information of a job using short-range communication | |
US10958477B2 (en) | Information processing apparatus, method for controlling the same, and computer-readable medium | |
JP2006295504A (en) | Information communication device and method for selecting protocol | |
US20170264515A1 (en) | Communication device, control method for communication device, and program | |
JP2006318262A (en) | Printing system | |
US10560534B2 (en) | Information processing apparatus, communication terminal, and communication system for enabling a disconnect of communication between the information processing apparatus and the communication terminal | |
JP7262191B2 (en) | ELECTRONIC DEVICE AND CONTROL METHOD AND PROGRAM THEREOF AND INFORMATION PROCESSING SYSTEM | |
US20180165555A1 (en) | Printing apparatus that prints images received from a plurality of external apparatuses, method of controlling the same, and storage medium | |
JP2010109608A (en) | Radio communication terminal and radio communication system | |
WO2020085177A1 (en) | Communication device, method for controlling communication device and program | |
US20230229367A1 (en) | Information processing apparatus having a plurality of lines, control method therefor, and storage medium | |
JP6970578B2 (en) | Communication equipment and its control method, program | |
JP2022078092A (en) | Information processing apparatus, method for controlling the same, and program | |
JP2008236150A (en) | Radio information processor | |
JP5253108B2 (en) | Wireless communication terminal | |
US9106608B2 (en) | Communication device, communication method, and non-transitory computer-readable recording medium | |
JP2016081450A (en) | Communication equipment, control method for communication equipment, and computer program | |
JP7383432B2 (en) | Communication device, communication device control method, and program | |
JP2018103397A (en) | Printing device, method for controlling the same, and program | |
US10067725B2 (en) | Communication apparatus and control method of the same | |
WO2020095632A1 (en) | Communication device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20120110 |