JP6354348B2 - Wireless communication apparatus, wireless communication apparatus connection method, and program - Google Patents

Wireless communication apparatus, wireless communication apparatus connection method, and program Download PDF

Info

Publication number
JP6354348B2
JP6354348B2 JP2014115802A JP2014115802A JP6354348B2 JP 6354348 B2 JP6354348 B2 JP 6354348B2 JP 2014115802 A JP2014115802 A JP 2014115802A JP 2014115802 A JP2014115802 A JP 2014115802A JP 6354348 B2 JP6354348 B2 JP 6354348B2
Authority
JP
Japan
Prior art keywords
wireless communication
connection
external device
information
communication device
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.)
Active
Application number
JP2014115802A
Other languages
Japanese (ja)
Other versions
JP2015231099A (en
Inventor
山田 俊介
俊介 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2014115802A priority Critical patent/JP6354348B2/en
Publication of JP2015231099A publication Critical patent/JP2015231099A/en
Application granted granted Critical
Publication of JP6354348B2 publication Critical patent/JP6354348B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

本発明は、無線通信装置、無線通信装置の接続方法及びプログラムに関する。   The present invention relates to a wireless communication device, a method for connecting a wireless communication device, and a program.

従来から、プリンタ装置等の共同利用可能ではあるが各瞬間においては単一の装置とのみ接続可能な装置(以下、単に「共用装置」という)が、複数の情報処理装置により共同利用されている。こうした共同利用に際しては、一の情報処理装置が共用装置と接続されている期間には、他の情報処理装置は、共用装置と接続することができず、共用装置を利用することができない。   Conventionally, a device that can be used jointly such as a printer device, but can be connected only to a single device at each moment (hereinafter simply referred to as “shared device”) is shared by a plurality of information processing devices. . In such shared use, during the period in which one information processing apparatus is connected to the shared apparatus, another information processing apparatus cannot be connected to the shared apparatus, and the shared apparatus cannot be used.

しかしながら、複数の情報処理装置のそれぞれが共用装置の利用を希望するタイミングは独立している。このため、複数の情報処理装置による共用装置の共同利用を管理できることが望ましい。   However, the timing at which each of the plurality of information processing devices desires to use the shared device is independent. For this reason, it is desirable to be able to manage the shared use of a shared device by a plurality of information processing devices.

そこで、複数の情報処理装置による共用装置の共同利用を管理するサーバ装置を別途に設置する技術が提案されている(特許文献1参照:以下、「従来例」という)。この従来例の技術では、複数の情報処理装置とサーバ装置とがネットワーク接続される。そして、複数の情報処理装置は、サーバ装置の管理のもとで、共用装置を利用できるようになっている。   Therefore, a technique has been proposed in which a server device that manages the shared use of a shared device by a plurality of information processing devices is separately installed (see Patent Document 1: hereinafter referred to as “conventional example”). In this conventional technique, a plurality of information processing apparatuses and server apparatuses are connected to a network. A plurality of information processing apparatuses can use the shared apparatus under the management of the server apparatus.

なお、従来例では装置間の通信が有線通信である例が示されているが、当該従来例における技術的思想は、装置間の通信がBluetooth(登録商標)通信等の無線通信にも適用できる。   In addition, although the example in which communication between devices is wired communication is shown in the conventional example, the technical idea in the conventional example can also be applied to wireless communication such as Bluetooth (registered trademark) communication between devices. .

特開平11−134139号公報Japanese Patent Laid-Open No. 11-134139

上述した従来例の技術では、複数の情報処理装置及び共用装置に加えて、サーバ装置を別途に用意することが必要になる。しかしながら、装置の種類は少ない方が好ましいため、サーバ装置を別途に用意することなく、複数の情報処理装置による共用装置の共同利用を実現することが好ましい。   In the above-described conventional technology, it is necessary to separately prepare a server device in addition to a plurality of information processing devices and shared devices. However, since it is preferable that the number of devices is small, it is preferable to realize shared use of a shared device by a plurality of information processing devices without separately preparing a server device.

そこで、共用装置内にサーバ装置の機能を実装することが考えられる。しかしながら、共用装置内にサーバ装置の機能を実装すると、特に多数の情報処理装置と無線通信を行うことが想定される場合には、共用装置が備えるCPU(Central Processing Unit)等の演算手段として、処理能力が高いものを採用することが必要となる。また、共用装置が備える記憶手段の容量を大きくすることも必要となる。この結果、共用装置を小型化したり、廉価としたりすることができない。   Therefore, it is conceivable to implement the function of the server device in the shared device. However, when the function of the server device is implemented in the shared device, particularly when it is assumed that wireless communication with a large number of information processing devices is performed, as a calculation means such as a CPU (Central Processing Unit) provided in the shared device, It is necessary to adopt a high processing capability. It is also necessary to increase the capacity of the storage means provided in the shared device. As a result, the shared device cannot be downsized or made inexpensive.

本発明は、かかる事情に鑑みてなされたものであり、サーバ装置を別途に用意したり、共用装置内にサーバ装置の機能を実装したりすることなく、共用装置の共同利用を実現することができる無線通信装置、無線通信装置の接続方法、及び、プログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and it is possible to realize shared use of a shared device without separately preparing a server device or mounting the function of the server device in the shared device. An object of the present invention is to provide a wireless communication device, a wireless communication device connection method, and a program.

本発明の第一の態様の無線通信装置は、外部機器と無線通信により接続を行なう無線通信装置であって、前記外部機器との接続が可能か否かを判定する判定手段と、前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をアドバイスする接続アドバイス情報を前記他の無線通信装置に送信する情報送信手段と、を備え、前記情報送信手段は、前記接続アドバイス情報として、前記他の無線通信装置が前記外部機器と接続可能となるタイミングを示す接続タイミング情報を算出し、前記算出された接続タイミング情報を前記他の無線通信装置に送信する、ことを特徴とする無線通信装置である。
本発明の第二の態様の無線通信装置は、外部機器と無線通信により接続を行なう無線通信装置であって、前記外部機器との接続が可能か否かを判定する判定手段と、前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段と、を備え、前記情報送信手段は、前記最上位マスタモードとなっており、かつ、下位のマスタ選択条件を満たした場合に、下位の無線通信装置の中から選択された無線通信装置に、下位のマスタとなるべき旨の情報を送信する、ことを特徴とする無線通信装置である。
本発明の第三の態様の無線通信装置は、外部機器と無線通信により接続を行なう無線通信装置であって、前記外部機器との接続が可能か否かを判定する判定手段と、前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段と、を備え、前記情報送信手段は、前記外部機器との接続が終了した後に、前記外部機器との無線通信を切断する旨の情報を前記他の無線通信装置に送信する、ことを特徴とする無線通信装置である。
A wireless communication apparatus according to a first aspect of the present invention is a wireless communication apparatus that performs connection with an external device by wireless communication, and includes a determination unit that determines whether connection with the external device is possible, and the determination unit Therefore, when it is determined that connection with the external device is possible, the wireless communication device is set to a highest master mode that operates as a highest master for connection with the external device; In the upper master mode, connection advice information that advises connection between the external device and at least one other wireless communication device that desires connection to the external device is transmitted to the other wireless communication device. It includes an information transmitting unit that, the said information sending device, as the connection advice information, shows the timing at which the other wireless communication device is connectable to the external device Calculating the connection timing information and transmits the calculated connection timing information to the other radio communication apparatus, a wireless communication device comprising a call.
A wireless communication apparatus according to a second aspect of the present invention is a wireless communication apparatus that performs connection with an external device by wireless communication, and includes a determination unit that determines whether connection with the external device is possible, and the determination unit Therefore, when it is determined that connection with the external device is possible, the wireless communication device is set to a highest master mode that operates as a highest master for connection with the external device; When in the upper master mode, information for supporting connection between at least one other wireless communication device that desires connection to the external device and the external device is transmitted to the other wireless communication device. Information transmitting means, wherein the information transmitting means is in the uppermost master mode, and if the lower master selection condition is satisfied, the information transmitting means The selected wireless communication apparatus, transmits the information to the effect that the lower master is a wireless communication apparatus according to claim.
A wireless communication apparatus according to a third aspect of the present invention is a wireless communication apparatus that performs connection with an external device by wireless communication, and includes a determination unit that determines whether connection with the external device is possible, and the determination unit Therefore, when it is determined that connection with the external device is possible, the wireless communication device is set to a highest master mode that operates as a highest master for connection with the external device; When in the upper master mode, information for supporting connection between at least one other wireless communication device that desires connection to the external device and the external device is transmitted to the other wireless communication device. And transmitting information to the other wireless communication device that disconnects the wireless communication with the external device after the connection with the external device is completed. To, is a wireless communication apparatus according to claim.

本発明の第一の態様の無線通信装置の接続方法は、外部機器と無線通信により接続を行なう無線通信装置の接続方法であって、前記外部機器との接続が可能か否かを判定する判定ステップと、前記判定ステップにおいて前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御ステップと、前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をアドバイスする接続アドバイス情報を前記他の無線通信装置に送信する情報送信ステップと、を含み、前記情報送信ステップは、前記接続アドバイス情報として、前記他の無線通信装置が前記外部機器と接続可能となるタイミングを示す接続タイミング情報を算出し、前記算出された接続タイミング情報を前記他の無線通信装置に送信する、ことを特徴とする無線通信装置の接続方法である。
本発明の第二の態様の無線通信装置の接続方法は、外部機器と無線通信により接続を行なう無線通信装置の接続方法であって、前記外部機器との接続が可能か否かを判定する判定ステップと、前記判定ステップにおいて前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御ステップと、前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信ステップと、を含み、前記情報送信ステップは、前記最上位マスタモードとなっており、かつ、下位のマスタ選択条件を満たした場合に、下位の無線通信装置の中から選択された無線通信装置に、下位のマスタとなるべき旨の情報を送信する、ことを特徴とする無線通信装置の接続方法である。
本発明の第三の態様の無線通信装置の接続方法は、外部機器と無線通信により接続を行なう無線通信装置の接続方法であって、前記外部機器との接続が可能か否かを判定する判定ステップと、前記判定ステップにおいて前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御ステップと、前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信ステップと、を含み、前記情報送信ステップは、前記外部機器との接続が終了した後に、前記外部機器との無線通信を切断する旨の情報を前記他の無線通信装置に送信する、ことを特徴とする無線通信装置の接続方法である。
A wireless communication device connection method according to a first aspect of the present invention is a wireless communication device connection method for establishing a connection with an external device by wireless communication, and determining whether or not connection with the external device is possible And mode control for setting the wireless communication apparatus to the highest master mode that operates as the highest master for connection with the external device when it is determined that the connection with the external device is possible in the step and the determining step And, when in the highest master mode, connection advice information that advises connection between the external device and at least one other wireless communication device that desires connection to the external device. It includes an information transmitting step of transmitting to the wireless communication device, wherein the information transmission step, as the connection advice information, the another wireless communication apparatus before Calculating the connection timing information indicating a timing to be connectable to an external device, and transmits the calculated connection timing information to the other wireless communication device, a connection method of the wireless communication device comprising a call.
A wireless communication device connection method according to a second aspect of the present invention is a wireless communication device connection method for establishing a connection with an external device by wireless communication, and determining whether or not connection with the external device is possible And mode control for setting the wireless communication apparatus to the highest master mode that operates as the highest master for connection with the external device when it is determined that the connection with the external device is possible in the step and the determining step And, when in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device that desires connection to the external device. An information transmission step for transmitting to a wireless communication device, wherein the information transmission step is in the highest master mode and a lower master selection condition is set. If the plus, the wireless communication apparatus selected from among the lower-level wireless communication apparatus, transmits the information to the effect that the lower master, it is a connection method of the wireless communication apparatus according to claim.
A wireless communication device connection method according to a third aspect of the present invention is a wireless communication device connection method for establishing a connection with an external device by wireless communication, and determining whether or not connection with the external device is possible And mode control for setting the wireless communication apparatus to the highest master mode that operates as the highest master for connection with the external device when it is determined that the connection with the external device is possible in the step and the determining step And, when in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device that desires connection to the external device. An information transmission step for transmitting to a wireless communication device, wherein the information transmission step disconnects wireless communication with the external device after connection with the external device is completed. It transmits the information indicating that to the other radio communication apparatus, it is the connection method of the wireless communication apparatus according to claim.

本発明の第一の態様のプログラムは、外部機器と無線通信により接続を行なう無線通信装置のコンピュータを、前記外部機器との接続が可能か否かを判定する判定手段、前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段、及び、前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他無線通信装置と前記外部機器との接続をアドバイスする接続アドバイス情報を前記他の無線通信装置に送信する情報送信手段、として機能させ、前記情報送信手段は、前記接続アドバイス情報として、前記他の無線通信装置が前記外部機器と接続可能となるタイミングを示す接続タイミング情報を算出し、前記算出された接続タイミング情報を前記他の無線通信装置に送信する、ことを特徴とするプログラムである。
本発明の第二の態様のプログラムは、外部機器と無線通信により接続を行なう無線通信装置のコンピュータを、前記外部機器との接続が可能か否かを判定する判定手段、前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段、及び、前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段、として機能させ、前記情報送信手段は、前記最上位マスタモードとなっており、かつ、下位のマスタ選択条件を満たした場合に、下位の無線通信装置の中から選択された無線通信装置に、下位のマスタとなるべき旨の情報を送信する、ことを特徴とするプログラムである。
本発明の第三の態様のプログラムは、外部機器と無線通信により接続を行なう無線通信装置のコンピュータを、前記外部機器との接続が可能か否かを判定する判定手段、前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段、及び、前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段、として機能させ、前記情報送信手段は、前記外部機器との接続が終了した後に、前記外部機器との無線通信を切断する旨の情報を前記他の無線通信装置に送信する、ことを特徴とするプログラムである。
According to a first aspect of the present invention, there is provided a program for determining whether or not a computer of a wireless communication apparatus that is connected to an external device by wireless communication can be connected to the external device. When it is determined that connection with an external device is possible, mode control means for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device, and the highest master When in the mode, information transmission for transmitting connection advice information that advises connection between the external device and at least one other wireless communication device that desires connection to the external device to the other wireless communication device It means, to function as the information transmitting means, as the connection advice information, data to the other wireless communication device is connectable to the external device Calculating the connection timing information indicating a timing to transmit the calculated connection timing information to the other wireless communication device, a program characterized and this.
According to a second aspect of the present invention, there is provided a program for determining whether or not a computer of a wireless communication apparatus that is connected to an external device by wireless communication can be connected to the external device. When it is determined that connection with an external device is possible, mode control means for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device, and the highest master When in the mode, information transmission for transmitting information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device to the other wireless communication device The information transmitting means is in the highest master mode and when the lower master selection condition is satisfied, the lower wireless communication mode is set. The wireless communication apparatus selected from among the device transmits the information to the effect that the lower master is a program, characterized in that.
According to a third aspect of the present invention, there is provided a program for determining whether or not a computer of a wireless communication apparatus that is connected to an external device by wireless communication can be connected to the external device. When it is determined that connection with an external device is possible, mode control means for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device, and the highest master When in the mode, information transmission for transmitting information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device to the other wireless communication device And the information transmitting means transmits information indicating that the wireless communication with the external device is disconnected after the connection with the external device is terminated. And transmits to the communication apparatus, a program, characterized in that.

本発明の無線通信装置では、判定手段が、外部機器との接続が可能か否かを判定する。例えば、無線通信装置が発行した外部機器への接続要求に対する外部機器の応答の内容に基づいて、判定手段が、外部機器との接続が可能か否かを判定する。ここで、外部機器の応答が肯定応答であった場合には、判定手段は、外部機器との接続が可能であると判定する。一方、外部機器の応答が否定応答であった場合には、判定手段は、外部機器との接続ができないと判定する。   In the wireless communication apparatus of the present invention, the determination unit determines whether or not connection with an external device is possible. For example, based on the content of the response of the external device to the connection request to the external device issued by the wireless communication device, the determination unit determines whether connection with the external device is possible. Here, when the response of the external device is an affirmative response, the determination unit determines that the connection with the external device is possible. On the other hand, when the response of the external device is a negative response, the determination unit determines that connection with the external device is not possible.

判定手段により外部機器との接続が可能であると判定された場合、モード制御手段が、当該無線通信装置を、外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにする。こうして最上位マスタモードになると、情報送信段が、外部機器への接続を希望している少なくとも1つの他の無線通信装置による外部機器との接続をサポートするための情報を他の無線通信装置に送信する。この結果、当該無線通信装置が、最上位マスタである期間中に、当該他の無線通信装置と外部機器との接続を管理するサーバ装置として機能するようになる。   When the determination unit determines that the connection with the external device is possible, the mode control unit sets the wireless communication device to the highest master mode that operates as the highest master for connection with the external device. In this way, when the highest master mode is set, the information transmission stage transmits information for supporting connection to the external device by at least one other wireless communication device that desires connection to the external device to the other wireless communication device. Send. As a result, the wireless communication device functions as a server device that manages the connection between the other wireless communication device and the external device during the period when it is the highest master.

したがって、本発明の無線通信装置によれば、サーバ装置を別途に用意したり、共用装置内にサーバ装置の機能を実装したりすることなく、複数の無線通信装置による外部機器の共同利用を実現させることができる。   Therefore, according to the wireless communication device of the present invention, it is possible to jointly use external devices by a plurality of wireless communication devices without separately preparing a server device or implementing the server device function in a shared device. Can be made.

本発明の無線通信装置の接続方法では、判定ステップにおいて、外部機器との接続が可能であると判定がなされると、モード制御工程において、当該無線通信装置を、外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにする。こうして最上位マスタモードになると、情報送信ステップにおいて、外部機器への接続を希望している少なくとも1つの他の無線通信装置による外部機器との接続をサポートするための情報を他の無線通信装置に送信する。この結果、当該無線通信装置が、最上位マスタである期間中に、当該他の無線通信装置と外部機器との接続を管理するサーバ装置として機能するようになる。   In the wireless communication device connection method of the present invention, when it is determined in the determination step that the connection with the external device is possible, the wireless communication device is connected to the highest level relating to the connection with the external device in the mode control step. Set to the highest master mode that operates as a master. When the highest master mode is set in this way, in the information transmission step, information for supporting connection with the external device by at least one other wireless communication device that desires connection to the external device is transmitted to the other wireless communication device. Send. As a result, the wireless communication device functions as a server device that manages the connection between the other wireless communication device and the external device during the period when it is the highest master.

したがって、本発明の無線通信装置の接続方法によれば、サーバ装置を別途に用意したり、共用装置内にサーバ装置の機能を実装したりすることなく、複数の無線通信装置による外部機器の共同利用を実現させることができる   Therefore, according to the wireless communication device connection method of the present invention, it is possible to jointly connect external devices by a plurality of wireless communication devices without separately preparing a server device or implementing a server device function in a shared device. Can be used

本発明のプログラムは、無線通信装置のコンピュータを、上述した本発明の無線通信装置における判定手段、モード制御手段、及び、情報送信手段として機能させる。したがって、無線通信装置に、本発明の無線通信装置の接続方法を実行させることができる。   The program of the present invention causes the computer of the wireless communication device to function as the determination unit, the mode control unit, and the information transmission unit in the above-described wireless communication device of the present invention. Therefore, it is possible to cause the wireless communication apparatus to execute the wireless communication apparatus connection method of the present invention.

本発明の第1実施形態に係る無線通信装置の動作環境例を説明するための図である。It is a figure for demonstrating the example of operating environment of the radio | wireless communication apparatus which concerns on 1st Embodiment of this invention. 図1の無線通信装置の概略的な構成を示す図である。It is a figure which shows the schematic structure of the radio | wireless communication apparatus of FIG. 無線通信装置が構成するネットワークの例を説明するための図(その1)である。FIG. 2 is a diagram (part 1) for explaining an example of a network configured by a wireless communication device; 無線通信装置が構成するネットワークの例を説明するための図(その2)である。FIG. 3 is a diagram (part 2) for explaining an example of a network configured by a wireless communication device; 図4のネットワーク構成から最上位マスタ装置が外れた後に構成されるネットワーク構成の例を示す図である。FIG. 5 is a diagram illustrating an example of a network configuration that is configured after the highest-level master device is removed from the network configuration of FIG. 図2の構成の無線通信装置の動作モードの遷移を示す図である。It is a figure which shows the transition of the operation mode of the radio | wireless communication apparatus of a structure of FIG. 図2の処理制御部による処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process by the process control part of FIG. 図7の最上位マスタモード処理をするためのフローチャートである。It is a flowchart for performing the highest master mode process of FIG. 図8の新たなネットワークの構築処理を説明するためのフローチャートである。FIG. 9 is a flowchart for explaining a new network construction process of FIG. 8. FIG. 図7のスレーブモード処理を説明するためのフローチャートである。It is a flowchart for demonstrating the slave mode process of FIG. 図10の第1スレーブモード処理を説明するためのフローチャートである。It is a flowchart for demonstrating the 1st slave mode process of FIG. 図10の第2スレーブモード処理を説明するためのフローチャートである。It is a flowchart for demonstrating the 2nd slave mode process of FIG. 図10の待機モード処理を説明するためのフローチャートである。It is a flowchart for demonstrating the standby mode process of FIG. 図10の下位マスタモード処理を説明するためのフローチャートである。It is a flowchart for demonstrating the low-order master mode process of FIG. 図14の下位装置の制御処理を説明するためのフローチャートである。It is a flowchart for demonstrating the control processing of the low-order apparatus of FIG. 変形例の無線通信装置の動作モードの遷移を示す図である。It is a figure which shows the transition of the operation mode of the radio | wireless communication apparatus of a modification.

以下、本発明の一実施形態を、図1〜図15を参照して説明する。なお、以下の説明及び図においては、同一の要素には同一の符号を付し、重複する説明を省略する。   Hereinafter, an embodiment of the present invention will be described with reference to FIGS. In the following description and drawings, the same elements are denoted by the same reference numerals, and redundant descriptions are omitted.

[構成]
図1には、第1実施形態に係る無線通信装置101〜10Nの動作環境例が示されている。この図1に示される動作環境例では、無線通信装置101〜10Nは、プリンタ装置20の周辺に位置し、相互間及びプリンタ装置20との間でBluetooth通信が可能となっている。すなわち、無線通信装置10j(j=1〜N)のそれぞれは、Bluetooth対応装置となっている。
[Constitution]
FIG. 1 shows an example of the operating environment of the wireless communication devices 10 1 to 10 N according to the first embodiment. In the example of the operating environment shown in FIG. 1, the wireless communication devices 10 1 to 10 N are located in the vicinity of the printer device 20 and are capable of Bluetooth communication with each other and with the printer device 20. That is, each of the wireless communication devices 10 j (j = 1 to N) is a Bluetooth compatible device.

上記のプリンタ装置20は、各時点において、Bluetooth対応装置が1台のみ接続可能となっている。そして、プリンタ装置20と接続されているBluetooth(登録商標)対応装置のみが、プリンタ装置20を利用した印刷をすることができるようになっている。   The printer device 20 can be connected to only one Bluetooth compatible device at each time point. Only a Bluetooth (registered trademark) compatible device connected to the printer device 20 can perform printing using the printer device 20.

なお、プリンタ装置20は、いずれのBluetooth対応装置とも接続されていないときに接続要求を受けると、接続要求を発行したBluetooth対応装置へ肯定応答を返送し、接続要求を発行したBluetooth対応装置との接続状態となるようになっている。また、プリンタ装置20は、いずれかのBluetooth対応装置と接続されているときに接続要求を受けると、接続要求を発行したBluetooth対応装置へ否定応答を返送し、接続中のBluetooth対応装置との接続状態を維持するようになっている。   If the printer device 20 receives a connection request when it is not connected to any Bluetooth-compatible device, it returns an affirmative response to the Bluetooth-compatible device that issued the connection request, and communicates with the Bluetooth-compatible device that issued the connection request. It is in a connected state. In addition, when the printer device 20 receives a connection request when connected to any of the Bluetooth compatible devices, the printer device 20 returns a negative response to the Bluetooth compatible device that issued the connection request, and connects to the currently connected Bluetooth compatible device. The state is to be maintained.

<無線通信装置10jの構成>
上記の無線通信装置10jのそれぞれは、図2に示されるように、処理制御部11と、BT通信部12とを備えている。
<Configuration of wireless communication device 10 j >
Each of the wireless communication devices 10 j includes a processing control unit 11 and a BT communication unit 12 as shown in FIG.

上記の処理制御部11は、中央処理装置、記憶素子及び周辺回路を備えて構成される。そして、プログラムを実行することにより、各種処理を行い、判定手段、モード制御手段及び接続制御手段の機能を含む各種機能を実現するようになっている。かかる処理制御部11には、不図示の入力部が接続されており、当該入力部に印刷指令が入力されると、プリンタ装置20へ接続要求を発行する。   The processing control unit 11 includes a central processing unit, a storage element, and a peripheral circuit. By executing the program, various processes are performed to realize various functions including functions of a determination unit, a mode control unit, and a connection control unit. The processing control unit 11 is connected to an input unit (not shown), and issues a connection request to the printer device 20 when a print command is input to the input unit.

また、処理制御部11は、プリンタ装置20の利用のためのネットワーク(通信ネットワーク)の構築処理を実行する。かかるネットワークの構築処理の詳細については、後述する。   In addition, the process control unit 11 executes a network (communication network) construction process for using the printer device 20. Details of the network construction process will be described later.

なお、処理制御部11が実行するネットワークの構築処理により構築されたネットワークの例が、図3,4に示されている。ここで、図3に示される例は、無線通信装置101が、ネットワークにおける最上位マスタ装置であるとともに、無線通信装置101の直下に、無線通信装置101のスレーブ装置として動作する無線通信装置102〜104が接続されるようになっている。 An example of a network constructed by the network construction process executed by the process control unit 11 is shown in FIGS. Here, the example shown in FIG. 3, the radio communication device 10 1, as well as a top-level master device in the network, directly below the wireless communication device 10 1, the radio communication operates as a wireless communication device 10 1 of the slave device Devices 10 2 to 10 4 are connected.

また、図4に示される例は、無線通信装置101が、ネットワークにおける最上位マスタ装置であるとともに、無線通信装置101の下位に、無線通信装置101のスレーブ装置として動作する無線通信装置102〜108が階層的に接続された例となっている。なお、図4に示される例では、無線通信装置101の直下に、無線通信装置102〜105が接続されている。これらのうち無線通信装置103,105が下位マスタ装置となっている。そして、無線通信装置103の直下に無線通信装置106,107が接続されるとともに、無線通信装置105の直下に無線通信装置10が接続されるようになっている。 In the example illustrated in FIG. 4, the wireless communication device 10 1 is the highest-level master device in the network, and operates as a slave device of the wireless communication device 10 1 at a lower level than the wireless communication device 10 1. In the example, 10 2 to 10 8 are connected hierarchically. In the example illustrated in FIG. 4, wireless communication devices 10 2 to 10 5 are connected immediately below the wireless communication device 10 1 . Among these, the wireless communication devices 10 3 and 10 5 are lower master devices. Then, the wireless communication device 106, 107 directly below the wireless communication device 103 is connected, the radio communication device 108 is adapted to be connected directly below the wireless communication device 105.

さらに、図5には、図4に示されるネットワークから最上位マスタ装置である無線通信装置101が脱退した後に構築されるネットワークの例が示されている。この図5に示される例では、無線通信装置103が、ネットワークにおける最上位マスタ装置であるとともに、無線通信装置103の下位に、無線通信装置103のスレーブ装置として動作する無線通信装置102,104〜108が階層的に接続された例となっている。なお、図5に示される例では、無線通信装置103の直下に、無線通信装置102,104,106,107が接続されている。これらのうち無線通信装置106が下位マスタ装置となっている。そして、無線通信装置106の直下に無線通信装置105,108が接続されるようになっている。 Further, in FIG. 5, there is shown an example of a network that is built after the wireless communication device 10 1 has left the most significant master device from the network shown in Figure 4. In the example shown in FIG. 5, the wireless communication device 103, along with the most significant master device in a network, the lower of the wireless communication device 103, the wireless communication apparatus operates as a wireless communication device 103 of the slave device 10 2 , 10 4 to 10 8 are connected in a hierarchical manner. In the example shown in FIG. 5, wireless communication devices 10 2 , 10 4 , 10 6 , and 10 7 are connected immediately below the wireless communication device 10 3 . Among these, the wireless communication device 10 6 is a lower master device. The wireless communication devices 10 5 and 10 8 are connected directly below the wireless communication device 10 6 .

図2に戻り、上記のBT通信部12は、周辺のBluetooth対応装置との間で、Bluetooth規格に従って通信を行う。かかる通信に際して、BT通信部12は、処理制御部11から送信データを受ける。そして、BT通信部12は、当該送信データをデータ内容とするパケットを組み立て、組み立てられたパケットをBluetooth規格に従って周辺のBluetooth対応装置へ送信する。   Returning to FIG. 2, the BT communication unit 12 communicates with peripheral Bluetooth compatible devices according to the Bluetooth standard. During such communication, the BT communication unit 12 receives transmission data from the processing control unit 11. Then, the BT communication unit 12 assembles a packet having the transmission data as data content, and transmits the assembled packet to peripheral Bluetooth compatible devices according to the Bluetooth standard.

また、BT通信部12は、周辺のBluetooth対応装置からBluetooth規格に従って送信されたパケットを受信する。そして、BT通信部12は、当該受信したパケットを分解し、当該受信したパケットに含まれていたデータを処理制御部11へ送る。   The BT communication unit 12 receives a packet transmitted from a peripheral Bluetooth compatible device according to the Bluetooth standard. Then, the BT communication unit 12 disassembles the received packet and sends the data included in the received packet to the processing control unit 11.

[動作]
次に、上記のように構成された無線通信装置10j(j=1〜N)の動作について、処理制御部11が実行するネットワークの構築処理に主に着目して説明する。
[Operation]
Next, the operation of the wireless communication apparatus 10 j (j = 1 to N) configured as described above will be described mainly focusing on the network construction process executed by the process control unit 11.

<処理制御部11の動作モード>
まず、ネットワークの構築処理の説明に先立って、ネットワークの構築に際しての処理制御部11の動作モードについて説明する。
<Operation Mode of Processing Control Unit 11>
First, prior to description of network construction processing, an operation mode of the processing control unit 11 at the time of network construction will be described.

図6には、ネットワークの構築に際しての処理制御部11の動作モード、及び、動作モードの遷移が示されている。この図6に示されるように、処理制御部11の動作モードには、初期モード、最上位マスタモード、第1及び第2スレーブモード、並びに、待機モード及び下位マスタモードがある。   FIG. 6 shows the operation mode of the processing control unit 11 and the transition of the operation mode when the network is constructed. As shown in FIG. 6, the operation mode of the processing control unit 11 includes an initial mode, a highest master mode, first and second slave modes, a standby mode, and a lower master mode.

上記の「初期モード」は、最上位マスタ装置による制御を受けず、プリンタ装置20への接続要求を自発的に発行できる動作モードである。また、上記の「最上位マスタモード」は、プリンタ装置20と接続された状態で、ネットワークへの参加を希望した無線通信装置のネットワークへの参加や、ネットワークに参加している無線通信装置とプリンタ装置20との接続を統括して制御する動作モードである。   The “initial mode” is an operation mode in which a connection request to the printer device 20 can be issued spontaneously without being controlled by the highest master device. In the “top master mode”, the wireless communication device that is desired to participate in the network while connected to the printer device 20 or the wireless communication device and the printer that are participating in the network. This is an operation mode for controlling the connection with the apparatus 20 in an integrated manner.

上記の「第1スレーブモード」は、最上位マスタ装置が存在している状態でおいて、プリンタ装置20の利用を希望してはいるが、後述する接続タイミング情報を受信できていない状態の動作モードである。また、上記の「第2スレーブモード」は、ネットワークに参加しており、接続タイミング情報を保持しているが、最上位マスタモードの無線通信装置により下位マスタモード動作の指定がなされていない状態における動作モードである。   The above “first slave mode” is an operation in a state where the uppermost master device exists and the printer device 20 is desired to be used, but connection timing information described later cannot be received. Mode. Further, the above-mentioned “second slave mode” is in a state in which the subordinate master mode operation is not specified by the wireless communication apparatus in the highest master mode, although it is participating in the network and holds connection timing information. It is an operation mode.

上記の「待機モード」は、ネットワークに参加していないが、接続タイミング情報を保持している状態における動作モードである。上記の「下位マスタモード」は、最上位マスタモードの無線通信装置により下位マスタモード動作の指定がなされている状態における動作モードである。なお、「下位マスタモード」は、ネットワーク構成上における直下への新たな無線通信装置の接続処理(以下、「下位装置接続処理」とも記す)、並びに、ネットワーク構成上における上位側から送られた情報の下位側への転送処理、及び、ネットワーク構成上における下位側から送られた情報の上位側への転送処理を更に行う点が、上記した「第2スレーブモード」と異なっている。   The “standby mode” is an operation mode in a state in which connection timing information is retained although the network does not participate. The “lower master mode” is an operation mode in a state where the lower master mode operation is designated by the wireless communication device in the highest master mode. The “lower master mode” is a new wireless communication device connection process (hereinafter also referred to as “lower device connection process”) immediately below on the network configuration, and information sent from the upper side on the network configuration. This is different from the above-mentioned “second slave mode” in that the transfer processing to the lower side of the network and the transfer processing to the upper side of the information sent from the lower side in the network configuration are further performed.

なお、以下においては、第1,第2スレーブモード、待機モード及び下位マスタモードを総称して「スレーブモード」と記す。また、スレーブモードで動作している無線通信装置を総称して「スレーブ装置」と記す。   Hereinafter, the first and second slave modes, the standby mode, and the lower master mode are collectively referred to as “slave mode”. The wireless communication devices operating in the slave mode are collectively referred to as “slave devices”.

本実施形態では、初期モードからは、最上位マスタモード又は第1スレーブモードへ遷移し得る。最上位マスタモードからは、初期モードへ遷移し得る。第1スレーブモードからは、初期モード又は第2スレーブモードへ遷移し得る。   In the present embodiment, the initial mode can transit to the highest master mode or the first slave mode. From the highest master mode, a transition can be made to the initial mode. From the first slave mode, a transition can be made to the initial mode or the second slave mode.

また、本実施形態では、第2スレーブモードからは、最上位マスタモード、第1スレーブモード、待機モード又は下位マスタモードへ遷移し得る。待機モードからは、初期モード又は第2スレーブモードへ遷移し得る。下位マスタモードからは、最上位マスタモード、第1スレーブモード又は待機モードへ遷移し得る。   In the present embodiment, the second slave mode can transit to the highest master mode, the first slave mode, the standby mode, or the lower master mode. From the standby mode, a transition can be made to the initial mode or the second slave mode. From the lower master mode, a transition can be made to the highest master mode, the first slave mode, or the standby mode.

なお、図6には動作モード間遷移の条件の概要が記載されているが、動作モード間遷移の条件については、以下の処理制御部11が実行するネットワークの構築処理の説明において、より詳細に説明する。   Note that FIG. 6 outlines the conditions for transition between operation modes, but the conditions for transition between operation modes will be described in more detail in the description of the network construction process executed by the processing control unit 11 below. explain.

また、最上位マスタ装置からネットワークに参加している他の一の無線通信装置へ向けて情報を送信する場合、当該他の一の無線通信装置が最上位マスタ装置の直下に接続されているときには、最上位マスタ装置から直接的に当該情報が、当該他の一の無線通信装置へ送信される。一方、当該他の一の無線通信装置が下位マスタ装置の直下に接続されているときには、最上位マスタ装置から、1又は複数の下位マスタ装置を介して、当該情報が当該他の一の無線通信装置へ送信される。   Further, when transmitting information from the highest master device to another wireless communication device participating in the network, when the other wireless communication device is connected directly under the highest master device. The information is directly transmitted from the highest master device to the other wireless communication device. On the other hand, when the other wireless communication device is connected directly below the lower-level master device, the information is transferred from the highest-level master device via the one or more lower-level master devices to the other one wireless communication device. Sent to the device.

また、ネットワークに参加している他の一の無線通信装置から最上位マスタ装置へ向けて情報を送信する場合、当該他の一の無線通信装置が最上位マスタ装置の直下に接続されているときには、当該他の一の無線通信装置から直接的に当該情報が、最上位マスタ装置へ送信される。一方、当該他の一の無線通信装置が下位マスタ装置の直下に接続されているときには、当該他の一の無線通信装置から、1又は複数の下位マスタ装置を介して、当該情報が最上位マスタ装置へ送信される。   Further, when transmitting information from another wireless communication device participating in the network to the highest master device, when the other wireless communication device is connected directly under the highest master device. The information is directly transmitted from the other wireless communication device to the highest master device. On the other hand, when the other one wireless communication device is connected directly under the lower master device, the information is transferred from the other one wireless communication device via one or more lower master devices. Sent to the device.

<処理制御部11が実行するネットワークの構築処理>
次に、処理制御部11が実行するネットワークの構築処理について説明する。
<Network construction processing executed by the processing control unit 11>
Next, a network construction process executed by the process control unit 11 will be described.

なお、当初においては、当該処理制御部11を備える無線通信装置は、プリンタ装置20の利用を希望していない状態にあるものとする。この状態は、初期モード動作期間の一部となっている。   Note that at the beginning, the wireless communication device including the processing control unit 11 is in a state in which the use of the printer device 20 is not desired. This state is a part of the initial mode operation period.

ネットワークの構築処理に際しては、図7に示されるように、まず、ステップS11において、処理制御部11が、上述した入力部に印刷指令が入力されたか否かを判定する。ステップS11における判定の結果が否定的であった場合(ステップS11:N)には、ステップS11の処理が繰り返される。   In the network construction process, as shown in FIG. 7, first, in step S <b> 11, the process control unit 11 determines whether or not a print command is input to the input unit described above. If the result of the determination in step S11 is negative (step S11: N), the process of step S11 is repeated.

入力部に印刷指令が入力され、ステップS11における判定の結果が肯定的となると(ステップS11:Y)、処理はステップS12へ進む。このステップS12では、処理制御部11が、プリンタ装置20への接続要求を発行する。   When a print command is input to the input unit and the result of determination in step S11 is affirmative (step S11: Y), the process proceeds to step S12. In step S <b> 12, the process control unit 11 issues a connection request to the printer device 20.

次に、ステップS13において、当該接続要求に対するプリンタ装置20の応答が、肯定応答であったか否かを判定する。ステップS13における判定の結果が肯定的であった場合(ステップS13:Y)には、処理制御部11は、動作モードを最上位マスタモードへ遷移させる。そして、処理はステップS14へ進む。   Next, in step S13, it is determined whether or not the response of the printer device 20 to the connection request is an affirmative response. If the result of the determination in step S13 is affirmative (step S13: Y), the process control unit 11 changes the operation mode to the highest master mode. Then, the process proceeds to step S14.

ステップS14では、処理制御部11は、最上位マスタモード処理を実行する。このステップS14の処理が終了すると、処理はステップS11へ戻る。なお、ステップS14における最上位マスタモード処理の詳細については、後述する。   In step S14, the process control unit 11 executes the highest master mode process. When the process of step S14 ends, the process returns to step S11. Details of the highest master mode process in step S14 will be described later.

ステップS13における判定の結果が否定的であった場合(ステップS13:N)には、処理制御部11は、動作モードを第1スレーブモードへ遷移させる。そして、処理はステップS15へ進む。   If the result of the determination in step S13 is negative (step S13: N), the process control unit 11 changes the operation mode to the first slave mode. Then, the process proceeds to step S15.

ステップS15では、処理制御部11は、スレーブモード処理を実行する。このステップS15の処理が終了すると、処理はステップS12又はステップS14へ戻る。なお、ステップS15におけるスレーブモード処理の詳細については、後述する。   In step S15, the process control unit 11 executes a slave mode process. When the process of step S15 ends, the process returns to step S12 or step S14. Details of the slave mode processing in step S15 will be described later.

以後、ステップS11〜S15の処理が繰り返される。この結果、処理制御部11によるネットワークの構築処理が継続的に実行される。   Thereafter, the processes of steps S11 to S15 are repeated. As a result, the network construction process by the process control unit 11 is continuously executed.

《ステップS14における最上位マスタモード処理》
次に、ステップS14における最上位マスタモード処理について説明する。
<< Top Master Mode Processing in Step S14 >>
Next, the highest master mode process in step S14 will be described.

最上位マスタモード処理に際しては、図8に示されるように、まず、ステップS19において、処理制御部11が、プリンタ装置20への印刷処理を開始する。この結果、プリンタ装置20は、処理制御部11からプリンタ装置20へ送信された印刷データに従った印刷動作を開始する。そして、印刷処理が終了するまで、当該印刷処理と並行して、処理制御部11が、以下のステップS20〜S26の処理を実行する。   In the highest master mode process, as shown in FIG. 8, first, in step S <b> 19, the process control unit 11 starts a print process to the printer device 20. As a result, the printer device 20 starts a printing operation according to the print data transmitted from the processing control unit 11 to the printer device 20. Then, in parallel with the printing process, the process control unit 11 executes the following steps S20 to S26 until the printing process is completed.

ステップS20では、処理制御部11が、前回の最上位マスタ装置により次のネットワーク構成が指定されているか否かを判定する。ステップS20における判定の結果が否定的あった場合(ステップS20:N)には、処理は、後述するステップS22へ進む。   In step S20, the process control unit 11 determines whether or not the next network configuration is designated by the previous highest-level master device. If the result of the determination in step S20 is negative (step S20: N), the process proceeds to step S22 described later.

ステップS20における判定の結果が肯定的あった場合(ステップS20:Y)には、処理はステップS21へ進む。このステップS21では、次のネットワーク構成として指定された構成のネットワークを構築する。そして、処理はステップS22へ進む。   If the result of determination in step S20 is affirmative (step S20: Y), the process proceeds to step S21. In step S21, a network having a configuration designated as the next network configuration is constructed. Then, the process proceeds to step S22.

なお、指定された構成のネットワークの構築に際しては、当該指定された構成のネットワークにおける上位側から下位側に向かって、順次、通信接続及び下位マスタ装置の設定が行われるようになっている。   When a network having a designated configuration is constructed, communication connection and lower master device settings are sequentially performed from the upper side to the lower side in the network having the designated configuration.

ステップS22では、処理制御部11が、印刷処理が終了したか否かを判定する。ステップS22における判定の結果が否定的であった場合(ステップS22:N)には、処理はステップS23へ進む。   In step S <b> 22, the process control unit 11 determines whether the print process has been completed. If the result of the determination in step S22 is negative (step S22: N), the process proceeds to step S23.

ステップS23では、それまでネットワークに参加していなかった無線通信装置が新たに同報送信したネットワーク参加要求を、処理制御部11が受信したか否かを判定する。ステップS23における判定の結果が否定的であった場合(ステップS23:N)には、処理はステップS22へ戻る。   In step S23, it is determined whether or not the processing control unit 11 has received a network participation request newly broadcast by a wireless communication apparatus that has not participated in the network. If the result of the determination in step S23 is negative (step S23: N), the process returns to step S22.

ステップS23における判定の結果が肯定的であった場合(ステップS23:Y)には、処理はステップS24へ進む。このステップS24では、処理制御部11が、ネットワーク参加要求を同報送信した無線通信装置をネットワークに参加させるための新たなネットワークの構築処理を実行する。なお、ステップS24における新たなネットワークの構築処理については、後述する。   If the result of the determination in step S23 is affirmative (step S23: Y), the process proceeds to step S24. In step S24, the process control unit 11 executes a process for constructing a new network for allowing the wireless communication apparatus that broadcasts the network participation request to participate in the network. The new network construction process in step S24 will be described later.

次いで、ステップS25において、新たにネットワーク参加した無線通信装置の利用態様情報を受信したか否かを判定する。かかる利用態様情報には、当該利用態様情報を送信した無線通信装置の識別情報、印刷内容(データサイズ、用紙サイズ、白黒印刷/カラー印刷の指定等)、希望印刷優先度及び処理負荷等が含まれている。   Next, in step S25, it is determined whether or not usage mode information of a wireless communication apparatus newly joined to the network has been received. Such usage mode information includes identification information of the wireless communication apparatus that has transmitted the usage mode information, print contents (designation of data size, paper size, monochrome printing / color printing, etc.), desired print priority, processing load, and the like. It is.

ステップS25における判定の結果が否定的であった場合(ステップS25:N)には、ステップS25の処理が繰り返される。新たな利用態様情報を受け、ステップS25における判定の結果が肯定的となると(ステップS25:Y)、処理はステップS26へ進む。   If the result of the determination in step S25 is negative (step S25: N), the process of step S25 is repeated. When new usage state information is received and the result of determination in step S25 is affirmative (step S25: Y), the process proceeds to step S26.

ステップS26では、処理制御部11が、ネットワークに参加している他の無線通信装置のそれぞれの利用態様情報、及び、自身の印刷処理の進行状況に基づいて、当該他の無線通信装置によるプリンタ装置20の利用順序を決めた後、当該他の無線通信装置のそれぞれの接続タイミング情報を算出する。本実施形態では、接続タイミング情報には、当該他の無線通信装置がプリンタ装置20に接続することができるようになると推定される接続タイミング、及び、当該他の無線通信装置が印刷処理を開始してから終了するまでに要することが推定される印刷待ち時間が含まれている。   In step S <b> 26, the processing control unit 11 determines the printer device by the other wireless communication device based on the usage status information of each of the other wireless communication devices participating in the network and the progress status of its own print processing. After determining the use order of 20, the connection timing information of each of the other wireless communication devices is calculated. In the present embodiment, the connection timing information includes a connection timing estimated that the other wireless communication device can connect to the printer device 20, and the other wireless communication device starts the printing process. The printing waiting time estimated to be required until the completion is included.

なお、本実施形態では、他の無線通信装置によるプリンタ装置20の利用順序は、印刷優先度を尊重しつつ、他の無線通信装置の印刷に関する平均ターンアラウド時間が極力短くなるように、当該他の無線通信装置のそれぞれの接続タイミングを算出するようになっている。また、接続タイミングは、ネットワークに参加している無線通信装置に共通のクロックに基づいて算出されるようになっている。   In this embodiment, the order of use of the printer device 20 by another wireless communication device is such that the average turn-around time for printing of the other wireless communication device is as short as possible while respecting the print priority. The connection timing of each wireless communication device is calculated. Further, the connection timing is calculated based on a clock common to the wireless communication devices participating in the network.

接続タイミング情報が算出されると、処理制御部11は、算出された接続タイミング情報を、対応する他の無線通信装置のそれぞれへ向けて送信する。こうしてステップS26の処理が終了すると、処理はステップS22へ戻る。そして、印刷処理が終了するまで、ステップS22〜S26の処理が繰り返される。
なお、ステップS26において、他の無線通信装置のそれぞれの接続可能になる順番を示す情報を、対応する他の無線通信装置のそれぞれへ向けて送信してもよい。
また、最上位マスタ装置から送信された接続タイミング情報や接続可能になる順番を示す情報を受信した他の無線通信装置は、当該無線通信装置が備える不図示の表示部に受信した接続タイミング情報や接続可能になる順番を示す情報を表示するようにしてもよい。
When the connection timing information is calculated, the process control unit 11 transmits the calculated connection timing information to each of the other corresponding wireless communication devices. When the process of step S26 is thus completed, the process returns to step S22. Then, the processes in steps S22 to S26 are repeated until the printing process is completed.
In step S26, information indicating the order in which each of the other wireless communication devices can be connected may be transmitted to each of the corresponding other wireless communication devices.
In addition, the other wireless communication device that has received the connection timing information transmitted from the highest-level master device or the information indicating the order in which connection can be performed is the connection timing information received on the display unit (not shown) included in the wireless communication device, You may make it display the information which shows the order which becomes connectable.

印刷処理が終了し、ステップS22における判定の結果が肯定的となると(ステップS22:Y)、処理制御部11は、プリンタ装置20との通信接続を切断する。そして、処理はステップS27へ進む。   When the printing process is finished and the result of determination in step S22 is affirmative (step S22: Y), the process control unit 11 disconnects the communication connection with the printer device 20. Then, the process proceeds to step S27.

ステップS27では、処理制御部11が、ネットワークに参加している他の無線通信装置があるか否かを判定する。ステップS27における判定の結果が否定的であった場合(ステップS27:N)には、処理は、後述するステップS30へ進む。   In step S27, the process control unit 11 determines whether there is another wireless communication apparatus participating in the network. If the result of the determination in step S27 is negative (step S27: N), the process proceeds to step S30 described later.

ステップS27における判定の結果が肯定的であった場合(ステップS27:Y)には、処理はステップS28へ進む。このステップS28では、処理制御部11が、自身がネットワークから脱退した後、現時点においてネットワークに参加している他の無線通信装置の全てが参加する次のネットワーク構成を算出する。かかる次のネットワーク構成の算出に際して、処理制御部11は、現時点において、当該他の無線通信装置のうちで最もプリンタ装置20の利用順序が早くなっている無線通信装置を次の最上位マスタ装置に定める。   If the result of the determination in step S27 is affirmative (step S27: Y), the process proceeds to step S28. In this step S28, the processing control unit 11 calculates the next network configuration in which all of the other wireless communication devices participating in the network at the present time participate after the withdrawal from the network. When calculating the next network configuration, the processing control unit 11 makes the wireless communication device whose use order of the printer device 20 is the earliest among the other wireless communication devices as the next highest-level master device. Determine.

次に、ステップS29において、処理制御部11が、次のネットワーク構成の情報を、次の最上位マスタ装置へ向けて送信することにより、次の最上位マスタ装置に対して、次の最上位マスタ装置となるべき旨、及び、次のネットワーク構成を指定する。そして、処理はステップS30へ進む。   Next, in step S29, the processing control unit 11 transmits the next network configuration information to the next highest master device, so that the next highest master device is sent to the next highest master device. Specify the device and the following network configuration. Then, the process proceeds to step S30.

ステップS30では、処理制御部11が、自身以外の現在のネットワークを構成している装置へ通信切断要求を送信する。この結果、現在までのネットワークが解体される。   In step S <b> 30, the process control unit 11 transmits a communication disconnection request to devices constituting the current network other than itself. As a result, the network up to now is demolished.

なお、本実施形態では、処理制御部11は、通信切断要求を同報送信するようになっている。また、当該通信切断要求は、最上位マスタ装置とプリンタ装置20との通信接続が切断されたことを、ネットワークに参加している他の無線通信装置に対して示す情報ともなっている。   In the present embodiment, the processing control unit 11 transmits a communication disconnection request by broadcast. The communication disconnection request is also information indicating to other wireless communication devices participating in the network that the communication connection between the highest-level master device and the printer device 20 has been disconnected.

通信切断要求を送信すると、処理制御部11は、動作モードを初期モードへ遷移させ、ステップS30の処理が終了する。この結果、処理制御部11は、ネットワークから脱退する。こうしてステップS30の処理が終了すると、ステップS14の処理が終了し、処理は、上述した図7のステップS11へ戻る。   When the communication disconnection request is transmitted, the process control unit 11 changes the operation mode to the initial mode, and the process of step S30 ends. As a result, the process control unit 11 withdraws from the network. When the process of step S30 is thus completed, the process of step S14 is terminated, and the process returns to step S11 of FIG.

(ステップS24における新たなネットワークの構築処理)
次いで、ステップS24における新たなネットワークの構築処理について説明する。
(New network construction processing in step S24)
Next, a new network construction process in step S24 will be described.

当該新たなネットワークの構築処理に際しては、図9に示されるように、まず、ステップS31において、処理制御部11が、新たなネットワーク参加要求を同報送信した無線通信装置を、直下に接続させるか否かを判定する。この判定は、処理制御部11の処理負荷が低く、新たな通信処理負荷を引き受ける余裕があるか否かを判定することにより行われる。   In the process of constructing the new network, as shown in FIG. 9, first, in step S31, whether the processing control unit 11 connects the wireless communication apparatus that has broadcast the new network participation request directly below. Determine whether or not. This determination is performed by determining whether or not the processing load on the processing control unit 11 is low and there is room to take on a new communication processing load.

ステップS31における判定の結果が否定的であった場合(ステップS31:N)には、処理はステップS32へ進む。このステップS32では、処理制御部11が、新たな下位マスタ装置が必要か否かを判定する。この判定は、現時点で下位マスタ装置の全てが、新たな通信処理負荷を引き受ける余裕がない処理負荷状態となっているか否かを判定することにより行われる。   If the result of the determination in step S31 is negative (step S31: N), the process proceeds to step S32. In step S32, the process control unit 11 determines whether a new lower-level master device is necessary. This determination is performed by determining whether or not all the lower-level master devices are in a processing load state in which there is no room for taking on a new communication processing load at the present time.

ステップS32における判定の結果が否定的であった場合(ステップS32:N)には、新たな通信処理負荷を引き受ける余裕がある下位マスタ装置のうちで最も処理負荷に余裕のある下位マスタ装置を、新たなネットワーク参加要求を同報送信した無線通信装置を直下に接続する下位マスタ装置に選択する。そして、処理は、後述するステップS34へ進む。   If the result of determination in step S32 is negative (step S32: N), the lower-level master device having the most processing load among the lower-level master devices having room to take on a new communication processing load is determined. The wireless communication apparatus that broadcasts a new network participation request is selected as a lower-level master apparatus that is directly connected. And a process progresses to step S34 mentioned later.

ステップS32における判定の結果が肯定的であった場合(ステップS32:Y)には、処理はステップS33へ進む。このステップS33では、処理制御部11が、第2スレーブモードで動作している無線通信装置のうちで最も処理負荷に余裕のあるものを選択する。そして、処理制御部11が、選択された無線通信装置へ向けて、下位マスタモードへの遷移指令を送信する。この結果、選択された無線通信装置の動作モードが、下位マスタモードに遷移する。そして、処理はステップS34へ進む。   If the result of the determination in step S32 is affirmative (step S32: Y), the process proceeds to step S33. In step S33, the process control unit 11 selects a wireless communication apparatus operating in the second slave mode that has the most processing load. Then, the process control unit 11 transmits a transition command to the lower master mode toward the selected wireless communication device. As a result, the operation mode of the selected wireless communication device transitions to the lower master mode. Then, the process proceeds to step S34.

ステップS34では、処理制御部11が、新たなネットワーク参加要求を同報送信した無線通信装置が接続されるべき下位マスタ装置へ向けて、新たなネットワーク参加要求を同報送信した無線通信装置との接続処理要求を送信する。この接続処理要求を受けると、当該下位マスタ装置が、ネットワーク参加要求を同報送信した無線通信装置との接続処理を実行する。この結果、当該下位マスタ装置の直下に新たな無線通信装置が接続され、当該新たな無線通信装置が参加する新たなネットワークが構築される。   In step S34, the process control unit 11 transmits a new network participation request to the lower-level master apparatus to which the wireless communication apparatus that has transmitted the new network participation request is to be connected. Send connection processing request. Upon receiving this connection processing request, the lower-level master device executes connection processing with the wireless communication device that broadcasts the network participation request. As a result, a new wireless communication device is connected immediately below the lower master device, and a new network in which the new wireless communication device participates is constructed.

こうしてステップS34の処理が終了すると、ステップS24の処理が終了する。そして、処理は、上述した図8のステップS25へ進む。   When the process of step S34 is thus completed, the process of step S24 is terminated. And a process progresses to step S25 of FIG. 8 mentioned above.

上述したステップS31における判定結果が肯定的であった場合(ステップS31:Y)には、処理はステップS35へ進む。このステップS35では、処理制御部11が、新たなネットワーク参加要求を同報送信した無線通信装置との接続のための下位装置接続処理を実行する。この結果、処理制御部11の直下に新たな無線通信装置が接続され、当該新たな無線通信装置が参加する新たなネットワークが構築される。   If the determination result in step S31 described above is affirmative (step S31: Y), the process proceeds to step S35. In step S35, the process control unit 11 executes a lower apparatus connection process for connection to the wireless communication apparatus that has transmitted a new network participation request. As a result, a new wireless communication device is connected immediately below the processing control unit 11, and a new network in which the new wireless communication device participates is constructed.

《ステップS15におけるスレーブモード処理》
次に、ステップS15におけるスレーブモード処理について説明する。
<< Slave Mode Processing in Step S15 >>
Next, the slave mode process in step S15 will be described.

スレーブモード処理に際しては、図10に示されるように、まず、ステップS41において、処理制御部11が、第1スレーブモード処理を実行する。なお、ステップS41で実行される第1スレーブモード処理については、後述する。   In the slave mode process, as shown in FIG. 10, first, in step S41, the process control unit 11 executes the first slave mode process. The first slave mode process executed in step S41 will be described later.

ステップS41の処理が終了すると、処理が、ステップS42へ進む、又は、上述した図7のステップS12へ戻る。ここで、ステップS42へ進む場合には、ステップS41において、処理制御部11が動作モードを第2スレーブモードに遷移させた後、処理がステップS42へ進む。また、ステップS12へ戻る場合には、ステップS41において、処理制御部11が動作モードを初期モードに遷移させた後、処理がステップS12へ戻る。   When the process of step S41 ends, the process proceeds to step S42 or returns to step S12 of FIG. 7 described above. Here, in the case of proceeding to step S42, in step S41, after the process control unit 11 changes the operation mode to the second slave mode, the process proceeds to step S42. When returning to step S12, in step S41, the process control unit 11 changes the operation mode to the initial mode, and then the process returns to step S12.

ステップS42では、処理制御部11が、第2スレーブモード処理を実行する。なお、ステップS42で実行される第2スレーブモード処理については、後述する。   In step S42, the process control unit 11 executes the second slave mode process. The second slave mode process executed in step S42 will be described later.

ステップS42の処理が終了すると、処理が、ステップS43若しくはステップS44へ進む、又は、ステップS41若しくは上述した図7のステップS14へ戻る。ここで、ステップS43へ進む場合には、ステップS42において、処理制御部11が動作モードを待機モードに遷移させた後、処理がステップS43へ進む。また、ステップS44へ進む場合には、ステップS42において、処理制御部11が動作モードを下位マスタモードに遷移させた後、処理がステップS44へ進む。   When the process of step S42 ends, the process proceeds to step S43 or step S44, or returns to step S41 or step S14 of FIG. 7 described above. Here, in the case of proceeding to step S43, in step S42, after the process control unit 11 changes the operation mode to the standby mode, the process proceeds to step S43. When the process proceeds to step S44, in step S42, the process control unit 11 changes the operation mode to the lower master mode, and then the process proceeds to step S44.

さらに、ステップS41へ戻る場合には、ステップS42において、処理制御部11が動作モードを第1スレーブモードに遷移させた後、処理がステップS41へ戻る。また、ステップS14へ戻る場合には、ステップS42において、処理制御部11が動作モードを最上位マスタモードに遷移させた後、処理がステップS14へ戻る。   Furthermore, when returning to step S41, in step S42, after the process control unit 11 changes the operation mode to the first slave mode, the process returns to step S41. When returning to step S14, in step S42, the process control unit 11 changes the operation mode to the highest master mode, and then the process returns to step S14.

ステップS43では、処理制御部11が、待機モード処理を実行する。なお、ステップS43で実行される待機モード処理については、後述する。   In step S43, the process control unit 11 executes a standby mode process. The standby mode process executed in step S43 will be described later.

ステップS43の処理が終了すると、処理が、ステップS42又はステップS12へ戻る。ここで、ステップS42へ戻る場合には、ステップS43において、処理制御部11が動作モードを第2スレーブモードに遷移させた後、処理がステップS42へ戻る。また、ステップS12へ戻る場合には、ステップS43において、処理制御部11が、動作モードを初期モードに遷移させた後、ステップS12へ戻る。   When the process of step S43 ends, the process returns to step S42 or step S12. Here, when returning to step S42, in step S43, after the process control unit 11 changes the operation mode to the second slave mode, the process returns to step S42. When returning to step S12, in step S43, the process control unit 11 changes the operation mode to the initial mode, and then returns to step S12.

ステップS44では、処理制御部11が、下位スレーブモード処理を実行する。なお、ステップS44で実行される下位スレーブモード処理については、後述する。   In step S44, the process control unit 11 executes the lower slave mode process. The lower slave mode process executed in step S44 will be described later.

ステップS44の処理が終了すると、処理が、ステップS43へ進む、又は、ステップS41若しくはステップS14へ戻る。ここで、ステップS43へ進む場合には、ステップS44において、処理制御部11が動作モードを待機モードに遷移させた後、処理がステップS43へ進む。また、ステップS41へ戻る場合には、ステップS44において、処理制御部11が動作モードを第1スレーブモードに遷移させた後、処理がステップS41へ戻る。また、ステップS14へ戻る場合には、ステップS44において、処理制御部11が動作モードを最上位マスタモードに遷移させた後、ステップS14へ戻る。   When the process of step S44 ends, the process proceeds to step S43, or returns to step S41 or step S14. Here, in the case of proceeding to step S43, in step S44, after the process control unit 11 changes the operation mode to the standby mode, the process proceeds to step S43. When returning to step S41, in step S44, after the process control unit 11 changes the operation mode to the first slave mode, the process returns to step S41. When returning to step S14, in step S44, the process control unit 11 changes the operation mode to the highest master mode, and then returns to step S14.

(ステップS41における第1スレーブモード処理)
次いで、ステップS41における第1スレーブモード処理について説明する。
(First slave mode processing in step S41)
Next, the first slave mode process in step S41 will be described.

第1スレーブモード処理に際しては、図11に示されるように、まず、ステップS51において、処理制御部11が、ネットワーク参加要求を同報送信する。引き続き、ステップS52において、処理制御部11が、直近上位マスタ装置となる最上位マスタ装置又は下位マスタ装置から送信された接続要求を受信したか否かを判定する。   In the first slave mode process, as shown in FIG. 11, first, in step S51, the process control unit 11 broadcasts a network participation request. Subsequently, in step S52, the process control unit 11 determines whether or not a connection request transmitted from the highest-order master device or the lower-order master device that is the latest higher-order master device has been received.

ステップS52における判定の結果が否定的であった場合(ステップS52:N)には、処理はステップS53へ進む。このステップS53では、処理制御部11が、ネットワーク参加要求の同報送信時刻から第1所定時間が経過したか否かを判定する。   If the result of the determination in step S52 is negative (step S52: N), the process proceeds to step S53. In step S53, the process control unit 11 determines whether or not a first predetermined time has elapsed from the broadcast transmission time of the network participation request.

ステップS53における判定の結果が否定的であった場合(ステップS53:N)には、処理はステップS52へ戻る。以後、ステップS52,S53のいずれかにおける判定の結果が肯定的となるまで、ステップS52,S53の処理が繰り返される。   If the result of the determination in step S53 is negative (step S53: N), the process returns to step S52. Thereafter, the processes of steps S52 and S53 are repeated until the result of determination in either of steps S52 and S53 becomes affirmative.

ステップS52における判定の結果が肯定的となる前に、ステップS53における判定の結果が肯定的となると(ステップS53:Y)、処理制御部11は、動作モードを初期モードへ遷移させ、ステップS41の処理を終了する。そして、処理は、上述した図7のステップS12へ戻る。   If the result of determination in step S53 is affirmative before the result of determination in step S52 is affirmative (step S53: Y), the process control unit 11 changes the operation mode to the initial mode, and End the process. And a process returns to step S12 of FIG. 7 mentioned above.

また、ステップS53における判定の結果が肯定的となる前に、ステップS52における判定の結果が肯定的となると(ステップS52:Y)、処理はステップS54へ進む。このステップS54では、処理制御部11が、接続要求を送信した無線通信装置との接続処理を行う。この結果、接続要求を送信した無線通信装置の直近上位マスタ装置と接続が確立し、ネットワークに参加することになる。   If the result of determination in step S52 is affirmative before the result of determination in step S53 is affirmative (step S52: Y), the process proceeds to step S54. In step S54, the process control unit 11 performs a connection process with the wireless communication apparatus that has transmitted the connection request. As a result, a connection is established with the nearest master device of the wireless communication device that has transmitted the connection request, and the wireless communication device joins the network.

次に、ステップS55において、処理制御部11が、自身の利用態様情報を直近上位マスタ装置へ向けて送信する。引き続き、ステップS56において、処理制御部11は、接続タイミング情報を受信したか否かを判定する。   Next, in step S55, the process control unit 11 transmits its usage mode information to the nearest higher-level master device. Subsequently, in step S56, the process control unit 11 determines whether connection timing information has been received.

ステップS56における判定の結果が否定的であった場合(ステップS56:N)には、処理はステップS57へ進む。このステップS57では、処理制御部11が、利用態様情報の送信時刻から第2所定時間が経過したか否かを判定する。   If the result of the determination in step S56 is negative (step S56: N), the process proceeds to step S57. In step S57, the process control unit 11 determines whether or not the second predetermined time has elapsed from the transmission time of the usage mode information.

ステップS57における判定の結果が否定的であった場合(ステップS57:N)には、処理はステップS56へ戻る。以後、ステップS56,S57のいずれかにおける判定の結果が肯定的となるまで、ステップS56,S57の処理が繰り返される。   If the result of the determination in step S57 is negative (step S57: N), the process returns to step S56. Thereafter, the processes in steps S56 and S57 are repeated until the result of determination in any of steps S56 and S57 becomes affirmative.

ステップS56における判定の結果が肯定的となる前に、ステップS57における判定の結果が肯定的となると(ステップS57:Y)、処理制御部11は、動作モードを初期モードへ遷移させ、ステップS41の処理を終了する。そして、処理は、上述した図7のステップS12へ戻る。   If the result of determination in step S57 becomes affirmative before the result of determination in step S56 becomes affirmative (step S57: Y), the process control unit 11 changes the operation mode to the initial mode, and in step S41. End the process. And a process returns to step S12 of FIG. 7 mentioned above.

また、ステップS57における判定の結果が肯定的となる前に、ステップS56における判定の結果が肯定的となると(ステップS56:Y)、処理制御部11は、動作モードを第2スレーブモードへ遷移させ、ステップS41の処理を終了する。そして、処理は、上述した図10のステップS42へ進む。   If the result of determination in step S56 becomes affirmative before the result of determination in step S57 becomes affirmative (step S56: Y), the process control unit 11 changes the operation mode to the second slave mode. Then, the process of step S41 is terminated. And a process progresses to step S42 of FIG. 10 mentioned above.

(ステップS42における第2スレーブモード処理)
次いで、ステップS42における第2スレーブモード処理について説明する。
(Second slave mode processing in step S42)
Next, the second slave mode process in step S42 will be described.

第2スレーブモード処理に際しては、図12に示されるように、まず、ステップS61において、処理制御部11が、最上位マスタ装置から送信された自身の接続タイミング情報を受信したか否かを判定する。ステップS61における判定の結果が否定的であった場合(ステップS61:N)には、処理は、後述するステップS63へ進む。   In the second slave mode process, as shown in FIG. 12, first, in step S61, the process control unit 11 determines whether or not it has received its own connection timing information transmitted from the highest master device. . If the result of the determination in step S61 is negative (step S61: N), the process proceeds to step S63 described later.

ステップS61における判定の結果が肯定的であった場合(ステップS61:Y)には、処理はステップS62へ進む。このステップS62では、処理制御部11が、受信した自身の接続タイミング情報を内部に保持する。そして、処理はステップS63へ進む。   If the result of the determination in step S61 is affirmative (step S61: Y), the process proceeds to step S62. In step S62, the process control unit 11 holds the received connection timing information therein. Then, the process proceeds to step S63.

ステップS63では、処理制御部11が、最上位マスタ装置から送信された下位マスタモードへの遷移指令を受信したか否かを判定する。ステップS63における判定の結果が否定的であった場合(ステップS63:N)には、処理はステップS64へ進む。このステップS64では、処理制御部11が、次の最上位マスタ装置のための情報を受信したか否かを判定する。   In step S63, the process control unit 11 determines whether or not it has received a transition command to the lower master mode transmitted from the highest master device. If the result of the determination in step S63 is negative (step S63: N), the process proceeds to step S64. In step S64, the process control unit 11 determines whether or not information for the next highest master device has been received.

ステップS64における判定の結果が否定的であった場合(ステップS64:N)には、処理はステップS65へ進む。このステップS65では、最上位マスタ装置から送られた通信切断要求(すなわち、最上位マスタ装置の脱退によるネットワーク解体通知)を受信したか否かを判定する。   If the result of the determination in step S64 is negative (step S64: N), the process proceeds to step S65. In this step S65, it is determined whether or not a communication disconnection request (that is, a network disassembly notification due to withdrawal of the highest master device) sent from the highest master device has been received.

ステップS65における判定の結果が否定的であった場合(ステップS65:N)には、処理はステップS61へ戻る。以後、ステップS63〜S65のいずれかにおける判定の結果が肯定的となるまで、ステップS61〜S65の処理が繰り返される。   If the result of the determination in step S65 is negative (step S65: N), the process returns to step S61. Thereafter, the processes in steps S61 to S65 are repeated until the determination result in any of steps S63 to S65 becomes affirmative.

ステップS64,S65おける判定の結果が肯定的となる前に、ステップS63における判定の結果が肯定的となると(ステップS63:Y)、処理制御部11は、動作モードを下位マスタモードへ遷移させ、ステップS42の処理を終了する。そして、処理は、上述した図10のステップS44へ進む。   If the result of determination in step S63 becomes affirmative before the result of determination in steps S64 and S65 becomes affirmative (step S63: Y), the process control unit 11 changes the operation mode to the lower master mode, The process of step S42 ends. And a process progresses to step S44 of FIG. 10 mentioned above.

また、ステップS63,S64おける判定の結果が肯定的となる前に、ステップS65における判定の結果が肯定的となると(ステップS65:Y)、処理制御部11は、動作モードを待機モードへ遷移させ、ステップS42の処理を終了する。そして、処理は、上述した図10のステップS43へ進む。   If the result of determination in step S65 becomes affirmative (step S65: Y) before the result of determination in steps S63 and S64 is affirmative (step S65: Y), the process control unit 11 changes the operation mode to the standby mode. Then, the process of step S42 is terminated. And a process progresses to step S43 of FIG. 10 mentioned above.

また、ステップS63,S65おける判定の結果が肯定的となる前に、ステップS64における判定の結果が肯定的となると(ステップS64:Y)、処理はステップS66へ進む。このステップS66では、最上位マスタ装置から送られた通信切断要求を受信したか否かを判定する。ステップS66における判定の結果が否定的であった場合(ステップS66:N)には、ステップS66の処理が繰り返される。   If the result of determination in step S64 is affirmative before the result of determination in steps S63 and S65 is affirmative (step S64: Y), the process proceeds to step S66. In this step S66, it is determined whether or not a communication disconnection request sent from the highest master device has been received. If the result of the determination in step S66 is negative (step S66: N), the process of step S66 is repeated.

通信切断要求を受信し、ステップS66における判定の結果が肯定的となると(ステップS66:Y)、処理はステップS67へ進む。このステップS67では、処理制御部11が、プリンタ装置20への接続要求を発行する。   When the communication disconnection request is received and the result of determination in step S66 is affirmative (step S66: Y), the process proceeds to step S67. In step S <b> 67, the processing control unit 11 issues a connection request to the printer device 20.

次に、ステップS68において、当該接続要求に対するプリンタ装置20の応答が、肯定応答であったか否かを判定する。ステップS68における判定の結果が肯定的であった場合(ステップS68:Y)には、処理制御部11は、動作モードを最上位マスタモードへ遷移させ、ステップS42の処理を終了する。そして、処理は、上述したステップS14へ戻る。   Next, in step S68, it is determined whether or not the response of the printer device 20 to the connection request is an affirmative response. If the result of the determination in step S68 is affirmative (step S68: Y), the process control unit 11 changes the operation mode to the highest master mode and ends the process of step S42. Then, the process returns to step S14 described above.

ステップS68における判定の結果が否定的であった場合(ステップS68:N)には、処理制御部11は、動作モードを第1スレーブモードへ遷移させ、ステップS42の処理を終了する。そして、処理はステップS41へ戻る。   If the result of the determination in step S68 is negative (step S68: N), the process control unit 11 changes the operation mode to the first slave mode, and ends the process of step S42. Then, the process returns to step S41.

(ステップS43における待機モード処理)
次いで、ステップS43における待機モード処理について説明する。
(Standby mode processing in step S43)
Next, the standby mode process in step S43 will be described.

待機モード処理に際しては、図13に示されるように、まず、ステップS71において、内部に保持している接続タイミング情報における接続タイミングとなったか否かを判定する。ステップS71における判定の結果が否定的であった場合(ステップS71:N)には、処理はステップS72へ進む。このステップS72では、処理制御部11が、直近上位マスタ装置となる最上位マスタ装置又は下位マスタ装置から送信された接続要求を受信したか否かを判定する。   In the standby mode process, as shown in FIG. 13, first, in step S71, it is determined whether or not the connection timing in the connection timing information held inside has been reached. If the result of the determination in step S71 is negative (step S71: N), the process proceeds to step S72. In step S72, the process control unit 11 determines whether or not a connection request transmitted from the highest master device or the lower master device that is the latest higher master device has been received.

ステップS72における判定の結果が否定的であった場合(ステップS72:N)には、処理はステップS71へ戻る。以後、ステップS71,S72のいずれかにおける判定の結果が肯定的となるまで、ステップS71,S72の処理が繰り返される。   If the result of the determination in step S72 is negative (step S72: N), the process returns to step S71. Thereafter, the processes in steps S71 and S72 are repeated until the result of determination in any of steps S71 and S72 becomes affirmative.

ステップS72における判定の結果が肯定的となる前に、ステップS71における判定の結果が肯定的となると(ステップS71:Y)、処理制御部11は、動作モードを初期モードへ遷移させ、ステップS41の処理を終了する。そして、処理は、上述した図7のステップS12へ戻る。   If the result of determination in step S71 becomes affirmative before the result of determination in step S72 becomes affirmative (step S71: Y), the process control unit 11 changes the operation mode to the initial mode, and in step S41. End the process. And a process returns to step S12 of FIG. 7 mentioned above.

ステップS71における判定の結果が肯定的となる前に、ステップS72における判定の結果が肯定的となると(ステップS72:Y)、処理はステップS73へ進む。この後、ステップS73〜S76において、上述した図11のステップS54〜S57と同様の処理が実行される。   If the result of determination in step S72 is affirmative before the result of determination in step S71 is affirmative (step S72: Y), the process proceeds to step S73. Thereafter, in steps S73 to S76, processing similar to that in steps S54 to S57 of FIG. 11 described above is executed.

(ステップS44における下位マスタモード処理)
次いで、ステップS44における下位マスタモード処理について説明する。
(Lower master mode processing in step S44)
Next, the lower master mode process in step S44 will be described.

下位マスタモード処理に際しては、図14に示されるように、まず、ステップS81において、ネットワーク構成における自身より下位の無線通信装置(以下、「下位装置」とも記す)の制御処理を行う。なお、ステップS81における下位装置に対する制御処理については、後述する。   In the lower master mode processing, as shown in FIG. 14, first, in step S81, control processing of a wireless communication device (hereinafter also referred to as “lower device”) lower than itself in the network configuration is performed. The control process for the lower device in step S81 will be described later.

次に、ステップS82において、処理制御部11が、最上位マスタ装置から送信された自身の接続タイミング情報を受信したか否かを判定する。ステップS82における判定の結果が否定的であった場合(ステップS82:N)には、処理は、後述するステップS84へ進む。   Next, in step S82, the process control unit 11 determines whether or not it has received its own connection timing information transmitted from the highest master device. If the result of the determination in step S82 is negative (step S82: N), the process proceeds to step S84 described later.

ステップS82における判定の結果が肯定的であった場合(ステップS82:Y)には、処理はステップS83へ進む。このステップS83では、処理制御部11が、受信した自身の接続タイミング情報を内部に保持する。そして、処理はステップS84へ進む。   If the result of the determination in step S82 is affirmative (step S82: Y), the process proceeds to step S83. In step S83, the process control unit 11 holds the received connection timing information therein. Then, the process proceeds to step S84.

ステップS84では、処理制御部11が、次の最上位マスタ装置のための情報を受信したか否かを判定する。ステップS84における判定の結果が否定的であった場合(ステップS84:N)には、処理はステップS85へ進む。このステップS85では、最上位マスタ装置から送られた通信切断要求を受信したか否かを判定する。   In step S84, the process control unit 11 determines whether information for the next highest master device has been received. If the result of the determination in step S84 is negative (step S84: N), the process proceeds to step S85. In this step S85, it is determined whether a communication disconnection request sent from the highest master device has been received.

ステップS85における判定の結果が否定的であった場合(ステップS85:N)には、処理はステップS81へ戻る。以後、ステップS84,S85のいずれかにおける判定の結果が肯定的となるまで、ステップS81〜S85の処理が繰り返される。   If the result of the determination in step S85 is negative (step S85: N), the process returns to step S81. Thereafter, the processes in steps S81 to S85 are repeated until the result of determination in any of steps S84 and S85 becomes affirmative.

ステップS84における判定の結果が肯定的となる前に、ステップS85における判定の結果が肯定的となると(ステップS85:Y)、処理制御部11は、動作モードを待機モードへ遷移させ、ステップS44の処理を終了する。そして、処理は、上述した図10のステップS43へ進む。   If the result of determination in step S85 becomes affirmative before the result of determination in step S84 becomes affirmative (step S85: Y), the process control unit 11 changes the operation mode to the standby mode, and in step S44. The process ends. And a process progresses to step S43 of FIG. 10 mentioned above.

また、ステップS85おける判定の結果が肯定的となる前に、ステップS84における判定の結果が肯定的となると(ステップS84:Y)、処理はステップS86へ進む。この後、ステップS86〜S88において、上述した図12のステップS66〜S68と同様の処理が実行される。   If the result of determination in step S84 is affirmative before the result of determination in step S85 is affirmative (step S84: Y), the process proceeds to step S86. Thereafter, in steps S86 to S88, processing similar to that in steps S66 to S68 of FIG. 12 described above is executed.

((ステップS81における下位装置に対する制御処理))
次いで、ステップS81における下位装置に対する制御処理について説明する。
((Control processing for subordinate device in step S81))
Next, the control process for the lower device in step S81 will be described.

下位装置に対する制御処理に際しては、図15に示されるように、ステップS91において、処理制御部11が、最上位マスタ装置から送られた接続処理要求を受信したか否かを判定する。ステップS91における判定の結果が否定的であった場合(ステップS91:N)には、処理は、後述するステップS95へ進む。   In the control process for the lower level device, as shown in FIG. 15, in step S91, the processing control unit 11 determines whether or not the connection processing request sent from the highest level master device has been received. If the result of the determination in step S91 is negative (step S91: N), the process proceeds to step S95 described later.

ステップS91における判定の結果が肯定的であった場合(ステップS91:Y)には、処理はステップS92へ進む。このステップS92では、処理制御部11が、自身への接続処理要求であるか否かを判定する。   If the result of the determination in step S91 is affirmative (step S91: Y), the process proceeds to step S92. In step S92, the process control unit 11 determines whether or not it is a connection process request to itself.

ステップS92における判定の結果が否定的であった場合(ステップS92:N)には、処理はステップS93へ進む。このステップS93では、処理制御部11が、当該接続処理要求を、接続処理が要求されている下位マスタ装置への経路上に位置している直下の下位マスタ装置へ転送する。そして、処理はステップS95へ進む。   If the result of the determination in step S92 is negative (step S92: N), the process proceeds to step S93. In step S93, the processing control unit 11 transfers the connection processing request to the lower master device located directly on the path to the lower master device for which the connection processing is requested. Then, the process proceeds to step S95.

ステップS92における判定の結果が肯定的であった場合(ステップS92:Y)には、処理はステップS94へ進む。このステップS94では、処理制御部11が、下位装置接続処理を実行する。そして、処理はステップS95へ進む。   If the result of the determination in step S92 is affirmative (step S92: Y), the process proceeds to step S94. In step S94, the process control unit 11 executes a lower-level device connection process. Then, the process proceeds to step S95.

ステップS95では、処理制御部11が、下位装置が送信した利用態様情報を受信したか否かを判定する。ステップS95における判定の結果が否定的であった場合(ステップS95:N)には、処理は、後述するステップS97へ進む。   In step S95, the process control unit 11 determines whether the usage mode information transmitted by the lower-level device has been received. If the result of the determination in step S95 is negative (step S95: N), the process proceeds to step S97 described later.

ステップS95における判定の結果が肯定的であった場合(ステップS95:Y)には、処理はステップS96へ進む。このステップS96では、処理制御部11が、受信した利用態様情報を、直近上位のマスタ装置へ転送する。そして、処理はステップS97へ進む。   If the result of the determination in step S95 is affirmative (step S95: Y), the process proceeds to step S96. In step S96, the process control unit 11 transfers the received usage mode information to the nearest higher-level master device. Then, the process proceeds to step S97.

ステップS97では、処理制御部11が、下位装置の接続タイミング情報を受信したか否かを判定する。ステップS97における判定の結果が否定的であった場合(ステップS97:N)には、ステップS81の処理が終了する。そして、処理は、上述した図14のステップS82へ進む。   In step S97, the process control unit 11 determines whether or not the connection timing information of the lower device has been received. If the result of the determination in step S97 is negative (step S97: N), the process of step S81 ends. Then, the process proceeds to step S82 in FIG.

ステップS97における判定の結果が肯定的であった場合(ステップS97:Y)には、処理はステップS98へ進む。このステップS98では、処理制御部11が、受信した接続タイミング情報を、当該接続タイミング情報に対応する下位装置へ向けて転送する。   If the result of the determination in step S97 is affirmative (step S97: Y), the process proceeds to step S98. In step S98, the process control unit 11 transfers the received connection timing information to the lower level device corresponding to the connection timing information.

ステップS98の処理が終了すると、ステップS81の処理が終了する。そして、処理は、上述した図14のステップS82へ進む。   When the process of step S98 ends, the process of step S81 ends. Then, the process proceeds to step S82 in FIG.

以上説明したように、本実施形態では、無線通信装置10j(j=1〜N)のそれぞれが備える処理制御部11が、プリンタ装置20への接続要求に対する応答が肯定応答であった場合に、プリンタ装置20への接続が可能であると判定する。こうして、プリンタ装置20との接続が可能であると判定された場合、処理制御部11が、プリンタ装置20の共同利用のためのネットワークにおける最上位マスタ装置として動作し、プリンタ装置20への接続を希望している少なくとも1つの他の無線通信装置によるプリンタ装置20との接続を制御するための情報を、当該他の無線通信装置に送信する。この結果、最上位マスタ装置となった無線通信装置が、最上位マスタ装置である期間中に、当該他の無線通信装置とプリンタ装置20との接続を管理するサーバ装置として機能するようになる。 As described above, in the present embodiment, when the processing control unit 11 included in each of the wireless communication devices 10 j (j = 1 to N) receives a positive response to the connection request to the printer device 20. It is determined that connection to the printer device 20 is possible. In this way, when it is determined that the connection with the printer device 20 is possible, the processing control unit 11 operates as the highest-level master device in the network for joint use of the printer device 20 and connects to the printer device 20. Information for controlling connection with the printer device 20 by at least one other wireless communication device that is desired is transmitted to the other wireless communication device. As a result, the wireless communication device that has become the highest-level master device functions as a server device that manages the connection between the other wireless communication device and the printer device 20 during the period of being the highest-level master device.

したがって、本実施形態によれば、サーバ装置を別途に用意したり、プリンタ装置20内にサーバ装置の機能を実装したりすることなく、複数の無線通信装置によるプリンタ装置20の共同利用を適切に実現させることができる。   Therefore, according to the present embodiment, the shared use of the printer device 20 by a plurality of wireless communication devices can be appropriately performed without separately preparing a server device or implementing the server device function in the printer device 20. Can be realized.

また、本実施形態では、最上位マスタ装置の処理制御部11が、当該他の無線通信装置のそれぞれについて、プリンタ装置20の利用希望時間、印刷内容、印刷優先度等を含む利用態様情報を取得する。そして、当該処理制御部11が、取得された利用態様情報に基づいて、他の無線通信装置のそれぞれがプリンタ装置20と接続可能となるタイミング及び印刷待ち時間を含む接続タイミング情報を算出し、当該算出された接続タイミング情報を当該他の無線通信装置に送信する。このため、当該他の無線通信装置のそれぞれは、プリンタ装置20と接続可能になるタイミングを知ることができる。   In the present embodiment, the processing control unit 11 of the highest-level master device obtains usage mode information including the desired usage time, printing contents, printing priority, etc. of the printer device 20 for each of the other wireless communication devices. To do. Then, the processing control unit 11 calculates connection timing information including a timing at which each of the other wireless communication devices can connect to the printer device 20 and a printing waiting time, based on the acquired usage mode information, The calculated connection timing information is transmitted to the other wireless communication device. For this reason, each of the other wireless communication devices can know the timing at which the printer device 20 can be connected.

また、本実施形態では、最上位マスタ装置の処理制御部11が、自身の処理負荷状況等に基づいて、下位マスタ装置を選択すべき選択条件を満たしていると判断した場合に、当該他の下位の無線通信装置の中から選択された無線通信装置に下位のマスタとなるべき旨の情報を送信する。このため、プリンタ装置20への接続を希望する他の無線通信装置の数の増大に伴う当該処理制御部11の通信処理負荷の増大を抑制しつつ、当該処理制御部11が、数多くの他の無線通信装置とプリンタ装置20との接続を制御することができる。   Further, in the present embodiment, when the processing control unit 11 of the highest-level master device determines that the selection condition for selecting the lower-level master device is satisfied based on its own processing load status or the like, Information indicating that it should become a lower-level master is transmitted to a radio communication device selected from the lower-level radio communication devices. For this reason, the process control unit 11 suppresses an increase in the communication processing load of the process control unit 11 due to an increase in the number of other wireless communication devices that desire to connect to the printer device 20, and the process control unit 11 can The connection between the wireless communication device and the printer device 20 can be controlled.

また、本実施形態では、最上位マスタ装置の処理制御部11が、プリンタ装置20との接続が終了した後に外部機器との無線通信を切断し、外部機器との無線通信を切断した旨の情報を他の無線通信装置に送信する構成とすることで、最上位のマスタモードとなっている無線通信装置が、最上位のマスタモードの動作を終了したことを知らせることができる。   In the present embodiment, the processing control unit 11 of the highest-level master device disconnects the wireless communication with the external device after the connection with the printer device 20 is finished, and information indicating that the wireless communication with the external device is disconnected. Is transmitted to another wireless communication device, the wireless communication device in the highest master mode can be notified that the operation of the highest master mode has been completed.

また、本実施形態では、無線通信装置10j(j=1〜N)のそれぞれが備える処理制御部11が、プリンタ装置20への接続要求に対する応答が否定応答であった場合に、プリンタ装置20への接続ができないと判定する。こうして、プリンタ装置20との接続ができないと判定された場合、処理制御部11が、プリンタ装置20の共同利用のためのネットワークにおける最上位マスタ装置によりプリンタ装置20との接続を管理される最上位マスタ装置のスレーブ装置となる。このため、プリンタ装置20に対して無駄な接続要求を発行することを防止することができる。 Further, in this embodiment, when the processing control unit 11 included in each of the wireless communication devices 10 j (j = 1 to N) determines that the response to the connection request to the printer device 20 is a negative response, the printer device 20. It is determined that connection to cannot be made. In this way, when it is determined that the connection with the printer device 20 is not possible, the processing control unit 11 is the highest level whose connection with the printer device 20 is managed by the highest level master device in the network for joint use of the printer device 20. It becomes a slave device of the master device. For this reason, it is possible to prevent a useless connection request from being issued to the printer device 20.

また、本実施形態では、無線通信装置がスレーブ装置になっている場合には、最上位マスタ装置による制御のもとで、直近上位マスタ装置と接続される。このため、最上位マスタ装置による制御により、各無線通信装置の処理負荷が過大となることが防止される。   In the present embodiment, when the wireless communication device is a slave device, the wireless communication device is connected to the nearest higher-level master device under the control of the highest-level master device. For this reason, the processing load of each wireless communication device is prevented from being excessively controlled by the control of the highest master device.

また、本実施形態では、無線通信装置が最上位マスタ装置のスレーブ装置としてプリンタ装置20の共同利用のためのネットワークに参加している場合に、次の最上位マスタ装置となるべき旨の情報を受け取った後に、最上位マスタ装置がネットワークから脱退した旨の通知を受信すると、直ちに、プリンタ装置20に対して接続要求を行う。このため、それまで最上位マスタであった無線通信装置が定めた第1位順序の無線通信装置を、プリンタ装置20と接続させるようにできるとともに、ネットワークに参加していなかった無線通信装置が最上位マスタ装置となる蓋然性を抑制することができる。   Further, in the present embodiment, when the wireless communication device participates in a network for joint use of the printer device 20 as a slave device of the highest master device, information indicating that the next highest master device is to be obtained. After receiving the notification that the highest-level master device has withdrawn from the network, it immediately issues a connection request to the printer device 20. Therefore, the wireless communication device in the first order determined by the wireless communication device that has been the highest master until then can be connected to the printer device 20, and the wireless communication device that has not joined the network is the highest. The probability of becoming a higher-level master device can be suppressed.

[実施形態の変形]
本発明は、上記の実施形態に限定されるものではなく、様々な変形が可能である。
[Modification of Embodiment]
The present invention is not limited to the above-described embodiment, and various modifications are possible.

例えば、上記の実施形態では、利用態様情報には、当該利用態様情報を送信した無線通信装置の識別情報、印刷内容、希望印刷優先度及び処理負荷が含まれるようにした。これに対し、希望印刷優先度を省略するようにしてもよいし、無線通信装置のプリンタ装置の利用態様を示す他の情報が含まれるようにしてもよい。   For example, in the above embodiment, the usage mode information includes the identification information of the wireless communication apparatus that has transmitted the usage mode information, the print content, the desired print priority, and the processing load. On the other hand, the desired print priority may be omitted, or other information indicating the usage mode of the printer device of the wireless communication device may be included.

また、上記の実施形態では、利用タイミング情報には、接続タイミング及び印刷待ち時間が含まれるようにした。これに対し、印刷待ち時間を省略してもよいし、無線通信装置の利用者の便宜に資すことができる他の情報が含まれるようにしてもよい。   In the above embodiment, the use timing information includes the connection timing and the print waiting time. On the other hand, the print waiting time may be omitted, or other information that can contribute to the convenience of the user of the wireless communication apparatus may be included.

また、上記の実施形態では、最上位マスタ装置がネットワークから脱退すると、それまで最上位マスタ装置が脱退前に定めた次のネットワーク構成のネットワークを構築するようにした。これに対し、最上位マスタ装置は、ネットワークからの脱退に先立って次のネットワーク構成を定めず、次のネットワーク構成のネットワークの構築を行わないようにしてもよい。この場合には、次のネットワーク構成のネットワークの構築に関連する処理を省略することができる。   In the above embodiment, when the highest-level master device withdraws from the network, the network having the next network configuration determined before the withdrawal by the highest-level master device is constructed. On the other hand, the highest-level master device may not determine the next network configuration prior to withdrawal from the network and may not construct a network having the next network configuration. In this case, processing related to the construction of the network having the next network configuration can be omitted.

なお、かかる変形例の無線通信装置における動作モードの遷移態様が図16に示されている。この図16と上述した図6とを比べて分かるように、この変形例の場合には、第2スレーブモード及び下位マスタモードから第1スレーブモードへの遷移、第2スレーブモード及び待機モードから最上位マスタモードへの遷移、及び、待機モードから第2スレーブモードへの遷移が発生しないようになっている。   FIG. 16 shows a transition mode of the operation mode in the wireless communication apparatus according to the modification. As can be seen by comparing FIG. 16 with FIG. 6 described above, in the case of this modification, the transition from the second slave mode and the lower master mode to the first slave mode, the second slave mode and the standby mode to the first mode. The transition to the higher master mode and the transition from the standby mode to the second slave mode do not occur.

また、上記の実施形態では、最上位マスタ装置として動作する無線通信装置とプリンタ装置との通信接続が切断されると、スレーブ装置として動作する無線通信装置は、自動的にプリンタ装置に接続要求を発行するようにしたが、当該無線通信装置が備える不図示の表示部に切断した旨の情報を表示し、この情報を見たユーザが入力部に印刷指令を入力して手動で接続要求を発行するようにしてもよい。
また、上記の実施形態では、複数の無線通信装置により共同利用される装置をプリンタ装置としたが、複数の無線通信装置がプリンタ装置以外の装置を共同利用する場合にも本発明を適用することができる。
Further, in the above embodiment, when the communication connection between the wireless communication device that operates as the highest-level master device and the printer device is disconnected, the wireless communication device that operates as the slave device automatically issues a connection request to the printer device. Although it is issued, information indicating that the wireless communication apparatus is disconnected is displayed on the display unit (not shown), and the user who sees this information inputs a print command to the input unit and issues a connection request manually. You may make it do.
In the above embodiment, the printer device is a device that is shared by a plurality of wireless communication devices. However, the present invention is also applied to a case where a plurality of wireless communication devices share a device other than the printer device. Can do.

また、上記の実施形態では、Bluetooth通信規格に従って無線通信を行う無線通信装置について本発明を適用したが、Bluetooth通信規格以外の通信プロトコルに従って無線通信を行う無線通信装置についても、適宜、本発明を適用することができる。   In the above embodiment, the present invention is applied to a wireless communication device that performs wireless communication in accordance with the Bluetooth communication standard. However, the present invention is also appropriately applied to a wireless communication device that performs wireless communication in accordance with a communication protocol other than the Bluetooth communication standard. Can be applied.

以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。
付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
The invention described in the scope of claims attached to the application of this application will be added below.
The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.

[付記]
<請求項1>
外部機器と無線通信により接続を行なう無線通信装置であって、
前記外部機器との接続が可能か否かを判定する判定手段と、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段と、
を備えたことを特徴とする無線通信装置。
<請求項2>
前記情報送信手段は、
前記他の無線通信装置と前記外部機器との接続をアドバイスする接続アドバイス情報を前記他の無線通信装置に送信する、
ことを特徴とする請求項1に記載の無線通信装置。
<請求項3>
前記情報送信手段は、
前記接続アドバイス情報として、前記他の無線通信装置が前記外部機器と接続可能となるタイミングを示す接続タイミング情報を算出し、
前記算出された接続タイミング情報を前記他の無線通信装置に送信する、
ことを特徴とする請求項2に記載の無線通信装置。
<請求項4>
前記最上位マスタモードになっている場合に、前記他の無線通信装置のそれぞれから、前記外部機器の利用希望時間を含む利用態様情報を取得する利用態様情報取得手段を更に備え、
前記情報送信手段は、前記利用態様情報取得手段により取得された利用態様情報に基づいて、前記他の無線通信装置のそれぞれと前記外部機器との接続を制御するための情報を前記他の無線通信装置に送信する、
ことを特徴とする請求項2又は3に記載の無線通信装置。
<請求項5>
前記利用態様情報には、前記外部機器との接続優先度が更に含まれる、ことを特徴とする請求項4に記載の無線通信装置。
<請求項6>
前記情報送信手段は、
前記接続アドバイス情報として、前記他の無線通信装置のそれぞれが前記外部機器と接続可能となる順番を示す接続順番情報を前記他の無線通信装置に送信する、
ことを特徴とする請求項5に記載の無線通信装置。
<請求項7>
前記情報送信手段は、前記最上位マスタモードとなっており、かつ、下位のマスタ選択条件を満たした場合に、下位の無線通信装置の中から選択された無線通信装置に、下位のマスタとなるべき旨の情報を送信する、ことを特徴とする請求項1から6の何れか一項に記載の無線通信装置。
<請求項8>
前記情報送信手段は、前記外部機器との接続が終了した後に、前記外部機器との無線通信を切断する旨の情報を前記他の無線通信装置に送信する、ことを特徴とする請求項1から7の何れか一項に記載の無線通信装置。
<請求項9>
前記モード制御手段は、前記判定手段により、前記外部機器との接続が可能ではないと判定された場合、当該無線通信装置を、前記外部機器との接続に関するスレーブとして動作するスレーブモードにする、ことを特徴とする請求項1から8の何れか一項に記載の無線通信装置。
<請求項10>
前記スレーブモードになっている場合、直近上位マスタとされている無線通信装置と接続する接続制御手段を備えていることを特徴とする請求項9に記載の無線通信装置。
<請求項11>
前記スレーブモードになっている場合に、前記最上位マスタの無線通信装置から前記外部機器との無線通信を切断した旨の情報を受け取ると、前記接続制御手段は、前記スレーブモードを解除した後、前記外部機器に対して接続要求を行う、ことを特徴とする請求項9又は10に記載の無線通信装置。
<請求項12>
前記最上位マスタの無線通信装置から次の最上位マスタとなるべき旨の情報を受け取った後に、前記最上位マスタの無線通信装置から前記外部機器との無線通信を切断した旨の情報を受け取ると、前記接続制御手段は、直ちに、前記外部機器に対して接続要求を行う、ことを特徴とする請求項10に記載の無線通信装置。
<請求項13>
外部機器と無線通信により接続を行なう無線通信装置の接続方法であって、
前記外部機器との接続が可能か否かを判定する判定ステップと、
前記判定ステップにおいて前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御ステップと、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信ステップと、
を含むことを特徴とする無線通信装置の接続方法。
<請求項14>
外部機器と無線通信により接続を行なう無線通信装置のコンピュータを、
前記外部機器との接続が可能か否かを判定する判定手段、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段、及び、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段、
として機能させることを特徴とするプログラム。
[Appendix]
<Claim 1>
A wireless communication device for connecting to an external device by wireless communication,
Determining means for determining whether or not connection with the external device is possible;
When the determination means determines that connection with the external device is possible, mode control means for setting the wireless communication apparatus to a highest master mode that operates as the highest master for connection with the external device; ,
When in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Information transmitting means for transmitting to
A wireless communication apparatus comprising:
<Claim 2>
The information transmitting means includes
Transmitting connection advice information for advising connection between the other wireless communication device and the external device to the other wireless communication device;
The wireless communication apparatus according to claim 1.
<Claim 3>
The information transmitting means includes
As the connection advice information, calculating connection timing information indicating a timing at which the other wireless communication device can connect to the external device,
Transmitting the calculated connection timing information to the other wireless communication device;
The wireless communication apparatus according to claim 2.
<Claim 4>
When it is in the highest master mode, it further comprises usage mode information acquisition means for acquiring usage mode information including a desired usage time of the external device from each of the other wireless communication devices,
The information transmitting unit transmits information for controlling connection between each of the other wireless communication devices and the external device based on the usage mode information acquired by the usage mode information acquiring unit. Send to device,
The wireless communication apparatus according to claim 2, wherein the wireless communication apparatus is a wireless communication apparatus.
<Claim 5>
The wireless communication apparatus according to claim 4, wherein the usage mode information further includes a connection priority with the external device.
<Claim 6>
The information transmitting means includes
As the connection advice information, the connection order information indicating the order in which each of the other wireless communication devices can be connected to the external device is transmitted to the other wireless communication device.
The wireless communication apparatus according to claim 5.
<Claim 7>
The information transmission means becomes the lower-level master in the wireless communication device selected from the lower-level wireless communication devices when in the highest master mode and satisfies the lower-level master selection condition The wireless communication device according to any one of claims 1 to 6, wherein information indicating power is transmitted.
<Claim 8>
The information transmission means transmits information indicating that wireless communication with the external device is disconnected to the other wireless communication device after the connection with the external device is completed. The wireless communication device according to any one of 7.
<Claim 9>
The mode control means, when the determination means determines that connection with the external device is not possible, sets the wireless communication device to a slave mode that operates as a slave related to connection with the external device. The wireless communication apparatus according to any one of claims 1 to 8, wherein:
<Claim 10>
The wireless communication apparatus according to claim 9, further comprising a connection control unit that connects to a wireless communication apparatus that is the latest higher-order master in the slave mode.
<Claim 11>
When receiving information indicating that wireless communication with the external device has been disconnected from the highest-level master wireless communication device in the slave mode, the connection control means, after releasing the slave mode, The wireless communication apparatus according to claim 9 or 10, wherein a connection request is made to the external device.
<Claim 12>
After receiving information indicating that it should be the next highest master from the wireless communication device of the highest master, and receiving information indicating that wireless communication with the external device has been disconnected from the wireless communication device of the highest master. The wireless communication apparatus according to claim 10, wherein the connection control unit immediately issues a connection request to the external device.
<Claim 13>
A method of connecting a wireless communication device for connecting to an external device by wireless communication,
A determination step of determining whether or not connection with the external device is possible;
When it is determined that the connection with the external device is possible in the determination step, the mode control step for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device;
When in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. An information sending step to send to
A method for connecting a wireless communication apparatus, comprising:
<Claim 14>
A computer of a wireless communication device that connects to an external device by wireless communication,
Determination means for determining whether or not connection with the external device is possible,
When the determination means determines that the connection with the external device is possible, the mode control means for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device, as well as,
When in the highest master mode, information for supporting the connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Information transmitting means for transmitting,
A program characterized by functioning as

10 無線通信装置
11 処理制御部(判定手段、モード制御手段、接続制御手段)
20 プリンタ装置(外部機器)
10 wireless communication device 11 processing control unit (determination means, mode control means, connection control means)
20 Printer device (external device)

Claims (15)

外部機器と無線通信により接続を行なう無線通信装置であって、
前記外部機器との接続が可能か否かを判定する判定手段と、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をアドバイスする接続アドバイス情報を前記他の無線通信装置に送信する情報送信手段と、を備え、
前記情報送信手段は、
前記接続アドバイス情報として、前記他の無線通信装置が前記外部機器と接続可能となるタイミングを示す接続タイミング情報を算出し、
前記算出された接続タイミング情報を前記他の無線通信装置に送信する、
とを特徴とする無線通信装置。
A wireless communication device for connecting to an external device by wireless communication,
Determining means for determining whether or not connection with the external device is possible;
When the determination means determines that connection with the external device is possible, mode control means for setting the wireless communication apparatus to a highest master mode that operates as the highest master for connection with the external device; ,
When in the highest master mode, connection advice information for advising the connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. and a data transmitting means for transmitting to,
The information transmitting means includes
As the connection advice information, calculating connection timing information indicating a timing at which the other wireless communication device can connect to the external device,
Transmitting the calculated connection timing information to the other wireless communication device;
Wireless communication device comprising a call.
外部機器と無線通信により接続を行なう無線通信装置であって、
前記外部機器との接続が可能か否かを判定する判定手段と、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をアドバイスする接続アドバイス情報を前記他の無線通信装置に送信する情報送信手段と、
前記最上位マスタモードになっている場合に、前記他の無線通信装置のそれぞれから、前記外部機器の利用希望時間を含む利用態様情報を取得する利用態様情報取得手段と、を備え、
前記情報送信手段は、前記利用態様情報取得手段により取得された利用態様情報に基づいて、前記他の無線通信装置のそれぞれと前記外部機器との接続を制御するための情報を前記他の無線通信装置に送信する、
ことを特徴とする無線通信装置。
A wireless communication device for connecting to an external device by wireless communication,
Determining means for determining whether or not connection with the external device is possible;
When the determination means determines that connection with the external device is possible, mode control means for setting the wireless communication apparatus to a highest master mode that operates as the highest master for connection with the external device; ,
When in the highest master mode, connection advice information for advising the connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Information transmitting means for transmitting to
Wherein if it has been uppermost master mode, from each of the other wireless communication device, Bei example and a use mode information acquiring means for acquiring usage mode information including the desired usage time of the external device,
The information transmitting unit transmits information for controlling connection between each of the other wireless communication devices and the external device based on the usage mode information acquired by the usage mode information acquiring unit. Send to device,
Radio communications device you wherein a.
前記利用態様情報には、前記外部機器との接続優先度が更に含まれる、ことを特徴とする請求項に記載の無線通信装置。 The wireless communication apparatus according to claim 2 , wherein the usage mode information further includes a connection priority with the external device. 前記情報送信手段は、
前記接続アドバイス情報として、前記他の無線通信装置のそれぞれが前記外部機器と接続可能となる順番を示す接続順番情報を前記他の無線通信装置に送信する、
ことを特徴とする請求項に記載の無線通信装置。
The information transmitting means includes
As the connection advice information, the connection order information indicating the order in which each of the other wireless communication devices can be connected to the external device is transmitted to the other wireless communication device.
The wireless communication apparatus according to claim 3 .
外部機器と無線通信により接続を行なう無線通信装置であって、
前記外部機器との接続が可能か否かを判定する判定手段と、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段と、を備え、
前記情報送信手段は、前記最上位マスタモードとなっており、かつ、下位のマスタ選択条件を満たした場合に、下位の無線通信装置の中から選択された無線通信装置に、下位のマスタとなるべき旨の情報を送信する、
ことを特徴とする無線通信装置。
A wireless communication device for connecting to an external device by wireless communication,
Determining means for determining whether or not connection with the external device is possible;
When the determination means determines that connection with the external device is possible, mode control means for setting the wireless communication apparatus to a highest master mode that operates as the highest master for connection with the external device; ,
When in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Information transmitting means for transmitting to
The information transmission means becomes the lower-level master in the wireless communication device selected from the lower-level wireless communication devices when in the highest master mode and satisfies the lower-level master selection condition Send information to the effect,
Radio communications device you wherein a.
外部機器と無線通信により接続を行なう無線通信装置であって、
前記外部機器との接続が可能か否かを判定する判定手段と、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段と、を備え、
前記情報送信手段は、前記外部機器との接続が終了した後に、前記外部機器との無線通信を切断する旨の情報を前記他の無線通信装置に送信する、
ことを特徴とする無線通信装置。
A wireless communication device for connecting to an external device by wireless communication,
Determining means for determining whether or not connection with the external device is possible;
When the determination means determines that connection with the external device is possible, mode control means for setting the wireless communication apparatus to a highest master mode that operates as the highest master for connection with the external device; ,
When in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Information transmitting means for transmitting to
The information transmitting means transmits information indicating that wireless communication with the external device is disconnected to the other wireless communication device after the connection with the external device is completed.
Radio communications device you wherein a.
外部機器と無線通信により接続を行なう無線通信装置であって、
前記外部機器との接続が可能か否かを判定する判定手段と、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段と、を備え、
前記モード制御手段は、前記判定手段により、前記外部機器との接続が可能ではないと判定された場合、当該無線通信装置を、前記外部機器との接続に関するスレーブとして動作するスレーブモードにし、
前記スレーブモードになっている場合、直近上位マスタとされている無線通信装置と接続する接続制御手段を更に備えた、
ことを特徴とする無線通信装置。
A wireless communication device for connecting to an external device by wireless communication,
Determining means for determining whether or not connection with the external device is possible;
When the determination means determines that connection with the external device is possible, mode control means for setting the wireless communication apparatus to a highest master mode that operates as the highest master for connection with the external device; ,
When in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Information transmitting means for transmitting to
The mode control means, when it is determined by the determination means that the connection with the external device is not possible, the wireless communication device is set to a slave mode that operates as a slave related to the connection with the external device ,
When in the slave mode, further comprising a connection control means for connecting to a wireless communication device that is the latest upper master,
Radio communications device you wherein a.
外部機器と無線通信により接続を行なう無線通信装置であって、
前記外部機器との接続が可能か否かを判定する判定手段と、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段と、を備え、
前記モード制御手段は、前記判定手段により、前記外部機器との接続が可能ではないと判定された場合、当該無線通信装置を、前記外部機器との接続に関するスレーブとして動作するスレーブモードにし、
前記スレーブモードになっている場合に、前記最上位マスタの無線通信装置から前記外部機器との無線通信を切断した旨の情報を受け取ると、前記スレーブモードを解除した後、前記外部機器に対して接続要求を行う接続制御手段を更に備えた
ことを特徴とする無線通信装置。
A wireless communication device for connecting to an external device by wireless communication,
Determining means for determining whether or not connection with the external device is possible;
When the determination means determines that connection with the external device is possible, mode control means for setting the wireless communication apparatus to a highest master mode that operates as the highest master for connection with the external device; ,
When in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Information transmitting means for transmitting to
The mode control means, when it is determined by the determination means that the connection with the external device is not possible, the wireless communication device is set to a slave mode that operates as a slave related to the connection with the external device,
If that is the slave mode, the if the wireless communication device the topmost master receives the information of the disconnect the wireless communication with the external device, after releasing the previous SL slave mode, with respect to the external device Further comprising connection control means for making a connection request.
Radio communications device you wherein a.
外部機器と無線通信により接続を行なう無線通信装置であって、
前記外部機器との接続が可能か否かを判定する判定手段と、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段と、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段と、を備え、
前記モード制御手段は、前記判定手段により、前記外部機器との接続が可能ではないと判定された場合、当該無線通信装置を、前記外部機器との接続に関するスレーブとして動作するスレーブモードにし、
前記スレーブモードになっている場合に、前記最上位マスタの無線通信装置から次の最上位マスタとなるべき旨の情報を受け取った後に、前記最上位マスタの無線通信装置から前記外部機器との無線通信を切断した旨の情報を受け取ると、直ちに、前記外部機器に対して接続要求を行う接続制御手段を更に備えた
ことを特徴とする無線通信装置。
A wireless communication device for connecting to an external device by wireless communication,
Determining means for determining whether or not connection with the external device is possible;
When the determination means determines that connection with the external device is possible, mode control means for setting the wireless communication apparatus to a highest master mode that operates as the highest master for connection with the external device; ,
When in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Information transmitting means for transmitting to
The mode control means, when it is determined by the determination means that the connection with the external device is not possible, the wireless communication device is set to a slave mode that operates as a slave related to the connection with the external device,
In the slave mode, after receiving information indicating that it should become the next highest master from the highest master wireless communication device, the wireless communication with the external device is performed from the highest master wireless communication device. Upon receiving the information of the disconnect the communication, immediately, further comprising connection control means for a connection request to the external device,
Radio communications device you wherein a.
外部機器と無線通信により接続を行なう無線通信装置の接続方法であって、
前記外部機器との接続が可能か否かを判定する判定ステップと、
前記判定ステップにおいて前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御ステップと、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をアドバイスする接続アドバイス情報を前記他の無線通信装置に送信する情報送信ステップと、を含み、
前記情報送信ステップは、
前記接続アドバイス情報として、前記他の無線通信装置が前記外部機器と接続可能となるタイミングを示す接続タイミング情報を算出し、
前記算出された接続タイミング情報を前記他の無線通信装置に送信する、
とを特徴とする無線通信装置の接続方法。
A method of connecting a wireless communication device for connecting to an external device by wireless communication,
A determination step of determining whether or not connection with the external device is possible;
When it is determined that the connection with the external device is possible in the determination step, the mode control step for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device;
When in the highest master mode, connection advice information for advising the connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. anda information transmission step of transmitting to,
The information transmission step includes
As the connection advice information, calculating connection timing information indicating a timing at which the other wireless communication device can connect to the external device,
Transmitting the calculated connection timing information to the other wireless communication device;
Connection method of the wireless communication device comprising a call.
外部機器と無線通信により接続を行なう無線通信装置の接続方法であって、A method of connecting a wireless communication device for connecting to an external device by wireless communication,
前記外部機器との接続が可能か否かを判定する判定ステップと、A determination step of determining whether or not connection with the external device is possible;
前記判定ステップにおいて前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御ステップと、When it is determined that the connection with the external device is possible in the determination step, the mode control step for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device;
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信ステップと、を含み、When in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. An information transmission step for transmitting to
前記情報送信ステップは、前記最上位マスタモードとなっており、かつ、下位のマスタ選択条件を満たした場合に、下位の無線通信装置の中から選択された無線通信装置に、下位のマスタとなるべき旨の情報を送信する、The information transmission step becomes the lower-level master in the wireless communication device selected from the lower-level wireless communication devices when the upper-level master mode is satisfied and the lower-level master selection condition is satisfied. Send information to the effect,
ことを特徴とする無線通信装置の接続方法。A wireless communication apparatus connection method.
外部機器と無線通信により接続を行なう無線通信装置の接続方法であって、A method of connecting a wireless communication device for connecting to an external device by wireless communication,
前記外部機器との接続が可能か否かを判定する判定ステップと、A determination step of determining whether or not connection with the external device is possible;
前記判定ステップにおいて前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御ステップと、When it is determined that the connection with the external device is possible in the determination step, the mode control step for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device;
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他の無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信ステップと、を含み、When in the highest master mode, information for supporting connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. An information transmission step for transmitting to
前記情報送信ステップは、前記外部機器との接続が終了した後に、前記外部機器との無線通信を切断する旨の情報を前記他の無線通信装置に送信する、The information transmission step transmits information indicating that wireless communication with the external device is disconnected to the other wireless communication device after the connection with the external device is completed.
ことを特徴とする無線通信装置の接続方法。A wireless communication apparatus connection method.
外部機器と無線通信により接続を行なう無線通信装置のコンピュータを、
前記外部機器との接続が可能か否かを判定する判定手段、
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段、及び、
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他無線通信装置と前記外部機器との接続をアドバイスする接続アドバイス情報を前記他の無線通信装置に送信する情報送信手段、として機能させ、
前記情報送信手段は、
前記接続アドバイス情報として、前記他の無線通信装置が前記外部機器と接続可能となるタイミングを示す接続タイミング情報を算出し、
前記算出された接続タイミング情報を前記他の無線通信装置に送信する、
とを特徴とするプログラム。
A computer of a wireless communication device that connects to an external device by wireless communication,
Determination means for determining whether or not connection with the external device is possible,
When the determination means determines that the connection with the external device is possible, the mode control means for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device, as well as,
When in the highest master mode, connection advice information that advises connection between the external device and at least one other wireless communication device that desires connection to the external device is sent to the other wireless communication device. Function as an information transmission means to transmit ,
The information transmitting means includes
As the connection advice information, calculating connection timing information indicating a timing at which the other wireless communication device can connect to the external device,
Transmitting the calculated connection timing information to the other wireless communication device;
Program which is characterized a call.
外部機器と無線通信により接続を行なう無線通信装置のコンピュータを、A computer of a wireless communication device that connects to an external device by wireless communication,
前記外部機器との接続が可能か否かを判定する判定手段、Determination means for determining whether or not connection with the external device is possible,
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段、及び、When the determination means determines that the connection with the external device is possible, the mode control means for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device, as well as,
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段、として機能させ、When in the highest master mode, information for supporting the connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Function as an information transmission means to transmit,
前記情報送信手段は、前記最上位マスタモードとなっており、かつ、下位のマスタ選択条件を満たした場合に、下位の無線通信装置の中から選択された無線通信装置に、下位のマスタとなるべき旨の情報を送信する、The information transmission means becomes the lower-level master in the wireless communication device selected from the lower-level wireless communication devices when in the highest master mode and satisfies the lower-level master selection condition Send information to the effect,
ことを特徴とするプログラム。A program characterized by that.
外部機器と無線通信により接続を行なう無線通信装置のコンピュータを、A computer of a wireless communication device that connects to an external device by wireless communication,
前記外部機器との接続が可能か否かを判定する判定手段、Determination means for determining whether or not connection with the external device is possible,
前記判定手段により、前記外部機器との接続が可能であると判定された場合、当該無線通信装置を、前記外部機器との接続に関する最上位マスタとして動作する最上位マスタモードにするモード制御手段、及び、When the determination means determines that the connection with the external device is possible, the mode control means for setting the wireless communication device to the highest master mode that operates as the highest master for connection with the external device, as well as,
前記最上位マスタモードになっている場合、前記外部機器への接続を希望している少なくとも1つの他無線通信装置と前記外部機器との接続をサポートするための情報を前記他の無線通信装置に送信する情報送信手段、として機能させ、When in the highest master mode, information for supporting the connection between the external device and at least one other wireless communication device desiring to connect to the external device is sent to the other wireless communication device. Function as an information transmission means to transmit,
前記情報送信手段は、前記外部機器との接続が終了した後に、前記外部機器との無線通信を切断する旨の情報を前記他の無線通信装置に送信する、The information transmitting means transmits information indicating that wireless communication with the external device is disconnected to the other wireless communication device after the connection with the external device is completed.
ことを特徴とするプログラム。A program characterized by that.
JP2014115802A 2014-06-04 2014-06-04 Wireless communication apparatus, wireless communication apparatus connection method, and program Active JP6354348B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014115802A JP6354348B2 (en) 2014-06-04 2014-06-04 Wireless communication apparatus, wireless communication apparatus connection method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014115802A JP6354348B2 (en) 2014-06-04 2014-06-04 Wireless communication apparatus, wireless communication apparatus connection method, and program

Publications (2)

Publication Number Publication Date
JP2015231099A JP2015231099A (en) 2015-12-21
JP6354348B2 true JP6354348B2 (en) 2018-07-11

Family

ID=54887694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014115802A Active JP6354348B2 (en) 2014-06-04 2014-06-04 Wireless communication apparatus, wireless communication apparatus connection method, and program

Country Status (1)

Country Link
JP (1) JP6354348B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020039080A (en) * 2018-09-05 2020-03-12 株式会社Nttドコモ Local network system and communication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009071657A (en) * 2007-09-14 2009-04-02 Ricoh Co Ltd Communication device and communication method
JP2014030168A (en) * 2012-06-27 2014-02-13 Murata Mach Ltd Relay communication system and relay communication device
JP6171297B2 (en) * 2012-09-28 2017-08-02 ブラザー工業株式会社 Wireless communication device

Also Published As

Publication number Publication date
JP2015231099A (en) 2015-12-21

Similar Documents

Publication Publication Date Title
US9210732B2 (en) Wireless communication device registration in a wireless network
US9176698B2 (en) Wireless communication apparatus
EP2519037B1 (en) Method and network for sharing sensor data among mobile terminals
US9226328B2 (en) Communication apparatus
US9398627B2 (en) Communication apparatus
JP2015106798A (en) Communication device, communication system, control method and program of communication device
JP2020039104A (en) Terminal device, communication system, and program
EP3496337B1 (en) Method and device for resetting network device to factory settings, and network device
JP6354348B2 (en) Wireless communication apparatus, wireless communication apparatus connection method, and program
JP2020068464A (en) Communication device, control method of the same, and program
US8166199B2 (en) Communication apparatus, network system, communication method and program
EP2924955B1 (en) Apparatus, communication control system, and communication control method
US11393467B2 (en) Electronic device, control method, and storage medium
JP4492722B2 (en) Wireless communication apparatus and wireless communication system
JP6365594B2 (en) Wireless communication device
JP6745935B1 (en) Slave connection switching device and slave connection switching method
JP2013105394A (en) System control device, system control method, and program
JP5969888B2 (en) Wireless communication terminal, wireless communication method, and program
JP6289548B2 (en) Device, control method thereof, and program
JP7435860B2 (en) wireless communication device
JP7302215B2 (en) Connection management device
JP4440009B2 (en) Communication apparatus and communication method
JP2018191146A (en) Information processing unit, information processing method and program
JP7353775B2 (en) Communication device, control method and program for communication device
US10938645B2 (en) Communication apparatus and control method to create wireless network to communicate with another communication apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180419

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180515

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180528

R150 Certificate of patent or registration of utility model

Ref document number: 6354348

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150