JP2010109608A - Radio communication terminal and radio communication system - Google Patents

Radio communication terminal and radio communication system Download PDF

Info

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
Application number
JP2008278737A
Other languages
Japanese (ja)
Inventor
Keito Fukushima
圭都 福島
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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2008278737A priority Critical patent/JP2010109608A/en
Publication of JP2010109608A publication Critical patent/JP2010109608A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a radio communication terminal and a radio communication system capable of starting line connection processing from a desired radio communication terminal side in procedures for establishing one-to-one radio communication lines. <P>SOLUTION: A communication control section 15 in an electronic camera apparatus 10 includes a host mode for transmitting connection requests of data link layer protocols to a terminal at the side of one's party and a target mode transmitting no connection requests, and is operated by one of the host and target communication modes. A terminal determination section 17e1 determines whether an external terminal, which is under operation in the same communication mode as the communication mode operated by the communication control section 15, exists. When the terminal determination section 17e1 determines that the external terminal exists, a mode change request section 17e2 requests a change in the communication mode from the external terminal. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、無線通信端末及び無線通信システムに関する。   The present invention relates to a wireless communication terminal and a wireless communication system.

無線通信端末の通信回線の構成として、中継装置を介さずに無線通信端末同士が1対1で通信を行う場合がある。無線通信端末同士で構成する回線構成では、その回線を接続する通信手順として、どちらの無線通信端末から処理を始めるかの役割をそれぞれの無線通信端末において定める必要がある。その役割において、通信接続手順における処理を始める側をホストと定義し、ホストからの通信接続要求を受け付ける側をターゲットとして定義する場合がある。
また、無線通信端末では、無線通信の接続に関するパラメータの設定を行う際に、各無線通信端末における通信手順の役割を合わせて決定する技術がある(例えば、特許文献1参照)。
特開2007―251922号公報
As a configuration of a communication line of wireless communication terminals, wireless communication terminals may perform one-to-one communication without using a relay device. In a line configuration composed of wireless communication terminals, as a communication procedure for connecting the lines, the role of which wireless communication terminal starts processing needs to be determined in each wireless communication terminal. In that role, the side that starts processing in the communication connection procedure may be defined as a host, and the side that receives a communication connection request from the host may be defined as a target.
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).
JP 2007-251922 A

しかしながら、特許文献1では、無線接続に関するパラメータが設定されていない場合、或いは、パラメータ設定の必要がない場合には、その役割を決定する手順を行えず、役割の設定ができないという問題がある。すなわち、回線接続処理を所望の無線通信端末側から始めようとしても、その役割(ホストまたはターゲット)を割り付けることができないことにより、通信を開始できない場合が生じるという問題がある。   However, Patent Document 1 has a problem in that when a parameter relating to wireless connection is not set or when parameter setting is not necessary, the procedure for determining the role cannot be performed and the role cannot be set. That is, there is a problem that communication may not be started because the role (host or target) cannot be assigned even if the line connection process is started from the desired wireless communication terminal side.

本発明は、上記問題を解決すべくなされたもので、その目的は、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 electronic camera device 10 and the printer device 20 facing each other as a wireless communication terminal. In this wireless communication system 1, an operation performed by a user 30 is detected by the electronic camera device 10 or the printer device 20 which is a wireless communication terminal, communication is started, and image data stored in the electronic camera device 10 is transferred to the printer. Transmit to device 20.

図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 electronic camera device 10 having a wireless communication function.
The electronic camera device 10 includes an imaging unit 11, a recording medium 12, an operation unit 13, a display unit 14, a communication control unit 15, a storage unit 16, and a control unit 17. The same components as those shown in FIG.
The imaging unit 11 in the electronic camera device 10 shoots a subject to generate an imaging signal, and performs various image processing to create image data. The created image data is recorded on the recording medium 12. As the recording medium 12, a memory card that is detachable from the electronic camera device 10, a hard disk device fixed to the electronic camera device 10, or the like is used. The operation unit 13 includes an operation switch for inputting an instruction related to the operation of the electronic camera device 10 and detects an operation input performed by the user 30. The display unit 14 displays image data read from the recording medium 12 or a user interface screen.

通信制御部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 communication control unit 15 is a wireless communication interface that exchanges data such as captured images with the printer device 20 and other external devices such as a personal computer and an external recording device. The wireless communication interface applied to the communication control unit 15 includes an interface for performing wireless communication such as WLAN (Wireless Local Area Network), Bluetooth, IrDA (Infrared DATA), TransferJET, WiMedia, and the like.
The communication control unit 15 has a function of performing communication processing of the data link layer protocol. The communication control unit 15 includes a host mode processing unit 15h that transmits a connection request message for starting communication, and a target mode processing unit 15t that does not transmit a connection request message for starting communication.
The host mode processing unit 15h can start a communication line connection process by sending a connection request message to the opposing printer 20 in response to a request from a higher-level communication process. In response to the transmitted connection request message, the host mode processing unit 15h receives a connection permission message returned from the opposing printer device 20, and establishes a communication line connection. In response to the transmitted connection request message, the host mode processing unit 15h interrupts the communication line connection processing when receiving a connection rejection message returned from the opposing printer device 20. Furthermore, even if the host mode processing unit 15h receives a connection request message sent from the opposing printer device 20, it does not send a response message. The host mode processing unit 15h notifies the higher-level communication processing of the determination result based on the received message.
The target mode processing unit 15t receives a connection request message sent from the opposing printer device 20, and returns a connection permission message when it is determined that a connection is necessary.

記憶部16は、RAM16r、フラッシュメモリ16fなどにより構成される。
フラッシュメモリ16fには制御プログラムの他に、撮影パラメータや通信パラメータ(データ通信プロトコル情報等)、各部の動作状態等が記録される。
制御部17は、図示されないCPU(Central Processing Unit)などの論理処理部が設けられ、フラッシュメモリ16fに記録されている制御プログラムを読み出し、論理処理部によって制御プログラムを実行し、RAMに記憶される種々のデータを読み書きすることにより、電子カメラ装置10の各部の動作を統括的に制御する。
The storage unit 16 includes a RAM 16r, a flash memory 16f, and the like.
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 control unit 17 includes a logic processing unit (not shown) such as a CPU (Central Processing Unit), reads a control program recorded in the flash memory 16f, executes the control program by the logic processing unit, and stores the control program in the RAM. By reading and writing various data, the operation of each part of the electronic camera device 10 is comprehensively controlled.

制御部17は、撮像部制御処理部17a、記録媒体制御部17b、操作部制御処理部17c、表示制御処理部17d、通信制御処理部17eを備える。
撮像部制御処理部17aは、記憶部16に記憶される撮影パラメータを参照し、撮像部11に制御信号を送出し、撮影時に生成された画像データを参照し記憶部16に割り付けられた記憶領域に記録する。記録媒体制御部17bは、記憶部16に記憶された画像データを参照し、記録媒体12に記録する。また、記録媒体12に記録された画像データを参照し、記憶部16に割り付けられた記憶領域に記録する。操作部制御処理部17cは、操作部13によって検出された操作入力に基づいて、各部への制御情報を通知する。表示制御処理部17dは、記憶部16に記憶された画像データを参照し、表示部14に表示させる。表示制御処理部17dは、操作部13の操作に必要とされるユーザインターフェース画面を生成し、表示部14に表示させる。
The control unit 17 includes an imaging unit control processing unit 17a, a recording medium control unit 17b, an operation unit control processing unit 17c, a display control processing unit 17d, and a communication control processing unit 17e.
The imaging unit control processing unit 17a refers to imaging parameters stored in the storage unit 16, sends control signals to the imaging unit 11, refers to image data generated at the time of imaging, and is a storage area allocated to the storage unit 16 To record. The recording medium control unit 17 b refers to the image data stored in the storage unit 16 and records it on the recording medium 12. Further, the image data recorded on the recording medium 12 is referred to and recorded in a storage area allocated to the storage unit 16. The operation unit control processing unit 17 c notifies control information to each unit based on the operation input detected by the operation unit 13. The display control processing unit 17d refers to the image data stored in the storage unit 16 and causes the display unit 14 to display the image data. The display control processing unit 17 d generates a user interface screen required for the operation of the operation unit 13 and causes the display unit 14 to display the user interface screen.

通信制御処理部17eは、記憶部16に記憶された通信パラメータ(データ通信プロトコル情報等)を参照し、通信制御部15の制御を行うと共に、通信制御部15を介して通信される通信の上位処理手順が処理される。
通信制御処理部17eは、通信制御部15の制御に関する端末判定処理部17e1とモード変更要求処理部17e2を備える。
端末判定処理部17e1は、通信制御部15において動作させている通信モードの設定を管理し、通信制御部15が受信した結果に基づいて、対向するプリンタ装置20で動作している通信モードの判定を行う。
端末判定処理部17e1は、ホストモード処理部15hから接続要求メッセージを送出した後、その接続要求に対する応答メッセージ(接続許可応答、または接続拒否応答)を予め定められる所定期間内にプリンタ装置20から受信したことをホストモード処理部15hから通知されない場合、又は、プリンタ装置20からの接続要求メッセージを受信したことをホストモード処理部15hから通知された場合には、プリンタ装置20によって動作している通信モードが、同じホストモードであると判定する。
The communication control processing unit 17e refers to the communication parameters (data communication protocol information and the like) stored in the storage unit 16 and controls the communication control unit 15 as well as the upper level of communication communicated via the communication control unit 15. The processing procedure is processed.
The communication control processing unit 17e includes a terminal determination processing unit 17e1 and a mode change request processing unit 17e2 related to the control of the communication control unit 15.
The terminal determination processing unit 17e1 manages the setting of the communication mode operated in the communication control unit 15, and based on the result received by the communication control unit 15, determines the communication mode operating in the opposing printer device 20. I do.
After transmitting a connection request message from the host mode processing unit 15h, the terminal determination processing unit 17e1 receives a response message (connection permission response or connection rejection response) from the printer device 20 within a predetermined period. If the host mode processing unit 15h is not notified of this, or if the host mode processing unit 15h is notified that the connection request message has been received from the printer device 20, the communication operating by the printer device 20 is performed. It is determined that the mode is the same host mode.

モード変更要求処理部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 communication control unit 15, sends an instruction to switch the host mode processing unit 15h and the target mode processing unit 15t to the communication control unit 15, Either one is operated. The mode change request processing unit 17e2 instructs the communication control unit 15 to send out a request to switch the role on the printer device 20 side according to the role of the communication mode in the communication control unit 15.

図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 printer device 20 having a wireless communication function.
The printer device 20 includes a printing unit 21, an operation unit 22, a communication control unit 23, a storage unit 24, and a control unit 25. The same components as those shown in FIG.
The printing unit 21 in the printer device 20 is received by the communication control unit 23 and prints the print data on a printing paper (not shown). The operation unit 22 includes an operation switch for inputting an instruction regarding the operation of the printer device 20.

通信制御部23は、電子カメラ装置10をはじめ、パーソナルコンピュータや外部記録装置などの外部機器との間で撮影画像等のデータ授受を行う無線通信インタフェースである。通信制御部23に適用される無線通信インタフェースとしては、WLAN(Wireless Local Area Network)、Blutooth、IrDA(Infrared DATA)、TransferJET、WiMediaなどの無線通信を行うインタフェースを有する。   The communication control unit 23 is a wireless communication interface that exchanges data such as captured images with the electronic camera device 10 and other external devices such as a personal computer and an external recording device. As a wireless communication interface applied to the communication control unit 23, there is an interface for performing wireless communication such as WLAN (Wireless Local Area Network), Bluetooth, IrDA (Infrared DATA), TransferJET, WiMedia.

通信制御部23は、データリンク層プロトコルの通信処理を行う機能を有する。通信制御部23は、通信開始する接続要求メッセージを送出するホストモード処理部23hと、通信開始する接続要求メッセージを送出しないターゲットモード処理部23tとを備える。
ホストモード処理部23hは、対向する電子カメラ装置10に対して、上位の通信処理からの要求に応じて接続要求メッセージを送出して、通信回線接続を起動することができる。ホストモード処理部23hは、送出した接続要求メッセージに対して、対向する電子カメラ装置10から返送される接続許可メッセージを受信して通信回線接続を確立する。ホストモード処理部23hは、送出した接続要求メッセージに対して、対向する電子カメラ装置10から返送される接続拒否メッセージを受信すると通信回線接続処理を中断する。さらに、ホストモード処理部23hは、対向する電子カメラ装置10から送出される接続要求メッセージを受信しても、応答するメッセージを送出しない。ホストモード処理部23hは、受信したメッセージに基づいた判定の結果を上位の通信処理に通知する。
ターゲットモード処理部23tは、対向する電子カメラ装置10から送出される接続要求メッセージを受信し、接続が必要であると判定されると接続許可メッセージを返送する。
The communication control unit 23 has a function of performing communication processing of the data link layer protocol. The communication control unit 23 includes a host mode processing unit 23h that transmits a connection request message for starting communication, and a target mode processing unit 23t that does not transmit a connection request message for starting communication.
The host mode processing unit 23h can start a communication line connection by sending a connection request message to the opposing electronic camera device 10 in response to a request from a higher-level communication process. In response to the transmitted connection request message, the host mode processing unit 23h receives a connection permission message returned from the opposing electronic camera device 10 and establishes a communication line connection. In response to the transmitted connection request message, the host mode processing unit 23h interrupts the communication line connection processing when receiving a connection rejection message returned from the opposing electronic camera device 10. Furthermore, even if the host mode processing unit 23h receives a connection request message sent from the opposing electronic camera device 10, it does not send a response message. The host mode processing unit 23h notifies the higher-level communication process of the determination result based on the received message.
The target mode processing unit 23t receives a connection request message sent from the opposing electronic camera device 10, and returns a connection permission message when it is determined that a connection is necessary.

記憶部24は、RAM24r、フラッシュメモリ24fなどにより構成される。
フラッシュメモリ24fには制御プログラムの他に、印刷パラメータや通信設定パラメータ(データ通信プロトコル情報等)、各部の動作状態等が記録されている。
制御部25はフラッシュメモリ24fに記録されている制御プログラムを読み出し実行し、RAM24rに種々のデータ読み書きすることにより、プリンタ装置20の各部の動作を統括的に制御する。
The storage unit 24 includes a RAM 24r, a flash memory 24f, and the like.
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 control unit 25 reads and executes a control program recorded in the flash memory 24f, and reads and writes various data to and from the RAM 24r, thereby comprehensively controlling the operation of each unit of the printer device 20.

制御部25は、印刷制御処理部25a、操作部制御処理部25b及び通信制御処理部25cを備える。
印刷部制御処理部25aは、記憶部24に記憶される印刷パラメータを参照し、印刷部21に制御信号を送出する。印刷部制御処理部25aは、通信制御部23を介して受信し、記憶部24に割り付けられた記憶領域に記録された画像データを印刷部21に入力して、印刷部21に印刷させる。
操作部制御処理部25bは、操作部22によって検出された操作入力に基づいて、各部への制御情報を通知する。
The control unit 25 includes a print control processing unit 25a, an operation unit control processing unit 25b, and a communication control processing unit 25c.
The printing unit control processing unit 25 a refers to the printing parameters stored in the storage unit 24 and sends a control signal to the printing unit 21. The printing unit control processing unit 25 a receives the image data via the communication control unit 23, inputs the image data recorded in the storage area allocated to the storage unit 24 to the printing unit 21, and causes the printing unit 21 to print the image data.
The operation unit control processing unit 25b notifies the control information to each unit based on the operation input detected by the operation unit 22.

通信制御処理部25cは、記憶部24に記憶された通信パラメータ(データ通信プロトコル情報等)を参照し、通信制御部23の制御を行うと共に、通信制御部23を介して通信される通信の上位処理手順が処理される。
通信制御処理部25cは、通信制御部23の制御に関する端末判定処理部25c1とモード変更要求処理部25c2を備える。
端末判定処理部25c1は、通信制御部23において動作させている通信モードの設定を管理して記憶部24に記録する。また、端末判定処理部25c1は、通信制御部23で受信した結果に基づいて、対向する電子カメラ装置10で動作している通信モードの判定を行う。
The communication control processing unit 25c refers to the communication parameters (data communication protocol information and the like) stored in the storage unit 24, controls the communication control unit 23, and performs higher-level communication performed via the communication control unit 23. The processing procedure is processed.
The communication control processing unit 25c includes a terminal determination processing unit 25c1 and a mode change request processing unit 25c2 related to the control of the communication control unit 23.
The terminal determination processing unit 25 c 1 manages the setting of the communication mode operated in the communication control unit 23 and records it in the storage unit 24. In addition, the terminal determination processing unit 25c1 determines the communication mode in which the electronic camera device 10 that is facing is operating based on the result received by the communication control unit 23.

端末判定処理部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 mode processing unit 23h, the terminal determination processing unit 25c1 sends a response message (connection permission response or connection rejection response) to the connection request from the electronic camera device 10 within a predetermined period. When not received from the host mode processing unit 23h, or when notified from the host mode processing unit 23h that the connection request message from the electronic camera device 10 has been received, the electronic camera device 10 operates. Are determined to be the same host mode.
The mode change request processing unit 25c2 controls the role switching of the communication mode operated in the communication control unit 23, instructs the communication control unit 23 to switch between the host mode processing unit 23h and the target mode processing unit 23t, Either one is operated. The mode change request processing unit 25e2 instructs the communication control unit 23 to send out a request to switch the role on the electronic camera device 10 side according to the role of the communication mode in the communication control unit 23.

図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 user 31 operates the electronic camera device 10h and makes a print request to the printer device 20t using the wireless communication system 1. In the configuration shown in the figure, since the line connection request is transmitted from the device operated by the user 31, the role of the data link layer protocol is the electronic camera device 10h as the host and the printer device 20t as the target.
FIG. 4B shows a configuration adapted to an application in which the user 32 operates the printer device 20h to print an image in the electronic camera device 10t using the wireless communication system 1. In the configuration shown in the figure, since the line connection request is transmitted from the device operated by the user 32, the role in the data link layer protocol is the electronic camera device 10t as the target and the printer device 20h as the host.
Each of the electronic camera device 10h and the printer device 20t, and each of the electronic camera device 10t and the printer device 20h has both a host function (host mode) and a target function (target mode). That is, a state in which the roles of the host function (host mode) and the target function (target mode) are switched to be applied to each application using the electronic camera device 10 and the printer device 20 is shown.
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 connection request message 100S has a frame structure. As elements constituting the frame structure, a transmission destination identifier (hereinafter referred to as transmission destination ID) 110, a transmission source identifier (hereinafter referred to as transmission source ID) 120, control data 130, data 140, and CRC 150 are provided.

送信先ID110には、そのメッセージを送信する相手の識別子(ID)が設定される。但し、接続要求メッセージ時は相手機器が特定されていない場合は、FF-FF-FF-FF-FF-FF-FF-FF等の特殊な識別子(ID)が設定される。送信元ID120には、自機器の識別子(ID)が設定され、コントロールデータ130には、メッセージ種別と役割変更要求情報などが設定される。メッセージ種別は、接続要求メッセージM1、接続許可メッセージM2、接続拒否メッセージM3などの回線接続制御を行う制御情報を示す。
役割変更要求情報は、役割変更要求を示す情報などが設定される。役割変更要求は、通信を開始する機能について、相手機器の役割を設定されている役割から変更する要求をするためのものである。例えば、相手機器に変更を要求する場合を1に、変更を要求しない場合を0と定義する。
データ140には、接続を可能なデータ転送プロトコル種別が設定され、接続可能なデータ転送プロトコルが複数ある場合は、列挙する。また、複数のデータ転送プロトコルにより接続を期待する順に優先付けして、その優先順位が高い順にデータ転送プロトコル種別を列挙することにより、相手機器とのネゴシエーションによって所望のデータ転送プロトコルが選択されやすくなる。
CRC150は、このフレームによって示されたデータについてCRC演算を行った情報を示す。
In the transmission destination ID 110, an identifier (ID) of the other party that transmits the message is set. However, a special identifier (ID) such as FF-FF-FF-FF-FF-FF-FF-FF is set when the partner device is not specified in the connection request message. An identifier (ID) of the own device is set in the transmission source ID 120, and a message type and role change request information are set in the control data 130. The message type indicates control information for performing line connection control such as a connection request message M1, a connection permission message M2, and a connection rejection message M3.
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 data 140, data transfer protocol types that can be connected are set, and when there are a plurality of data transfer protocols that can be connected, they are listed. Also, by prioritizing in the order in which connections are expected by a plurality of data transfer protocols and enumerating the data transfer protocol types in descending order of priority, a desired data transfer protocol can be easily selected by negotiation with the counterpart device. .
CRC 150 indicates information obtained by performing a CRC operation on the data indicated by this frame.

図6(a)に、接続要求メッセージ100Sの構成を示す。
接続要求メッセージ100Sにおけるコントロールデータ130には、接続要求メッセージM1及び役割変更要求情報C4が含まれている。
通信回線の接続要求に合わせて、役割変更要求を通知しない接続要求メッセージ100Sにおける役割変更要求情報C4には、「0」が設定される。接続要求メッセージ100Sは、通信回線の接続要求のみを示すメッセージとなる。
また、通信回線の接続要求に合わせて、相手機器の役割をターゲットからホストに変更する要求を通知する接続要求メッセージ100S4における役割変更要求情報C4には、「1」が設定される。
FIG. 6A shows the configuration of the connection request message 100S.
The control data 130 in the connection request message 100S includes a connection request message M1 and role change request information C4.
In accordance with the connection request for the communication line, “0” is set in the role change request information C4 in the connection request message 100S that does not notify the role change request. The connection request message 100S is a message indicating only a communication line connection request.
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 connection permission message 100R.
The control data 130 in the connection permission message 100R includes a connection permission message M2. The connection permission message 100R is a message that makes a connection permission response in response to the received connection request messages 100S4 and 100S.
The connection permission message 100R is configured, the transmission destination ID and the transmission source ID are the same as those of the connection request message, the message type (connection permission message) or the like is set in the control data, and the data transfer protocol type for connection is set in the data Is set.

図6(c)に、接続拒否メッセージ100Aの構成を示す。
接続拒否メッセージ100Aにおけるコントロールデータ130には、接続拒否メッセージM3及び役割変更要求情報C5が含まれている。
通信回線の接続要求に対する接続拒否の応答に合わせて、役割変更要求を通知しない接続拒否メッセージ100Aにおける役割変更要求情報C5には、「0」が設定される。接続拒否メッセージ100Aは、通信回線の接続要求の接続拒否のみを示すメッセージとなる。
通信回線の接続要求に対する接続拒否の応答に合わせて、役割変更要求を通知する接続拒否メッセージ100A5における役割変更要求情報C5には、「1」が設定される。
さらに、データ140には自機が対応可能なデータ転送プロトコル種別が設定され、対応可能なプロトコルが複数ある場合には列挙される。
FIG. 6C shows the configuration of the connection rejection message 100A.
The control data 130 in the connection rejection message 100A includes a connection rejection message M3 and role change request information C5.
“0” is set in the role change request information C5 in the connection reject message 100A that does not notify the role change request in accordance with the connection reject response to the communication line connection request. The connection rejection message 100A is a message indicating only connection rejection of a connection request for a communication line.
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 data 140, and when there are a plurality of protocols that can be supported, they are listed.

図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 electronic camera device 10h shown in the figure is scheduled to operate assuming the application of FIG. 4A and is set to the host mode. The printer device 20h is scheduled to operate assuming the application of FIG. 4B and is set to the host mode. That is, both devices are scheduled to operate assuming different applications, and since both devices are set to the host mode, communication cannot be started in this state.
Accordingly, processing for adapting to an application in which a user 31 (not shown) operates the electronic camera device 10h to make a print request to the printer device 20 will be described below.
In order to adapt to such a situation, the electronic camera device 10 can change the communication mode setting change of the printer device 20 to be in the state shown in FIG. And

図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 electronic camera device 10 shown in FIG. 7 is set to the host mode, and the setting of the printer device 20 is also set to the host mode. Yes. That is, the host mode processing unit 15h and the host mode processing unit 23h are in a functioning state (steps Sa11 and 12).
An operation for printing image data stored in the recording medium 12 of the camera device 10 by the user 31 in the printer device 20 is performed on the operation unit of the camera device 10, and the operation unit 13 detects the operation input. The operation unit control processing unit 17c in the control unit 17 detects the communication request as a result of the determination based on the detection result of the operation unit 13 (step Sa13).
The communication control processing unit 17e in the control unit 17 instructs the host mode processing unit 15h in the communication control unit 15 to transmit the connection request message 100S (step Sa14t). Even if the printer device 20 receives the connection request message 100S, the host mode processing unit 23h in the communication control unit 23 cannot respond, but does not respond (step Sa14r).

一方、プリンタ装置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 control processing unit 25 c in the printer device 20 instructs the host mode processing unit 23 h in the communication control unit 23 to send the connection request message 100 S, the connection request message 100 S is sent to the electronic camera device 10. The communication control unit 23 continues to send the connection request message 100S at a predetermined cycle T2 until a connection permission message is detected. For example, the predetermined period T2 is set to about 10 times per second (step Sa15t).
Even if the electronic camera device 10 receives the connection request message 100S from the printer device 20, the host mode processing unit 15h in the communication control unit 15 cannot respond, and does not respond (step Sa15r).
The terminal determination processing unit 17e1 in the communication control processing unit 17 does not receive the connection permission message 100R for the connection request message 100S transmitted by the electronic camera device 10 until a predetermined time T1 elapses. This is because the printer device 20 (host mode processing unit 23h) does not transmit the connection permission message 100R in response to the connection request message 100S transmitted by the electronic camera device 10. When the time T1 elapses, the terminal determination processing unit 17e1 determines that the printer device 20 is operating in the same host mode. Based on the result determined by the terminal determination processing unit 17e1, the mode change request processing unit 17e2 interrupts the operation of the host mode processing unit 15h in the communication control unit 15 and switches to the target mode processing unit 15t. The period T1 is sufficiently longer than the period T2, and is set to about 1 second, for example (step Sa16).

この通信モードの切換により、電子カメラ装置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 electronic camera device 10 can receive the connection request message 100S from the printer device 20. The target mode processing unit 15t in the communication control unit 15 detects the connection request message 100S from the printer device 20, and notifies the detection result to the control unit 17 (step Sa17r).
The mode change request processing unit 17e2 instructs the target mode processing unit 15t in the communication control unit 15 to send a connection rejection message 100A5 including a role change request.
Based on the instruction, the target mode processing unit 15t transmits a connection rejection message 100A5 including a role change request (step Sa18t).
In the communication control unit 23 in the printer device 20, the host mode processing unit 23h detects the connection rejection message 100A5 including the sent role change request, and notifies the control unit 25 of the detection result (step Sa18r).

モード変更要求処理部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 mode processing unit 15t in the communication control unit 15 and switches to the host mode processing unit 15h (step Sa19).
Based on the notification of the detection result at step Sa18r, the mode change request processing unit 25e2 interrupts the operation of the host mode processing unit 23h in the communication control unit 23 and switches to the target mode processing unit 15t (step Sa20).

改めて、制御部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 control unit 17 instructs the host mode processing unit 15h in the communication control unit 15 to transmit the connection request message 100S (step Sa21t). The printer device 20 receives the connection request message 100S by the target mode processing unit 23t, and notifies the detection result to the control unit 25 (step Sa21r).
In response to the connection request message 100S received by the printer device 20, the target mode processing unit 23t sends a connection permission message 100R to the electronic camera device 10 (step Sa22t).
The communication control processing unit 17e in the electronic camera device 10 receives the connection permission message 100R transmitted from the printer device 20 (step Sa22r).
Through the procedure described above, a communication line using the electronic camera device 10 as the host mode can be established.

(第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 electronic camera device 10t shown in the drawing is scheduled to operate assuming the application of FIG. 4B, and is set to the target mode. The printer device 20t is scheduled to operate assuming the application of FIG. 4A and is set to the target mode. That is, both devices are scheduled to operate assuming different applications, and since both devices are set to the target mode, communication cannot be performed as it is.
Accordingly, processing for adapting to an application in which a user 31 (not shown) operates the electronic camera device 10h to make a print request to the printer device 20 will be described below.
In order to adapt to such a situation, the electronic camera device 10 can change the communication mode setting change of the printer device 20 to be in the state shown in FIG. And

図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 electronic camera device 10 shown in FIG. 9 is set to the target mode, and the setting of the printer device 20 is also set to the target mode. That is, the target mode processing unit 15t and the target mode processing unit 23t are in a functioning state (steps Sb21 and Sb22).
An operation for printing image data stored in the recording medium 12 of the camera device 10 by the user 31 in the printer device 20 is performed on the operation unit of the camera device 10, and the operation unit 13 detects the operation input. The operation unit control processing unit 17c in the control unit 17 detects the communication request as a result of the determination based on the detection result of the operation unit 13 (step Sb23).
The target mode processing unit 15t of the camera device 10 continues the reception state, but since the printer device 20 does not send a message, the predetermined time T1 elapses without receiving anything. The period T1 is set to about 1 second, for example (step Sb24).

通信制御処理部17における端末判定処理部17e1は、予め定められた時間T1が経過するまで、何も受信しなかったので、プリンタ装置20は、同じ通信モードで動作していると判定する。モード変更要求処理部17e2は、その判定の結果に基づいて、通信制御部15におけるターゲットモード処理部15tの動作を中断して、ホストモード処理部15hに切り換える(ステップSb25)。   Since the terminal determination processing unit 17e1 in the communication control processing unit 17 received nothing until a predetermined time T1 has elapsed, the printer device 20 determines that it is operating in the same communication mode. Based on the result of the determination, the mode change request processing unit 17e2 interrupts the operation of the target mode processing unit 15t in the communication control unit 15 and switches to the host mode processing unit 15h (step Sb25).

制御部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 control processing unit 17e in the control unit 17 instructs the host mode processing unit 15h in the communication control unit 15 to transmit the connection request message 100S4 including the role change request (step Sb26t).
The printer 20 receives the connection request message 100S including the role change request, and the target mode processing unit 23t in the communication control unit 23 receives the connection request message 100S from the received connection request message 100S together with the role change request included. Is detected (step Sb26r).
In response to the connection request message 100S received by the printer device 20, the target mode processing unit 23t sends a connection permission message 100R to the electronic camera device 10 (step Sb27t).
The communication control processing unit 17e in the electronic camera device 10 receives the connection permission message 100R transmitted from the printer device 20 (step Sb27r).

モード変更要求処理部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 mode processing unit 15h in the communication control unit 15 and switches to the target mode processing unit 15t (step Sb28).
Based on the notification of the detection result at step Sa27r, the mode change request processing unit 25e2 interrupts the operation of the target mode processing unit 23t in the communication control unit 23 and switches to the host mode processing unit 23h (step Sb29).
On the other hand, when the communication control processing unit 25c in the printer device 20 instructs the host mode processing unit 23h in the communication control unit 23 to send the connection request message 100S, the connection control message 100S is sent to the electronic camera device 10 (step Sb30t). ). The electronic camera device 10 receives the connection request message 100S from the printer device 20, and notifies the control unit 17 of the received result (step Sb30r).
In response to the connection request message 100S received by the electronic camera device 10, the target mode processing unit 15t sends a connection permission message 100R to the printer device 20 (step Sb31). The communication control processing unit 25e in the printer device 20 receives the connection permission message 100R transmitted by the electronic camera device 10 (step Sb31r).
Through the procedure described above, a communication line using the electronic camera device 10 as the host mode can be established.

すなわち、電子カメラ装置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 wireless communication system 1 performs one-to-one wireless communication without using a terminal that relays the electronic camera device 10 and the printer device 20 facing each other.
The electronic camera device 10 (printer device 20) in the wireless communication system 1 has a host mode for transmitting a connection request of the data link layer protocol in the wireless communication to a counterpart terminal that performs wireless communication, and a target that does not transmit the connection request. Configured with modes. The first communication control unit 15 (23) in the electronic camera device 10 (printer device 20) operates in either the host mode or the target mode. 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). The mode change request unit 17e2 (23c2) requests the printer device 20 (electronic camera device 10) to change the communication mode when the terminal determination unit determines that the printer device 20 (electronic camera device 10) exists. .
The printer device 20 (electronic camera device 10) in the wireless communication system 1 is configured to have a host mode and a target mode. The communication control unit 23 (15) in the printer device 20 (electronic camera device 10) operates in either the host mode or the target mode, and changes the communication mode from the electronic camera device 10 (printer device 20). In response to the request, the operating communication mode is changed.
As a result, a communication terminal operating in the host mode can be assigned to either the desired electronic camera device 10 or the printer device 20 for line connection processing in one-to-one wireless communication. The wireless communication system 1 can start the line connection process from the desired communication terminal side.

また、電子カメラ装置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 electronic camera device 10 and the printer device 20 have been illustrated and described as the wireless communication terminals constituting the wireless communication system 1 of the present invention, other forms of devices that realize the above-described configuration may be used.
Also, the configurations of the electronic camera device 10 and the printer device 20 are not limited to the illustrated configurations, and other configurations may be employed.
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 electronic camera device 10 when changing the role assignment, but may operate the printer device 20.
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 electronic camera device 10 and the printer device 20 described above have a computer system therein. The process related to the communication control described above is stored in a computer-readable recording medium in the form of a program, and the above process is performed by the computer reading and executing the program. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

なお、本発明の無線通信システムは、無線通信システム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 wireless communication system 1. The wireless communication terminal and the external terminal of the present invention include the electronic camera device 10 (10h, 10t) and the printer device 20 (20h, 20t), or the printer device 20 (20h, 20t) and the electronic camera device 10 (10h, 10t). In addition, the first communication terminal and the second communication terminal of the present invention include the electronic camera device 10 (10h, 10t) and the printer device 20 (20h, 20t), or the printer device 20 (20h, 20t) and the electronic camera device 10. It corresponds to (10h, 10t). The communication control unit of the present invention corresponds to the communication control units 15 and 23. The terminal determination unit of the present invention corresponds to the terminal determination units 17e1 and 25c1. The mode change request unit of the present invention corresponds to the mode change request units 17e2 and 25c2. The first communication mode of the present invention corresponds to the host mode. The second communication mode of the present invention corresponds to the target mode.

本発明の第1実施形態における通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system in 1st Embodiment of this invention. 第1実施形態における無線通信端末の構成を示すブロック図である。It is a block diagram which shows the structure of the radio | wireless communication terminal in 1st Embodiment. 第1実施形態における無線通信端末の構成を示すブロック図である。It is a block diagram which shows the structure of the radio | wireless communication terminal in 1st Embodiment. 第1実施形態における無線通信端末の接続手順の役割を示す図である。It is a figure which shows the role of the connection procedure of the radio | wireless communication terminal in 1st Embodiment. 第1実施形態における無線通信端末の接続手順を示すシーケンス図である。It is a sequence diagram which shows the connection procedure of the radio | wireless communication terminal in 1st Embodiment. 第1実施形態における無線通信端末の通信手順におけるメッセージ構成を示す図である。It is a figure which shows the message structure in the communication procedure of the radio | wireless communication terminal in 1st Embodiment. 第1実施形態における接続処理開始時における無線通信端末の役割を示すブロック図である。It is a block diagram which shows the role of the radio | wireless communication terminal at the time of the connection process start in 1st Embodiment. 第1実施形態における接続処理における役割変更手順を示すシーケンス図である。It is a sequence diagram which shows the role change procedure in the connection process in 1st Embodiment. 第2実施形態における接続処理開始時における無線通信端末の役割を示すブロック図である。It is a block diagram which shows the role of the radio | wireless communication terminal at the time of the connection process start in 2nd Embodiment. 第2実施形態における接続処理における役割変更手順を示すシーケンス図である。It is a sequence diagram which shows the role change procedure in the connection process in 2nd Embodiment.

符号の説明Explanation of symbols

10 電子カメラ装置
11 撮像部
12 記録媒体
13 操作部
14 表示部
15 通信制御部
16 記憶部
17 制御部
17a 撮像部制御処理部
17b 記録媒体制御部
17c 操作部制御処理部
17d 表示制御処理部
17e 通信制御処理部
17e1 端末判定処理部
17e2 モード変更要求処理部
DESCRIPTION OF SYMBOLS 10 Electronic camera apparatus 11 Imaging part 12 Recording medium 13 Operation part 14 Display part 15 Communication control part 16 Storage part 17 Control part 17a Imaging part control processing part 17b Recording medium control part 17c Operation part control processing part 17d Display control processing part 17e Communication Control processing unit 17e1 Terminal determination processing unit 17e2 Mode change request processing unit

Claims (9)

無線通信を行う相手側端末に対して該無線通信におけるデータリンク層プロトコルの接続要求を送信する第1通信モードと該接続要求を送信しない第2通信モードを有し該第1通信モードと該第2通信モードのいずれかの通信モードで動作する外部端末との間で、該無線通信を中継する端末を介さずに1対1の無線通信を行う無線通信端末であって、
前記第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対1の無線通信を行う無線通信システムであって、
無線通信を行う相手側端末に対して該無線通信におけるデータリンク層プロトコルの接続要求を送信する第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通信モードのいずれかの通信モードで動作する外部端末と、該無線通信を中継する端末を介さずに1対1の無線通信を行う無線通信端末であって、
前記第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:
JP2008278737A 2008-10-29 2008-10-29 Radio communication terminal and radio communication system Withdrawn JP2010109608A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (8)

* Cited by examiner, † Cited by third party
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