JPWO2005034434A1 - COMMUNICATION DEVICE, OPERATION MODE STARTING METHOD FOR THE DEVICE, COMMUNICATION METHOD, COMMUNICATION SYSTEM, PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM - Google Patents

COMMUNICATION DEVICE, OPERATION MODE STARTING METHOD FOR THE DEVICE, COMMUNICATION METHOD, COMMUNICATION SYSTEM, PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM Download PDF

Info

Publication number
JPWO2005034434A1
JPWO2005034434A1 JP2005514456A JP2005514456A JPWO2005034434A1 JP WO2005034434 A1 JPWO2005034434 A1 JP WO2005034434A1 JP 2005514456 A JP2005514456 A JP 2005514456A JP 2005514456 A JP2005514456 A JP 2005514456A JP WO2005034434 A1 JPWO2005034434 A1 JP WO2005034434A1
Authority
JP
Japan
Prior art keywords
master station
communication
function
station
information
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.)
Pending
Application number
JP2005514456A
Other languages
Japanese (ja)
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Publication of JPWO2005034434A1 publication Critical patent/JPWO2005034434A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

自装置を親局として機能させるための親局機能制御部(17)と、自装置を子局として機能させるための子局機能制御部(19)と、親局機能制御部(17)を機能させて自装置を親局として動作させるAP固定モード、子局機能制御部(19)を機能させて自装置を子局として動作させるSTA固定モード、および、親局機能制御部(17)または子局機能制御部(19)の何れかを機能させて自装置を親局または子局の何れかで動作させるAP/STAモードのうち少なくとも1つ以上の動作モードを有し、何れかの動作モードが記憶された端末機能情報記憶部(23)と、端末機能情報記憶部(23)に記憶されている動作モードを判定するモード判定部(22)と、モード判定部(22)が判定した動作モードに基づいて自装置の動作を制御するモード制御部(21)とを備える。Functions as a master station function control section (17) for causing the own apparatus to function as a master station, a slave station function control section (19) for causing the own apparatus to function as a slave station, and a master station function control section (17). The AP fixed mode in which the own device operates as a master station, the STA fixed mode in which the slave station function control unit (19) functions to operate as the slave station, and the master station function control unit (17) or child There is at least one operation mode among AP / STA modes in which any one of the station function control units (19) is operated to operate the own apparatus in either the master station or the slave station. Is stored in the terminal function information storage unit (23), the mode determination unit (22) for determining the operation mode stored in the terminal function information storage unit (23), and the operation determined by the mode determination unit (22). Based on the mode Controlling the mode control unit and a (21).

Description

本発明は、複数の通信装置から構成される通信システムにおいて、所定の能力を備えた通信装置を親局として選択する通信装置、該通信装置の動作モード起動方法、通信方法、通信システム、プログラム、および、該プログラムを記録した記録媒体に関する。  The present invention relates to a communication apparatus configured to select a communication apparatus having a predetermined capability as a master station in a communication system including a plurality of communication apparatuses, an operation mode activation method of the communication apparatus, a communication method, a communication system, a program, The present invention also relates to a recording medium on which the program is recorded.

無線ネットワークは、一般に定期的にビーコンを送信する親局と、それを受信する子局とから構成されている。そして、このような無線ネットワークにおいては、各無線通信装置が親局あるいは子局のいずれとして動作するのかを自動的に決定する技術の一つとして、アドホックネットワーク技術が知られている。  The wireless network is generally composed of a master station that periodically transmits a beacon and a slave station that receives the beacon. In such a wireless network, an ad hoc network technique is known as one of techniques for automatically determining whether each wireless communication apparatus operates as a master station or a slave station.

例えば、IEEE802.11規格の無線通信装置は、無線通信装置の動作モードとして、アドホックモードであるIBSS(Independent Basic Service Set)モードと、インフラストラクチャモードであるBSS(Basic Service Set)モードとの2種類のモードを備えている。ここで、無線通信装置の動作モードが上記IBSSモードの場合は、無線通信装置の参加や離脱があっても通信を継続できるように、参加する無線通信装置は持ちまわりで親局の機能を果たす。一方、無線通信装置の動作モードが上記BSSモードの場合は、親局の機能は持ちまわらず特定の機器を事前にユーザが親局に固定しておくことになる。後者の場合には、有線ネットワークにも接続される装置が通常親局として選ばれる。  For example, the wireless communication device of the IEEE 802.11 standard has two types of operation modes of the wireless communication device: an IBSS (Independent Basic Service Set) mode that is an ad hoc mode and a BSS (Basic Service Set) mode that is an infrastructure mode. It has a mode. Here, when the operation mode of the wireless communication device is the IBSS mode, the participating wireless communication device carries out the function of the master station around it so that communication can be continued even if the wireless communication device joins or leaves. . On the other hand, when the operation mode of the wireless communication apparatus is the BSS mode, the user does not have the function of the master station and the user fixes a specific device to the master station in advance. In the latter case, a device that is also connected to the wired network is usually selected as the master station.

ここで、例えば新たな無線通信装置を無線ネットワークに参加させる場合、ユーザは、この無線通信装置の動作モードの設定、および、この無線通信装置がBSSモードで動作する際には親局または子局の設定を、その都度行う必要がある。  Here, for example, when joining a new wireless communication device to the wireless network, the user sets the operation mode of the wireless communication device, and when the wireless communication device operates in the BSS mode, Must be set each time.

そこで、特許文献1(特開2002−330142号公報(公開日:平成14年11月15日))には、上記ユーザによる設定の手間を省くため、近隣にBSSモードで動作する親局がいる場合には該BSSモードで動作する親局の子局として、近隣にBSSモードで動作する親局がいない場合には、IBSSモードで動作するか、あるいは、自身が親局となってBSSモードで動作するように、無線通信装置自身が自律的に設定を行う技術が開示されている。  Therefore, in Patent Document 1 (Japanese Patent Laid-Open No. 2002-330142 (publication date: November 15, 2002)), there is a master station that operates in the BSS mode in the vicinity in order to save the user from setting time. In this case, as a slave station of the master station that operates in the BSS mode, when there is no master station that operates in the BSS mode in the vicinity, the master station operates in the IBSS mode, or the mobile station itself becomes the master station in the BSS mode. A technique has been disclosed in which a wireless communication device itself makes settings autonomously so as to operate.

また、特許文献2(特開2003−110572号公報(公開日:平成15年4月11日))には、近隣にBSSモードで動作する親局がいるときには通信チャネルを変更し、この通信チャネルの変更により近隣に親局がいない通信チャネルを見つけた場合に、その通信チャネルにおいて親局として動作するように無線通信装置自身が設定を行う技術が開示されている。なお、これと同様の技術は、IEEE802.15.3におけるneighbor piconetの構成方法にも示唆されている。  Further, in Patent Document 2 (Japanese Patent Laid-Open No. 2003-110572 (publication date: April 11, 2003)), when there is a master station operating in the BSS mode in the vicinity, the communication channel is changed. A technique is disclosed in which when a communication channel having no parent station in the vicinity is found due to the change of the wireless communication apparatus, the wireless communication apparatus itself performs setting so as to operate as the parent station in the communication channel. A technique similar to this is also suggested in the configuration method of the neighbor piconet in IEEE 802.15.3.

さらに、特許文献3(特開平10−145276号公報(公開日:平成10年5月29日))には、親局はビーコンを送信し続けるために子局よりも消費電力が大きくなる点に着目し、最も電力に余裕のある無線通信装置を親局に選択する技術が開示されている。  Furthermore, in Patent Document 3 (Japanese Patent Laid-Open No. 10-145276 (publication date: May 29, 1998)), since the master station continues to transmit beacons, the power consumption is larger than that of the slave stations. Attention is paid to a technique for selecting a radio communication apparatus having the most power margin as a master station.

また、特許文献4(特開平8−298687号公報(公開日:平成8年11月12日))には、通信装置にセットされた動作モードを判断し、近隣の通信装置内から1番優先度の高い動作モードを持つ無線通信装置を親局に選択する技術も開示されている。なお、これと同様の技術は、IEEE802.15.3の規格にも示唆されている。  Further, in Patent Document 4 (Japanese Patent Laid-Open No. 8-298687 (publication date: November 12, 1996)), the operation mode set in the communication device is determined, and the first priority is given to the neighboring communication devices. A technique for selecting a wireless communication apparatus having a high operation mode as a master station is also disclosed. A technique similar to this is also suggested in the IEEE 802.15.3 standard.

このように、上記特許文献1から4に開示された無線通信装置の動作内容(IBSS/BSSと親局/子局)の決定に関する技術は、いずれも無線通信装置が起動したときか、あるいは、通信装置が無線ネットワークに参加したときを念頭においた技術である。また、親局が無線ネットワークから離脱したときに代わりの親局を選定する技術については、IEEE802.15.3の規格に示唆されている。  As described above, the techniques relating to the determination of the operation content (IBSS / BSS and the master / slave station) of the wireless communication device disclosed in Patent Documents 1 to 4 are either when the wireless communication device is activated, or This is a technology that takes into account when a communication device participates in a wireless network. A technique for selecting an alternative master station when the master station leaves the wireless network is suggested in the IEEE 802.15.3 standard.

ところで、IEEE802.11に代表される従来の無線ネットワーク技術は、通信の信頼性や後述する通信品質(Quality of Service(以下、QoSとも称する))については保証しない、いわゆるベストエフォート型の通信機能を提供している。  By the way, the conventional wireless network technology represented by IEEE 802.11 has a so-called best-effort communication function that does not guarantee communication reliability and communication quality (Quality of Service (hereinafter also referred to as QoS)) described later. providing.

しかしながら、デジタル放送やデータストリーミング等のマルチメディアデータのリアルタイム伝送においては、伝送誤り率や遅延および遅延分散等で示される通信品質を制御し、これらを一定の範囲内に保証する通信品質制御技術が必要となっている。  However, in real-time transmission of multimedia data such as digital broadcasting and data streaming, there is a communication quality control technology that controls the communication quality indicated by transmission error rate, delay, delay dispersion, etc., and guarantees these within a certain range. It is necessary.

そのため、無線ネットワーク分野においても、このような通信品質制御技術を備えたIEEE802.11e、IEEE802.15.3、および、T70(ARIB標準で、欧州規格ETSI−BRAN HiperLAN/2と互換性がある規格(ARIB STD T70))等の規格や製品が開発されつつある。  Therefore, also in the field of wireless networks, IEEE802.11e, IEEE802.15.3, and T70 (ARIB standards having such communication quality control technology are compatible with the European standard ETSI-BRAN HiperLAN / 2. Standards and products such as (ARIB STD T70)) are being developed.

このような通信品質制御技術の下では、無線ネットワークに参加している複数の無線通信装置から選ばれた一つの無線通信装置が通信品質の制御を行うこととなる(以下、この通信品質の制御を行う無線通信装置を通信品質制御局と称する)。すなわち、上記通信品質制御局が、無線ネットワークに参加する無線通信装置に係る通信品質に関する情報の大部分を集中的に管理し、各無線通信装置に対する帯域割り当てなどの制御を行うこととなる。  Under such a communication quality control technique, one wireless communication device selected from a plurality of wireless communication devices participating in the wireless network controls the communication quality (hereinafter, this communication quality control). The wireless communication device that performs the above is called a communication quality control station). That is, the communication quality control station centrally manages most of the information related to communication quality related to the wireless communication devices participating in the wireless network, and performs control such as bandwidth allocation for each wireless communication device.

また、上記通信品質制御局には、例えば、「各無線通信装置に通信権を与えるタイミングを随時計算し直して、この計算した結果にタイミングを変更する能力」等の所定の能力(機能や性能)が要求されるため、一般に限られた無線通信装置だけが通信品質制御局となりえる能力を備えている。さらに、その能力は無線通信装置に依存しており、一様ではない。例えば、上述したIEEE802.11eでは、Polled Access方式による帯域管理においてHC(Hybrid Coordinator)が通信品質制御局の機能を提供し、IEEE802.15.3では、PNC(Piconet Coordinator)が通信品質制御局の機能を提供している。  In addition, the communication quality control station has, for example, a predetermined capability (function or performance) such as “the ability to recalculate the timing for granting the communication right to each wireless communication device as needed and change the timing to the calculated result”. ) Is generally required, only a limited number of wireless communication devices have the capability of becoming communication quality control stations. Furthermore, its capabilities depend on the wireless communication device and are not uniform. For example, in IEEE802.11e described above, the HC (Hybrid Coordinator) provides the function of the communication quality control station in bandwidth management by the polled access method, and in IEEE 802.15.3, the PNC (Picone Coordinator) is the communication quality control station. Provides functionality.

さらに、一般に無線ネットワークの分野においては、子局の移動に伴って親局が別のものに切り替わることがハンドオーバーの手順として定義されている。例えば、上記T70の規格には、ハンドオーバーの手順と共に、ハンドオーバー等に際して通信品質の維持すること、あるいは、通信品質を変更する機能が定義されている。また、上記IEEE802.11系の規格の無線LAN(Local Area Network)では、ハンドオーバーの手順自体は明記されていないが、事実上の再接続に関する手法が、市場の製品で運用されている。  Further, in general, in the field of wireless networks, it is defined as a handover procedure that a master station is switched to another one as a slave station moves. For example, the T70 standard defines a function for maintaining communication quality or changing communication quality during a handover and the like along with a handover procedure. Further, in the wireless LAN (Local Area Network) of the IEEE802.11 standard, the handover procedure itself is not specified, but a method related to de facto reconnection is used in products on the market.

また、上記通信品質技術を備えると共に現在実用化されている通信品質制御局は、ネットワークの構造上通信品質の情報(通信品質情報)を集中的に管理するのに都合がよいように、定期的にビーコンを送信する親局と同一、つまり親局を兼ねている場合が多い。また、上記IEEE802.11e、IEEE802.15.3、および、T70の各規格では、いずれも通信品質制御局が親局を兼ねている。なお、IEEE802.11eのPolled Access方式による帯域管理方式は、BSSモードでのみ動作するのであり、親局は一旦決められると固定であって、IBSSモードのように途中で変化しない。このように、通信品質を考慮した無線ネットワークにおいては、通常、親局が通信品質制御局として機能している。  In addition, the communication quality control station which is equipped with the above communication quality technology and is currently put into practical use periodically so that it is convenient to centrally manage communication quality information (communication quality information) due to the network structure. In many cases, it is the same as the parent station that transmits the beacon, that is, it also serves as the parent station. In each of the IEEE 802.11e, IEEE 802.15.3, and T70 standards, the communication quality control station also serves as the master station. Note that the bandwidth management method based on the IEEE 802.11e polled access method operates only in the BSS mode, and the master station is fixed once determined, and does not change midway as in the IBSS mode. As described above, in a wireless network considering communication quality, the master station normally functions as a communication quality control station.

さらに、近年、デジタル化されたマルチメディアデータ(動画、アニメーション、音楽、音声等のデータ)の記録や再生を行うデジタル家電機器が開発されている。また、これらのデジタル家電機器の開発に伴い、ホームネットワークにおいて、無線を用いたマルチメディアデータのリアルタイム伝送を実現することへの期待が高まっている。そして、デジタル家電機器が無線通信装置を備え、マルチメディアデータのリアルタイム伝送を行う場合には、ネットワーク内に所定の能力を備えた通信品質制御局が必要となる。  Furthermore, in recent years, digital home appliances that record and reproduce digitized multimedia data (data such as moving images, animation, music, and voice) have been developed. In addition, with the development of these digital home appliances, there is an increasing expectation for real-time transmission of multimedia data using wireless in a home network. When a digital home appliance includes a wireless communication device and performs real-time transmission of multimedia data, a communication quality control station having a predetermined capability is required in the network.

しかしながら、上記特許文献1から4の技術では、無線通信装置の親局としての能力を考慮せずに、親局が選択されてしまうという問題点を有する。つまり、親局として適当でない無線通信装置が親局となってしまうことがある。  However, the techniques of Patent Documents 1 to 4 have a problem that a master station is selected without considering the capability of the wireless communication apparatus as a master station. That is, a wireless communication apparatus that is not suitable as a parent station may become a parent station.

また、上記特許文献1および2では、ユーザの手を煩わせずに親局と子局とを自律的に選択することができるのみであり、通信品質制御局としての能力は考慮されておらず、リアルタイム伝送を行うためのもっとも好ましい通信品質制御局を選択することができない。さらに、上記特許文献3では、伝送速度と電力量という能力は考慮されてはいるものの、ここで言う伝送速度は親局の転送能力であり、通信品質制御局としての能力は考慮されていない。また、同様に上記特許文献4では、親局として稼動するか、あるいは、子局として稼動するかといった動作モードのみが考慮されており、通信品質制御局としての能力は考慮されていない。  In Patent Documents 1 and 2, only the master station and the slave station can be autonomously selected without bothering the user, and the ability as a communication quality control station is not considered. The most preferable communication quality control station for performing real-time transmission cannot be selected. Further, in Patent Document 3, although the capabilities of transmission speed and electric energy are taken into consideration, the transmission speed here is the transfer capability of the master station, and the capability as a communication quality control station is not considered. Similarly, in Patent Document 4, only the operation mode of whether to operate as a master station or a slave station is considered, and the capability as a communication quality control station is not considered.

本願発明は、上記の問題点に鑑みなされたものであって、その目的は、所定の能力を備える通信装置を親局として設定可能とし得る通信装置、通信装置の動作モード起動方法、通信方法、通信システム、プログラム、および、記憶媒体を提供することにある。  The present invention has been made in view of the above-described problems, and the purpose thereof is a communication device capable of setting a communication device having a predetermined capability as a master station, an operation mode starting method of the communication device, a communication method, A communication system, a program, and a storage medium are provided.

また、本願発明の更なる目的は、各通信装置がネットワークへ参加(移動による参加、無線の伝搬環境が悪化した状態からの復帰による参加、および、主電源のオンによる参加を含む)し、かつ、各通信装置がネットワークから離脱(移動による離脱、伝搬環境の悪化による離脱、および、主電源のオフによる離脱を含む)する環境下においても、親局機能および/または通信品質制御機能を考慮して親局を選択し得る通信装置、通信装置の動作モード起動方法、通信方法、通信システム、プログラム、および、記憶媒体を提供することにある。  Further, another object of the present invention is that each communication device participates in the network (including participation by movement, participation by returning from a state where the radio propagation environment has deteriorated, and participation by turning on the main power supply), and Considering the master station function and / or communication quality control function even in an environment where each communication device leaves the network (including leaving due to movement, leaving due to deterioration of the propagation environment, and leaving due to main power off) Another object of the present invention is to provide a communication device that can select a master station, a communication device operation mode activation method, a communication method, a communication system, a program, and a storage medium.

上記の目的を達成するために、本発明に係る通信装置は、親局と子局とからなるネットワークシステムを構成する通信装置において、自装置を子局として機能させるための子局機能制御手段と、他の通信装置から取得した該他の通信装置の機能を示した機能情報に基づいて親局を選択すると共に、前記選択した親局に対して自装置を子局として動作させる制御手段とを備えていることを特徴としている。  In order to achieve the above object, a communication apparatus according to the present invention comprises a slave station function control means for causing a local apparatus to function as a slave station in a communication apparatus constituting a network system comprising a master station and a slave station. Selecting a master station based on the function information indicating the function of the other communication device acquired from the other communication device, and controlling the selected parent station to operate the device as a slave station; It is characterized by having.

それゆえ、自装置の近くに他の通信装置が複数存在する場合には、前記取得した他の通信装置の機能を示した機能情報を用いることにより、現在の親局よりも条件のよい親局を選択することができる。さらに、この選択した親局に子局として参加することもできる。  Therefore, when there are a plurality of other communication devices in the vicinity of the own device, by using the function information indicating the acquired function of the other communication device, the master station having a better condition than the current master station Can be selected. Furthermore, it is possible to participate in the selected master station as a slave station.

したがって、より条件のよい親局が構成するネットワークシステムに参加できるため、品質の優れた通信を行うことができるという効果を奏する。  Therefore, since it is possible to participate in a network system configured by a master station having better conditions, it is possible to perform communication with excellent quality.

また、上記の目的を達成するために、本発明に係る通信装置は、親局と子局とからなるネットワークシステムを構成する通信装置において、自装置を親局として機能させるための親局機能制御手段と、自装置を子局として機能させるための子局機能制御手段と、前記親局機能制御手段を機能させて自装置を親局として動作させる第1動作モード、前記子局機能制御手段を機能させて自装置を子局として動作させる第2動作モード、および、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させる第3動作モードのうち少なくとも1つ以上の動作モードを有し、前記何れかの動作モードが記憶された記憶手段と、前記記憶手段に記憶されている動作モードを判定する判定手段と、前記判定手段が判定した動作モードに基づいて自装置を親局または子局として動作させる制御手段とを備えていることを特徴としている。  In order to achieve the above object, the communication apparatus according to the present invention is a master station function control for causing a self apparatus to function as a master station in a communication apparatus constituting a network system including a master station and a slave station. Means, a slave station function control means for causing the own apparatus to function as a slave station, a first operation mode in which the master station function control means is caused to function as a master station, and the slave station function control means. The second operation mode in which the device operates as a slave station, and either the master station function control means or the slave station function control means functions to operate the master device in either the master station or the slave station A storage unit that has at least one of the third operation modes to be stored and stores any one of the operation modes; a determination unit that determines the operation mode stored in the storage unit; Is characterized in that a control means for operating the self-device based on the operation mode is the constant means determines as a master station or a slave station.

それゆえ、記憶手段に記憶される動作モード次第で、通信装置が親局または子局で動作するかが決まる。  Therefore, depending on the operation mode stored in the storage means, it is determined whether the communication apparatus operates in the master station or the slave station.

ここで、記憶手段に第1動作モードが記憶されている場合は、判定手段により、記憶手段に第1動作モードが記憶されていることが判定され、制御手段が該第1動作モードで自装置を動作させる。したがって、この場合、通信装置を、前記親局機能制御手段を機能させて、親局として動作させることができる。  Here, when the first operation mode is stored in the storage unit, the determination unit determines that the first operation mode is stored in the storage unit, and the control unit operates in the first operation mode. To work. Therefore, in this case, the communication apparatus can operate as a master station by causing the master station function control means to function.

また、記憶手段に第2動作モードが記憶されている場合は、判定手段により、記憶手段に第2動作モードが記憶されていることが判定され、制御手段が該第2動作モードで自装置を動作させる。したがって、この場合、通信装置を、前記子局機能制御手段を機能させて、子局として動作させることができる。  In addition, when the second operation mode is stored in the storage unit, the determination unit determines that the second operation mode is stored in the storage unit, and the control unit detects the own device in the second operation mode. Make it work. Therefore, in this case, the communication apparatus can operate as a slave station by causing the slave station function control means to function.

さらに、記憶手段に第3動作モードが記憶されている場合は、判定手段により、記憶手段に第3動作モードが記憶されていることが判定され、制御手段が該第3動作モードで自装置を動作させる。したがって、この場合、通信装置を、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させることができる。また、上記第3動作モードで動作する場合には、例えば、既に他に親局が存在する場合には自装置を子局とすることで、親局の乱立が防げる。一方、他に親局が存在しない場合には自装置を親局とすることにより、他に親局が存在しない場合であっても新たにネットワークを構築できるという効果を奏する。  Further, when the third operation mode is stored in the storage unit, the determination unit determines that the third operation mode is stored in the storage unit, and the control unit detects the own device in the third operation mode. Make it work. Therefore, in this case, the communication apparatus can operate either the master station or the slave station by causing either the master station function control means or the slave station function control means to function. Further, when operating in the third operation mode, for example, when another parent station already exists, the local station can be prevented from standing up by making the own apparatus a slave station. On the other hand, when there is no other master station, by setting the own apparatus as the master station, there is an effect that a new network can be constructed even when there is no other master station.

ところで、親局機能の能力(つまり、親局として機能する際の能力)は、ネットワークを構成する各通信装置によって異なる。つまり、親局として所定の能力を備えている通信装置もあれば、親局として所定の能力を備えていない通信装置もある。それゆえ、親局として動作させたい通信装置もあれば、親局として動作させたくない通信装置もある。  By the way, the capability of the master station function (that is, the capability when functioning as a master station) differs depending on each communication device constituting the network. That is, some communication devices have a predetermined capability as a master station, and some communication devices do not have a predetermined capability as a parent station. Therefore, there are communication apparatuses that are desired to operate as a master station and other communication apparatuses that are not desired to be operated as a master station.

したがって、親局として動作させたい場合には、第1動作モードを記憶手段に記憶させることで、この通信装置を親局として動作させることができる。また、親局として動作させたくない場合には、第2動作モードを記憶手段に記憶させることで、この通信装置を子局として動作させることができる。さらに、親局として動作させてもよい場合には、第3動作モードを記憶手段に記憶させることにより、この通信装置を親局または子局として動作させることができる。  Therefore, when it is desired to operate as a master station, this communication apparatus can be operated as a master station by storing the first operation mode in the storage means. Further, when it is not desired to operate as a master station, this communication apparatus can be operated as a slave station by storing the second operation mode in the storage means. Furthermore, when it is possible to operate as a master station, the communication device can be operated as a master station or a slave station by storing the third operation mode in the storage means.

それゆえ、上記の構成により、所定の能力を備える通信装置を親局として設定可能とし得る通信装置が得られるという効果を奏する。  Therefore, according to the above configuration, there is an effect that a communication apparatus that can set a communication apparatus having a predetermined capability as a master station can be obtained.

また、上記の目的を達成するために、本発明に係る動作モード起動方法は、自装置を親局として機能させるための親局機能制御手段と、自装置を子局として機能させるための子局機能制御手段とを備えた通信装置の動作モード起動方法であって、前記親局機能制御手段を機能させて自装置を親局として動作させる第1動作モード、前記子局機能制御手段を機能させて自装置を子局として動作させる第2動作モード、および、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させる第3動作モードのうち何れの動作モードにて自装置を動作させるかを判定する判定ステップと、前記判定ステップで判定した動作モードに基づいて自装置を親局または子局として動作させる動作ステップとを備えることを特徴としている。  In order to achieve the above object, the operation mode activation method according to the present invention includes a master station function control means for causing the own apparatus to function as a master station, and a slave station for causing the own apparatus to function as a slave station. An operation mode activation method for a communication device comprising a function control means, wherein the master station function control means functions to function as a master station, and the slave station function control means functions. A second operation mode in which the own apparatus operates as a slave station, and a second operation mode in which either the master station function control means or the slave station function control means functions to operate the own apparatus in either the master station or the slave station. A determination step for determining in which operation mode of the three operation modes the device operates, and an operation step for operating the device as a master station or a slave station based on the operation mode determined in the determination step It is characterized in that it comprises.

それゆえ、上記判定される動作モード次第で、通信装置の動作モードが決まる。  Therefore, the operation mode of the communication apparatus is determined depending on the determined operation mode.

ここで、判定ステップにおいて自装置を第1動作モードで動作させると判定された場合には、該第1動作モードで自装置が動作する。したがって、この場合、通信装置を、前記親局機能制御手段を機能させて、親局として動作させることができるという効果を奏する。  Here, when it is determined in the determination step that the own apparatus is operated in the first operation mode, the own apparatus operates in the first operation mode. Therefore, in this case, there is an effect that the communication apparatus can be operated as a master station by causing the master station function control means to function.

また、判定手段ステップにおいて自装置を第2動作モードで動作させると判定された場合には、該第2動作モードで自装置が動作する。したがって、この場合、通信装置を、前記子局機能制御手段を機能させて、子局として動作させることができるという効果を奏する。  If it is determined in the determination means step that the own apparatus is to be operated in the second operation mode, the own apparatus operates in the second operation mode. Therefore, in this case, there is an effect that the communication apparatus can be operated as a slave station by functioning the slave station function control means.

さらに、判定ステップにおいて自装置を第3動作モードで動作させると判定された場合には、該第3動作モードで自装置が動作する。したがって、この場合、通信装置を、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させることができる。また、上記第3動作モードで動作する場合には、例えば、既に他に親局が存在する場合には自装置を子局とすることで、親局の乱立が防げる。一方、他に親局が存在しない場合には自装置を親局とすることにより、他に親局が存在しない場合であっても新たにネットワークを構築できるという効果を奏する。  Further, when it is determined in the determination step that the own apparatus is to be operated in the third operation mode, the own apparatus operates in the third operation mode. Therefore, in this case, the communication apparatus can operate either the master station or the slave station by causing either the master station function control means or the slave station function control means to function. Further, when operating in the third operation mode, for example, when another parent station already exists, the local station can be prevented from standing up by making the own apparatus a slave station. On the other hand, when there is no other master station, by setting the own apparatus as the master station, there is an effect that a new network can be constructed even when there is no other master station.

また、上記の目的を達成するために、本発明に係る通信方法は、親局と子局とからなるネットワークシステムを構成すると共に、親局としても子局としても動作可能な通信装置の通信方法であって、前記ネットワークシステムに参加中に、他の通信装置の親局機能に関する情報を取得する取得ステップと、親局となる他の通信装置が存在するか否かを検索する検索ステップと、前記検索ステップにて親局となる他の通信装置が発見された場合に、自装置の親局機能と前記発見された通信装置の親局機能とを比較する比較ステップと、前記比較ステップにおいて自装置の親局機能が前記発見された通信装置の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が前記発見された通信装置の親局機能よりも低いと判断された場合には、自装置は子局として前記発見された通信装置に参加する動作ステップとを備えることを特徴としている。  In order to achieve the above object, a communication method according to the present invention constitutes a network system composed of a master station and a slave station, and communicates with a communication apparatus that can operate as a master station and a slave station. Then, while participating in the network system, an acquisition step of acquiring information related to a master station function of another communication device, a search step of searching whether there is another communication device serving as a master station, When another communication device serving as a master station is found in the search step, the comparison step for comparing the master station function of the own device with the master station function of the discovered communication device; If it is determined that the master station function of the device is higher than the master station function of the discovered communication device, the own device operates as a master station, while the master station function of the device is the discovery station in the comparison step. The if it is judged to be lower than the master station functions of the communication device, its own device is characterized in that it comprises an operation step of participating in the communication device that is the discovery as a child station.

それゆえ、ネットワークシステムに参加しているときに、他の通信装置の親局機能に関する情報を取得することができる。  Therefore, when participating in the network system, it is possible to acquire information related to the master station function of another communication device.

したがって、自装置を含む通信装置の内、親局機能が高い通信装置が自律的に新たな親局として動作することにより、より条件のよいネットワークを再構築することができるという効果を奏する。  Therefore, a communication device having a higher master station function among the communication devices including the host device operates autonomously as a new parent station, so that it is possible to reconstruct a network with better conditions.

また、上記の目的を達成するために、本発明に係る通信方法は、親局と子局とからなる無線ネットワークシステムを構成すると共に、親局としても子局としても動作可能な通信装置の通信方法であって、前記ネットワークシステムに参加中に、他の通信装置の親局機能に関する情報を取得する取得ステップと、前記親局との通信状態を監視する監視ステップと、前記監視ステップにより親局との通信状態が不良であると判断された場合に、自装置の親局機能と前記親局機能に関する情報を取得した通信装置の親局機能とを比較する比較ステップと、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも低いと判断された場合には、自装置は子局として動作する動作ステップとを備えることを特徴としている。  In order to achieve the above object, a communication method according to the present invention forms a wireless network system including a master station and a slave station, and communicates with a communication apparatus that can operate as a master station and a slave station. A method comprising: an acquisition step of acquiring information related to a parent station function of another communication device while participating in the network system; a monitoring step of monitoring a communication state with the parent station; A comparison step for comparing the master station function of its own device with the master station function of the communication device that has acquired information related to the master station function, and the comparison step. When it is determined that the master station function of the device is higher than the master station function of the communication device that acquired the information related to the master station function, the own device operates as the master station, while the comparison step In the case where it is determined that the master station function of the own apparatus is lower than the master station function of the communication apparatus that acquired the information related to the master station function, the own apparatus includes an operation step of operating as a slave station. It is a feature.

それゆえ、ネットワークシステムに参加しているときに、他の通信装置の親局機能に関する情報を取得することができる。  Therefore, when participating in the network system, it is possible to acquire information related to the master station function of another communication device.

したがって、親局との通信が不良となった場合には、該通信が不良のネットワークがそのまま構築され続けるのではなく、自装置を含む通信装置の内、親局機能が高い通信装置が自律的に新たな親局として動作することにより、より条件のよいネットワークを再構築することができるという効果を奏する。  Therefore, when communication with the master station becomes poor, a network with poor communication is not continuously constructed as it is, but communication devices with a high master station function are autonomous among communication devices including the self device. By operating as a new master station, it is possible to reconstruct a network with better conditions.

また、上記の目的を達成するために、本発明に係る通信方法は、親局と子局とからなるネットワークシステムを構成すると共に、親局としても子局としても動作可能な通信装置の通信方法であって、前記ネットワークシステムに参加中に、他の通信装置の親局機能に関する情報を取得する取得ステップと、前記親局からネットワークからの離脱命令を受信した場合に、自装置の親局機能と前記親局機能に関する情報を取得した通信装置の親局機能とを比較する比較ステップと、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも低いと判断された場合には、自装置は子局として動作する動作ステップとを備えることを特徴としている。  In order to achieve the above object, a communication method according to the present invention constitutes a network system composed of a master station and a slave station, and communicates with a communication apparatus that can operate as a master station and a slave station. The acquisition step of acquiring information related to the master station function of another communication device while participating in the network system, and the master station function of the own device when receiving a leave command from the network from the master station Comparing the master station function of the communication apparatus that has acquired information on the master station function with the master station function of the communication apparatus in which the master station function of the own apparatus has acquired information on the master station function in the comparison step If the device is determined to be higher, the device operates as a master station, while the master station function of the device acquires information related to the master station function in the comparison step. If it is judged to be lower than the master station capability of location, the own apparatus is characterized in that it comprises an operation step of operating as the slave station.

それゆえ、ネットワークシステムに参加しているときに、他の通信装置の親局機能に関する情報を取得することができる。  Therefore, when participating in the network system, it is possible to acquire information related to the master station function of another communication device.

したがって、親局からネットワークからの離脱命令を受信した場合には、自装置の動作を、そのまま終了するのではなく、自装置を含む通信装置の内、自装置の親局機能が最も高ければ、自装置が親局として動作することにより、新たなネットワークを再構築できるという効果を奏する。また、他に条件のよいネットワークが存在すれば、該ネットワークに参加することにより、新たなネットワークを再構築できるという効果を奏する。  Therefore, when receiving a leave command from the network from the master station, rather than terminating the operation of the own device as it is, if the master station function of the own device is the highest among the communication devices including the own device, When the own apparatus operates as a master station, there is an effect that a new network can be reconstructed. In addition, if there is another network with good conditions, it is possible to reconstruct a new network by participating in the network.

また、上記の目的を達成するために、本発明に係る通信システムは、複数の通信装置を、ネットワークを介して接続した通信システムにおいて、上記複数の通信装置のうち、少なくとも1つの通信装置が、上記の通信装置である。  In order to achieve the above object, a communication system according to the present invention is a communication system in which a plurality of communication devices are connected via a network, and at least one of the plurality of communication devices includes: It is said communication apparatus.

したがって、上記通信装置に関して上述した効果を、本システムで得られるという効果を奏する。  Therefore, there is an effect that the effect described above with respect to the communication device can be obtained by the present system.

また、上記の目的を達成するために、本発明に係るプログラムは、上記通信装置の各手段としてコンピュータを機能させるためのものである。  In order to achieve the above object, a program according to the present invention is for causing a computer to function as each means of the communication device.

上記プログラムをコンピュータシステムにロードすることによって、上記通信装置をユーザに提供することが可能となるという効果を奏する。  By loading the program into the computer system, the communication device can be provided to the user.

また、上記の目的を達成するために、本発明に係るプログラムは、上記の通信装置の動作モード起動方法をコンピュータに実行させるためのものである。  In order to achieve the above object, a program according to the present invention is for causing a computer to execute the operation mode starting method of the communication apparatus.

上記プログラムをコンピュータシステムにロードすることによって、上記通信装置の動作モード起動方法をユーザに提供することが可能となるという効果を奏する。  By loading the program into the computer system, it is possible to provide the user with a method for starting the operation mode of the communication device.

また、上記の目的を達成するために、本発明に係るプログラムは、上記の通信方法をコンピュータに実行させるためのものである。  In order to achieve the above object, a program according to the present invention is for causing a computer to execute the above communication method.

上記プログラムをコンピュータシステムにロードすることによって、上記通信方法をユーザに提供することが可能となるという効果を奏する。  By loading the program into the computer system, it is possible to provide the user with the communication method.

また、上記の目的を達成するために、本発明に係るプログラムを記録した記録媒体は、上記プログラムを記録しているものである。  In order to achieve the above object, a recording medium recording a program according to the present invention records the above program.

上記記録媒体に記録されているプログラムをコンピュータシステムにロードすることによって、上記通信装置、通信装置の動作モード起動方法、あるいは、通信方法をユーザに提供することが可能となるという効果を奏する。  By loading the program recorded on the recording medium into the computer system, the communication device, the operation mode starting method of the communication device, or the communication method can be provided to the user.

本発明のさらに他の目的、特徴、および優れた点は、以下に示す記載によって十分に理解されるであろう。また、本発明の利益は、添付図面を参照した次の説明で明白になるであろう。  Other objects, features, and advantages of the present invention will be fully understood from the following description. The benefits of the present invention will become apparent from the following description with reference to the accompanying drawings.

実施の形態に係る無線通信装置のブロック図である。It is a block diagram of the radio | wireless communication apparatus which concerns on embodiment. 上記無線通信装置の起動時における動作を示すフローチャートである。It is a flowchart which shows the operation | movement at the time of starting of the said radio | wireless communication apparatus. 他の実施の形態に係る無線通信装置のブロック図である。It is a block diagram of the radio | wireless communication apparatus which concerns on other embodiment. 上記無線通信装置の親局リカバリ動作を説明するためのフローチャートである。It is a flowchart for demonstrating the master station recovery operation | movement of the said radio | wireless communication apparatus. 上記親局リカバリ動作時に参照される優先度を説明するための図である。It is a figure for demonstrating the priority referred at the time of the said master station recovery operation | movement. 上記親局リカバリ動作時に参照される優先度を説明するための他の図である。It is another figure for demonstrating the priority referred at the time of the said master station recovery operation | movement.

〔実施の形態1〕
本発明の一実施形態について図1および図2に基づいて説明すると以下の通りである。
[Embodiment 1]
An embodiment of the present invention will be described with reference to FIGS. 1 and 2 as follows.

なお、以下の説明では、複数の無線通信装置により構成される無線ネットワークシステにおいて、無線通信装置が親局として機能する場合には該無線通信装置を親局と称し、無線通信装置が子局として機能する場合には該無線通信装置を子局と称する。また、無線通信装置が通信品質制御局として機能する場合には、該無線通信装置を通信品質制御局と称する。さらに、無線通信装置が親局および通信品質制御局として機能する場合には、該無線通信装置を、通信品質制御を行う親局と称する。なお、実施の形態2においても同様とする。  In the following description, in a wireless network system composed of a plurality of wireless communication devices, when the wireless communication device functions as a parent station, the wireless communication device is referred to as a parent station, and the wireless communication device serves as a child station. When functioning, the wireless communication device is referred to as a slave station. When the wireless communication device functions as a communication quality control station, the wireless communication device is referred to as a communication quality control station. Further, when the wireless communication device functions as a master station and a communication quality control station, the wireless communication device is referred to as a master station that performs communication quality control. The same applies to the second embodiment.

図1は、本発明の実施の形態に係る無線通信装置1の機能ブロック図である。  FIG. 1 is a functional block diagram of a wireless communication apparatus 1 according to an embodiment of the present invention.

無線通信装置1は、同図に示すとおり、CPU(Central Processing Unit)11、MEM(Memory)12、送信データバッファ13、受信データバッファ14、無線通信制御部15、変復調部16、親局機能制御部(親局機能制御手段)17、通信品質制御部(通信品質制御手段)18、子局機能制御部(子局機能制御手段)19、アンテナ20、モード制御部(モード制御手段・制御手段)21、モード判定部(判定手段)22、端末機能情報記憶部(記憶手段)23、モード表示部(表示手段)24、および、モード設定部(設定手段)25を備えている。  As shown in the figure, the wireless communication apparatus 1 includes a CPU (Central Processing Unit) 11, a MEM (Memory) 12, a transmission data buffer 13, a reception data buffer 14, a wireless communication control unit 15, a modem unit 16, and a master station function control. Section (master station function control means) 17, communication quality control section (communication quality control means) 18, slave station function control section (slave station function control means) 19, antenna 20, mode control section (mode control means / control means) 21, a mode determination unit (determination unit) 22, a terminal function information storage unit (storage unit) 23, a mode display unit (display unit) 24, and a mode setting unit (setting unit) 25.

上記CPU11は、無線通信装置1の入出力や命令の実行等の処理を行う。MEM12は、CPU11が直接的にアクセスすることができる主記憶装置である。なお、CPU11およびMEM12は、システムバスを介して、無線通信制御部15と接続されている。  The CPU 11 performs processing such as input / output of the wireless communication device 1 and execution of commands. The MEM 12 is a main storage device that the CPU 11 can directly access. Note that the CPU 11 and the MEM 12 are connected to the wireless communication control unit 15 via a system bus.

上記送信データバッファ13は、外部の無線通信装置に送信するデータを一時的に記憶し、その後、無線通信制御部15へ該データを送信する。また、上記受信データバッファ14は、外部の無線通信装置から受信したデータを、無線通信制御部15を介して受信すると共に、この受信データを一時的に記憶した後、図示しない処理部へ該データを送信する。  The transmission data buffer 13 temporarily stores data to be transmitted to an external wireless communication device, and then transmits the data to the wireless communication control unit 15. The reception data buffer 14 receives data received from an external wireless communication device via the wireless communication control unit 15 and temporarily stores the received data, and then transmits the received data to a processing unit (not shown). Send.

上記無線通信制御部15は、ビーコンを含むデータの送受信の制御を行うブロックである。上記変復調部16は、アンテナ20を介して受信したデータを復調した後、この変調したデータを無線通信制御部15へ送信したり、あるいは、無線通信制御部15から受信したデータを変調した後、この変調したデータをアンテナ20へ送信する。  The wireless communication control unit 15 is a block that controls transmission / reception of data including a beacon. The modem 16 demodulates the data received via the antenna 20 and then transmits the modulated data to the radio communication control unit 15 or modulates the data received from the radio communication control unit 15. The modulated data is transmitted to the antenna 20.

上記親局機能制御部17は、ビーコンの送出処理を含む親局の処理を行うブロックである。つまり、親局機能制御部17は、無線通信装置1を親局として機能させるものブロックである。この親局機能制御部17は、上記モード制御部21からの指令により親局として機能する。また、親局機能制御部17は、無線通信制御部15との間で、データの送受信を行う。さらに、上記通信品質制御部18との間でもデータの送受信を行う。  The master station function control unit 17 is a block that performs master station processing including beacon transmission processing. That is, the master station function control unit 17 is a block that allows the wireless communication apparatus 1 to function as a master station. The master station function controller 17 functions as a master station in response to a command from the mode controller 21. The master station function control unit 17 transmits and receives data to and from the wireless communication control unit 15. Further, data is transmitted to and received from the communication quality control unit 18.

上記通信品質制御部18は、外部の無線通信装置に対して通信を行う無線帯域の割り当てを計算する。さらに、通信品質制御部18は、上記割り当てた無線帯域と、通信のタイミングを示した帯域情報を外部の無線通信装置に通知する処理を行う。これにより、無線通信装置1と他の無線通信装置との間、および、他の無線通信装置間における通信品質の制御を行い、通信品質を保証する。なお、上記帯域情報は、無線通信制御部15を介して、外部の無線通信装置に送られる。  The communication quality control unit 18 calculates allocation of a radio band for performing communication with an external radio communication device. Further, the communication quality control unit 18 performs processing for notifying the external wireless communication apparatus of the allocated wireless band and band information indicating the communication timing. Thereby, communication quality is controlled between the wireless communication device 1 and another wireless communication device, and between other wireless communication devices, and the communication quality is guaranteed. The band information is sent to an external wireless communication device via the wireless communication control unit 15.

上記子局機能制御部19は、親局への同期処理や参加処理を含む子局の処理を行うブロックである。つまり、子局機能制御部19は、無線通信装置1を子局として機能させるものブロックである。この子局機能制御部19は、上記モード制御部21からの指令により子局として機能する。また、子局機能制御部19は、無線通信制御部15との間で、データの送受信を行う。  The slave station function control unit 19 is a block that performs slave station processing including synchronization processing and participation processing with the master station. That is, the slave station function control unit 19 is a block that allows the wireless communication apparatus 1 to function as a slave station. The slave station function controller 19 functions as a slave station in response to a command from the mode controller 21. The slave station function control unit 19 transmits and receives data to and from the wireless communication control unit 15.

上記アンテナ20は、外部の無線通信装置へデータを送信すると共に、外部の無線通信装置からのデータを受信する。  The antenna 20 transmits data to an external wireless communication device and receives data from the external wireless communication device.

上記モード制御部21は、上記モード判定部22で判定された動作モードに基づいて無線通信装置1の動作を制御する。つまり、このモード制御部21は、モード判定部22からの情報を取得し、これら取得した情報に基づいて、後述するAP固定モード(第1の動作モード)、STA固定モード(第2の動作モード)、および、AP/STAモード(第3の動作モード)のうち何れの動作モードで無線通信装置51を動作させるかを制御する。  The mode control unit 21 controls the operation of the wireless communication device 1 based on the operation mode determined by the mode determination unit 22. That is, the mode control unit 21 acquires information from the mode determination unit 22, and based on the acquired information, the AP fixed mode (first operation mode) and the STA fixed mode (second operation mode) described later. ) And AP / STA mode (third operation mode) in which operation mode the wireless communication device 51 is operated is controlled.

また、上記モード制御部21は、上記動作モード以外の端末機能情報記憶部23に記憶されている情報も取得し、上記AP/STAモードで制御させる際には、この情報に基づき、親局(AP)として動作させるか、子局(STA)として動作させるかを判断する。  The mode control unit 21 also acquires information stored in the terminal function information storage unit 23 other than the operation mode, and when controlling in the AP / STA mode, based on this information, the master station ( AP) or a slave station (STA) is determined.

いずれにしても、上記モード制御部は、親局機能制御部17、通信品質制御部18、および、子局機能制御部19のうち、少なくとも1つの制御部を機能させる。  In any case, the mode control unit causes at least one of the master station function control unit 17, the communication quality control unit 18, and the slave station function control unit 19 to function.

例えば、モード制御部21が、無線通信装置1を親局として動作させると判断した場合には、親局機能制御部17に指令を出して、親局機能制御部17を機能させる。また、モード制御部21が、無線通信装置1を子局として動作させると判断した場合は、子局機能制御部19に指令を出して、子局機能制御部19を機能させる。さらに、モード制御部21が、無線通信装置1を通信品質制御を行う親局として動作させる判断した場合には、親局機能制御部17および通信品質制御部18に指令を出して、親局機能制御部17および通信品質制御部18を機能させる。  For example, when the mode control unit 21 determines to operate the wireless communication apparatus 1 as a master station, it issues a command to the master station function control unit 17 to cause the master station function control unit 17 to function. If the mode control unit 21 determines that the wireless communication apparatus 1 is to operate as a slave station, it issues a command to the slave station function control unit 19 to cause the slave station function control unit 19 to function. Further, when the mode control unit 21 determines to operate the wireless communication apparatus 1 as a master station for performing communication quality control, it issues a command to the master station function control unit 17 and the communication quality control unit 18 to thereby execute the master station function. The control unit 17 and the communication quality control unit 18 are caused to function.

また、上記モード制御部21は、モード表示部24に対して、自装置が、親局として機能しているか、子局として機能しているか、通信品質制御局として機能しているか、または、通信品質制御局を兼ねた親局として機能しているかといった情報を含めた、自装置の通信状態の情報を送信する。  In addition, the mode control unit 21 has, for the mode display unit 24, whether its own device functions as a master station, a slave station, a communication quality control station, or a communication It transmits information on the communication state of its own device, including information on whether it functions as a master station that also functions as a quality control station.

上記端末機能情報記憶部23は、後述する、AP固定モード、STA固定モード、および、AP/STAモードの情報のうち、何れかの情報が記憶される。さらに、端末機能情報記憶部23には、上記各動作モードで動作させる場合に使用する通信チャネル等のパラメータも記憶される。また、端末機能情報記憶部23は、無線通信制御部15との間でデータの送受信を行う。  The terminal function information storage unit 23 stores any information of AP fixed mode, STA fixed mode, and AP / STA mode information, which will be described later. Further, the terminal function information storage unit 23 also stores parameters such as a communication channel used when operating in the respective operation modes. The terminal function information storage unit 23 transmits and receives data to and from the wireless communication control unit 15.

上記モード判定部22は、端末機能情報記憶部23に記憶されている動作モードを判定する。つまり、モード判定部22は、AP固定モード、STA固定モード、および、AP/STAモードのうち、何れのモードが記憶されているかを判定する。  The mode determination unit 22 determines the operation mode stored in the terminal function information storage unit 23. That is, the mode determination unit 22 determines which mode is stored among the AP fixed mode, the STA fixed mode, and the AP / STA mode.

上記モード表示部24は、モード制御部21から受信したデータ、モード判定部22から受信したデータ、および、端末機能情報記憶部23から受信したデータを表示する。より詳しくは、自装置の通信状態の情報、モード判定部22で判定された動作モードの情報、および、端末機能情報記憶部23に記憶されている情報を表示する。  The mode display unit 24 displays the data received from the mode control unit 21, the data received from the mode determination unit 22, and the data received from the terminal function information storage unit 23. More specifically, information on the communication state of the own device, information on the operation mode determined by the mode determination unit 22, and information stored in the terminal function information storage unit 23 are displayed.

また、モード表示部24を例えばディスプレイ装置で構成している場合には、上記受信したデータが文字情報として表示される。なお、ディスプレイ装置としては、例えば、LCD(Liquid Crystal Display)が挙げられる。また、ディスプレイ装置を外付け型のモニタとしてもよい。  Further, when the mode display unit 24 is constituted by a display device, for example, the received data is displayed as character information. An example of the display device is an LCD (Liquid Crystal Display). The display device may be an external monitor.

また、上記モード表示部24は、LEDで構成されていてもよい。この場合は、所定の条件の場合、所定の箇所のLEDが点灯するようにしておく。さらに、モード表示部24の代わりに、モード制御部21から送信された情報に応じて、所定の音を鳴らす構成とすることもできる。例えば、参照情報の一つとなるAP固定モードの情報がモード制御部21から送信された場合には、1回だけ電子音が鳴るようにしておけばよい。なお、AP固定モードについては、後述する。  Further, the mode display unit 24 may be configured by an LED. In this case, in the case of a predetermined condition, the LED at a predetermined location is turned on. Furthermore, instead of the mode display unit 24, a predetermined sound can be generated according to the information transmitted from the mode control unit 21. For example, when information on the AP fixed mode, which is one of the reference information, is transmitted from the mode control unit 21, it is only necessary to beep once. The AP fixed mode will be described later.

さらに、モード表示部24で表示する情報は、無線通信装置1を稼動させたときから常時表示してもよいし、あるいは、端末機能情報記憶部23に記憶されている情報がモード設定部25より変更された場合に表示してもよい。  Further, the information displayed on the mode display unit 24 may be displayed constantly from when the wireless communication device 1 is operated, or the information stored in the terminal function information storage unit 23 is obtained from the mode setting unit 25. You may display when it changes.

上記モード設定部25は、端末機能情報記憶部23に記憶されている情報を変更、および、端末情報記憶部に情報を記憶させるブロックである。例えば、端末機能情報記憶部23にAP固定モードの情報が記録されており、例えばユーザが、この情報を他の情報(例えば、STA固定モードの情報)に変更した場合に等に用いる。  The mode setting unit 25 is a block that changes information stored in the terminal function information storage unit 23 and stores information in the terminal information storage unit. For example, AP fixed mode information is recorded in the terminal function information storage unit 23, and is used when, for example, the user changes this information to other information (for example, STA fixed mode information).

このモード設定部25は、例えば、物理的なスイッチで構成することができる。例えば、無線通信装置1本体に、AP固定モード、STA固定モード、AP/STAモードを指定するスイッチを設け、スイッチを切換えることによりモードが選択され、端末機能情報記憶部23に該選択したモードが記憶される。なお、この場合には、例えば、上記各モードの情報を図示しない他の記憶部に記憶しておき、これらモードを呼び出して、端末機能情報記憶部23に記憶させればよい。  The mode setting unit 25 can be configured by a physical switch, for example. For example, a switch that designates the AP fixed mode, the STA fixed mode, and the AP / STA mode is provided in the main body of the wireless communication apparatus 1, and the mode is selected by switching the switch, and the selected mode is stored in the terminal function information storage unit 23. Remembered. In this case, for example, information on each mode may be stored in another storage unit (not shown), and these modes may be called and stored in the terminal function information storage unit 23.

また、モードの設定に際しては、上記モード表示部24の表示画面、または、外部接続したモニタの表示画面を設定画面として利用してもよい。さらに、モード設定部25を用いた情報の変更等は、無線通信装置1が稼動中に行える構成としてもよいし、稼動中には行えない構成としておいてもよい。また、アプリケーションの設計仕様上の理由により、該アプリケーションが子局上でしか動作しないようなものである場合、このアプリケーションが、モード設定部25により、上記モードおよびパラメータの値を設定・変更を行う構成としてもよい。  In setting the mode, the display screen of the mode display unit 24 or the display screen of an externally connected monitor may be used as the setting screen. Further, the information change using the mode setting unit 25 may be configured while the wireless communication apparatus 1 is in operation, or may be configured so as not to be performed during operation. Further, when the application is designed to operate only on the slave station due to the design specification of the application, the application sets / changes the mode and parameter values using the mode setting unit 25. It is good also as a structure.

ここで、上記AP固定モード、STA固定モード、および、AP/STAモードのそれぞれのモードについて説明する。  Here, the AP fixed mode, the STA fixed mode, and the AP / STA mode will be described.

AP(Access Point)固定モードとは、無線通信装置1を親局に設定して、動作制御を行うモードのことである。また、STA(Station)固定モードとは、無線通信装置1を子局に設定して、動作制御を行うモードのことである。さらに、AP/STA(Access Point/Station)モードとは、無線通信装置1を、親局あるいは子局の何れかの局にでも設定可能とし、設定された局として動作制御を行うモードのことである。このAP/STA(Access Point/Station)モードでは、無線通信装置は、先ず子局として起動する。  The AP (Access Point) fixed mode is a mode in which the wireless communication device 1 is set as a master station and operation control is performed. The STA (Station) fixed mode is a mode in which the wireless communication device 1 is set as a slave station and operation control is performed. Furthermore, the AP / STA (Access Point / Station) mode is a mode in which the wireless communication device 1 can be set in either a master station or a slave station, and operation control is performed as a set station. is there. In this AP / STA (Access Point / Station) mode, the wireless communication device is first activated as a slave station.

次に、無線通信装置1の起動時の動作について、図2のフローチャートに基づいて説明する。ただし、以下の説明では、無線通信装置1が親局となる場合には、この無線通信装置が通信品質局としても機能する場合について説明する。つまり、無線通信装置1は、通信品質制御可能な親局、または、子局としてのみ機能する場合を示す。  Next, the operation at the time of starting the wireless communication device 1 will be described based on the flowchart of FIG. However, in the following description, a case will be described in which, when the wireless communication device 1 is a master station, this wireless communication device also functions as a communication quality station. That is, the case where the wireless communication apparatus 1 functions only as a master station or a slave station capable of controlling communication quality is shown.

まず、モード判定部22により、端末機能情報記憶部23に記憶されている情報がAP固定モードの情報であるか否かが判断される(S1)。ここで、端末機能情報記憶部23に記憶されている情報がAP固定モードの情報である場合には、モード制御部21は、予めユーザまたはアプリケーションによって通信チャネルが端末機能情報記憶部23に指定(記憶)されているか否かを判断する(S8)。  First, the mode determination unit 22 determines whether the information stored in the terminal function information storage unit 23 is AP fixed mode information (S1). Here, when the information stored in the terminal function information storage unit 23 is AP fixed mode information, the mode control unit 21 designates the communication channel in the terminal function information storage unit 23 in advance by the user or an application ( It is determined whether or not it is stored (S8).

S8において、通信チャネルが指定されている場合には、モード制御部21は親局機能制御部17および通信品質制御部18に指令を出し、無線通信装置1は、上記指定された通信チャネルを使用して通信品質制御可能な親局として起動する(S9)。一方、S8において、通信チャネルが指定されていないと判断された場合には、モード制御部21は親局機能制御部17を介して無線通信制御部15に指令を出し、空きチャネルを検索する(S10)。  In S8, when a communication channel is designated, the mode control unit 21 issues a command to the master station function control unit 17 and the communication quality control unit 18, and the wireless communication apparatus 1 uses the designated communication channel. Then, it is started as a master station capable of controlling communication quality (S9). On the other hand, if it is determined in S8 that the communication channel is not designated, the mode control unit 21 issues a command to the wireless communication control unit 15 via the master station function control unit 17 to search for an empty channel ( S10).

S10の後は、空きチャネルが発見されたか否かが判断される(S11)。S11において、空きチャネルを発見した場合には、モード制御部21は発見した通信チャネルを使用するよう親局機能制御部17および通信品質制御部18に指令を出し、無線通信装置1を通信品質制御可能な親局として起動させる(S12)。  After S10, it is determined whether an empty channel has been found (S11). In S11, when a free channel is found, the mode control unit 21 issues a command to the master station function control unit 17 and the communication quality control unit 18 to use the found communication channel, and the wireless communication apparatus 1 is controlled to perform communication quality control. It is activated as a possible master station (S12).

一方、S11において、空きチャネルを発見できないときは、再度、S10に戻り、空きチャネルを検索する。この場合には、空きチャネルを発見できない旨をモード表示部24に表示してもよいし、いずれかの通信チャネルを使用して親局として起動してもよいし、そのまま検索し続けてもよいし、あるいは、起動を終了し自動的に電源をオフにしてもよい。さらに、AP固定モードを終了して他のモードに変更するよう、ユーザやアプリケーションに対して、モード設定部25またはモード表示部24により促してもよい。  On the other hand, if a free channel cannot be found in S11, the process returns to S10 again to search for a free channel. In this case, a message indicating that an empty channel cannot be found may be displayed on the mode display unit 24, may be activated as a master station using any communication channel, or may continue to be searched as it is. Alternatively, the power may be turned off automatically after the startup is finished. Furthermore, the mode setting unit 25 or the mode display unit 24 may prompt the user or application to end the AP fixed mode and change to another mode.

S1において、端末機能情報記憶部23に記憶されている情報がAP固定モードの情報でないと判断された場合には、モード制御部21は、予めユーザまたはアプリケーションによって通信チャネルが端末機能情報記憶部23に指定(記憶)されているか否かを判断する(S2)。  In S1, when it is determined that the information stored in the terminal function information storage unit 23 is not information of the AP fixed mode, the mode control unit 21 determines that the communication channel is set in advance by the user or an application by the terminal function information storage unit 23. Is determined (stored) (S2).

S2において、通信チャネルが指定されている場合、モード制御部21は子局機能制御部19を通じて無線通信制御部15に指令を出し、その指定された通信チャネルでのみ親局を検索する(S3)。一方、S2において、チャネルが指定されていないときは、モード制御部21は子局機能制御部19を通じて無線通信制御部15に指令を出し、全ての通信チャネルにおいて親局を検索する(S4)。  When the communication channel is designated in S2, the mode control unit 21 issues a command to the wireless communication control unit 15 through the slave station function control unit 19, and searches for the master station only in the designated communication channel (S3). . On the other hand, when the channel is not designated in S2, the mode control unit 21 issues a command to the radio communication control unit 15 through the slave station function control unit 19, and searches for the master station in all communication channels (S4).

S3およびS4の後は、親局が発見されたか否かが判断される(S5)。S5において、親局を発見した場合には、モード制御部21は子局機能制御部19を通じて無線通信制御部15に指令を出し、その親局に参加する(S6)。一方、S5において、親局を発見できなかった場合には、モード判定部22により、端末機能情報記憶部23に記憶されている情報がSTA固定モードの情報であるか否かが判断される(S7)。  After S3 and S4, it is determined whether or not a master station has been found (S5). In S5, when the master station is found, the mode control unit 21 issues a command to the wireless communication control unit 15 through the slave station function control unit 19, and participates in the master station (S6). On the other hand, if the master station cannot be found in S5, the mode determination unit 22 determines whether or not the information stored in the terminal function information storage unit 23 is STA fixed mode information ( S7).

S7において、モード判定部22により、端末機能情報記憶部23に記憶されている情報がSTA固定モードの情報であると判断された場合には、無線通信装置1は子局として起動し親局を発見できない旨を上記モード表示部24に表示してもよいし、そのまま親局を検索し続けてもよいし、あるいは起動を終了して自動的に電源をオフにしてもよいし、STA固定モードを終了して他のモードに変更するよう、ユーザやアプリケーションに対して上記モード設定部25またはモード表示部24により促してもよい。
一方、S7において、モード判定部22により、端末機能情報記憶部23に記憶されている情報がSTA固定モードの情報でないと判断された場合、つまりAP/STAモードの情報が端末機能情報記憶部23に記憶されている場合には、上記S8に進み、上述した一連の処理(S9からS12)が実行される。なお、S11において空きチャネルを発見できなかった場合、AP/STAモードを終了して他のモードに変更するよう、ユーザやアプリケーションに対して、モード設定部25またはモード表示部24により促してもよい。あるいは、再度、S1から処理を繰り返し行ってもよい。
In S7, when the mode determination unit 22 determines that the information stored in the terminal function information storage unit 23 is the STA fixed mode information, the wireless communication device 1 is activated as a slave station and the master station is activated. The fact that it cannot be found may be displayed on the mode display unit 24, the search for the master station may be continued as it is, the startup may be terminated and the power may be turned off automatically, or the STA fixed mode The mode setting unit 25 or the mode display unit 24 may prompt the user or application to end the process and change to another mode.
On the other hand, in S7, when the mode determination unit 22 determines that the information stored in the terminal function information storage unit 23 is not the STA fixed mode information, that is, the AP / STA mode information is the terminal function information storage unit 23. Is stored, the process proceeds to S8, and the above-described series of processing (S9 to S12) is executed. If a free channel cannot be found in S11, the mode setting unit 25 or the mode display unit 24 may prompt the user or application to end the AP / STA mode and change to another mode. . Alternatively, the process may be repeated from S1 again.

以上の処理により、端末機能情報記憶部23に記憶されている情報が、AP固定モードの情報である場合には、指定されたチャネルまたは空きチャネルで、無線通信装置1が親局として機能する。また、端末機能情報記憶部23に記憶されている情報が、STA固定モードの情報である場合には、無線通信装置1は子局として機能する。さらに、端末機能情報記憶部23に記憶されている情報が、AP/STAモードの情報である場合には、親局がいる場合には子局として機能し、親局がいない場合には親局として機能することになる。  As a result of the above processing, when the information stored in the terminal function information storage unit 23 is information on the AP fixed mode, the wireless communication device 1 functions as a master station on a designated channel or an empty channel. When the information stored in the terminal function information storage unit 23 is STA fixed mode information, the wireless communication device 1 functions as a slave station. Further, when the information stored in the terminal function information storage unit 23 is AP / STA mode information, it functions as a slave station when there is a master station, and when there is no master station, the master station Will function as.

したがって、予めユーザが、無線通信装置1の端末機能情報記憶部23に対して、モード設定部25により、所望とする動作モードを記憶させることにより、ユーザが希望するモードで無線通信装置1を使用することができる。  Therefore, the user uses the wireless communication device 1 in the mode desired by the user by storing the operation mode desired by the mode setting unit 25 in the terminal function information storage unit 23 of the wireless communication device 1 in advance. can do.

例えば、ユーザが、無線通信装置1を既存のネットワークとは独立のネットワークを構成する装置にしたいと考える場合には、無線通信装置1をAP固定モードに設定すればよい。また、無線通信装置の内据え置きで使用される装置、あるいは、あまりユーザに持ち運ばれない装置は、AP固定モードあるいはAP/STAモードに設定されることが望ましい。さらに、無線通信装置の内常時電源が入っている無線通信装置(例えばホームサーバ)は、AP固定モードに設定されることが好ましい。  For example, when the user wants to make the wireless communication device 1 a device that forms a network independent of the existing network, the wireless communication device 1 may be set to the AP fixed mode. In addition, it is desirable that a device used in a stationary state of a wireless communication device or a device that is not carried by a user so much is set to an AP fixed mode or an AP / STA mode. Furthermore, it is preferable that the wireless communication device (for example, home server) in which the power is always turned on is set to the AP fixed mode.

また、ストリームの受信のみで十分な無線通信装置は、STA固定モードに設定するのが好ましい。さらに、比較的低機能な無線通信装置(例えば、低機能なテレビ、携帯電話、およびPDA)は、STA固定モードに設定することが好ましい。  In addition, it is preferable that a wireless communication apparatus that only needs to receive a stream is set to the STA fixed mode. Furthermore, it is preferable to set a relatively low-function wireless communication device (for example, a low-function TV, a mobile phone, and a PDA) to the STA fixed mode.

さらに、親局になる程の機能を備えてはいないが、親局がいないときには代わりに親局として起動させたい無線通信装置は、AP/STAモードに設定することが好ましい。またストリームの送信機能を備える無線通信装置(例えば、ビデオデッキやビデオカメラ)は、AP/STAモード(あるいはAP固定モード)にするのが好ましい。  Furthermore, it is preferable to set the AP / STA mode for a wireless communication apparatus that does not have a function to become a master station but wants to be activated as a master station instead when there is no master station. A wireless communication apparatus (for example, a video deck or a video camera) having a stream transmission function is preferably set to the AP / STA mode (or the AP fixed mode).

また、上記通信品質制御部18は、他の無線通信装置に対する無線帯域の割り当てを計算すると共に、前記他の無線通信装置に割り当てた無線帯域を示す帯域情報を通知して、各無線通信装置間の通信品質を制御したが、これに限定されるものではない。  Further, the communication quality control unit 18 calculates the allocation of radio bands to other radio communication devices, and notifies the band information indicating the radio bands allocated to the other radio communication devices, so that each radio communication device However, the communication quality is not limited to this.

例えば、通信品質制御部18が、他の無線通信装置に対する送信待ち時間を制御すると共に、前記他の無線通信装置に前記送信待ち時間の情報を通知して、各無線通信装置間の通信品質を制御してもよい。つまり、無線帯域の割り当てを行わずに、優劣を付けた送信待ち時間の情報を各無線通信装置に通知し、その情報を受信した各無線通信装置は、自身が送信したいデータの優劣(優先順位)を自身で判断して、上記送信待ち時間だけ待って、各無線通信装置が銘々に送信することで通信品質を制御してもよい。  For example, the communication quality control unit 18 controls the transmission waiting time for other wireless communication devices, and notifies the other wireless communication devices of the transmission waiting time information, thereby determining the communication quality between the wireless communication devices. You may control. That is, without assigning a radio band, each wireless communication device is notified of information on the transmission waiting time with superiority or inferiority, and each wireless communication device that has received the information has superiority or inferiority (priority order) of data that it wants to transmit. ) By itself, waiting for the above-mentioned transmission waiting time, and each wireless communication device may transmit the name to control the communication quality.

なお、この場合には、各無線通信装置が銘々に送信するため競合が生じるが、通信品質制御部が上記待ち時間を制御することで、競合状態を一定レベルにすることができる。  Note that in this case, competition occurs because each wireless communication apparatus transmits in a deliberate manner, but the competition quality control unit controls the waiting time, so that the competition state can be set to a certain level.

また、この待ち時間を通知する方式の通信品質制御部は、無線通信装置に対する実装が簡易であるため、各種の無線通信装置に幅広く適用できる。  In addition, the communication quality control unit that notifies the waiting time can be easily applied to various wireless communication devices because it is easy to mount on the wireless communication device.

以上のように、本実施の形態に係る無線通信装置1は、親局と子局とからなる無線ネットワークシステムを構成する無線通信装置において、自装置を親局として機能させるための親局機能制御部(親局機能制御手段)17と、自装置を子局として機能させるための子局機能制御部(子局機能制御手段)19と、前記親局機能制御部17を機能させて自装置を親局として動作させるAP固定モード(第1動作モード)、前記子局機能制御部19を機能させて自装置を子局として動作させるSTA固定モード(第2動作モード)、および、前記親局機能制御部17または子局機能制御部19の何れかを機能させて自装置を親局または子局の何れかで動作させるAP/STAモード(第3動作モード)のうち何れかの動作モードが記憶された端末機能情報記憶部(記憶手段)23と、前記端末機能情報記憶部23に記憶されている動作モードを判定するモード判定部(判定手段)22と、前記モード判定部22が判定した動作モードに基づいて自装置を動作させるモード制御部(モード制御手段)21とを備えている。  As described above, the radio communication device 1 according to the present embodiment is configured to control the master station function for causing the own device to function as the master station in the radio communication device constituting the radio network system including the master station and the slave station. Unit (master station function control means) 17, slave station function control section (slave station function control means) 19 for causing the own apparatus to function as a slave station, and the master station function control section 17 to function. AP fixed mode (first operation mode) for operating as a master station, STA fixed mode (second operation mode) for causing the slave station function control unit 19 to function as a slave station, and the master station function One of the operation modes of the AP / STA mode (third operation mode) in which either the control unit 17 or the slave station function control unit 19 is caused to function to operate the own apparatus in either the master station or the slave station is stored. Terminal Based on the information storage unit (storage unit) 23, the mode determination unit (determination unit) 22 that determines the operation mode stored in the terminal function information storage unit 23, and the operation mode determined by the mode determination unit 22 And a mode control unit (mode control means) 21 for operating the device itself.

したがって、無線通信装置1を親局として動作させたい場合には、AP固定モードを端末機能情報記憶部23に記憶させることで、この無線通信装置1を親局として動作させることができる。また、無線通信装置1を親局として動作させたくない場合には、STA固定モードを端末機能情報記憶部23に記憶させることで、この無線通信装置1を子局として動作させることができる。さらに、無線通信装置1を親局として動作させてもよい場合には、AP/STAモードを端末機能情報記憶部23に記憶させることにより、この無線通信装置1を親局または子局として動作させることができる。  Therefore, when it is desired to operate the wireless communication apparatus 1 as a master station, the wireless communication apparatus 1 can be operated as a master station by storing the AP fixed mode in the terminal function information storage unit 23. When it is not desired to operate the wireless communication apparatus 1 as a master station, the wireless communication apparatus 1 can be operated as a slave station by storing the STA fixed mode in the terminal function information storage unit 23. Further, when the wireless communication device 1 may be operated as a master station, the wireless communication device 1 is operated as a master station or a slave station by storing the AP / STA mode in the terminal function information storage unit 23. be able to.

それゆえ、無線ネットワークシステムが、上記無線通信装置1の構成を有する無線通信装置で形成されている場合、所定の能力を備える無線通信装置を親局として設定可能とし得る。  Therefore, when the wireless network system is formed by a wireless communication device having the configuration of the wireless communication device 1, a wireless communication device having a predetermined capability can be set as a master station.

また、上記無線通信装置1は、さらに、他の無線通信装置に対する無線帯域の割り当てを計算すると共に、前記他の無線通信装置に割り当てた無線帯域を示す帯域情報を通知して、各無線通信装置間の通信品質を制御するか、あるいは、他の無線通信装置に対する送信待ち時間を制御すると共に、前記他の無線通信装置に前記送信待ち時間の情報を通知して、各無線通信装置間の通信品質を制御する通信品質制御部(通信品質制御手段)18を備えており、自装置を親局として動作させる場合には、モード制御部21は、通信品質制御可能な親局として自装置を動作させるものである。  Further, the wireless communication device 1 further calculates the assignment of the wireless band to the other wireless communication device, and notifies the wireless communication device 1 of the band information indicating the wireless band assigned to the other wireless communication device. The communication quality between the wireless communication devices is controlled, or the transmission waiting time for other wireless communication devices is controlled, and the information of the transmission waiting time is notified to the other wireless communication devices, so that the communication between the wireless communication devices is performed. A communication quality control unit (communication quality control means) 18 for controlling quality is provided, and when operating the own device as a parent station, the mode control unit 21 operates the own device as a parent station capable of controlling communication quality. It is something to be made.

それゆえ、親局機能の能力のみならず、通信品質制御機能の能力も考慮して、動作モードを端末機能情報記憶部23に記憶させることにより、通信品質制御機能の能力が低い無線通信装置が親局となるのを防ぐことができる。したがって、通信品質が保証された無線ネットワークを構築できる。  Therefore, in consideration of not only the capability of the master station function but also the capability of the communication quality control function, the wireless communication apparatus having a low capability of the communication quality control function can be obtained by storing the operation mode in the terminal function information storage unit 23. It can prevent becoming a master station. Therefore, a wireless network in which communication quality is guaranteed can be constructed.

さらに、上記無線通信装置1は、自装置の動作モードが前記AP/STAモードに設定された場合であって、かつ、他に親局が存在する場合には、前記モード制御部21は、自装置を子局として動作させるものである。  Further, when the operation mode of the wireless communication device 1 is set to the AP / STA mode and there is another master station, the mode control unit 21 The apparatus is operated as a slave station.

したがって、端末機能情報記憶部23にAP/STAモードが記憶されている場合であっても、無線ネットワーク内での親局の乱立を防止することができる。  Therefore, even when the AP / STA mode is stored in the terminal function information storage unit 23, it is possible to prevent the master station from being disturbed in the wireless network.

ところで、上記図2に示したフローの処理の開始タイミングは、例えば、無線通信装置1の電源が投入された場合とすればよい。また、上記モード設定部25により設定・変更が完了した直後であってもよい。さらに、無線通信装置1の筐体に上記フローの処理の開始指示を与えるスタートボタンを設け、このスタートボタンを押したときにフローの処理が開始する構成としてもよい。また、モード設定部25内に、上記スタートボタンに相当するボタンを設ける構成としてもよい。  By the way, the start timing of the processing of the flow shown in FIG. 2 may be, for example, when the power of the wireless communication device 1 is turned on. Further, it may be immediately after the setting / change by the mode setting unit 25 is completed. Further, a start button for giving an instruction to start the flow process may be provided on the housing of the wireless communication apparatus 1, and the flow process may be started when the start button is pressed. In addition, a button corresponding to the start button may be provided in the mode setting unit 25.

なお、以上においては、動作モードが設定された無線通信装置1についてのみの動作、および、このような無線通信装置1が形成する無線ネットワークについて述べたが、上記のような動作モードを持たない従来の無線通信装置が近隣に存在しても何ら影響はなく、ともに同ネットワーク内で動作することが可能である。  In the above description, the operation only for the wireless communication device 1 in which the operation mode is set and the wireless network formed by the wireless communication device 1 have been described. However, the conventional operation mode does not have the above operation mode. Even if there is a wireless communication device in the vicinity, there is no influence and both can operate in the same network.

また、無線通信装置1を、上記モード表示部24を有しない構成としてもよい。さらに、無線通信装置1を、上記モード設定部25を有しない構成としてもよい。ただし、この場合には、端末機能情報記憶部23に記憶されている情報は変更できなくなる。  The wireless communication device 1 may be configured without the mode display unit 24. Furthermore, the wireless communication device 1 may be configured not to include the mode setting unit 25. However, in this case, the information stored in the terminal function information storage unit 23 cannot be changed.

〔実施の形態2〕
本発明の一実施形態について図3から図6に基づいて説明すると以下の通りである。なお、以下の説明では、実施の形態1と同様に、無線通信装置が親局となる場合には、この無線通信装置が通信品質局としても機能する場合について説明する。つまり、無線通信装置は、通信品質制御可能な親局、または、子局としてのみ機能する場合を示す。
[Embodiment 2]
One embodiment of the present invention will be described below with reference to FIGS. In the following description, as in the first embodiment, when the wireless communication apparatus serves as a master station, the case where this wireless communication apparatus also functions as a communication quality station will be described. That is, the case where the wireless communication apparatus functions only as a master station or a slave station capable of controlling communication quality is shown.

図3は、本発明の実施の形態に係る無線通信装置51の機能ブロック図である。  FIG. 3 is a functional block diagram of radio communication apparatus 51 according to the embodiment of the present invention.

無線通信装置51は、同図に示すとおり、CPU(Central Processing Unit)61、MEM(Memory)62、送信データバッファ63、受信データバッファ64、無線通信制御部65、変復調部66、親局機能制御部(親局機能制御手段)67、通信品質制御部(通信品質制御手段)68、子局機能制御部(子局機能制御手段)69、アンテナ70、モード制御部(モード制御手段・制御手段)71、モード判定部(判定手段)72、端末機能情報記憶部(記憶手段)73、モード表示部74、モード設定部75、親局監視部(監視手段)76、主電源制御部(電源制御手段)77、および、端末機能情報通知部(通知手段)78を備えている。  As shown in the figure, the wireless communication device 51 includes a CPU (Central Processing Unit) 61, a MEM (Memory) 62, a transmission data buffer 63, a reception data buffer 64, a wireless communication control unit 65, a modem unit 66, and a master station function control. Section (master station function control means) 67, communication quality control section (communication quality control means) 68, slave station function control section (slave station function control means) 69, antenna 70, mode control section (mode control means / control means) 71, mode determination unit (determination unit) 72, terminal function information storage unit (storage unit) 73, mode display unit 74, mode setting unit 75, master station monitoring unit (monitoring unit) 76, main power supply control unit (power supply control unit) ) 77 and a terminal function information notifying unit (notifying means) 78.

ここで、CPU61、MEM62、送信データバッファ63、受信データバッファ64、変復調部66、親局機能制御部67、通信品質制御部68、子局機能制御部69、アンテナ70、および、モード判定部72は、それぞれ、上記実施の形態1で示した、CPU11、MEM12、送信データバッファ13、受信データバッファ14、変復調部16、親局機能制御部17、通信品質制御部18、子局機能制御部19、アンテナ20、および、モード判定部22と同一の機能を有するため、その説明を省略する。  Here, the CPU 61, the MEM 62, the transmission data buffer 63, the reception data buffer 64, the modem unit 66, the master station function control unit 67, the communication quality control unit 68, the slave station function control unit 69, the antenna 70, and the mode determination unit 72. Are the CPU 11, the MEM 12, the transmission data buffer 13, the reception data buffer 14, the modulation / demodulation unit 16, the master station function control unit 17, the communication quality control unit 18, and the slave station function control unit 19 described in the first embodiment. Since it has the same function as the antenna 20 and the mode determination unit 22, the description thereof is omitted.

また、上記無線通信制御部65、モード制御部71、端末機能情報記憶部73、モード表示部74、および、モード設定部75は、それぞれ、上記実施の形態1で示した、上記無線通信制御部15、モード制御部21、端末機能情報記憶部23、モード表示部24、および、モード設定部25と略同一の機能を有するため、異なる点のみ説明する。  The wireless communication control unit 65, the mode control unit 71, the terminal function information storage unit 73, the mode display unit 74, and the mode setting unit 75 are respectively the wireless communication control unit described in the first embodiment. 15, since it has substantially the same function as the mode control unit 21, the terminal function information storage unit 23, the mode display unit 24, and the mode setting unit 25, only different points will be described.

上記モード設定部75は、実施の形態1で示したモード設定部25が設定可能な事項に加え、無線通信装置51が後述する親局リカバリ機能をサポートするか否かについても設定可能となっている。その他は、上記モード設定部25と同じである。  In addition to the items that can be set by the mode setting unit 25 described in the first embodiment, the mode setting unit 75 can also set whether or not the wireless communication device 51 supports a master station recovery function described later. Yes. The rest is the same as the mode setting unit 25 described above.

ここで、親局リカバリ機能とは、親局の移動等により親局との通信状態が不良となった場合において、(1)再度、該親局と通信が行えるようになれば該親局の子局となり、(2)該親局との通信が不能なままであれば、子局として機能している無線通信装置51自身が親局となれる機能を有する場合、所定の優先度に従って代理の親局となる機能をいう。この親局リカバリ機能によって、子局が親局を見失った場合でも、子局が親局となって無線通信ネットワークを再構築できることとなる。  Here, the master station recovery function is (1) when communication with the master station becomes defective due to movement of the master station, etc. (2) If communication with the master station remains disabled, the wireless communication device 51 functioning as a slave station has the function of becoming a master station. A function that serves as a master station. With this master station recovery function, even if the slave station loses sight of the master station, the slave station can become the master station and the wireless communication network can be reconstructed.

上記端末機能情報記憶部73は、実施の形態1で示した端末機能情報記憶部23が記憶している情報に加えて、上記モード設定部75によって設定される親局リカバリ機能をサポートするか否かの情報も記憶されている。さらに、この端末機能情報記憶部73には、無線通信装置51がネットワークに参加中、親局の送出するビーコン情報、並びに、ネットワーク内の他の無線通信装置の親局機能の能力および品質通信制御機能の能力を記憶する。なお、自端末が所属するネットワークを形成する親局以外の、他親局が送出するビーコン情報を記憶しても構わない。また、上記ビーコン情報、親局機能の能力、および、品質通信制御機能の能力は、無線通信制御部65を介して取得された後、この端末機能情報記憶部73に記憶される。なお、上記ビーコン情報とは、ビーコンから得られる親局のネットワーク識別子、ビーコンの送信周期、または、親局のMACアドレス(情報機器を識別するアドレス)等のことである。  Whether the terminal function information storage unit 73 supports the master station recovery function set by the mode setting unit 75 in addition to the information stored in the terminal function information storage unit 23 shown in the first embodiment. Such information is also stored. Further, in the terminal function information storage unit 73, beacon information transmitted from the master station while the radio communication device 51 is participating in the network, and the capability and quality communication control of the master station function of other radio communication devices in the network. Memorize capability of function. Note that beacon information transmitted by other parent stations other than the parent station forming the network to which the terminal belongs may be stored. The beacon information, the master station function capability, and the quality communication control function capability are acquired via the radio communication control unit 65 and then stored in the terminal function information storage unit 73. The beacon information refers to the network identifier of the master station obtained from the beacon, the beacon transmission cycle, or the MAC address of the master station (address identifying the information device).

上記モード表示部74は、実施の形態1で示したモード表示部24が表示可能な事項に加え、無線通信装置51が親局リカバリ機能をサポートしているか否か、および、無線通信装置51がリカバリ機能をサポートしている場合にはリカバリ状況を表示する。さらに、モード表示部74には、「親局を見失いました。只今捜索中です。」とか、「親局を見つけました。只今参加中です。」とかいった、親局リカバリ機能の動作状況を示してもよい。また、モード表示部24で表示する情報は、無線通信装置1を稼動させたときから常時表示してもよいし、上記親局リカバリ機能をサポートするかどうかといったサポート状況が変更された場合に表示してもよい。  In addition to the items that can be displayed by the mode display unit 24 shown in the first embodiment, the mode display unit 74 displays whether or not the wireless communication device 51 supports the master station recovery function, and whether the wireless communication device 51 If the recovery function is supported, the recovery status is displayed. In addition, the mode display unit 74 displays the operation status of the master station recovery function such as “I lost my master station. I am currently searching.” Or “I found my master station. I am now participating.” May be indicated. The information displayed on the mode display unit 24 may be displayed at all times from when the wireless communication device 1 is operated, or displayed when the support status such as whether to support the master station recovery function is changed. May be.

上記モード制御部71は、上記実施の形態1で示した機能に加え、周囲に一定数のネットワークを形成する無線通信装置が存在する場合であって、かつ、上記AP/STAモードに動作モードが設定されている場合、無線通信装置51自身と上記周囲の無線通信装置との、親局機能の能力および通信品質制御機能の能力の優劣を判断し、無線通信装置51自身の動作モードを親局とすべきか、あるいは、子局とすべきかを決定する。つまり、無線通信装置51の上記能力が、周囲の無線通信装置の上記能力よりも高い場合には、無線通信装置51は品質制御可能な親局として動作するように設定され、低い場合には、子局として動作するように設定される。さらに、モード制御部71は、上述した親局リカバリ機能を制御し、親局機能制御部67、通信品質制御部68、および、子局機能制御部69に対して、リカバリ時の動作を指示する。  In addition to the functions shown in the first embodiment, the mode control unit 71 is a case where there are wireless communication devices that form a certain number of networks in the surroundings, and the operation mode is in the AP / STA mode. If set, the superiority or inferiority of the master station function capability and the communication quality control function capability between the wireless communication device 51 itself and the surrounding wireless communication devices is determined, and the operation mode of the wireless communication device 51 itself is set as the master station. Or whether it should be a slave station. That is, when the above capability of the wireless communication device 51 is higher than that of the surrounding wireless communication devices, the wireless communication device 51 is set to operate as a master station capable of quality control, and when it is low, It is set to operate as a slave station. Further, the mode control unit 71 controls the above-described master station recovery function, and instructs the master station function control unit 67, the communication quality control unit 68, and the slave station function control unit 69 to perform an operation at the time of recovery. .

上記親局監視部76は、無線通信装置51が子局として動作している場合、親局となる他の無線通信装置を監視する。そして、親局との間で通信不良の状態が所定の時間継続していると判断すると、モード制御部71へ親局との通信が不能であることを通知する。なお、親局監視部76に、親局となっている無線通信装置が送出するビーコンを検出用のタイマーを設けて、上記通信不良の状態が所定の時間継続しているか否かを判断している。  When the wireless communication device 51 is operating as a slave station, the master station monitoring unit 76 monitors other wireless communication devices that are master stations. If it is determined that the state of communication failure with the master station continues for a predetermined time, the mode control unit 71 is notified that communication with the master station is impossible. The master station monitoring unit 76 is provided with a timer for detecting a beacon transmitted by the radio communication device serving as the master station, and determines whether or not the communication failure state continues for a predetermined time. Yes.

上記主電源制御部77は、無線通信装置1に対する電源の供給を制御すると共に、この電源の供給状態についての情報を、端末機能情報通知部78に送信する。  The main power control unit 77 controls power supply to the wireless communication device 1 and transmits information about the power supply state to the terminal function information notification unit 78.

上記端末機能情報通知部78は、他の無線通信装置へ、端末機能情報記憶部73に記憶される自局(無線通信装置51)あるいは他局(他の無線通信装置)の親局機能の能力および通信品質制御機能の能力を、データフレームとして通知する。通知のタイミングとしては、例えば、上記主電源制御部77から電源の供給が停止したという情報を端末機能情報通知部が受信した場合が挙げられる。  The terminal function information notifying unit 78 transmits the capability of the master station function of the own station (wireless communication device 51) or another station (other wireless communication device) stored in the terminal function information storage unit 73 to other wireless communication devices. The communication quality control function capability is notified as a data frame. Examples of the notification timing include a case where the terminal function information notification unit receives information that the supply of power from the main power supply control unit 77 is stopped.

また、上記無線通信制御部65は、端末機能情報通知部78から上記能力の通知を受け、他の無線通信装置に情報を送る点を除けば、実施の形態1に記載の無線通信制御部15と同一の機能を有する。  The wireless communication control unit 65 receives the notification of the capability from the terminal function information notification unit 78 and sends information to other wireless communication devices, except for the wireless communication control unit 15 described in the first embodiment. Has the same function.

ここで、上記親局機能の能力、および、通信品質制御機能の能力について説明する。  Here, the capability of the master station function and the capability of the communication quality control function will be described.

親局機能の能力とは、例えば、親局がサポートする暗号化技術、伝送速度、電力制御技術、あるいは、供給可能な電力量、さらには装置が据え置き型かポータブル型かといったこと等を指す。例えば、X無線通信装置は暗号化技術としてAという技術をサポートしており、Y無線通信装置は暗号化技術としてAの他にBという技術もサポートしている場合は、Y無線通信装置の方が親局としてより機能能力が高いことになる。  The capability of the master station function refers to, for example, encryption technology, transmission speed, power control technology, or the amount of power that can be supplied, and whether the device is a stationary type or a portable type. For example, the X wireless communication apparatus supports the technique A as an encryption technique, and the Y wireless communication apparatus supports the technique B as well as A as an encryption technique. However, it will have higher functional capabilities as a master station.

通信品質制御機能の能力とは、無線通信環境が変化した場合でも通信品質を保証できるかどうかといった無線通信環境変化対応能力、通信品質を保証した無線通信装置を数多く収容できるかどうかといった収容能力、上記環境変化対応能力や収容能力の機能を実行するための計算処理能力等を指す。なお、通信品質制御機能の能力として、親局では仕様上サポートできない高度の暗号化技術をサポートすることもできる。  The ability of the communication quality control function is the ability to respond to changes in the wireless communication environment, such as whether the communication quality can be guaranteed even when the wireless communication environment changes, the capacity to accommodate a large number of wireless communication devices that guarantee the communication quality, It refers to the calculation processing capacity for executing the functions of the environmental change capacity and the capacity. As a capability of the communication quality control function, it is also possible to support advanced encryption technology that cannot be supported by the master station due to specifications.

より詳しく説明すると、上記通信品質制御機能の能力は、処理性能と提供機能とに大別される。  More specifically, the capability of the communication quality control function is roughly divided into processing performance and a providing function.

上記処理性能に関しては、処理性能が高ければ、それだけ帯域割り当てをきめ細かく実行時に制御できることになる。このため、処理性能が高ければ、有線と比較して変化の激しい無線の伝送環境のもと、無線ネットワークシステム全体のスループットを向上させ、システムに対する機器の収容能力を増すことができる。それゆえ、通信品質制御局の処理性能は所定の条件を満たすことが必要であるとともに、高ければそれだけ好ましい。  Regarding the processing performance, the higher the processing performance, the more finely the bandwidth allocation can be controlled at the time of execution. For this reason, if the processing performance is high, it is possible to improve the throughput of the entire wireless network system and increase the capacity of equipment to be accommodated in the system under a wireless transmission environment that changes more rapidly than the wired network. Therefore, the processing performance of the communication quality control station needs to satisfy a predetermined condition and is preferably as high as possible.

例えば、同じ無線通信環境下において、処理性能が高い通信品質制御局は30Mbpsのデータ伝送速度を実現できるが、処理性能が低い通信品質制御局は24Mbpsに抑えられることがある。また、通信品質制御局の処理性能が高ければ6Mbpsの伝送速度を要するデータを3本同時に伝送できていても、処理性能が低いと2本しか伝送できないことがある。  For example, in the same wireless communication environment, a communication quality control station with high processing performance can realize a data transmission rate of 30 Mbps, but a communication quality control station with low processing performance may be suppressed to 24 Mbps. Further, if the processing performance of the communication quality control station is high, even if three pieces of data requiring a transmission rate of 6 Mbps can be transmitted at the same time, only two lines may be transmitted if the processing performance is low.

また、上記提供機能としては、省電力制御機能や暗号化機能等が挙げられる。例えばIEEE802.11eの規格では、通信品質制御局は、子局である通信装置へ省電力状態に移行可能なタイミングを教示できるが、この機能は帯域割り当てによって可能となるため、通信品質制御局上のHCによって行われる。ただし、この機能の実装はオプションであるため、当該機能を利用するためには当該機能を持つ通信装置を上記通信品質制御局として選択する必要がある。また、IEEE802.11の規格では、従来からあるWEP暗号化機能に加えて、IEEE802.11iとしてより暗号化レベルの高いTKIP暗号化機能を策定している。ただし、このTKIP暗号化機能を実装することは通信品質制御局にとって機能拡張となるため、当該機能を利用するためには当該機能を持つ通信装置を通信品質制御局として選択する必要がある。  Examples of the providing function include a power saving control function and an encryption function. For example, in the IEEE802.11e standard, the communication quality control station can teach the timing at which it is possible to shift to a power saving state to a communication device that is a slave station. Of HC. However, since the implementation of this function is optional, it is necessary to select a communication device having the function as the communication quality control station in order to use the function. In addition, in the IEEE802.11 standard, in addition to the conventional WEP encryption function, a TKIP encryption function having a higher encryption level is formulated as IEEE802.11i. However, since the implementation of the TKIP encryption function is a function expansion for the communication quality control station, it is necessary to select a communication apparatus having the function as the communication quality control station in order to use the function.

このように、通信品質制御局としての能力が高い無線通信装置を、通信品質制御局として選択することが好ましい。  As described above, it is preferable to select a wireless communication apparatus having a high capability as a communication quality control station as the communication quality control station.

次に、上記ビーコン情報、親局機能の能力、および、通信品質制御機能の能力に関する情報の保存期間について説明する。上記端末機能情報記憶部73に記憶しているビーコン情報、親局機能の能力、および、通信品質制御機能の能力の保存情報は、例えば無線通信装置51の電源がオフになると消去してもよいし、消去せずに次電源ON時において利用してもよい。また、上記保存情報の数は、例えば予め10局までと決めておき、それ以降は古いものと順に交換してもよいし、あるいは、上記モード設定部75によってユーザに決定させてもよい。なお、上記ビーコン情報、親局機能の能力、および、通信品質制御機能の能力については、上記モード制御部71が判断基準としてこれら情報および能力を参照する。  Next, a storage period of information regarding the beacon information, the master station function capability, and the communication quality control function capability will be described. The stored information of the beacon information, the master station function capability, and the communication quality control function capability stored in the terminal function information storage unit 73 may be deleted, for example, when the wireless communication device 51 is turned off. However, it may be used at the next power-on without erasing. Further, the number of stored information may be determined in advance, for example, up to 10 stations, and thereafter, the old information may be exchanged in order, or the user may be determined by the mode setting unit 75. Note that the mode control unit 71 refers to these information and capability as a criterion for the beacon information, the capability of the master station function, and the capability of the communication quality control function.

以上のように、上記無線通信装置51では、モード設定部75によって無線通信装置51が親局リカバリ機能をサポートするように設定された場合には、親局リカバリ機能をサポートしているという情報が端末機能情報記憶部73に記憶される。そして、AP/STAモードが設定されている場合であって、かつ、モード制御部71に対して親局と通信不能となっていることが親局監視部76によって通知された場合には、モード制御部71によって、無線通信装置51自身が親局としての機能を果たして通信障害を回復するよう処理がなされる。これらの処理の詳細なフローについては、後述する。  As described above, in the wireless communication device 51, when the wireless communication device 51 is set to support the master station recovery function by the mode setting unit 75, there is information indicating that the master station recovery function is supported. It is stored in the terminal function information storage unit 73. If the AP / STA mode is set and the master station monitoring unit 76 notifies the mode control unit 71 that communication with the master station is disabled, the mode is set. The control unit 71 performs processing so that the wireless communication device 51 itself functions as a master station to recover from a communication failure. A detailed flow of these processes will be described later.

なお、親局と通信不能となる場合としては、大きく分けて、(A)親局が故障した場合、親局の電源が切られた場合、または、親局または自局(子局)が遠方へ移動した場合等によって物理的に親局を見失い、該親局と通信できなくなった場合と、(B)親局が異なる通信チャネルに移動したために親局を見失い、該親局と通信できなくなった場合との2つの種類がある。なお、子局側では、上記(A)または(B)のいずれの理由で親局と通信不能となったのかは判断できないが、少なくとも親局と通信不能となったかどうかは、親局からビーコンを受信できなくなったことで判定できる。  Note that communication with the master station becomes impossible: (A) When the master station breaks down, when the master station is turned off, or when the master station or its own station (slave station) is far away When the master station is physically lost due to, for example, moving to another station, and communication with the master station is lost, and (B) the master station loses sight of the master station because it has moved to a different communication channel and cannot communicate with the master station. There are two types of cases. Note that the slave station cannot determine whether communication with the master station has been disabled for any of the reasons (A) or (B) above. Can be determined by not receiving.

ここで、親局リカバリ機能を発揮して通信障害を回復する際のフローについて、図4のフローチャートに基づいて説明する。なお、図4においては、端末機能情報記憶部73に、AP/STAモード(第3動作モード)が記憶されている場合だけではなく、AP/STAモードの代わりにSTA固定モード(第2動作モード)が記憶されている場合も併せて説明する。  Here, a flow when the communication failure is recovered by exhibiting the master station recovery function will be described based on the flowchart of FIG. In FIG. 4, not only the case where the AP / STA mode (third operation mode) is stored in the terminal function information storage unit 73, but also the STA fixed mode (second operation mode) instead of the AP / STA mode. ) Is stored together.

まず、親局監視部76により、無線通信装置51がビーコンを受信したか否かが判断される(S21)。S21において、ビーコンを受信した場合、親局監視部76のビーコン検出用のタイマーをリセットする(S22)。つまり、再度、タイマーにより初期値(0秒)からの時間計測を開始する。S22の後は、再度、S21に戻り、ビーコンを受信しているか否かが判断される。S21において、ビーコンを受信していない場合には、ビーコンを受信しなくなってから所定の時間経過しているか否か(つまり、タイムアウトか否か)が判断される(S23)。  First, the master station monitoring unit 76 determines whether the wireless communication device 51 has received a beacon (S21). If a beacon is received in S21, the timer for beacon detection of the master station monitoring unit 76 is reset (S22). That is, the time measurement from the initial value (0 seconds) is started again by the timer. After S22, the process returns to S21 again to determine whether or not a beacon is received. If no beacon is received in S21, it is determined whether or not a predetermined time has elapsed since the beacon is no longer received (that is, whether or not a timeout has occurred) (S23).

上記タイムアウトの設定値は、上記理由(A)の場合は小さければ小さいほどよいし、上記理由(B)の場合は「親局が異なる通信チャネルで親局として稼動する時間」以上の値でなければならないため、上記(A)および(B)のいずれの理由による親局との通信不能にも対応できるように、「親局が異なる通信チャネルで親局として稼動する時間」以上の値とする。ただし、子局側では「親局が異なる通信チャネルで親局として稼動する時間」は正確には把握できないため、また、親局は失っていないにも関わらず無線伝搬路状況により偶然にビーコンが届かない場合も想定しなければならないため、例えば、上記タイムアウト値は「ビーコン間隔」の数倍程度としてもよい。また、例えば、上記タイムアウトの設定値は端末機能情報記憶部73に保存しておいた親局のビーコン送信間隔から設定してもよいし、モード設定部75によって、ユーザあるいはアプリケーションが設定してもよい。  In the case of the above reason (A), the smaller the setting value of the timeout is, the better. Therefore, a value equal to or greater than “the time during which the master station operates as a master station in a different communication channel” is set so as to cope with the inability to communicate with the master station due to any of the reasons (A) and (B) above. . However, since the slave station cannot accurately grasp the “time when the master station operates as a master station on a different communication channel”, the beacon is accidentally caused by the radio channel conditions even though the master station has not lost. For example, the timeout value may be several times the “beacon interval” because it must be assumed that the message does not reach. Further, for example, the set value of the timeout may be set from the beacon transmission interval of the master station stored in the terminal function information storage unit 73, or may be set by the user or application by the mode setting unit 75. Good.

S23においてタイムアウトしていない場合には、Deauthenticationフレームを受信したか否かが判断される(S24)。ここで、Deauthenticationフレームとは制御フレームの一種であって、具体的には、無線ネットワークからの離脱命令である。S24において、Deauthenticationフレームを受信しなかった場合には、再度、S21に戻り、ビーコンを受信しているか否かが判断される。  If no time-out has occurred in S23, it is determined whether or not a Deauthentication frame has been received (S24). Here, the Deauthentication frame is a kind of control frame, and specifically is a command to leave the wireless network. If the Deauthentication frame is not received in S24, the process returns to S21 again to determine whether or not a beacon is received.

また、S24において上記Deauthenticationフレームを受信した場合には、親局監視部76は、親局を失った(つまり、親局と通信不能になった)と判断する。また、上記Deauthenticationフレームを受信後、一定時間経過したか否かが判断される(S25)。S25において一定時間経過していない場合には、一定時間が経過するまで待つ。  If the Deauthentication frame is received in S24, the master station monitoring unit 76 determines that the master station has been lost (that is, communication with the master station has become impossible). Further, it is determined whether or not a predetermined time has elapsed after receiving the Deauthentication frame (S25). If the predetermined time has not elapsed in S25, the process waits until the predetermined time elapses.

一定時間経過したか否かを判断する理由は、親局と通信不通となっている理由が上記理由(B)の場合、Deauthenticationフレームを受信した時点では、親局は異なる通信チャネルへ移動して起動を開始している最中である可能性があるため、この時点ではリカバリ処理の開始とは判断せず、上記(A)および(B)のいずれの理由による親局との通信不能にも対応できるようにするためである。なお、上記一定時間の設定値は、上記タイムアウトの設定値と同じ理由により「親局が異なる通信チャネルで稼動する時間」であるが、Deauthenticationフレームを受信した場合は、親局を失うことが明確であり、親局を失っていないにも関わらず無線伝搬路状況により偶然にビーコンが届かない場合を想定しなくてもよい。したがって、この場合には、一定時間の設定値を上記タイマーの設定値よりは小さくすることができる。また、上記タイムアウトの設定値の場合と同様に、一定時間の設定は、例えば端末機能情報記憶部73に保存しておいた親局のビーコン送信間隔から無線通信装置51自身が設定してもよいし、上記モード設定部75によってユーザあるいはアプリケーションが設定してもよい。  The reason for determining whether or not a certain period of time has elapsed is that when the reason for being out of communication with the master station is the above reason (B), the master station moves to a different communication channel when the Deauthentication frame is received. Since it may be in the middle of starting, it is not determined that the recovery process is started at this point, and communication with the master station is disabled due to any of the reasons (A) and (B) above. This is in order to be able to cope. Note that the set value for the fixed time is the “time for which the master station operates on a different communication channel” for the same reason as the timeout value, but it is clear that the master station will be lost if a Deauthentication frame is received. It is not necessary to assume a case where a beacon does not arrive accidentally due to the state of the radio propagation path even though the master station is not lost. Therefore, in this case, the set value for a certain time can be made smaller than the set value for the timer. Similarly to the time-out setting value, the fixed time setting may be set by the wireless communication device 51 itself from the beacon transmission interval of the master station stored in the terminal function information storage unit 73, for example. The user or application may be set by the mode setting unit 75.

また、S25において一定時間経過している場合には、および、S23においてタイムアウトしている場合には、上記親局監視部76はモード制御部71に通知し、親局リカバリ機能を発揮し、親局のリ力バリを開始する。まず、モード制御部71は、子局機能制御部69を介して無線通信制御部65に指示し、上記(B)の理由による親局との通信不能にも対応できるように、全通信チャネルにわたり親局を検索する(S26)。S26の後は、元の親局を発見できたか否かが判断される(S27)。  When a certain time has passed in S25 and when a time-out occurs in S23, the master station monitoring unit 76 notifies the mode control unit 71 to perform the master station recovery function, The station's power burr starts. First, the mode control unit 71 instructs the wireless communication control unit 65 via the slave station function control unit 69 and covers all communication channels so as to cope with the inability to communicate with the master station due to the reason (B) above. The master station is searched (S26). After S26, it is determined whether or not the original master station has been found (S27).

S27において元の親局を発見できれば、モード制御部71は子局機能制御部69を介して無線通信制御部65に指示し、発見した通信チャネルで元の親局に参加するため、元の親局への参加処理を行う(S32)。S32の後は、元の親局への参加が成功したか否かが判断される(S33)。S33において参加に成功した場合、親局リカバリの処理を終了する。一方、S33において、参加に成功しなければ、そのままの状態で、親局リカバリの処理を終了する。ただし、親局リカバリの処理を終了せずに、参加が成功するまで上記参加処理を繰り返してもよい。  If the original master station can be found in S27, the mode control unit 71 instructs the wireless communication control unit 65 via the slave station function control unit 69 and participates in the original master station via the discovered communication channel. The participation process to the station is performed (S32). After S32, it is determined whether or not the participation in the original master station has been successful (S33). If the participation is successful in S33, the master station recovery process is terminated. On the other hand, if the participation is not successful in S33, the master station recovery process is terminated as it is. However, the participation process may be repeated until the participation is successful without terminating the master station recovery process.

S27において元の親局を発見できなければ、モード制御部71は子局機能制御部69を介して無線通信制御部65に指示し、元の通信チャネルにおいて代理親局ができているか否かを検索する(S28)。S28の後は、代理親局が発見できたか否かが判断される(S29)。S29において代理親局が発見できたと判断された場合、発見された代理親局が複数台であるか否かが判断される(S30)。なお、このように代理親局が複数台であるか否かを判断する理由は、各無線通信装置間での親局リカバリ機能による処理の開始タイミングのずれや、無線通信伝搬路状況等の影響により同時に複数の代理親局を発見する場合があるためである。  If the original master station cannot be found in S27, the mode control unit 71 instructs the radio communication control unit 65 via the slave station function control unit 69 to determine whether or not a proxy master station is established in the original communication channel. Search is performed (S28). After S28, it is determined whether or not a proxy master station has been found (S29). If it is determined in S29 that a proxy master station has been found, it is determined whether or not a plurality of proxy master stations have been found (S30). The reason for determining whether or not there are a plurality of proxy master stations in this way is the influence of the start timing shift of the master station recovery function between the radio communication devices, the influence of the radio communication propagation path condition, etc. This is because there are cases where a plurality of proxy master stations are discovered simultaneously.

S30において複数の代理局を発見しなかった場合、つまり、1台の代理親局のみを発見できた場合には、S32に進み、以後、上述したS32以降の一連の処理がなされる。一方、S30において複数台の代理親局が発見された場合には、モード制御部71によって判断した優先度に従って、一番高い優先度を持つ代理親局を判断して参加する代理親局を選択する(S31)。そして、S32に進み、モード制御部71は、子局機能制御部69を介して無線通信制御部65に指示し、該代理親局に参加する処理を行う。なお、優先度については、後述する。  If a plurality of proxy stations are not found in S30, that is, if only one proxy master station is found, the process proceeds to S32, and thereafter, the above-described series of processing from S32 is performed. On the other hand, when a plurality of proxy master stations are found in S30, the proxy master station having the highest priority is determined according to the priority determined by the mode control unit 71, and the proxy master station to participate in is selected. (S31). In step S32, the mode control unit 71 instructs the wireless communication control unit 65 via the slave station function control unit 69 to perform processing for joining the proxy master station. The priority will be described later.

上記S29において代理親局が発見できなかった場合、モード制御部71は無線通信装置51自身(自局)が親局になるだけの能力があるかどうかを判断する(S34)。S34において自局が親局になるだけの能力がないと判断した場合、そのまま親局リカバリの処理を終了する。なお、そのまま親局リカバリの処理を終了する代わりに、他に代理親局ができるまで全通信チャネルを検索し続けてもよいし、全く異なる親局に参加してもよい。さらに、自動的に電源をオフにして動作を終了してもよい。なお、自局が親局になれるかどうかの判断は、自装置のモードがAP/STAモードであるかを基に判断される。  When the proxy master station cannot be found in S29, the mode control unit 71 determines whether or not the wireless communication device 51 itself (own station) has the capability to become the master station (S34). If it is determined in S34 that the own station is not capable of becoming a master station, the master station recovery process is terminated. Instead of ending the master station recovery process as it is, all communication channels may be searched until another proxy master station is created, or a completely different master station may be joined. Further, the operation may be ended by automatically turning off the power. Whether or not the own station can become the master station is determined based on whether the mode of the own apparatus is the AP / STA mode.

S34において自局が親局になることができる場合は、自局において優先度をモード制御部71によって判断する(S35)。そして、S35の後は、その優先度に基づいて設定された時間が経過したか否かが判断される(S36)。つまり、優先度に応じて、異なる時間が設定されており、この設定時間が経過したか否かが判断される。また、優先度が高いほど、短い時間が設定される。  If the own station can become the master station in S34, the priority is determined by the mode control unit 71 in the own station (S35). Then, after S35, it is determined whether or not the time set based on the priority has elapsed (S36). That is, a different time is set according to the priority, and it is determined whether or not this set time has elapsed. Also, the higher the priority, the shorter the time is set.

ここで、優先度に基づいて時間が設定されている理由は、複数の親局になることができる無線通信装置が一斉に親局リカバリの処理を開始し代理親局として動作を開始すれば、代理親局が乱立してしまう恐れがあるためである。  Here, the reason why the time is set based on the priority is that if the wireless communication devices that can become a plurality of parent stations start the processing of the master station recovery at the same time and start the operation as a proxy master station, This is because there is a possibility that the proxy master station will be disturbed.

S36において優先度に基づいて設定された時間が未だ経過していない場合には、モード制御部71は、親局機能制御部67または子局機能制御部69を介して無線通信制御部65に指示して、他に代理親局または元の親局がいないかどうかを現チャネル内で検索する(S37)。  If the time set based on the priority in S36 has not yet elapsed, the mode control unit 71 instructs the wireless communication control unit 65 via the master station function control unit 67 or the slave station function control unit 69. Then, it is searched in the current channel whether there is any other proxy master station or original master station (S37).

このように優先度に基づいて設定された時間が未だ経過していない場合でも検索を行う理由は、上記のようにいくら優先度を設け、その優先度に基づいた時間経過後に代理親局として起動したとしても、その待機開始のタイミングや代理親局として起動するタイミングは自局で判断するため、各無線通信装置間で何らかの理由により時間的なずれが生じると代理親局が乱立してしまう恐れがあるので、このような乱立を防止するためである。  Thus, even when the time set based on the priority has not yet passed, the reason for performing the search is that the priority is set as described above, and it starts as a proxy master station after the time based on the priority has passed Even so, the timing of the standby start and the timing of starting as the proxy master station are determined by the own station, so if there is a time lag between the wireless communication devices for some reason, the proxy master station may be disturbed This is to prevent such an overshoot.

S37の後は、代理親局または元の親局が発見できたか否かが判断される(S38)。S38において代理親局または元の親局が発見できない場合には、再度、S36に戻る。一方、S38において代理親局が発見できたと判断された場合、発見された代理親局と自局のどちらが親局になるかを判断するため、モード制御部71により、発見された代理親局の優先度が自局より高いか否かが判断される(S39)。  After S37, it is determined whether the proxy master station or the original master station has been found (S38). If the proxy master station or the original master station cannot be found in S38, the process returns to S36 again. On the other hand, if it is determined in S38 that the proxy master station has been found, the mode control unit 71 determines whether the detected proxy master station is the master station. It is determined whether or not the priority is higher than the own station (S39).

S39において代理親局の優先度が自局より低い場合には、再度、S36に戻り、そのまま代理親局の検索を続ける。一方、S39において代理親局の優先度が自局より高い場合には、上記S32に進み、自局より高い優先度を持つ親局への参加処理を行い、以後、上述したS32以降の一連の処理がなされる。あるいは、上記S38において代理親局または元の親局が発見できたと判断された場合、上述したS32以降の一連の処理を行ってもよい。  If the priority of the proxy master station is lower than that of the own station in S39, the process returns to S36 again to continue searching for the proxy master station. On the other hand, if the priority of the proxy master station is higher than that of the own station in S39, the process proceeds to S32, where the process of joining the master station having a higher priority than the own station is performed. Processing is done. Alternatively, when it is determined in S38 that the proxy master station or the original master station has been found, a series of processes after S32 described above may be performed.

また、上記S36において優先度に基づいて設定された時間が経過した場合には、自局(無線通信装置51自身)が代理親局として起動する(S41)。S41の後は、代理親局として起動してから一定時間経過したか否かが判断される(S42)。  When the time set based on the priority in S36 has elapsed, the own station (wireless communication device 51 itself) is activated as a proxy master station (S41). After S41, it is determined whether or not a certain period of time has elapsed since activation as a proxy master station (S42).

S42において一定時間が未だ経過していない場合には、モード制御部71は、親局機能制御部67または子局機能制御部69を介して無線通信制御部65に指示して、他に代理親局または元の親局がいないかどうかを現チャネル内で検索する(S43)。なお、このように一定時間が未だ経過していない場合においても検索を行う理由は、上述した、優先度に基づいて設定された時間が未だ経過していない場合にでも検索を行う理由と同様であり、代理親局の乱立を防止するためである。  If the predetermined time has not yet elapsed in S42, the mode control unit 71 instructs the wireless communication control unit 65 via the master station function control unit 67 or the slave station function control unit 69, and sends the other proxy parent. Whether there is a station or the original master station is searched in the current channel (S43). The reason for performing the search even when the predetermined time has not yet elapsed is the same as the reason for performing the search even when the time set based on the priority has not yet elapsed. Yes, in order to prevent the proxy master station from being overrun.

S43の後は、代理親局が発見できたか否かが判断される(S44)。S44において代理親局または元の親局が発見できない場合には、再度、S42に戻る。一方、S44において代理親局が発見できたと判断された場合、発見された代理親局と自局のどちらが親局になるかを判断するため、モード制御部71により、発見された代理親局の優先度が自局より高いか否かが判断される(S45)。  After S43, it is determined whether or not a proxy master station has been found (S44). If the proxy master station or the original master station cannot be found in S44, the process returns to S42 again. On the other hand, if it is determined in S44 that the proxy master station has been found, the mode control unit 71 determines whether the detected proxy master station or the own station becomes the master station. It is determined whether or not the priority is higher than the own station (S45).

S45において代理親局の優先度が自局より低い場合には、再度、S42に戻り、そのまま代理親局として処理を続ける。一方、S45において代理親局の優先度が自局より高い場合には、代理親局としての処理を終了する(S40)。そして、S40の後は上記S32に進み、自局より高い優先度を持つ親局への参加処理を行い、以後、上述したS32以降の一連の処理がなされる。あるいは、上記S44において元の親局が発見できたと判断された場合、代理親局としての処理を終了し(S40)、以後、上述したS32以降の一連の処理を行ってもよい。  If the priority of the proxy master station is lower than that of the own station in S45, the process returns to S42 again, and the process continues as the proxy master station. On the other hand, when the priority of the proxy master station is higher than that of the own station in S45, the process as the proxy master station is terminated (S40). After S40, the process proceeds to S32, where a process of joining a master station having a higher priority than the own station is performed, and thereafter, a series of processes after S32 described above are performed. Alternatively, when it is determined in S44 that the original master station has been found, the process as the proxy master station may be terminated (S40), and thereafter, the above-described series of processes from S32 may be performed.

また、S42において一定時間が経過した場合には、自局が親局となり、親局リカバリの処理を終了する。  If a predetermined time has elapsed in S42, the own station becomes the parent station, and the parent station recovery process ends.

なお、S41以降において、代理親局として動作を開始する通信チャネルは、元の通信チャネルであることが望ましい。これは以下の理由による。親局を失ったときには、すぐに通信を再開することが重要であり、そのためには残りの局を極力同じネットワークに集めることが必要である。そこで、代理親局として動作を開始する通信チャネルを今まで使用していた元の通信チャネルと固定しておくことにより、代理親局側からも子局側からも、今まで同ネットワーク内に存在した無線通信装置の発見が容易になり、速やかに通信を再開することが可能となるためである。  In S41 and after, it is desirable that the communication channel that starts the operation as the proxy master station is the original communication channel. This is due to the following reason. When the master station is lost, it is important to resume communication immediately. To do so, it is necessary to collect the remaining stations in the same network as much as possible. Therefore, by fixing the communication channel that starts the operation as the proxy master station to the original communication channel that has been used up to now, both the proxy master station side and the slave station side exist in the network until now This is because it is easy to find the wireless communication device, and it is possible to resume communication promptly.

また、上記S30において、代理親局を複数台発見できなかった場合(つまり、代理親局を一台だけ発見できた場合)、および、複数台発見できた場合とも、この発見した代理親局に参加したが、AP/STAモードに設定されている場合には、これら発見した代理親局と自局との優先度を比較して、自局が代理親局として動作してもよい。  In S30, when a plurality of proxy master stations are not found (that is, when only one proxy master station is found) and when a plurality of proxy master stations are found, the discovered proxy master station When participating, but in the AP / STA mode, the priority of the discovered proxy parent station and the own station may be compared to operate as the proxy parent station.

以上のように、本実施の形態に係る無線通信装置51は、親局となる他の無線通信装置を監視する親局監視部(監視手段)76を備え、自装置の動作モードがAP/STAモード(第3動作モード)に設定された場合であって、かつ、親局監視部76により親局との通信状態が不良であると判断された場合、モード制御部(モード制御手段)71は、親局機能制御部(親局機能制御手段)67を動作させて自装置を親局として動作させるか、または、子局機能制御部(子局機能制御手段)69を動作させて子局として動作させるかを決定する。  As described above, the wireless communication device 51 according to the present embodiment includes the master station monitoring unit (monitoring means) 76 that monitors other wireless communication devices serving as master stations, and the operation mode of the own device is AP / STA. When the mode (third operation mode) is set and the master station monitoring unit 76 determines that the communication state with the master station is bad, the mode control unit (mode control means) 71 The master station function control section (master station function control means) 67 is operated to operate the own apparatus as a master station, or the slave station function control section (slave station function control means) 69 is operated as a slave station. Decide whether to operate.

それゆえ、親局との通信状態が不良となった場合、例えば、他に親局になる無線通信装置がなければ、自装置が親局となることにより無線ネットワークを再構築できる。また、他に親局となる無線通信装置があれば、自装置が子局のままでいることにより、親局の乱立を防止できる。  Therefore, when the communication state with the parent station becomes poor, for example, if there is no other wireless communication device that becomes the parent station, the wireless network can be reconstructed by the own device becoming the parent station. In addition, if there is another wireless communication device serving as a master station, it is possible to prevent the master station from standing up because the device remains a slave station.

ここで、上述した優先度について説明する。  Here, the priority described above will be described.

優先度とは、親局となるべき無線通信装置を判断する基準をいう。優先度としては、例えば、ネットワークを形成する各無線通信装置に割り当てられた個別のアドレス(以下ネットワークアドレスと呼ぶ)を、小さい順に並べた場合の順番が挙げられる。  The priority refers to a criterion for determining a wireless communication device to be a master station. The priority includes, for example, the order in which individual addresses (hereinafter referred to as network addresses) assigned to each wireless communication device forming the network are arranged in ascending order.

ここで、ネットワークアドレスを優先度として利用できるのは、以下の理由による。一般に各無線通信装置は相手局と通信するために相手局のネットワークアドレスを親局から入手しているため、この親局に参加している間は、相手局のネットワークアドレスを端末機能情報記憶部73に保存することが可能である。したがって、モード制御部71は端末機能情報記憶部73から同じネットワーク内における全ての無線通信装置のネットワークアドレスを入手可能となる。そのため、上記モード制御部71は、親局から自局に割り当てられたネットワークアドレスの小さい順に並べたときの順番を親局としての優先度として利用することができる。  Here, the network address can be used as the priority for the following reason. In general, each wireless communication device obtains the network address of the partner station from the master station in order to communicate with the partner station. Therefore, while participating in the master station, the network address of the partner station is stored in the terminal function information storage unit. 73 can be stored. Therefore, the mode control unit 71 can obtain the network addresses of all the wireless communication devices in the same network from the terminal function information storage unit 73. Therefore, the mode control unit 71 can use the order in which the network addresses assigned from the parent station to the own station are arranged in ascending order as the priority as the parent station.

また、上記ネットワークアドレスに加えて、親局になれるかどうかの能力を考慮して、優先度を決定してもよい。この場合は、図5に示すように、親局になることのできない無線通信装置をネットワークアドレスの小さい順に並べたときの順番から外すことができ、親局になることができる無線通信装置は優先度を高くすることができる。  In addition to the network address, the priority may be determined in consideration of the ability to become a master station. In this case, as shown in FIG. 5, the wireless communication devices that cannot become the master station can be removed from the order in which the network addresses are arranged in ascending order, and the wireless communication device that can become the parent station has priority. The degree can be increased.

さらに、親局を失う前に端末機能情報記憶部73に保存しておいた、この親局が送出したビーコン情報と、同ネットワーク内の無線通信装置の端末機能情報通知部から得た親局機能の能力および通信品質制御機能の能力についての情報とを用いてモード制御部71は優先度を決定してもよい。  Further, the beacon information transmitted by the master station stored in the terminal function information storage unit 73 before losing the master station, and the master station function obtained from the terminal function information notification unit of the wireless communication device in the network The mode control unit 71 may determine the priority by using the information on the ability and the communication quality control function ability.

このような優先度の決定を実現するために、各無線通信装置はネットワークに参加している間、予め周囲の無線通信装置と、親局機能の能力および通信品質制御機能の能力についての情報を交換し、これら情報を端末機能情報記憶部73に保存しておく。この場合、自局の親局機能の能力および通信品質制御機能の能力についての情報は、端末機能情報通知部78によって他の無線通信装置に対してデータフレームとして通知しておく。また、端末機能情報記憶部73に保存した周囲の無線通信装置に関する親局機能の能力および通信品質制御機能の能力についての情報を自局の情報と共に、別の無線通信装置へ通知転送してもよい。  In order to realize such priority determination, while each wireless communication device participates in the network, information about the surrounding wireless communication device and the capability of the master station function and the communication quality control function is obtained in advance. The information is exchanged and stored in the terminal function information storage unit 73. In this case, information about the capability of the master station function and the capability of the communication quality control function of the local station is notified as a data frame to the other wireless communication apparatus by the terminal function information notification unit 78. Also, the information about the capability of the master station function and the capability of the communication quality control function related to the surrounding wireless communication devices stored in the terminal function information storage unit 73 may be notified and transferred to another wireless communication device together with the information of the local station. Good.

このようにして無線通信装置51が収集した、周囲の無線通信装置に関する親局機能の能力および通信品質制御機能の能力についての情報は、例えば、図6のようになる。  Information about the capability of the master station function and the capability of the communication quality control function related to the surrounding wireless communication devices collected by the wireless communication device 51 in this way is, for example, as shown in FIG.

同図に示すとおり、端末機能情報記憶部73には、親局機能の能力についての情報として、電力供給状態、設置状態、サポートする伝送速度、サポートする暗号化技術、および、サポートする電力制御技術に関する情報が保存されている。また、通信品質制御機能の能力についての情報として、通信品質保証能力、親局として機能する場合における仕様外の暗号化技術のサポート、および、電力制御技術に関する情報が保存されている。さらに、上記通信品質保証能力の情報としては、無線通信環境の変化に対する対応力、無線通信装置の収容台数、通信品質をサポートできる伝送速度、および、上記対応力、収容台数、伝送速度等の通信品質保証能力を実行するまでの計算速度に関する情報を保存している。また、端末機能情報記憶部73には、無線通信装置51自身のMACアドレス、通信チャネル、現在親局であるか否か、親局の能力があるか否か、および、通信品質制御局として動作可能か否かといった情報もあわせて保存している。そして、これらの情報をもとに、例えば、それぞれの情報に得点を付けておき、その合計点に基づき優先度を決定することができる。  As shown in the figure, the terminal function information storage unit 73 includes, as information on the capability of the master station function, a power supply state, an installation state, a supported transmission speed, a supported encryption technology, and a supported power control technology. Information about is stored. In addition, as information on the capability of the communication quality control function, communication quality assurance capability, support for encryption technology out of specification when functioning as a master station, and information on power control technology are stored. Further, the information on the communication quality assurance capability includes communication capability such as adaptability to changes in the radio communication environment, the number of radio communication devices accommodated, the transmission speed capable of supporting communication quality, and the correspondence capability, the accommodated number, the transmission rate, and the like. It stores information about the calculation speed until the quality assurance capability is executed. Further, the terminal function information storage unit 73 operates as a wireless communication device 51 own MAC address, communication channel, whether or not it is currently a master station, whether or not it has master station capability, and a communication quality control station. Information such as whether or not it is possible is also stored. And based on such information, for example, each information can be scored, and the priority can be determined based on the total score.

同図に示すとおり、MACアドレスが100の無線通信装置は、現在の親局であり、かつ、その通信チャネルが1となっている。この場合、MACアドレスが300の無線通信装置の通信チャネルに関する得点は、通信チャネルが1ではなく2なので例えば0点とし、さらに、親局に関する得点は、現在の親局ではないので例えば0点とする。以下、後述するように、各情報について得点を付す。ただし、この得点の付し方は、一例であって、これに限定されるものではない。  As shown in the figure, the wireless communication apparatus having a MAC address of 100 is the current master station and its communication channel is 1. In this case, the score for the communication channel of the wireless communication apparatus having the MAC address of 300 is, for example, 0 points because the communication channel is 2 instead of 1, and the score for the parent station is not the current parent station, for example, 0 points. To do. Hereinafter, as will be described later, a score is assigned to each piece of information. However, the method of assigning the score is an example, and is not limited to this.

例えば親局の能力に関する得点は、能力がある無線通信装置は10点、能力のない無線通信装置は0点とする。  For example, the score regarding the capability of the master station is 10 points for a wireless communication device with capability and 0 points for a wireless communication device without capability.

上記電力供給状態に関する得点は、電力をAC電源から得ている無線通信装置については5点、バッテリーから得ている無線通信装置は0点とする。また、設置状態に関する得点は、据え置き型の無線通信装置については5点、ポータブル型の無線通信装置については0点とする。さらに、上記伝送速度に関する得点は、伝送速度が最大36Mbpsの無線通信装置については10点、最大24Mbpsの無線通信装置については8点とする。また、上記暗号化技術に関する得点は、αという親局の暗号化技術をサポートしている無線通信装置については5点とし、サポートしていなければ0点としている。さらに、上記電力制御技術に関する得点は、Aという電力制御技術をサポートしている無線通信装置については5点とし、サポートしていない無線通信装置については0点とする。また、上記通信品質制御局として動作可能か否かに関する得点は、無線通信装置が、通信品質制御局として動作可能であれば20点とし、動作可能でなければ0点とする。  The score relating to the power supply state is 5 points for a wireless communication device that obtains power from an AC power source and 0 point for a wireless communication device that is obtained from a battery. The score regarding the installation state is 5 points for the stationary wireless communication device and 0 points for the portable wireless communication device. Further, the score regarding the transmission rate is 10 points for a wireless communication device having a maximum transmission rate of 36 Mbps and 8 points for a wireless communication device having a maximum transmission rate of 24 Mbps. Further, the score relating to the encryption technique is 5 points for the wireless communication apparatus that supports the encryption technique of the parent station called α, and 0 points if not. Furthermore, the score regarding the power control technique is 5 points for a wireless communication apparatus that supports the power control technique A, and 0 points for wireless communication apparatuses that do not support the power control technique. The score regarding whether or not the communication quality control station can operate is 20 points if the wireless communication apparatus can operate as a communication quality control station, and 0 points if the wireless communication apparatus cannot operate.

ここで、電力をAC電源から得ている無線通信装置の得点をバッテリーから得ている無線通信装置の得点よりも高くしている理由は、親局はビーコンを送出し続けるため、消費電力が子局に比べて高くなり、AC電源の供給があることが好ましいからである。また、電池駆動の場合には、電池残量が大きいほど好ましいといえる。  Here, the reason why the score of the wireless communication device that obtains power from the AC power source is higher than the score of the wireless communication device that obtains power from the battery is that the master station continues to send out beacons, so This is because it is preferable that the power supply is higher than that of the station and AC power is supplied. In the case of battery driving, it can be said that the larger the remaining battery power, the better.

さらに、据え置き型の無線通信装置の得点をポータブル型の無線通信装置の得点よりも高くしている理由は、親局がポータブル型である場合、通信中に親局が移動すると、ネットワーク間で通信不能になる可能性があるためである。  In addition, the reason why the score of the stationary wireless communication device is higher than the score of the portable wireless communication device is that if the parent station is portable, if the parent station moves during communication, communication between networks This is because it may become impossible.

次に、上記通信品質保証能力に関する得点は、以下のとおりである。上記無線通信環境変化対応力に関する得点については、中程度の対応力を備える無線通信装置を8点としている。さらに、上記収容台数に関する得点は、収容可能な無線通信装置の台数が3台である場合は3点としている。また、上記伝送速度に関する得点は、通信品質を保証した伝送速度が最大36Mbpsである無線通信装置を10点としている。さらに、通信品質保証能力を実行するまでの計算速度が速い無線通信装置は10点としている。  Next, the score concerning the communication quality assurance capability is as follows. Regarding the score regarding the wireless communication environment change resilience, eight wireless communication devices having a moderate adaptability are assigned. Furthermore, the score relating to the number of accommodation is set to 3 when the number of wireless communication apparatuses that can be accommodated is 3. Further, the score concerning the transmission speed is 10 points for the wireless communication apparatus having a maximum transmission speed of 36 Mbps with guaranteed communication quality. Further, the number of wireless communication devices that have a high calculation speed until the communication quality assurance capability is executed is 10 points.

また、上記仕様外の暗号化技術のサポートに関する得点は、オプションとしてXという暗号化技術をサポートしている無線通信装置は5点としている。さらに、電力制御技術に関する得点は、オプションとしての電力制御技術はサポートしていない無線通信装置を0点とする。  In addition, as for the score regarding the support of the encryption technology out of the above specification, the wireless communication device that supports the encryption technology of X as an option is 5 points. Furthermore, the score regarding the power control technology is 0 for wireless communication devices that do not support the optional power control technology.

さらに、各無線通信装置において、得られていない部分(つまり、同図の−部)の情報の得点は0点として計算する。また、親局の能力のない無線通信装置は親局として動作させることができないため、他の得点が何点であっても合計得点は0点と計算する。  Further, in each wireless communication device, the score of information of the part not obtained (that is, the minus part in the figure) is calculated as 0 points. In addition, since a wireless communication apparatus without the capability of the master station cannot be operated as a master station, the total score is calculated as 0 regardless of the other scores.

以上の結果、MACアドレスが100の無線通信装置の合計得点は48点、MACアドレスが200の無線通信装置の合計得点は0点、MACアドレスが300の無線通信装置の合計得点は91点となる。したがって、優先度は、MACアドレスが300の無線通信装置、MACアドレスが100の無線通信装置の順になる。  As a result, the total score of the wireless communication device with the MAC address 100 is 48 points, the total score of the wireless communication device with the MAC address 200 is 0 points, and the total score of the wireless communication device with the MAC address 300 is 91 points. . Therefore, the priority is in the order of a wireless communication device with a MAC address of 300 and a wireless communication device with a MAC address of 100.

なお、各情報に関して、得点の付し方は様々であり、例えば無線通信環境の変化に対する対応力の得点を高く設定しておけば、無線通信環境の変化に対する対応力の高い無線通信装置を親局としてより選定しやすくなる。また、例えば、通信品質制御機能の能力を高く設定しておけば、通信品質制御機能を搭載した無線通信装置を親局として選定しやすくなる。逆に、通信品質制御機能の能力を低く設定しておけば、通信品質制御機能を搭載しない無線通信装置でも親局として、より選定しやすくなる。  Note that there are various ways of assigning points for each information. For example, if a high score for adaptability to changes in the wireless communication environment is set, a wireless communication device with high adaptability to changes in the wireless communication environment is used as a parent. It becomes easier to select as a station. For example, if the capability of the communication quality control function is set high, it is easy to select a wireless communication apparatus equipped with the communication quality control function as a master station. Conversely, if the capability of the communication quality control function is set low, it becomes easier to select a wireless communication apparatus not equipped with the communication quality control function as a master station.

また、得点が同じ場合は、例えばMACアドレスを逆から読んだ値が最小となる無線通信装置を選択するようにしてもよい。なお、これらの調整・変更は上記モード設定部75から行うようにしても構わない。また、図6における親局機能の能力の各要素(例えば、伝送速度)を一部機能と称し、各要素における評価点の割り振り方のことを能力評価に対する寄与率とも称する。  If the score is the same, for example, the wireless communication device that has the smallest value read from the MAC address may be selected. These adjustments / changes may be performed from the mode setting unit 75. Further, each element (for example, transmission rate) of the capability of the master station function in FIG. 6 is referred to as a partial function, and how to assign evaluation points in each element is also referred to as a contribution rate to the capability evaluation.

なお、各情報に関しての得点の付し方、あるいは寄与率を各無線通信装置間で同等に設定しておくことにより、同じ無線通信装置を親局として選定しやすくなり、親局の乱立を防ぐことができる。または、通信を行いたい無線通信装置間で上記設定を同等にしておくことにより、同じ無線ネットワークに参加することができるため、親局が乱立する環境であっても、それぞれ異なる無線ネットワークに参加することなく上記無線通信装置間で通信を再開することができる。  In addition, it is easier to select the same wireless communication device as a master station by setting the score for each information or the contribution rate equally between each wireless communication device, and prevent the master station from becoming unbalanced. be able to. Or, by making the above settings the same between wireless communication devices that want to communicate, it is possible to participate in the same wireless network, so even in an environment where the master station is turbulent, each participates in a different wireless network. Communication can be resumed between the wireless communication devices without any problem.

また、上記電力供給状態がAC電源の場合、かつ、設置状態が据え置き型の場合の得点を高く設定しておけば、親局として、例えばホームサーバなどの固定基地局を選択しやすくすることができる。  In addition, if the power supply state is an AC power supply and the score is high when the installation state is a stationary type, a fixed base station such as a home server can be easily selected as a parent station. it can.

なお、他の無線通信装置についての、上記MACアドレス、通信チャネル、親局としてサポートする伝送速度、暗号化技術、および、電力制御技術については、送出されたビーコンのみの情報によって取得することが可能である。加えて、上述したように、無線通信装置において得られていない部分の情報の得点は0点として計算するため、周囲の無線通信装置と親局機能の能力および通信品質制御機能の能力についての情報を交換していなくても、ビーコンのみの情報からでも優先度を判定することが可能である。  For other wireless communication devices, the MAC address, communication channel, transmission speed supported as a master station, encryption technology, and power control technology can be obtained from only the transmitted beacon information. It is. In addition, as described above, since the score of the information not obtained in the wireless communication device is calculated as 0 points, information on the capabilities of the surrounding wireless communication devices and the master station function and the communication quality control function Even if they are not exchanged, it is possible to determine the priority even from information of only beacons.

また、既に図6のような周囲の無線通信装置に関する親局機能の能力および通信品質制御機能の能力についての情報を端末機能情報記憶部73に記憶済であれば、該情報と発見した他親局から受信したビーコン内のMACアドレスとを照らし合わせ、該親局がどのくらいの優先度を持つかをビーコンのみで得られる情報よりも正確に判断できる。例えば、ビーコン内のMACアドレスが100であるときは、それは図6と照らし合わせると1番上欄に示した無線通信装置から送信されたビーコンであると判断できる。したがって、その無線通信装置の優先度は、例えばそれぞれの情報につけられた得点の合計から得ることができ、優先度は2と判定できることとなる。  Further, if information on the capability of the master station function and the capability of the communication quality control function regarding the surrounding wireless communication apparatus as shown in FIG. 6 has already been stored in the terminal function information storage unit 73, the information By comparing with the MAC address in the beacon received from the station, it is possible to more accurately determine the priority of the parent station than the information obtained only by the beacon. For example, when the MAC address in the beacon is 100, it can be determined that it is a beacon transmitted from the wireless communication device shown in the first column in comparison with FIG. Therefore, the priority of the wireless communication device can be obtained from, for example, the total score given to each piece of information, and the priority can be determined to be 2.

また、優先度の決定に利用できる無線通信装置に関する情報は上記に限らない。例えば、上記のようにネットワークアドレスを利用してもよいし、例えばIEEE802.11eではBSSID(Basic Service Set Identification)やSSID(Service Set Identifier)が利用できる。  Moreover, the information regarding the radio | wireless communication apparatus which can be utilized for determination of a priority is not restricted above. For example, a network address may be used as described above. For example, in IEEE 802.11e, BSSID (Basic Service Set Identification) and SSID (Service Set Identifier) can be used.

また、上記端末機能情報記憶部73に、さらに、過去に通信を行ったことのある他の無線通信装置のID情報を記憶しておき、自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、上記モード制御部71が、上記ID情報を参照することが好ましい。ここで、ID情報とは、例えば、無線通信装置のMACアドレス等の情報を指している。また、ID情報は、例えば、無線通信装置に接続されたハードディスク、DVDディスク、またはメモリ等の記憶装置に記憶されたコンテンツ情報でも構わない。なお、この記憶装置は、無線通信装置に内蔵されていてもよいし、あるいは、外部に設けられると共に無線通信装置と無線または有線で接続されていてもよい。  The terminal function information storage unit 73 further stores ID information of other wireless communication apparatuses that have communicated in the past, and the own apparatus operates as either a master station or a slave station. In determining whether to do so, it is preferable that the mode control unit 71 refers to the ID information. Here, the ID information refers to information such as the MAC address of the wireless communication device, for example. Further, the ID information may be content information stored in a storage device such as a hard disk, a DVD disk, or a memory connected to the wireless communication device. The storage device may be built in the wireless communication device, or may be provided outside and connected to the wireless communication device wirelessly or by wire.

この場合には、上記ID情報に基づいて、過去に通信を行ったことのある無線通信装置等の所望の無線通信装置が無線ネットワークに存在しているか否かが判断できる。この所望の無線通信装置と通信を行いたい場合には、該無線通信装置が無線ネットワークに存在していると自装置が判断できれば、そのまま該無線ネットワークに留まればよいし、存在していないと判断すれば他の無線ネットワークに移動することもできる。さらに、上記ID情報に基づいて、上記の無線通信装置が親局として動作しているということが分かれば、自装置を子局として動作させ、該無線通信装置が親局として構成する無線ネットワークに参加すればよいと判断できる。このように動作することにより、上記ID情報に基づいて通信を行いたい無線通信装置同士が同じ無線ネットワークに参加することができるため、代理親局が乱立する環境であっても、それぞれ異なる無線ネットワークに参加することなく上記無線通信装置間で通信を再開することができる。したがって、自装置が親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られる。  In this case, based on the ID information, it can be determined whether or not a desired wireless communication device such as a wireless communication device that has performed communication in the past exists in the wireless network. When it is desired to communicate with the desired wireless communication device, if the own device can determine that the wireless communication device is present in the wireless network, it can be left in the wireless network as it is or not. If so, you can move to another wireless network. Further, if it is known that the wireless communication device is operating as a master station based on the ID information, the wireless communication device is operated as a slave station, and the wireless communication device is configured as a master station. It can be judged that participation is sufficient. By operating in this way, wireless communication devices that wish to communicate based on the ID information can participate in the same wireless network. Communication between the wireless communication devices can be resumed without participating in the communication. Therefore, it is possible to obtain judgment information for determining whether the own apparatus operates as a master station or a slave station.

さらに、主電源が常時オン状態か否かという項目を図6の項目に追加し、優先度決定に利用してもよい。これは、主電源が常時オンとなる装置は、親局として適しているためである。  Further, an item indicating whether or not the main power supply is always on may be added to the items in FIG. 6 and used for priority determination. This is because a device in which the main power supply is always on is suitable as a master station.

以上の説明においては、代理親局を検索する通信チャネルおよび代理親局になるときの通信チャネルを、元の親局を失う前に元の親局が動作していた通信チャネルとしていたが、他の通信チャネルでも構わない。これは、以下の理由による。  In the above description, the communication channel for searching for the proxy master station and the communication channel for becoming the proxy master station are the communication channels in which the original master station was operating before losing the original master station. Any communication channel may be used. This is due to the following reason.

例えば、元の通信チャネルの伝搬路状態が悪化している場合は、代理親局を発見できないため、上記ステップにより各局が代理親局として動作する。それゆえ、親局が乱立してしまう状況が考えられる。この場合において、自局が代理親局になるときには伝搬路状態が良好な他の通信チャネルで動作でき、代理親局を検索するときには元の通信チャネルに限らず他の通信チャネルも検索することにより代理親局を発見できる。この結果、親局の乱立を防ぐことが可能となるためである。  For example, when the propagation path state of the original communication channel is deteriorated, the proxy master station cannot be found, and thus each station operates as a proxy master station by the above steps. Therefore, there can be a situation in which the master station becomes unstable. In this case, when the local station becomes a proxy master station, it can operate on other communication channels with good propagation path conditions, and when searching for a proxy master station, not only the original communication channel but also other communication channels are searched. You can find a proxy master station. As a result, it is possible to prevent the master station from standing up.

ここで、例えば、代理親局になるときのチャネルを、予めユーザやアプリケーションによって、モード設定部75で設定させておいてもよい。また、代理親局となるときのチャネルが予め設定されていない場合には、元の通信チャネルで代理親局になると決めておいても構わない。  Here, for example, the channel for becoming the proxy master station may be set in advance by the mode setting unit 75 by the user or application. In addition, when the channel for becoming the proxy master station is not set in advance, it may be determined that the proxy master station is to be the original communication channel.

また、代理親局になるときに使用するパラメータの値を、元の親局を失う前に端末機能情報記憶部73に保存しておき、同じパラメータ値を用いて代理親局として動作してもよい。また、予めユーザやアプリケーションにモード設定部75で設定させておいたパラメータの値を用いて代理親局として動作してもよい。  Also, the parameter values used when becoming a proxy master station are stored in the terminal function information storage unit 73 before losing the original master station, and the same parameter value can be used to operate as a proxy master station. Good. In addition, it may operate as a proxy master station using parameter values that are set in advance by the mode setting unit 75 in the user or application.

また、上記では、親局を見失った場合とは親局と完全に通信が行えない場合を指しているが、例えば、無線伝搬路状況が悪い状態が一定時間続いた場合、受信電力が所定のレベルに達しない状態が一定時間続いた場合、あるいは、通信データにもとづく誤り率が所定のレベルに達しない状態が一定時間続いた場合等、親局との間で所定の期間、電波の伝搬状態が所定のレベル以下となった場合に、親局を見失った(つまり、親局との通信状態が不良)と判断しても構わない。  In the above, the case of losing sight of the master station refers to the case where communication with the master station cannot be performed completely. For example, if the radio propagation path condition continues for a certain period of time, the received power is predetermined. The state of radio wave propagation with the parent station for a predetermined period, such as when the state does not reach the level continues for a certain period of time, or when the error rate based on communication data does not reach the predetermined level for a certain period of time. May be determined to have lost sight of the master station (that is, the communication state with the master station is poor).

この場合には、親局との電波のやり取りが行えている場合であっても、電波の伝搬状態が所定のレベル以下であれば、新たな親局の設定が可能となる。それゆえ、少なくとも親局能力が他に比べ優れた親局の下、無線ネットワークを再構築することができる。ここで、この所定のレベルは予めユーザやアプリケーションによって、モード設定部75で設定させておいてもよい。  In this case, even if radio waves can be exchanged with the master station, a new master station can be set as long as the radio wave propagation state is below a predetermined level. Therefore, the wireless network can be reconstructed at least under the master station whose master station capability is superior to others. Here, the predetermined level may be set in advance by the mode setting unit 75 by a user or an application.

さらに、上記図4のS27において、元の通信チャネルとは異なる通信チャネルで元親局を発見した場合、その発見した通信チャネルが、予めユーザやアプリケーションがモード設定部75で設定しておいた通信チャネルと異なる場合は、S32において必ずしも発見した親局に参加する必要はない。  Furthermore, in S27 of FIG. 4, when the original master station is found on a communication channel different from the original communication channel, the discovered communication channel is a communication set in advance by the mode setting unit 75 by the user or application. If it is different from the channel, it is not always necessary to participate in the parent station discovered in S32.

また、以上のように、本実施の形態では、見失った元の親局から何ら事前通知が無くても、現在行なわれているデータ伝送の通信品質ができるだけ復旧・維持され得る。  As described above, according to the present embodiment, the communication quality of the currently performed data transmission can be restored and maintained as much as possible without any prior notification from the original master station that has been lost.

これにより、上記(A)の理由により突然元の親局を見失っても、残りの局だけでネットワークを再構築することが可能となっている。また、上記(B)の理由により突然元の親局を見失っても、残りの局は元の親局を探し出すことが可能となる。  As a result, even if the original parent station is suddenly lost due to the reason (A), it is possible to reconstruct the network with only the remaining stations. Even if the original master station is suddenly lost due to the reason (B), the remaining stations can find the original master station.

また、通信チャネルを変更する場合にはその情報を事前に通知する必要がある従来技術においては、伝搬路状況が悪化したときは事前通知のデータを送信することができないため、いつまで経っても通信チャネルを変更することができないのに対し、本実施の形態に係る無線通信装置51では、親局が通信チャネルを変更する場合であっても、子局にどの通信チャネルに変更するかを事前に通知しなくともよい。したがって、無線伝搬路状況が急激に悪化したときでも、親局は通信チャネルを変更することが可能となる。  In addition, when changing the communication channel, it is necessary to notify the information in advance. In the prior art, when the propagation path condition deteriorates, the advance notification data cannot be transmitted. Whereas the channel cannot be changed, in the wireless communication apparatus 51 according to the present embodiment, even if the master station changes the communication channel, it is determined in advance which communication channel to change to the slave station. You do not have to notify. Therefore, the master station can change the communication channel even when the radio propagation path condition deteriorates rapidly.

また、親局から遠く離れた場所へ持ち歩くことが多い無線通信装置は、上記親局リカバリ機能をサポートすることが好ましい。また、親局の電源がオフになりやすい場合も、その親局のネットワークに存在する無線通信装置は、上記親局リカバリ機能をサポートすることが好ましい。  In addition, it is preferable that a wireless communication apparatus that is often carried away from the master station supports the master station recovery function. Even when the power of the master station is likely to be turned off, it is preferable that the wireless communication apparatus existing in the network of the master station supports the master station recovery function.

また、上記無線通信装置51を、上記モード設定部75を有しない構成としてもよい。この場合には、予め親局リカバリ機能をサポートしておく必要があるが、ユーザはこの機能をオフさせることできなくなる。  The wireless communication device 51 may be configured not to include the mode setting unit 75. In this case, it is necessary to support the master station recovery function in advance, but the user cannot turn off this function.

また、上記の説明では、親局が通信品質制御局としての役割も果たす場合、つまり通信品質制御可能な親局として動作する場合について説明したが、これに限定されず、通信品質制御可能ではない単なる親局として動作する場合にも適用できる。この場合には、AP/STAモードに設定されていれば、モード制御部71は、通信品質制御機能の能力を考慮せずに、親局として機能すべきか、あるいは、子局として機能すべきかを判断することになる。  In the above description, the case where the master station also serves as a communication quality control station, that is, the case where the master station operates as a master station capable of controlling communication quality has been described. However, the present invention is not limited to this, and communication quality control is not possible. The present invention can also be applied when operating as a simple master station. In this case, if the AP / STA mode is set, the mode control unit 71 determines whether to function as a master station or a slave station without considering the capability of the communication quality control function. Judgment will be made.

なお、以上において、通信装置として無線通信装置のみについて説明したが、有線通信装置であっても構わない。例えば、アンテナ20およびアンテナ70を有線接続部に置き換え、さらに、上述した通信チャネルに関する記述を有線通信装置の場合には割愛することにより、有線通信装置においても本発明の内容を実施することが可能となる。  In the above description, only the wireless communication device has been described as the communication device. However, a wired communication device may be used. For example, it is possible to implement the contents of the present invention in a wired communication device by replacing the antenna 20 and the antenna 70 with a wired connection unit and omitting the above description regarding the communication channel in the case of the wired communication device. It becomes.

本発明に係る通信装置は、以上のように、親局と子局とからなるネットワークシステムを構成する通信装置において、自装置を子局として機能させるための子局機能制御手段と、他の通信装置から取得した該他の通信装置の機能を示した機能情報に基づいて親局を選択すると共に、前記選択した親局に対して自装置を子局として動作させる制御手段とを備える構成である。  As described above, the communication apparatus according to the present invention includes a slave station function control means for causing the own apparatus to function as a slave station, and other communication in the communication apparatus constituting the network system including the master station and the slave station. And a control unit that selects a master station based on function information indicating the function of the other communication device acquired from the device and causes the selected master station to operate the device as a slave station. .

それゆえ、自装置の近くに他の通信装置が複数存在する場合には、前記取得した他の通信装置の機能を示した機能情報を用いることにより、現在の親局よりも条件のよい親局を選択することができる。さらに、この選択した親局に子局として参加することもできる。  Therefore, when there are a plurality of other communication devices in the vicinity of the own device, by using the function information indicating the acquired function of the other communication device, the master station having a better condition than the current master station Can be selected. Furthermore, it is possible to participate in the selected master station as a slave station.

したがって、より条件のよい親局が構成するネットワークシステムに参加できるため、品質の優れた通信を行うことができるという効果を奏する。  Therefore, since it is possible to participate in a network system configured by a master station having better conditions, it is possible to perform communication with excellent quality.

また、本発明に係る通信装置は、以上のように、親局と子局とからなるネットワークシステムを構成する通信装置において、自装置を親局として機能させるための親局機能制御手段と、自装置を子局として機能させるための子局機能制御手段と、前記親局機能制御手段を機能させて自装置を親局として動作させる第1動作モード、前記子局機能制御手段を機能させて自装置を子局として動作させる第2動作モード、および、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させる第3動作モードのうち少なくとも1つ以上の動作モードを有し、前記何れかの動作モードが記憶された記憶手段と、前記記憶手段に記憶されている動作モードを判定する判定手段と、前記判定手段が判定した動作モードに基づいて自装置を親局または子局として動作させる制御手段とを備える構成である。  In addition, as described above, the communication device according to the present invention includes a master station function control means for causing the host device to function as a master station in the communication device constituting the network system including the master station and the slave station, Slave station function control means for causing the apparatus to function as a slave station, a first operation mode in which the master station function control means is caused to function and the own apparatus to operate as a parent station, and the slave station function control means is caused to function automatically. A second operation mode in which the apparatus operates as a slave station, and a third operation in which either the master station function control means or the slave station function control means functions to operate the own apparatus in either the master station or the slave station. A storage unit having at least one operation mode among the modes, the storage unit storing any one of the operation modes, a determination unit determining the operation mode stored in the storage unit, and the determination unit determining Was based on the operation mode is a configuration and control means for operating the self-device as a master station or a slave station.

それゆえ、記憶手段に記憶される動作モード次第で、通信装置が親局または子局で動作するかが決まる。  Therefore, depending on the operation mode stored in the storage means, it is determined whether the communication apparatus operates in the master station or the slave station.

ここで、記憶手段に第1動作モードが記憶されている場合は、判定手段により、記憶手段に第1動作モードが記憶されていることが判定され、制御手段が該第1動作モードで自装置を動作させる。したがって、この場合、通信装置を、前記親局機能制御手段を機能させて、親局として動作させることができる。  Here, when the first operation mode is stored in the storage unit, the determination unit determines that the first operation mode is stored in the storage unit, and the control unit operates in the first operation mode. To work. Therefore, in this case, the communication apparatus can operate as a master station by causing the master station function control means to function.

また、記憶手段に第2動作モードが記憶されている場合は、判定手段により、記憶手段に第2動作モードが記憶されていることが判定され、制御手段が該第2動作モードで自装置を動作させる。したがって、この場合、通信装置を、前記子局機能制御手段を機能させて、子局として動作させることができる。  In addition, when the second operation mode is stored in the storage unit, the determination unit determines that the second operation mode is stored in the storage unit, and the control unit detects the own device in the second operation mode. Make it work. Therefore, in this case, the communication apparatus can operate as a slave station by causing the slave station function control means to function.

さらに、記憶手段に第3動作モードが記憶されている場合は、判定手段により、記憶手段に第3動作モードが記憶されていることが判定され、制御手段が該第3動作モードで自装置を動作させる。したがって、この場合、通信装置を、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させることができる。また、上記第3動作モードで動作する場合には、例えば、既に他に親局が存在する場合には自装置を子局とすることで、親局の乱立が防げる。一方、他に親局が存在しない場合には自装置を親局とすることにより、他に親局が存在しない場合であっても新たにネットワークを構築できるという効果を奏する。  Further, when the third operation mode is stored in the storage unit, the determination unit determines that the third operation mode is stored in the storage unit, and the control unit detects the own device in the third operation mode. Make it work. Therefore, in this case, the communication apparatus can operate either the master station or the slave station by causing either the master station function control means or the slave station function control means to function. Further, when operating in the third operation mode, for example, when another parent station already exists, the local station can be prevented from standing up by making the own apparatus a slave station. On the other hand, when there is no other master station, by setting the own apparatus as the master station, there is an effect that a new network can be constructed even when there is no other master station.

ところで、親局機能の能力(つまり、親局として機能する際の能力)は、ネットワークを構成する各通信装置によって異なる。つまり、親局として所定の能力を備えている通信装置もあれば、親局として所定の能力を備えていない通信装置もある。それゆえ、親局として動作させたい通信装置もあれば、親局として動作させたくない通信装置もある。  By the way, the capability of the master station function (that is, the capability when functioning as a master station) differs depending on each communication device constituting the network. That is, some communication devices have a predetermined capability as a master station, and some communication devices do not have a predetermined capability as a parent station. Therefore, there are communication apparatuses that are desired to operate as a master station and other communication apparatuses that are not desired to be operated as a master station.

したがって、親局として動作させたい場合には、第1動作モードを記憶手段に記憶させることで、この通信装置を親局として動作させることができる。また、親局として動作させたくない場合には、第2動作モードを記憶手段に記憶させることで、この通信装置を子局として動作させることができる。さらに、親局として動作させてもよい場合には、第3動作モードを記憶手段に記憶させることにより、この通信装置を親局または子局として動作させることができる。  Therefore, when it is desired to operate as a master station, this communication apparatus can be operated as a master station by storing the first operation mode in the storage means. Further, when it is not desired to operate as a master station, this communication apparatus can be operated as a slave station by storing the second operation mode in the storage means. Furthermore, when it is possible to operate as a master station, the communication device can be operated as a master station or a slave station by storing the third operation mode in the storage means.

それゆえ、上記の構成により、所定の能力を備える通信装置を親局として設定可能とし得る通信装置が得られるという効果を奏する。  Therefore, according to the above configuration, there is an effect that a communication apparatus that can set a communication apparatus having a predetermined capability as a master station can be obtained.

また、本発明に係る通信装置は、上記の通信装置において、他の通信装置に対し制御情報を通知して、各通信装置間の通信品質を制御する通信品質制御手段を備え、自装置を親局として動作させる場合には、前記制御手段は、前記親局機能制御手段および通信品質制御手段を動作させて、通信品質制御可能な親局として自装置を動作させる構成である。  In addition, the communication device according to the present invention includes communication quality control means for notifying other communication devices of control information and controlling the communication quality between the communication devices in the communication device described above. When operating as a station, the control means is configured to operate the master station function control means and communication quality control means to operate the apparatus as a master station capable of controlling communication quality.

それゆえ、親局が通信品質の制御も行うこととなる。このため、親局機能の能力のみならず、通信品質制御機能の能力も考慮することにより、通信品質制御機能の能力が低い通信装置が親局となることを防止することができる。  Therefore, the master station also controls communication quality. For this reason, by considering not only the capability of the master station function but also the capability of the communication quality control function, it is possible to prevent a communication apparatus having a low capability of the communication quality control function from becoming the master station.

したがって、通信品質が保証されたネットワークを構築できるという効果を奏する。  Therefore, it is possible to construct a network in which communication quality is guaranteed.

また、本発明に係る通信装置は、上記の通信装置において、自装置を子局として動作させる場合、前記制御手段は、他の通信装置から取得した該他の通信装置の機能を示した機能情報に基づいて親局を選択する構成である。  Further, in the communication device according to the present invention, in the above communication device, when the own device operates as a slave station, the control means indicates the function information indicating the function of the other communication device acquired from the other communication device. The master station is selected on the basis of the above.

それゆえ、自装置の近くに他の通信装置が複数存在する場合には、前記取得した他の通信装置の機能を示した機能情報を用いることにより、現在の親局よりも条件のよい親局を選択することができる。さらに、この選択した親局に子局として参加することもできる。  Therefore, when there are a plurality of other communication devices in the vicinity of the own device, by using the function information indicating the acquired function of the other communication device, the master station having a better condition than the current master station Can be selected. Furthermore, it is possible to participate in the selected master station as a slave station.

したがって、より条件のよい親局が構成するネットワークシステムに参加できるため、品質の優れた通信を行うことができるという効果を奏する。  Therefore, since it is possible to participate in a network system configured by a master station having better conditions, it is possible to perform communication with excellent quality.

また、本発明に係る通信装置は、上記の通信装置において、自装置が前記第3動作モードで動作中の場合であって、かつ、現在の親局以外に親局を少なくとも1つ発見した場合、前記制御手段は、前記親局機能制御手段を動作させて自装置を親局として動作させるか、または、子局機能制御手段を動作させて子局として動作させるかを決定する構成である。  Further, the communication device according to the present invention is a case where, in the communication device described above, the device is operating in the third operation mode, and at least one master station other than the current master station is found. The control means is configured to determine whether to operate the master station function control means to operate the own apparatus as a master station or to operate the slave station function control means to operate as a slave station.

それゆえ、現在の親局の他に親局(他の通信装置)を少なくとも1つ発見した場合、前記発見した他の通信装置のうちから再度親局を選定し直し、例えば、より条件のよい親局を選定することにより、既存のネットワークよりも条件のよいネットワークを再構築することができるという効果を奏する。  Therefore, when at least one master station (other communication device) is found in addition to the current master station, the master station is selected again from the other communication devices found, for example, more favorable conditions By selecting the master station, it is possible to reconstruct a network with better conditions than the existing network.

また、例えば、自装置が親局として動作した方が、既存のネットワークよりも条件のよいネットワークを再構成できるのであれば、自装置が親局として動作することにより、より条件のよいネットワークを再構築することができるという効果を奏する。  Also, for example, if the own device operates as a parent station and can reconfigure a network with better conditions than the existing network, the own device operates as the parent station to re-establish a more favorable network. There is an effect that it can be constructed.

また、本発明に係る通信装置は、上記の通信装置において、自装置が前記第3動作モードで動作中の場合であって、かつ、親局との通信状態が不良であると判断された場合、前記制御手段は、前記親局機能制御手段を動作させて自装置を親局として動作させるか、または、子局機能制御手段を動作させて子局として動作させるかを決定する構成である。  In addition, the communication device according to the present invention is a case where, in the above communication device, the device is operating in the third operation mode and the communication state with the master station is determined to be poor. The control means is configured to determine whether to operate the master station function control means to operate the own apparatus as a master station or to operate the slave station function control means to operate as a slave station.

それゆえ、親局との通信状態が不良となった場合、例えば、他に親局になる通信装置がなければ、自装置が親局となることによりネットワークを再構築できるという効果を奏する。  Therefore, when the communication state with the master station becomes poor, for example, if there is no other communication device that becomes the master station, the network can be reconstructed by the own device becoming the master station.

また、他に親局となる通信装置があれば、自装置が子局のままでいることにより、親局の乱立を防止できるという効果を奏する。  In addition, if there is another communication device that serves as a master station, the self-device remains as a slave station, so that it is possible to prevent the master station from being disturbed.

また、本発明に係る通信装置は、上記の通信装置において、自装置が前記第3動作モードで動作中の場合であって、かつ、親局からネットワークからの離脱命令を受信した場合、前記制御手段は、前記親局機能制御手段を動作させて自装置を親局として動作させるか、または、子局機能制御手段を動作させて子局として動作させるかを決定する構成である。  Further, the communication device according to the present invention is the above communication device, wherein when the own device is operating in the third operation mode and a command to leave the network is received from the master station, the control device The means is configured to determine whether to operate the master station function control means to operate the own apparatus as a master station or to operate the slave station function control means to operate as a slave station.

それゆえ、親局からネットワークからの離脱命令を受信した場合、その時点で動作を終了するのではなく、例えば、自装置が親局となることにより、ネットワークを再構築できるという効果を奏する。  Therefore, when an instruction to leave the network is received from the master station, the operation is not terminated at that time, but the network can be reconstructed by, for example, the own apparatus becoming the master station.

あるいは、自装置を子局として動作させて、他の親局にも参加することもできる。これにより、ネットワークを再構築できるという効果を奏する。  Alternatively, the own apparatus can be operated as a slave station to participate in other master stations. As a result, the network can be reconstructed.

また、本発明に係る通信装置は、上記の通信装置において、他の通信装置と無線通信を行うと共に、自装置を親局として動作させる場合、前記制御手段は、自装置が動作していた通信チャネルと同じ通信チャネルで自装置を動作させる構成である。  Further, in the communication device according to the present invention, in the above communication device, when performing wireless communication with another communication device and operating the own device as a master station, the control unit is configured to communicate with which the own device was operating. This is a configuration in which the own apparatus operates on the same communication channel as the channel.

それゆえ、親局側からも子局側からも、今までに同ネットワーク内に存在していた無線通信を行う通信装置の発見が容易となる。  Therefore, it becomes easy to find a communication apparatus that performs wireless communication that has existed in the network so far from both the master station side and the slave station side.

したがって、速やかに通信を再開することが可能となるという効果を奏する。  Therefore, there is an effect that communication can be resumed promptly.

また、本発明に係る通信装置は、上記の通信装置において、他の通信装置と無線通信を行うと共に、自装置を親局として動作させる場合、前記制御手段は、自装置が動作していた通信チャネルと異なる通信チャネルで自装置を動作させる構成である。  Further, in the communication device according to the present invention, in the above communication device, when performing wireless communication with another communication device and operating the own device as a master station, the control unit is configured to communicate with which the own device was operating. This is a configuration in which the device operates on a communication channel different from the channel.

例えば、通信チャネルの伝搬路状態が悪化している場合には、子局は親局を発見できないため、通信を再開することが不可能である。しかしながら、元の通信チャネルとは異なる通信チャネルで自装置を親局として動作させることにより、親局側からも子局側からも、今まで同ネットワーク内に存在していた無線通信を行う通信装置の発見が可能となる。  For example, when the propagation channel state of the communication channel is deteriorated, the slave station cannot find the master station, and therefore cannot resume communication. However, a communication apparatus that performs wireless communication that has existed in the same network from the parent station side and the slave station side by operating the own apparatus as a parent station on a communication channel different from the original communication channel. Can be discovered.

したがって、通信チャネルの伝搬路状態が悪化している場合であっても、通信を再開することが可能となるという効果を奏する。  Therefore, there is an effect that communication can be resumed even when the propagation path state of the communication channel is deteriorated.

また、本発明に係る通信装置は、上記の通信装置において、自装置が親局を選択するに際して、前記制御手段が、前記機能情報として、他の通信装置の親局機能の能力に関する情報を参照する構成である。  Further, in the communication apparatus according to the present invention, when the own apparatus selects a master station in the communication apparatus, the control means refers to information on the capability of the master station function of another communication apparatus as the function information. It is the structure to do.

それゆえ、他の通信装置の親局機能の能力に関する情報に基づいて、自装置が参加すべき親局を選択できる。  Therefore, it is possible to select a master station to which the own device should participate based on information on the capability of the master station function of another communication device.

したがって、自装置は、最も親局機能が優れた親局が構成するネットワークに参加することが可能になるという効果を奏する。  Accordingly, the own apparatus can participate in the network formed by the master station having the best master station function.

また、本発明に係る通信装置は、上記の通信装置において、自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記制御手段が、自装置の親局機能の能力に関する情報、および、前記機能情報としての、他の通信装置の親局機能の能力に関する情報を参照する構成である。  Further, in the communication apparatus according to the present invention, in the communication apparatus described above, when determining whether the own apparatus operates as a master station or a slave station, the control means has the capability of the master station function of the own apparatus. And information related to the capability of the master station function of another communication device as the function information.

それゆえ、自装置の親局機能の能力に関する情報、および、他の通信装置の親局機能の能力に関する情報に基づいて、自装置が親局あるいは子局の何れの局として動作するかを決定する。  Therefore, based on the information on the capability of the master station function of the own device and the information on the capability of the master station function of other communication devices, it is determined whether the own device operates as a master station or a slave station. To do.

したがって、自装置の親局機能が他の通信装置の親局機能よりも優れている場合には、自装置が親局となることで、また、自装置の親局機能が他の通信装置の親局機能よりも劣っている場合には、他の通信装置が親局となることで、親局機能が優れた親局を有するネットワークを構築することができるという効果を奏する。  Therefore, if the master station function of its own device is superior to the master station function of another communication device, the own device becomes the master station, and the master station function of its own device In the case where it is inferior to the master station function, another network device becomes the master station, so that it is possible to construct a network having a master station with a superior master station function.

また、本発明に係る通信装置は、上記の通信装置において、自装置が親局を選択するに際して、前記制御手段が、前記機能情報としての、他の通信装置における通信品質制御機能の能力に関する情報を参照する構成である。  Further, in the communication apparatus according to the present invention, in the communication apparatus described above, when the own apparatus selects a master station, the control means provides information on the capability of the communication quality control function in another communication apparatus as the function information. It is the structure which refers to.

それゆえ、他の通信装置の通信品質制御機能の能力に関する情報に基づいて、自装置が参加すべき親局を選択できる。  Therefore, it is possible to select a master station to which the own device should participate based on information regarding the capability of the communication quality control function of another communication device.

したがって、自装置は、最も通信品質制御機能が優れた親局が構成するネットワークに参加することができるという効果を奏する。  Accordingly, the own apparatus can participate in the network formed by the master station having the best communication quality control function.

また、本発明に係る通信装置は、上記の通信装置において、自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記制御手段が、自装置における通信品質制御機能の能力に関する情報、および、前記機能情報としての、他の通信装置における通信品質制御機能の能力に関する情報を参照する構成である。  In the communication apparatus according to the present invention, in the communication apparatus described above, when determining whether the own apparatus operates as a master station or a slave station, the control unit has a communication quality control function in the own apparatus. It is a configuration that refers to information related to capability and information related to capability of a communication quality control function in another communication device as the function information.

それゆえ、自装置の通信品質制御機能の能力に関する情報、および、他の通信装置の通信品質制御機能の能力に関する情報に基づいて、自装置が親局あるいは子局の何れの局として動作するかを決定できる。  Therefore, based on the information related to the communication quality control function capability of the own device and the information related to the communication quality control function capability of other communication devices, the own device operates as a master station or a slave station. Can be determined.

したがって、自装置の通信品質制御機能が他の通信装置の通信品質制御機能よりも優れている場合には、自装置が親局となることで、また、自装置の通信品質制御機能が他の通信装置の通信品質制御機能よりも劣っている場合には、他の通信装置が親局となることで、通信品質制御機能が優れた親局を有するネットワークを構築することができるという効果を奏する。  Therefore, if the communication quality control function of the own device is superior to the communication quality control function of another communication device, the own device becomes the master station, and the communication quality control function of the own device When it is inferior to the communication quality control function of the communication device, there is an effect that it is possible to construct a network having a master station with an excellent communication quality control function by making another communication device a master station. .

また、本発明に係る通信装置は、上記の通信装置において、自装置が親局を選択するに際して、前記制御手段が、他の通信装置から取得した該他の通信装置のID情報を参照する構成である。  Further, the communication device according to the present invention is configured such that, in the above communication device, when the own device selects a master station, the control means refers to ID information of the other communication device acquired from the other communication device. It is.

それゆえ、上記他の通信装置のID情報に基づいて、所望の通信装置がネットワークに存在しているか否かが判断できる。  Therefore, based on the ID information of the other communication device, it can be determined whether or not the desired communication device exists in the network.

そして、上記所望の通信装置と通信を行いたい場合には、該所望となる通信装置がネットワーク内に存在していると判断できれば、そのままネットワーク内に留まればよい。一方、該所望となる通信装置がネットワーク内に存在していないと判断すれば、他のネットワークに移動することもできる。  If it is desired to communicate with the desired communication device, it can be left in the network as long as it can be determined that the desired communication device exists in the network. On the other hand, if it is determined that the desired communication device does not exist in the network, it can be moved to another network.

さらに、上記他の通信装置のID情報に基づいて、上記所望の通信装置が親局として動作しているということが分かれば、該所望の通信装置が親局として構成するネットワークに参加すればよいと判断できる。  Further, if it is known that the desired communication device is operating as a parent station based on the ID information of the other communication device, the desired communication device may participate in the network configured as the parent station. It can be judged.

このように、上記他の通信装置のID情報に基づいて、通信を行いたい通信装置同士が同じネットワークに参加することができる。このため、代理親局が乱立する環境であっても、それぞれ異なるネットワークに参加することなく、上記通信装置間で通信を再開することができる。  In this way, communication devices that wish to communicate can participate in the same network based on the ID information of the other communication devices. For this reason, communication can be resumed between the communication devices without participating in different networks even in an environment in which the proxy master station is turbulent.

したがって、自装置が親局を選択する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that it is possible to obtain determination information when the own apparatus selects the master station.

また、本発明に係る通信装置は、上記の通信装置において、自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記制御手段が、他の通信装置から取得した該他の通信装置のID情報を参照する構成である。  Further, in the communication apparatus according to the present invention, in the communication apparatus described above, when determining whether the own apparatus operates as a master station or a slave station, the control unit obtains the communication apparatus from the other communication apparatus. This is a configuration that refers to ID information of another communication device.

それゆえ、上記他の通信装置のID情報に基づいて、所望の通信装置がネットワークに存在しているか否かが判断できる。  Therefore, based on the ID information of the other communication device, it can be determined whether or not the desired communication device exists in the network.

そして、上記所望の通信装置と通信を行いたい場合には、該所望となる通信装置がネットワーク内に存在していると判断できれば、そのままネットワーク内に留まればよい。一方、該所望となる通信装置がネットワーク内に存在していないと判断すれば、他のネットワークに移動することもできる。  If it is desired to communicate with the desired communication device, it can be left in the network as long as it can be determined that the desired communication device exists in the network. On the other hand, if it is determined that the desired communication device does not exist in the network, it can be moved to another network.

さらに、上記他の通信装置のID情報に基づいて、上記所望の通信装置が親局として動作しているということが分かれば、自装置を子局として動作させ、該所望の通信装置が親局として構成するネットワークに参加すればよいと判断できる。  Further, if it is known that the desired communication device is operating as a master station based on the ID information of the other communication device, the own device is operated as a slave station, and the desired communication device is operated as the master station. It can be determined that it is only necessary to participate in the network configured as follows.

このように、上記他の通信装置のID情報に基づいて、通信を行いたい通信装置同士が同じネットワークに参加することができる。このため、代理親局が乱立する環境であっても、それぞれ異なるネットワークに参加することなく、上記通信装置間で通信を再開することができる。  In this way, communication devices that wish to communicate can participate in the same network based on the ID information of the other communication devices. For this reason, communication can be resumed between the communication devices without participating in different networks even in an environment in which the proxy master station is turbulent.

したがって、自装置が親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that it is possible to obtain determination information for determining whether the own apparatus operates as a master station or a slave station.

また、本発明に係る通信装置は、上記の通信装置において、他の通信装置の親局機能の能力に関する情報を記憶する記憶手段を備える構成である。  In addition, the communication device according to the present invention includes a storage unit that stores information related to the capability of the master station function of another communication device in the communication device described above.

それゆえ、他の通信装置の親局機能の能力に関する情報を保存しておくことができる。  Therefore, information regarding the capability of the master station function of another communication device can be stored.

したがって、自装置が親局を選択する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that it is possible to obtain determination information when the own apparatus selects the master station.

また、本発明に係る通信装置は、上記の通信装置において、自装置の親局機能の能力に関する情報、および、他の通信装置の親局機能の能力に関する情報を記憶する記憶手段を備える構成である。  Moreover, the communication apparatus according to the present invention includes a storage unit that stores information on the capability of the master station function of the own apparatus and information on the capability of the master station function of another communication apparatus in the communication apparatus. is there.

それゆえ、自装置の親局機能の能力に関する情報、および、他の通信装置の親局機能の能力に関する情報を保存しておくことができる。  Therefore, information regarding the capability of the master station function of the own device and information regarding the capability of the master station function of another communication device can be stored.

したがって、自装置が親局を選択する際、あるいは、自装置が親局または子局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that judgment information can be obtained when the own apparatus selects the master station or when the own apparatus operates as the master station or the slave station.

また、本発明に係る通信装置は、上記の通信装置において、他の通信装置における通信品質制御機能の能力に関する情報を記憶する記憶手段を備える構成である。  In addition, the communication device according to the present invention includes a storage unit that stores information related to the capability of the communication quality control function in another communication device in the communication device described above.

それゆえ、他の通信装置における通信品質制御機能の能力に関する情報を保存しておくことができる。  Therefore, information regarding the capability of the communication quality control function in other communication devices can be stored.

したがって、自装置が親局を選択する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that it is possible to obtain determination information when the own apparatus selects the master station.

また、本発明に係る通信装置は、上記の通信装置において、自装置における通信品質制御機能の能力に関する情報、および、他の通信装置における通信品質制御機能の能力に関する情報を記憶する記憶手段を備える構成である。  The communication device according to the present invention further includes a storage unit that stores information on the capability of the communication quality control function in the own device and information on the capability of the communication quality control function in another communication device. It is a configuration.

それゆえ、自装置における通信品質制御機能の能力に関する情報、および、他の通信装置における通信品質制御機能の能力に関する情報を保存しておくことができる。  Therefore, information regarding the capability of the communication quality control function in the own device and information regarding the capability of the communication quality control function in other communication devices can be stored.

したがって、自装置が親局を選択する際、あるいは、自装置が親局または子局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that judgment information can be obtained when the own apparatus selects the master station or when the own apparatus operates as the master station or the slave station.

また、本発明に係る通信装置は、上記の通信装置において、他の通信装置のID情報を記憶する記憶手段を備える構成である。  In addition, the communication device according to the present invention is configured to include storage means for storing ID information of another communication device in the above communication device.

それゆえ、他の通信装置のID情報を保存しておくことができる。  Therefore, ID information of other communication devices can be stored.

したがって、自装置が親局を選択する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that it is possible to obtain determination information when the own apparatus selects the master station.

また、本発明に係る通信装置は、上記の通信装置において、前記動作モードを記憶する記憶手段を備える構成である。  In addition, a communication device according to the present invention is a configuration that includes a storage unit that stores the operation mode in the communication device described above.

それゆえ、上記動作モードを保存しておくことができる。  Therefore, the operation mode can be saved.

したがって、自装置が親局または子局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that it is possible to obtain judgment information when determining whether the own apparatus operates as a master station or a slave station.

また、本発明に係る通信装置は、上記の通信装置において、他の通信装置に対して、前記記憶手段に記憶している情報を通知する通知手段を備える構成である。  In addition, the communication device according to the present invention is configured such that, in the communication device described above, notification means for notifying other communication devices of information stored in the storage means is provided.

それゆえ、他の通信装置が、例えば、自装置が何れの動作モードであるか、自装置の親局機能の能力、自装置の通信品質制御機能の能力等を知ることができる。  Therefore, the other communication apparatus can know, for example, which operation mode the own apparatus is in, the capability of the master station function of the own apparatus, the capability of the communication quality control function of the own apparatus, and the like.

また、他の通信装置が上記通知手段を備えていれば、自装置も、他の通信装置が何れの動作モードであるか、他の通信装置の親局機能の能力、他の通信装置の通信品質制御機能の能力等を知ることができるという効果を奏する。  If another communication device includes the above notification means, the own device also determines which operation mode the other communication device is in, the capability of the master station function of the other communication device, and the communication of the other communication device. There is an effect that the ability of the quality control function can be known.

したがって、親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that it is possible to obtain judgment information for determining which station is to operate as a master station or a slave station.

また、本発明に係る通信装置は、上記の通信装置において、自装置に対する電源の供給を制御する電源制御手段を備え、前記電源制御手段によって電源供給が停止した場合に、前記通知手段は、他の通信装置に対して、前記記憶手段に記憶している情報を通知する構成である。  In addition, the communication device according to the present invention includes a power control unit that controls supply of power to the device in the communication device, and when the power supply is stopped by the power control unit, the notification unit The communication device is configured to notify the information stored in the storage means.

それゆえ、前記電源制御手段によって電源供給が停止することにより、自装置がネットワークから離脱することになった場合、他の通信装置が、例えば、自装置が何れの動作モードであるか、自装置の親局機能の能力、自装置の通信品質制御機能の能力等を知ることができる。  Therefore, when the power supply control means stops the power supply, and the self-device is disconnected from the network, the other communication device can determine, for example, which operation mode the self-device is in. It is possible to know the capability of the master station function, the communication quality control function of the device itself, and the like.

また、他の通信装置が上記電源制御手段と通知手段とを備えていれば、他の通信装置がネットワークから離脱することになった場合、自装置も、他の通信装置が何れの動作モードであるか、他の通信装置の親局機能の能力、他の通信装置の通信品質制御機能の能力等を知ることができるという効果を奏する。  In addition, if another communication device includes the power supply control means and the notification means, when the other communication device is to leave the network, the own device and the other communication device are in any operation mode. There is an effect that the capability of the master station function of the other communication device, the capability of the communication quality control function of the other communication device, and the like can be known.

したがって、電源供給停止時に、親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, when the power supply is stopped, there is an effect that it is possible to obtain judgment information for determining which station is to operate as a master station or a slave station.

また、本発明に係る通信装置は、上記の通信装置において、前記記憶手段に記憶されている情報の設定および/または変更を行う設定手段を備える構成である。  Moreover, the communication apparatus according to the present invention is a configuration including the setting means for setting and / or changing the information stored in the storage means in the communication apparatus.

それゆえ、記憶手段に新たな情報を記憶させること、および/または、既に記憶されている情報を変更することができる。  Therefore, new information can be stored in the storage means and / or information that has already been stored can be changed.

したがって、新たな動作モードとして通信装置を動作させることができるという効果を奏する。  Therefore, the communication apparatus can be operated as a new operation mode.

また、例えば、上記親局機能の能力の評価にあたり、親局機能における一部機能についての能力評価に対する寄与率等を変化させたり、上記通信品質制御機能の能力の評価にあたり、通信品質制御機能における一部機能についての能力評価に対する寄与率等を変化させたりすることで、自装置が親局あるいは子局として動作する度合いも変更することができる。  Also, for example, in evaluating the capability of the master station function, changing the contribution rate to the capability evaluation for some functions in the master station function, or in evaluating the capability of the communication quality control function, The degree of operation of the own apparatus as a master station or a slave station can be changed by changing a contribution rate or the like with respect to capability evaluation for some functions.

また、本発明に係る通信装置は、上記の通信装置において、前記記憶手段に記憶されている情報の表示を行う表示手段を備える構成である。  In addition, a communication device according to the present invention is configured to include a display unit that displays information stored in the storage unit in the communication device.

それゆえ、ユーザが、記憶手段に記憶されている情報を確認できるという効果を奏する。  Therefore, there is an effect that the user can check the information stored in the storage means.

また、上記設定手段を備える場合には、表示手段に表示された情報を参考にすることで、容易に設定の変更が行えるという効果も奏する。  Further, when the setting means is provided, the setting can be easily changed by referring to the information displayed on the display means.

また、本発明に係る通信装置は、上記の通信装置において、IEEE802.11規格の通信方式、または、IEEE802.11e規格の通信方式を用いて他の通信装置と通信する構成である。  The communication device according to the present invention is configured to communicate with other communication devices using the communication method of the IEEE 802.11 standard or the communication method of the IEEE 802.11e standard in the communication device described above.

それゆえ、IEEE802.11規格の通信方式、または、IEEE802.11e規格の通信方式を用いて構築された無線ネットワークにおいて、上記通信装置を接続した場合、既存の無線ネットワークと不具合なく接続できるという効果を奏する。  Therefore, when the communication device is connected in a wireless network constructed using the communication method of the IEEE 802.11 standard or the communication method of the IEEE 802.11e standard, it is possible to connect to the existing wireless network without any trouble. Play.

また、本発明に係る通信装置は、上記の通信装置において、自装置は無線通信を行う装置である。  The communication apparatus according to the present invention is an apparatus that performs wireless communication in the communication apparatus.

それゆえ、無線通信を用いて他の通信装置と通信を行うことができる。  Therefore, communication with other communication devices can be performed using wireless communication.

したがって、可搬性に優れた通信装置を提供できるという効果を奏する。  Therefore, there is an effect that a communication device with excellent portability can be provided.

また、本発明に係る動作モード起動方法は、以上のように、自装置を親局として機能させるための親局機能制御手段と、自装置を子局として機能させるための子局機能制御手段とを備えた通信装置の動作モード起動方法であって、前記親局機能制御手段を機能させて自装置を親局として動作させる第1動作モード、前記子局機能制御手段を機能させて自装置を子局として動作させる第2動作モード、および、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させる第3動作モードのうち何れの動作モードにて自装置を動作させるかを判定する判定ステップと、前記判定ステップで判定した動作モードに基づいて自装置を親局または子局として動作させる動作ステップとを備える方法である。  In addition, as described above, the operation mode activation method according to the present invention includes a master station function control means for causing the own apparatus to function as a master station, and a slave station function control means for causing the own apparatus to function as a slave station. An operation mode activation method for a communication apparatus comprising: a first operation mode in which the master station function control means is caused to function to operate the own apparatus as a master station; and the slave station function control means is caused to function. A second operation mode in which it operates as a slave station, and a third operation mode in which either the master station function control means or the slave station function control means functions to operate the own apparatus in either the master station or the slave station. A method comprising: a determination step for determining in which operation mode the device is to be operated; and an operation step for causing the device to operate as a master station or a slave station based on the operation mode determined in the determination step. A.

それゆえ、上記判定される動作モード次第で、通信装置の動作モードが決まる。  Therefore, the operation mode of the communication apparatus is determined depending on the determined operation mode.

ここで、判定ステップにおいて自装置を第1動作モードで動作させると判定された場合には、該第1動作モードで自装置が動作する。したがって、この場合、通信装置を、前記親局機能制御手段を機能させて、親局として動作させることができるという効果を奏する。  Here, when it is determined in the determination step that the own apparatus is operated in the first operation mode, the own apparatus operates in the first operation mode. Therefore, in this case, there is an effect that the communication apparatus can be operated as a master station by causing the master station function control means to function.

また、判定手段ステップにおいて自装置を第2動作モードで動作させると判定された場合には、該第2動作モードで自装置が動作する。したがって、この場合、通信装置を、前記子局機能制御手段を機能させて、子局として動作させることができるという効果を奏する。  If it is determined in the determination means step that the own apparatus is to be operated in the second operation mode, the own apparatus operates in the second operation mode. Therefore, in this case, there is an effect that the communication apparatus can be operated as a slave station by functioning the slave station function control means.

さらに、判定ステップにおいて自装置を第3動作モードで動作させると判定された場合には、該第3動作モードで自装置が動作する。したがって、この場合、通信装置を、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させることができる。また、上記第3動作モードで動作する場合には、例えば、既に他に親局が存在する場合には自装置を子局とすることで、親局の乱立が防げる。一方、他に親局が存在しない場合には自装置を親局とすることにより、他に親局が存在しない場合であっても新たにネットワークを構築できるという効果を奏する。  Further, when it is determined in the determination step that the own apparatus is to be operated in the third operation mode, the own apparatus operates in the third operation mode. Therefore, in this case, the communication apparatus can operate either the master station or the slave station by causing either the master station function control means or the slave station function control means to function. Further, when operating in the third operation mode, for example, when another parent station already exists, the local station can be prevented from standing up by making the own apparatus a slave station. On the other hand, when there is no other master station, by setting the own apparatus as the master station, there is an effect that a new network can be constructed even when there is no other master station.

また、本発明に係る動作モード起動方法は、上記の動作モード起動方法において、自装置は無線通信を行う装置である。  The operation mode activation method according to the present invention is an apparatus that performs wireless communication in the operation mode activation method described above.

それゆえ、無線通信を行う通信装置で、上記動作モード起動方法を実行することができるという効果を奏する。  Therefore, there is an effect that the operation mode starting method can be executed by a communication device that performs wireless communication.

本発明に係る通信方法は、以上のように、親局と子局とからなるネットワークシステムを構成すると共に、親局としても子局としても動作可能な通信装置の通信方法であって、前記ネットワークシステムに参加中に、他の通信装置の親局機能に関する情報を取得する取得ステップと、親局となる他の通信装置が存在するか否かを検索する検索ステップと、前記検索ステップにて親局となる他の通信装置が発見された場合に、自装置の親局機能と前記発見された通信装置の親局機能とを比較する比較ステップと、前記比較ステップにおいて自装置の親局機能が前記発見された通信装置の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が前記発見された通信装置の親局機能よりも低いと判断された場合には、自装置は子局として前記発見された通信装置に参加する動作ステップとを備える方法である。  As described above, the communication method according to the present invention is a communication method of a communication apparatus that constitutes a network system including a master station and a slave station, and that can operate as a master station and a slave station. While participating in the system, an acquisition step for acquiring information related to the master station function of another communication device, a search step for searching whether there is another communication device serving as a master station, and a parent step in the search step A comparison step for comparing the master station function of the own device and the master station function of the discovered communication device when another communication device to be a station is found, and the master station function of the own device in the comparison step If it is determined that the master station function is higher than the master station function of the discovered communication device, the master device operates as a master station, while the master station function of the subject device is the parent of the found communication device in the comparison step. Station If it is judged to be lower than the capacity, its own device is a method and a operation step for participating in the communication device that is the discovery as a child station.

それゆえ、ネットワークシステムに参加しているときに、他の通信装置の親局機能に関する情報を取得することができる。  Therefore, when participating in the network system, it is possible to acquire information related to the master station function of another communication device.

したがって、自装置を含む通信装置の内、親局機能が高い通信装置が自律的に新たな親局として動作することにより、より条件のよいネットワークを再構築することができるという効果を奏する。  Therefore, a communication device having a higher master station function among the communication devices including the host device operates autonomously as a new parent station, so that it is possible to reconstruct a network with better conditions.

また、本発明に係る通信方法は、以上のように、親局と子局とからなる無線ネットワークシステムを構成すると共に、親局としても子局としても動作可能な通信装置の通信方法であって、前記ネットワークシステムに参加中に、他の通信装置の親局機能に関する情報を取得する取得ステップと、前記親局との通信状態を監視する監視ステップと、前記監視ステップにより親局との通信状態が不良であると判断された場合に、自装置の親局機能と前記親局機能に関する情報を取得した通信装置の親局機能とを比較する比較ステップと、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも低いと判断された場合には、自装置は子局として動作する動作ステップとを備える方法である。  Further, the communication method according to the present invention is a communication method for a communication apparatus that constitutes a wireless network system composed of a master station and a slave station as described above, and that can operate as a master station and a slave station. An acquisition step of acquiring information related to a master station function of another communication device while participating in the network system, a monitoring step of monitoring a communication status with the master station, and a communication status with the master station by the monitoring step A comparison step of comparing the master station function of the own device with the master station function of the communication device that has acquired information on the master station function, and the master station of the own device in the comparison step If it is determined that the function is higher than the master station function of the communication device that has acquired the information related to the master station function, the own device operates as the master station, while in the comparison step When the master station function is determined to be lower than the master station functions acquired communication device information on the master station function, its own device is a method comprising an operation step of operating as the slave station.

それゆえ、ネットワークシステムに参加しているときに、他の通信装置の親局機能に関する情報を取得することができる。  Therefore, when participating in the network system, it is possible to acquire information related to the master station function of another communication device.

したがって、親局との通信が不良となった場合には、該通信が不良のネットワークがそのまま構築され続けるのではなく、自装置を含む通信装置の内、親局機能が高い通信装置が自律的に新たな親局として動作することにより、より条件のよいネットワークを再構築することができるという効果を奏する。  Therefore, when communication with the master station becomes poor, a network with poor communication is not continuously constructed as it is, but communication devices with a high master station function are autonomous among communication devices including the self device. By operating as a new master station, it is possible to reconstruct a network with better conditions.

また、本発明に係る通信方法は、上記の通信方法において、前記監視ステップにおいて親局との間で所定の期間、データの伝搬状態が一定レベル以下となった場合に、前記親局との通信状態が不良であると判断する方法である。  Further, the communication method according to the present invention is the communication method described above, wherein, in the monitoring step, when the data propagation state with the parent station is below a certain level for a predetermined period in the monitoring step, the communication with the parent station is performed. This is a method for determining that the state is bad.

それゆえ、親局との通信が完全に不通となった場合だけでなく、より柔軟に、親局との通信状態が不良であると判断することができる。  Therefore, it is possible to determine that the communication state with the parent station is poor not only when the communication with the parent station is completely disconnected, but also with more flexibility.

したがって、早い段階で既存のネットワークを放棄して、より条件のよいネットワークを再構築することができるという効果を奏する。  Therefore, there is an effect that an existing network can be abandoned at an early stage and a network with better conditions can be reconstructed.

また、本発明に係る通信方法は、以上のように、親局と子局とからなるネットワークシステムを構成すると共に、親局としても子局としても動作可能な通信装置の通信方法であって、前記ネットワークシステムに参加中に、他の通信装置の親局機能に関する情報を取得する取得ステップと、前記親局からネットワークからの離脱命令を受信した場合に、自装置の親局機能と前記親局機能に関する情報を取得した通信装置の親局機能とを比較する比較ステップと、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも低いと判断された場合には、自装置は子局として動作する動作ステップとを備える方法である。  Further, the communication method according to the present invention is a communication method of a communication apparatus that constitutes a network system composed of a master station and a slave station as described above, and that can operate as a master station and a slave station, An acquisition step of acquiring information related to a master station function of another communication device while participating in the network system; and a master station function of the own device and the master station when receiving a leave command from the network from the master station A comparison step for comparing the master station function of the communication device that has acquired the information on the function, and the master station function of the own device is higher than the master station function of the communication device that has acquired the information on the master station function in the comparison step If it is determined, the own device operates as a parent station, while the parent station function of the own device acquires information related to the parent station function in the comparison step. If the remote low is determined, the own device is a method comprising an operation step of operating as the slave station.

それゆえ、ネットワークシステムに参加しているときに、他の通信装置の親局機能に関する情報を取得することができる。  Therefore, when participating in the network system, it is possible to acquire information related to the master station function of another communication device.

したがって、親局からネットワークからの離脱命令を受信した場合には、自装置の動作を、そのまま終了するのではなく、自装置を含む通信装置の内、自装置の親局機能が最も高ければ、自装置が親局として動作することにより、新たなネットワークを再構築できるという効果を奏する。また、他に条件のよいネットワークが存在すれば、該ネットワークに参加することにより、新たなネットワークを再構築できるという効果を奏する。  Therefore, when receiving a leave command from the network from the master station, rather than terminating the operation of the own device as it is, if the master station function of the own device is the highest among the communication devices including the own device, When the own apparatus operates as a master station, there is an effect that a new network can be reconstructed. In addition, if there is another network with good conditions, it is possible to reconstruct a new network by participating in the network.

また、本発明に係る通信方法は、上記の通信方法において、他の通信装置と無線通信を行うと共に、自装置を親局として動作させる場合、自装置が動作していた通信チャネルと同じ通信チャネルで自装置を動作させる方法である。  Further, the communication method according to the present invention is the same communication channel as the communication channel in which the own device was operating when performing wireless communication with another communication device and operating the own device as a master station in the communication method described above. This is a method of operating the own device.

それゆえ、親局側からも子局側からも、今までに同ネットワーク内に存在していた無線通信を行う通信装置の発見が容易となる。  Therefore, it becomes easy to find a communication apparatus that performs wireless communication that has existed in the network so far from both the master station side and the slave station side.

したがって、速やかに通信を再開することが可能となるという効果を奏する。  Therefore, there is an effect that communication can be resumed promptly.

また、本発明に係る通信方法は、上記の通信方法において、他の通信装置と無線通信を行うと共に、自装置を親局として動作させる場合、自装置が動作していた通信チャネルと異なる通信チャネルで自装置を動作させる方法である。  Further, the communication method according to the present invention is a communication channel different from the communication channel in which the own device was operating when performing wireless communication with another communication device and operating the own device as a master station in the communication method described above. This is a method of operating the own device.

例えば、通信チャネルの伝搬路状態が悪化している場合には、子局は親局を発見できないため、通信を再開することが不可能である。しかしながら、元の通信チャネルとは異なる通信チャネルで自装置を親局として動作させることにより、親局側からも子局側からも、今まで同ネットワーク内に存在していた無線通信を行う通信装置の発見が可能となる。  For example, when the propagation channel state of the communication channel is deteriorated, the slave station cannot find the master station, and therefore cannot resume communication. However, a communication apparatus that performs wireless communication that has existed in the same network from the parent station side and the slave station side by operating the own apparatus as a parent station on a communication channel different from the original communication channel. Can be discovered.

したがって、通信チャネルの伝搬路状態が悪化している場合であっても、通信を再開することが可能となるという効果を奏する。  Therefore, there is an effect that communication can be resumed even when the propagation path state of the communication channel is deteriorated.

また、本発明に係る通信方法は、上記の通信方法において、自装置を親局として動作させる場合であって、かつ、自装置が通信品質機能を備える場合には、通信品質制御可能な親局として自装置を動作させる方法である。  Further, the communication method according to the present invention is a master station capable of controlling communication quality when the own device is operated as a master station in the communication method described above and the own device has a communication quality function. As a method of operating the own device.

それゆえ、自装置は、単に親局として動作してベストエフォート型のネットワークを構築するのではなく、通信品質制御可能な親局として動作することができる。  Therefore, the device itself can operate as a master station capable of controlling communication quality, rather than simply operating as a master station to construct a best effort network.

したがって、通信品質を制御可能なネットワークを構築することが可能となるという効果を奏する。  Therefore, it is possible to construct a network capable of controlling communication quality.

また、本発明に係る通信方法は、上記の通信方法において、前記取得ステップでは、さらに、前記他の通信装置の通信品質制御機能に関する情報を取得し、前記比較ステップでは、自装置の親局機能および通信品質制御機能を併せたトータル機能と、前記通信品質制御機能に関する情報を取得した通信装置の親局機能および通信品質制御機能を併せたトータル機能とを比較し、前記比較ステップにおいて自装置のトータル機能が、前記通信品質制御機能に関する情報を取得した通信装置のトータル機能よりも高いと判断された場合であって、かつ、自装置が親局機能および通信品質制御機能を備える場合には、通信品質制御可能な親局として動作する一方、前記比較ステップにおいて自装置のトータル機能が、前記通信品質制御機能に関する情報を取得した通信装置のトータル機能よりも低いと判断された場合には、子局として前記通信品質制御機能に関する情報を取得した通信装置に参加する動作ステップを備える方法である。  In the communication method according to the present invention, in the communication method described above, in the obtaining step, information on a communication quality control function of the other communication device is further obtained, and in the comparing step, a master station function of the own device is obtained. And the total function that combines the communication quality control function and the total function that combines the master station function and the communication quality control function of the communication apparatus that has acquired the information related to the communication quality control function. When it is determined that the total function is higher than the total function of the communication device that has acquired the information related to the communication quality control function, and the own device has a master station function and a communication quality control function, While operating as a master station capable of controlling communication quality, the total function of the own device in the comparison step relates to the communication quality control function. If it is judged to be lower than the total function of the acquired communication apparatus multicast is a method comprising an operation step of participating in the communication device that has acquired the information on the communication quality control function as the slave station.

それゆえ、親局機能および通信品質制御機能を併せたトータル機能が高い通信装置が、新たな親局として動作することになる。つまり、通信品質制御機能も考慮して、新たな親局が決定する。  Therefore, a communication device having a high total function including the master station function and the communication quality control function operates as a new master station. That is, a new master station is determined in consideration of the communication quality control function.

したがって、親局がネットワークから離脱したため、あるいは自装置が起動直後のため等により親局が未定時の場合や、現在親局として動作している通信装置の他に親局としての適性が高い通信装置が存在する場合であっても、新たな親局により、通信品質が保証されたネットワークを再構築できるという効果を奏する。  Therefore, if the parent station has not yet been determined because the parent station has left the network, or immediately after its own startup, etc., communication other than the communication device currently operating as the parent station is highly suitable for communication as a parent station. Even in the case where the device exists, it is possible to reconstruct a network whose communication quality is guaranteed by the new master station.

また、本発明に係る通信方法は、上記の通信方法において、前記他の通信装置との通信時に、前記自装置の親局機能に関する情報と、前記他の通信装置の親局機能に関する情報とを、互いに通知し合う方法である。  Further, the communication method according to the present invention is the communication method described above, wherein, when communicating with the other communication device, information related to the master station function of the own device and information related to the master station function of the other communication device. , A way to notify each other.

それゆえ、他の通信装置も、自装置の親局機能を判断することができる。  Therefore, other communication apparatuses can determine the master station function of the own apparatus.

したがって、親局がネットワークから離脱したため、あるいは自装置が起動直後のため等により親局が未定時の場合や、現在親局として動作している通信装置の他に親局としての適性が高い通信装置が存在する場合、上記親局機能を基にして、他の通信装置も、自身が親局として動作するか否かを判断可能となるという効果を奏する。  Therefore, if the parent station has not yet been determined because the parent station has left the network, or immediately after its own startup, etc., communication other than the communication device currently operating as the parent station is highly suitable for communication as a parent station. When a device exists, the other communication device can determine whether or not it operates as a parent station based on the parent station function.

また、本発明に係る通信方法は、上記の通信方法において、前記他の通信装置との通信時に、前記自装置の通信品質制御機能に関する情報と、前記他の通信装置の通信品質制御機能に関する情報とを、互いに通知し合う方法である。  Further, the communication method according to the present invention is the communication method according to the above-described communication method, wherein information related to the communication quality control function of the own device and information related to the communication quality control function of the other communication device when communicating with the other communication device. This is a method of notifying each other.

それゆえ、他の通信装置も、自装置の通信品質制御機能を判断することができる。  Therefore, other communication devices can also determine the communication quality control function of the own device.

したがって、親局がネットワークから離脱したため、あるいは自装置が起動直後のため等により親局が未定時の場合や、現在親局として動作している通信装置の他に親局としての適性が高い通信装置が存在する場合、上記通信品質制御機能を基にして、他の通信装置も、自身が親局として動作するか否かを判断可能となるという効果を奏する。  Therefore, if the parent station has not yet been determined because the parent station has left the network, or immediately after its own startup, etc., communication other than the communication device currently operating as the parent station is highly suitable for communication as a parent station. When the device exists, the other communication device can determine whether or not it operates as a master station based on the communication quality control function.

また、本発明に係る通信方法は、上記の通信方法において、自装置の電源供給停止時に、前記自装置の親局機能に関する情報を、他の通信装置に通知する方法である。  The communication method according to the present invention is a method for notifying information relating to the master station function of the own device to other communication devices when the power supply of the own device is stopped.

それゆえ、電源供給が停止することにより、自装置がネットワークから離脱することになった場合、他の通信装置が、自装置の親局機能の能力を知ることができる。  Therefore, when the power supply is stopped and the own device is disconnected from the network, other communication devices can know the capability of the master station function of the own device.

したがって、自装置の電源供給停止時に、他の通信装置は、自身が親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, when the power supply of the own device is stopped, the other communication devices can obtain the determination information for determining whether the own device operates as the master station or the slave station.

また、本発明に係る通信方法は、上記の通信方法において、自装置の電源供給停止時に、前記自装置の通信品質制御機能に関する情報を、他の通信装置に通知する方法である。  In addition, the communication method according to the present invention is a method for notifying other communication devices of information relating to the communication quality control function of the own device when the power supply of the own device is stopped.

それゆえ、電源供給が停止することにより、自装置がネットワークから離脱することになった場合、他の通信装置が、自装置の通信品質制御機能の能力を知ることができる。  Therefore, when the power supply is stopped and the own device is disconnected from the network, other communication devices can know the capability of the communication quality control function of the own device.

したがって、自装置の電源供給停止時に、他の通信装置は、自身が親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, when the power supply of the own device is stopped, the other communication devices can obtain the determination information for determining whether the own device operates as the master station or the slave station.

また、本発明に係る通信方法は、上記の通信方法において、自装置は他の通信装置と無線により通信を行う方法である。  Further, the communication method according to the present invention is a method in which, in the communication method described above, the device itself communicates with other communication devices wirelessly.

それゆえ、無線通信を行う通信装置で、上記通信方法を実行することができるという効果を奏する。  Therefore, there is an effect that the communication method can be executed by a communication device that performs wireless communication.

また、本発明に係る通信システムは、以上のように、複数の通信装置を、ネットワークを介して接続した通信システムにおいて、上記複数の通信装置のうち、少なくとも1つの通信装置が、上記の通信装置である。  The communication system according to the present invention is a communication system in which a plurality of communication devices are connected via a network as described above, and at least one of the plurality of communication devices is the communication device described above. It is.

したがって、上記通信装置に関して上述した効果を、本システムで得られるという効果を奏する。  Therefore, there is an effect that the effect described above with respect to the communication device can be obtained by the present system.

また、本発明に係るプログラムは、以上のように、上記通信装置の各手段としてコンピュータを機能させるためのものである。  The program according to the present invention is for causing a computer to function as each unit of the communication device as described above.

上記プログラムをコンピュータシステムにロードすることによって、上記通信装置をユーザに提供することが可能となるという効果を奏する。  By loading the program into the computer system, the communication device can be provided to the user.

また、本発明に係るプログラムは、以上のように、上記の通信装置の動作モード起動方法をコンピュータに実行させるためのものである。  Further, as described above, the program according to the present invention is for causing a computer to execute the operation mode starting method of the communication apparatus.

上記プログラムをコンピュータシステムにロードすることによって、上記通信装置の動作モード起動方法をユーザに提供することが可能となるという効果を奏する。  By loading the program into the computer system, it is possible to provide the user with a method for starting the operation mode of the communication device.

また、本発明に係るプログラムは、以上のように、上記の通信方法をコンピュータに実行させるためのものである。  The program according to the present invention is for causing a computer to execute the communication method described above.

上記プログラムをコンピュータシステムにロードすることによって、上記通信方法をユーザに提供することが可能となるという効果を奏する。  By loading the program into the computer system, it is possible to provide the user with the communication method.

また、本発明に係るプログラムを記録した記録媒体は、以上のように、上記プログラムを記録しているものである。  Moreover, the recording medium which recorded the program based on this invention has recorded the said program as mentioned above.

上記記録媒体に記録されているプログラムをコンピュータシステムにロードすることによって、上記通信装置、通信装置の動作モード起動方法、あるいは、通信方法をユーザに提供することが可能となるという効果を奏する。  By loading the program recorded on the recording medium into the computer system, the communication device, the operation mode starting method of the communication device, or the communication method can be provided to the user.

また、本発明に係る無線通信装置は、以上のように、親局と子局とからなる無線ネットワークシステムを構成する無線通信装置において、自装置を親局として機能させるための親局機能制御手段と、自装置を子局として機能させるための子局機能制御手段と、前記親局機能制御手段を機能させて自装置を親局として動作させる第1動作モード、前記子局機能制御手段を機能させて自装置を子局として動作させる第2動作モード、および、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させる第3動作モードのうち何れかの動作モードが記憶された記憶手段と、前記記憶手段に記憶されている動作モードを判定する判定手段と、前記判定手段が判定した動作モードに基づいて自装置の動作を制御するモード制御手段とを備える構成である。  Further, as described above, the radio communication apparatus according to the present invention is a master station function control means for causing the own apparatus to function as the master station in the radio communication apparatus constituting the radio network system including the master station and the slave station. And a slave station function control means for causing the own apparatus to function as a slave station, a first operation mode in which the master station function control means is caused to function and the own apparatus is operated as a master station, and the slave station function control means is functioned. The second operation mode in which the own apparatus is operated as a slave station, and either the master station function control means or the slave station function control means is caused to function to operate the own apparatus in either the master station or the slave station. A storage unit that stores any one of the third operation modes; a determination unit that determines the operation mode stored in the storage unit; and an own device based on the operation mode determined by the determination unit A structure and a mode control means for controlling the operation.

それゆえ、記憶手段に記憶される動作モード次第で、無線通信装置が何れの動作モードで動作するかが決まる。  Therefore, in which operation mode the wireless communication apparatus operates depends on the operation mode stored in the storage means.

ここで、記憶手段に第1動作モードが記憶されている場合は、判定手段により、記憶手段に第1動作モードが記憶されていることが判定され、モード制御手段が該第1動作モードで自装置を動作させる。したがって、この場合、無線通信装置を、前記親局機能制御手段を機能させて、親局として動作させることができる。  Here, when the first operation mode is stored in the storage unit, the determination unit determines that the first operation mode is stored in the storage unit, and the mode control unit automatically performs the operation in the first operation mode. Operate the device. Therefore, in this case, the wireless communication apparatus can operate as a master station by causing the master station function control means to function.

また、記憶手段に第2動作モードが記憶されている場合は、判定手段により、記憶手段に第2動作モードが記憶されていることが判定され、モード制御手段が該第2動作モードで自装置を動作させる。したがって、この場合、無線通信装置を、前記子局機能制御手段を機能させて、子局として動作させることができる。  Further, when the second operation mode is stored in the storage means, the determination means determines that the second operation mode is stored in the storage means, and the mode control means operates in the second operation mode. To work. Therefore, in this case, the wireless communication apparatus can be operated as a slave station by causing the slave station function control means to function.

さらに、記憶手段に第3動作モードが記憶されている場合は、判定手段により、記憶手段に第3動作モードが記憶されていることが判定され、モード制御手段が該第3動作モードで自装置を動作させる。したがって、この場合、無線通信装置を、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させることができる。また、上記第3動作モードで動作する場合には、例えば、既に他に親局が存在する場合には自装置を子局とすることで、親局の乱立が防げる。一方、他に親局が存在しない場合には自装置を親局とすることにより、他に親局が存在しない場合であっても新たに無線ネットワークを構築できる。  Further, when the third operation mode is stored in the storage means, it is determined by the determination means that the third operation mode is stored in the storage means, and the mode control means in its own third operation mode. To work. Therefore, in this case, the wireless communication apparatus can operate either the master station or the slave station by causing either the master station function control means or the slave station function control means to function. Further, when operating in the third operation mode, for example, when another parent station already exists, the local station can be prevented from standing up by making the own apparatus a slave station. On the other hand, when there is no other master station, a new wireless network can be constructed even if there is no other master station by setting the own apparatus as the master station.

ところで、親局機能の能力(つまり、親局として機能する際の能力)は、無線通信ネットワークを構成する各無線通信装置によって異なる。つまり、親局として所定の能力を備えている無線通信装置もあれば、親局として所定の能力を備えていない無線通信装置もある。それゆえ、親局として動作させたい無線通信装置もあれば、親局として動作させたくない無線通信装置もある。  By the way, the capability of the master station function (that is, the capability when functioning as a master station) differs depending on each radio communication device constituting the radio communication network. That is, some wireless communication devices have a predetermined capability as a master station, and other wireless communication devices do not have a predetermined capability as a parent station. Therefore, there are some wireless communication devices that are desired to operate as a master station, and other wireless communication devices that are not desired to be operated as a master station.

したがって、親局として動作させたい場合には、第1動作モードを記憶手段に記憶させることで、この無線通信装置を親局として動作させることができる。また、親局として動作させたくない場合には、第2動作モードを記憶手段に記憶させることで、この無線通信装置を子局として動作させることができる。さらに、親局として動作させてもよい場合には、第3動作モードを記憶手段に記憶させることにより、この無線通信装置を親局または子局として動作させることができる。  Therefore, when it is desired to operate as a master station, this wireless communication apparatus can be operated as a master station by storing the first operation mode in the storage means. If it is not desired to operate as a master station, the wireless communication device can be operated as a slave station by storing the second operation mode in the storage means. Further, when it is possible to operate as a master station, the wireless communication device can be operated as a master station or a slave station by storing the third operation mode in the storage means.

それゆえ、上記の構成により、所定の能力を備える無線通信装置を親局として設定可能とし得る無線通信装置が得られるという効果を奏する。  Therefore, according to the above configuration, there is an effect that a wireless communication device that can set a wireless communication device having a predetermined capability as a master station can be obtained.

また、本発明に係る無線通信装置は、上記の無線通信装置において、他の無線通信装置に対する無線帯域の割り当てを計算すると共に、前記他の無線通信装置に割り当てた無線帯域を示す帯域情報を通知して、各無線通信装置間の通信品質を制御するか、あるいは、他の無線通信装置に対する送信待ち時間を制御すると共に、前記他の無線通信装置に前記送信待ち時間の情報を通知して、各無線通信装置間の通信品質を制御する通信品質制御手段を備え、自装置を親局として動作させる場合には、モード制御手段は、前記親局機能制御手段および通信品質制御手段を動作させて、通信品質制御可能な親局として自装置を動作させる構成である。  In addition, the wireless communication device according to the present invention calculates, in the above-described wireless communication device, allocation of a wireless band to another wireless communication device, and notifies band information indicating a wireless band allocated to the other wireless communication device. Then, control the communication quality between each wireless communication device, or control the transmission waiting time for other wireless communication devices, and notify the other wireless communication device of the information of the transmission waiting time, When communication quality control means for controlling the communication quality between the wireless communication apparatuses is provided, and the own apparatus is operated as a master station, the mode control means operates the master station function control means and the communication quality control means. In this configuration, the device is operated as a master station capable of controlling communication quality.

それゆえ、親局が通信品質の制御も行うこととなる。このため、親局機能の能力のみならず、通信品質制御機能の能力も考慮することにより、通信品質制御機能の能力が低い無線通信装置が親局となることを防止することができる。  Therefore, the master station also controls communication quality. For this reason, by considering not only the capability of the master station function but also the capability of the communication quality control function, it is possible to prevent a radio communication apparatus having a low capability of the communication quality control function from becoming the master station.

したがって、通信品質が保証された無線ネットワークを構築できるという効果を奏する。  Therefore, it is possible to construct a wireless network in which communication quality is guaranteed.

また、本発明に係る無線通信装置は、上記の無線通信装置において、自装置の動作モードが前記第3動作モードに設定された場合であって、かつ、他に親局が存在する場合には、前記モード制御手段は、自装置を子局として動作させる構成である。  The wireless communication device according to the present invention is the above wireless communication device when the operation mode of the device is set to the third operation mode and there is another master station. The mode control means is configured to operate the own apparatus as a slave station.

したがって、記憶手段に第3動作モードが記憶されている場合であっても、無線ネットワーク内での親局の乱立を防止することができるという効果を奏する。  Therefore, even if the third operation mode is stored in the storage unit, there is an effect that it is possible to prevent the master station from standing up in the wireless network.

また、本発明に係る無線通信装置は、上記の無線通信装置において、親局となる他の無線通信装置を監視する監視手段を備え、自装置の動作モードが前記第3動作モードに設定された場合であって、かつ、前記監視手段により親局との通信状態が不良であると判断された場合、前記モード制御手段は、前記親局機能制御手段を動作させて自装置を親局として動作させるか、または、子局機能制御手段を動作させて子局として動作させるかを決定する。  The wireless communication apparatus according to the present invention further includes a monitoring unit that monitors another wireless communication apparatus serving as a master station in the wireless communication apparatus, and the operation mode of the own apparatus is set to the third operation mode. And the mode control means operates the master station function control means to operate itself as a master station when the monitoring means determines that the communication state with the master station is poor. Or to determine whether to operate the slave station function control means as a slave station.

それゆえ、親局との通信状態が不良となった場合、例えば、他に親局になる無線通信装置がなければ、自装置が親局となることにより無線ネットワークを再構築できるという効果を奏する。また、他に親局となる無線通信装置があれば、自装置が子局のままでいることにより、親局の乱立を防止できるという効果を奏する。  Therefore, when the communication state with the master station becomes poor, for example, if there is no other wireless communication device that becomes the master station, the wireless network can be reconstructed by the own device becoming the master station. . In addition, if there is another wireless communication device serving as a master station, there is an effect that it is possible to prevent the master station from standing up because the device itself remains a slave station.

また、本発明に係る無線通信装置は、上記の無線通信装置において、他の無線通信装置に対する無線帯域の割り当てを計算すると共に、前記他の無線通信装置に割り当てた無線帯域を示す帯域情報を通知して、各無線通信装置間の通信品質を制御するか、あるいは、他の無線通信装置に対する送信待ち時間を制御すると共に、前記他の無線通信装置に前記送信待ち時間の情報を通知して、各無線通信装置間の通信品質を制御する通信品質制御手段を備え、前記モード制御手段は、前記親局機能制御手段および前記通信品質制御手段を動作させて自装置を通信品質制御可能な親局として動作させるか、または、子局機能制御手段を動作させて子局として動作させるかを決定する構成である。  In addition, the wireless communication device according to the present invention calculates, in the above-described wireless communication device, allocation of a wireless band to another wireless communication device, and notifies band information indicating a wireless band allocated to the other wireless communication device. Then, control the communication quality between each wireless communication device, or control the transmission waiting time for other wireless communication devices, and notify the other wireless communication device of the information of the transmission waiting time, Communication quality control means for controlling communication quality between the wireless communication devices, and the mode control means operates the master station function control means and the communication quality control means to control the communication quality of the own device. Or the slave station function control means is determined to be operated as a slave station.

それゆえ、親局機能制御手段の能力のみならず、通信品質制御手段の能力も考慮することにより、親局と通信不能となった場合においても、通信品質制御手段の能力が低い無線通信装置が親局となるのを防ぐことができる。  Therefore, by considering not only the capability of the master station function control means but also the capability of the communication quality control means, even when communication with the master station becomes impossible, there is a wireless communication device with a low capability of the communication quality control means. It can prevent becoming a master station.

したがって、通信品質が保証された無線ネットワークを構築できるという効果を奏する。  Therefore, it is possible to construct a wireless network in which communication quality is guaranteed.

また、本発明に係る無線通信装置は、上記の無線通信装置において、自装置の親局機能の能力に関する情報、および、他の無線通信装置の親局機能の能力に関する情報を第1の情報とすると、前記記憶手段は、前記第1の情報と前記第3動作モードとを記憶しており、自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記モード制御手段が、前記第1の情報を参照する構成である。  Further, the wireless communication device according to the present invention is the above-described wireless communication device, the information regarding the capability of the master station function of its own device and the information regarding the capability of the master station function of another wireless communication device as the first information. Then, the storage means stores the first information and the third operation mode, and when determining whether the own apparatus operates as a master station or a slave station, the mode control means The configuration refers to the first information.

それゆえ、自装置の親局機能の能力に関する情報、および、他の無線通信装置の親局機能の能力に関する情報に基づいて、自装置が親局あるいは子局の何れの局として動作するかを決定する。  Therefore, based on the information on the capability of the master station function of the own device and the information on the capability of the master station function of other wireless communication devices, it is determined whether the own device operates as a master station or a slave station. decide.

したがって、自装置の親局機能が他の無線通信装置の親局機能よりも優れている場合には、自装置が親局となることで、また、自装置の親局機能が他の無線通信装置の親局機能よりも劣っている場合には、他の無線通信装置が親局となることで、親局機能が優れた親局を有する無線ネットワークを構築することができるという効果を奏する。  Therefore, if the master station function of its own device is superior to the master station function of other wireless communication devices, the own device becomes the master station, and the master station function of its own device becomes another wireless communication. When it is inferior to the master station function of the device, another wireless communication device becomes the master station, thereby producing an effect that a radio network having a master station with an excellent master station function can be constructed.

また、本発明に係る無線通信装置は、上記の無線通信装置において、自装置における通信品質制御機能の能力に関する情報、および、他の無線通信装置における通信品質制御機能の能力に関する情報を第2の情報とすると、前記記憶手段は、前記第2の情報と前記第3動作モードとを記憶しており、自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記モード制御手段が、前記第2の情報を参照する構成である。  In addition, the wireless communication device according to the present invention provides the second wireless communication device with information on the communication quality control function capability of the device itself and information on the communication quality control function capability of other wireless communication devices. As information, the storage means stores the second information and the third operation mode, and when determining whether the own device operates as a master station or a slave station, the storage unit stores the second information and the third operation mode. The control means refers to the second information.

それゆえ、自装置の通信品質制御機能の能力に関する情報、および、他の無線通信装置の通信品質制御機能の能力に関する情報に基づいて、自装置が親局あるいは子局の何れの局として動作するかを決定する。  Therefore, based on the information on the communication quality control function capability of the own device and the information on the communication quality control function capability of other wireless communication devices, the own device operates as either a master station or a slave station. To decide.

したがって、自装置の通信品質制御機能が他の無線通信装置の通信品質制御機能よりも優れている場合には、自装置が親局となることで、また、自装置の通信品質制御機能が他の無線通信装置の通信品質制御機能よりも劣っている場合には、他の無線通信装置が親局となることで、通信品質制御機能が優れた親局を有する無線ネットワークを構築することができるという効果を奏する。  Therefore, if the communication quality control function of its own device is superior to the communication quality control function of other wireless communication devices, the own device becomes the master station, and the communication quality control function of its own device If the communication quality control function of the wireless communication device is inferior to that of the other wireless communication device, another wireless communication device can become a master station, so that a wireless network having a master station with an excellent communication quality control function can be constructed. There is an effect.

また、本発明に係る無線通信装置は、上記の無線通信装置において、自装置に関する親局機能の能力および通信品質制御機能の能力に関する情報と、他の通信装置に関する親局機能の能力および通信品質制御機能の能力に関する情報とを第3の情報とすると、前記記憶手段は、前記第3の情報と前記第3動作モードとを記憶しており、自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記モード制御手段が、前記第3の情報を参照する構成である。  Further, the wireless communication device according to the present invention is the above wireless communication device, wherein the information on the capability of the master station function and the capability of the communication quality control function regarding the device itself, the capability of the master station function and the communication quality regarding the other communication devices Assuming that the information regarding the capability of the control function is the third information, the storage means stores the third information and the third operation mode, and the own device is either a master station or a slave station. When deciding whether to operate, the mode control means refers to the third information.

それゆえ、自装置に関する親局機能の能力および通信品質制御機能の能力に関する情報と、他の通信装置に関する親局機能の能力および通信品質制御機能の能力に関する情報とに基づいて、自装置が親局あるいは子局の何れの局として動作するかを決定する。  Therefore, based on the information on the capability of the master station function and the communication quality control function regarding the own device and the information on the capability of the master station function and the communication quality control function regarding other communication devices, Decide whether to operate as a station or a slave station.

したがって、自装置の親局機能および通信品質制御機能を併せたトータル機能が、他の無線通信装置の親局機能および通信品質制御機能を併せたトータル機能よりも優れている場合には自装置が親局となることで、また、自装置の親局機能および通信品質制御機能を併せたトータル機能が、他の無線通信装置の親局機能および通信品質制御機能を併せたトータル機能よりも劣っている場合には他の無線通信装置が親局となることで、親局機能および通信品質制御機能を併せたトータル機能が優れた親局を有する無線ネットワークを構築することができるという効果を奏する。  Therefore, if the total function that combines the master station function and communication quality control function of its own device is superior to the total function that combines the master station function and communication quality control function of other wireless communication devices, By becoming a master station, the total function that combines the master station function and communication quality control function of its own device is inferior to the total function that combines the master station function and communication quality control function of other wireless communication devices. In the case where the wireless communication device is, the other wireless communication device becomes the master station, so that it is possible to construct a wireless network having a master station having an excellent total function including the master station function and the communication quality control function.

また、本発明に係る無線通信装置は、上記の無線通信装置において、前記記憶手段は、さらに、過去に通信を行ったことのある他の無線通信装置のID情報を記憶しており、自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記モード制御手段が、前記ID情報を参照する構成である。  In the wireless communication device according to the present invention, in the above wireless communication device, the storage unit further stores ID information of another wireless communication device that has communicated in the past. The mode control means refers to the ID information when deciding which station operates as a master station or a slave station.

それゆえ、過去に通信を行ったことのある他の無線通信装置が無線ネットワーク中に存在していれば、上記ID情報に基づいて、該他の無線通信装置が無線ネットワークに存在していることが判断できる。  Therefore, if another wireless communication apparatus that has performed communication in the past exists in the wireless network, the other wireless communication apparatus exists in the wireless network based on the ID information. Can be judged.

さらに、上記ID情報に基づいて、例えば過去の通信時において上記他の無線通信装置が親局として動作していたということが分かれば、自装置を子局として動作させればよいと判断できる。  Further, based on the ID information, for example, if it is known that the other wireless communication device was operating as a master station during past communication, it can be determined that the device itself should be operated as a slave station.

したがって、自装置が親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that it is possible to obtain determination information for determining whether the own apparatus operates as a master station or a slave station.

また、本発明に係る無線通信装置は、上記の無線通信装置において、前記記憶手段に記憶している情報を通知する通知手段を備える構成である。  In addition, a wireless communication apparatus according to the present invention is configured to include notification means for notifying information stored in the storage means in the wireless communication apparatus.

それゆえ、他の無線通信装置が、例えば、自装置が何れの動作モードであるか、自装置の親局機能の能力、自装置の通信品質制御機能の能力等を知ることができる。  Therefore, for example, the other wireless communication device can know which operation mode the device is in, the capability of the master station function of the device itself, the capability of the communication quality control function of the device itself, and the like.

また、他の無線通信装置が上記通知手段を備えていれば、自装置も、他の無線通信装置が何れの動作モードであるか、他の無線通信装置の親局機能の能力、他の無線通信装置の通信品質制御機能の能力等を知ることができるという効果を奏する。  If another wireless communication apparatus includes the above notification means, the own apparatus also determines which operation mode the other wireless communication apparatus is in, the capability of the master station function of the other wireless communication apparatus, There is an effect that the capability of the communication quality control function of the communication device can be known.

したがって、親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, there is an effect that it is possible to obtain judgment information for determining which station is to operate as a master station or a slave station.

また、本発明に係る無線通信装置は、上記の無線通信装置において、自装置に対する電源の供給を制御する電源制御手段を備え、前記電源制御手段によって電源供給が停止した場合に、前記通知手段は、他の無線通信装置に対して、前記記憶手段に記憶している情報を通知する構成である。  The wireless communication apparatus according to the present invention further includes power control means for controlling power supply to the self-device in the above wireless communication apparatus, and when the power supply is stopped by the power control means, the notification means In this configuration, the information stored in the storage unit is notified to another wireless communication device.

それゆえ、前記電源制御手段によって電源供給が停止することにより、自装置が無線ネットワークから離脱することになった場合、他の無線通信装置が、例えば、自装置が何れの動作モードであるか、自装置の親局機能の能力、自装置の通信品質制御機能の能力等を知ることができる。  Therefore, when the power supply control means stops the power supply, and when the own device is to leave the wireless network, other wireless communication devices, for example, which operation mode the own device is in, It is possible to know the capability of the master station function of the own device, the capability of the communication quality control function of the own device, and the like.

また、他の無線通信装置が上記電源制御手段と通知手段とを備えていれば、他の無線通信装置が無線ネットワークから離脱することになった場合、自装置も、他の無線通信装置が何れの動作モードであるか、他の無線通信装置の親局機能の能力、他の無線通信装置の通信品質制御機能の能力等を知ることができるという効果を奏する。  Further, if another wireless communication device includes the power supply control means and the notification means, when the other wireless communication device is to leave the wireless network, neither the own device nor the other wireless communication device This is advantageous in that it is possible to know the operation mode of the wireless communication device, the capability of the master station function of the other wireless communication device, the capability of the communication quality control function of the other wireless communication device, and the like.

したがって、電源供給停止時に、親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, when the power supply is stopped, there is an effect that it is possible to obtain judgment information for determining which station is to operate as a master station or a slave station.

また、本発明に係る無線通信装置は、上記の無線通信装置において、前記記憶手段に記憶されている情報の設定および/または変更を行う設定手段を備える構成である。  In addition, a wireless communication apparatus according to the present invention is configured to include setting means for setting and / or changing information stored in the storage means in the wireless communication apparatus described above.

それゆえ、記憶手段に新たな情報を記憶させることができる。  Therefore, new information can be stored in the storage means.

したがって、新たな動作モードとして無線通信装置を動作させることができるという効果を奏する。  Therefore, the wireless communication apparatus can be operated as a new operation mode.

また、例えば、上記親局機能の能力の評価にあたり、親局機能における一部機能についての能力評価に対する寄与率等を変化させたり、上記通信品質制御機能の能力の評価にあたり、通信品質制御機能における一部機能についての能力評価に対する寄与率等を変化させたりすることで、親局への成り易さの度合いも変更することができる。  Also, for example, in evaluating the capability of the master station function, changing the contribution rate to the capability evaluation for some functions in the master station function, or in evaluating the capability of the communication quality control function, The degree of easiness of being a master station can also be changed by changing the contribution rate to the ability evaluation of some functions.

また、本発明に係る無線通信装置は、上記の無線通信装置において、前記判定手段で判定された動作モードの情報、自装置の通信状態の情報、記憶手段に記憶されている情報のうち、少なくとも1つ以上の情報の表示を行う表示手段を備える構成である。  Further, the wireless communication device according to the present invention is the above wireless communication device, wherein at least one of the operation mode information determined by the determination unit, the communication state information of the own device, and the information stored in the storage unit. It is the structure provided with the display means which displays one or more information.

それゆえ、ユーザが、自装置の通信状態の情報、および、記憶手段に記憶されている情報を確認できるという効果を奏する。  Therefore, there is an effect that the user can check the communication state information of the own apparatus and the information stored in the storage unit.

また、上記設定手段を備える場合には、表示手段に表示された情報を参考にすることで、容易に設定の変更が行えるという効果も奏する。  Further, when the setting means is provided, the setting can be easily changed by referring to the information displayed on the display means.

また、本発明に係る無線通信装置の動作モード設定(起動)方法は、以上のように、自装置を親局として機能させるための親局機能制御手段と、自装置を子局として機能させるための子局機能制御手段とを備えた無線通信装置の動作モード設定方法であって、前記親局機能制御手段を機能させて自装置を親局として動作させる第1動作モード、前記子局機能制御手段を機能させて自装置を子局として動作させる第2動作モード、および、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させる第3動作モードのうち何れの動作モードが記憶されているかを判定する判定ステップと、前記判定ステップで判定した動作モードに基づいて自装置を動作させる動作ステップとを備える方法である。  In addition, as described above, the operation mode setting (startup) method of the wireless communication apparatus according to the present invention is for causing the own apparatus to function as a parent station and the own station function control means for causing the own apparatus to function as a parent station. A method of setting an operation mode of a wireless communication apparatus including a slave station function control means, wherein the master station function control means functions to operate the own apparatus as a master station, and the slave station function control. A second operation mode in which the device functions as a slave station, and either the master station function control means or the slave station function control means functions as a master station or a slave station A determination step of determining which operation mode is stored among the third operation modes to be operated in the step, and an operation step of operating the device based on the operation mode determined in the determination step A.

それゆえ、上記記憶される動作モード次第で、無線通信装置の動作モードが決まる。  Therefore, the operation mode of the wireless communication apparatus is determined depending on the stored operation mode.

ここで、判定ステップにおいて第1動作モードが記憶されていることが判定された場合には、該第1動作モードで自装置が動作する。したがって、この場合、無線通信装置を、前記親局機能制御手段を機能させて、親局として動作させることができる。  Here, when it is determined in the determination step that the first operation mode is stored, the own apparatus operates in the first operation mode. Therefore, in this case, the wireless communication apparatus can operate as a master station by causing the master station function control means to function.

また、判定手段ステップにおいて第2動作モードが記憶されていることが判定された場合には、該第2動作モードで自装置が動作する。したがって、この場合、無線通信装置を、前記子局機能制御手段を機能させて、子局として動作させることができる。  If it is determined in the determining means step that the second operation mode is stored, the own apparatus operates in the second operation mode. Therefore, in this case, the wireless communication apparatus can be operated as a slave station by causing the slave station function control means to function.

さらに、判定ステップにおいて第3動作モードが記憶されていることが判定された場合には、該第3動作モードで自装置が動作する。したがって、この場合、無線通信装置を、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させることができる。また、上記第3動作モードで動作する場合には、例えば、既に他に親局が存在する場合には自装置を子局とすることで、親局の乱立が防げる。一方、他に親局が存在しない場合には自装置を親局とすることにより、他に親局が存在しない場合であっても新たに無線ネットワークを構築できる。  Further, when it is determined in the determination step that the third operation mode is stored, the own apparatus operates in the third operation mode. Therefore, in this case, the wireless communication apparatus can operate either the master station or the slave station by causing either the master station function control means or the slave station function control means to function. Further, when operating in the third operation mode, for example, when another parent station already exists, the local station can be prevented from standing up by making the own apparatus a slave station. On the other hand, when there is no other master station, a new wireless network can be constructed even if there is no other master station by setting the own apparatus as the master station.

ところで、親局機能の能力(つまり、親局として機能する際の能力)は、無線通信ネットワークを構成する各無線通信装置によって異なる。つまり、親局として所定の能力を備えている無線通信装置もあれば、親局として所定の能力を備えていない無線通信装置もある。それゆえ、親局として動作させたい無線通信装置もあれば、親局として動作させたくない無線通信装置もある。  By the way, the capability of the master station function (that is, the capability when functioning as a master station) differs depending on each radio communication device constituting the radio communication network. That is, some wireless communication devices have a predetermined capability as a master station, and other wireless communication devices do not have a predetermined capability as a parent station. Therefore, there are some wireless communication devices that are desired to operate as a master station, and other wireless communication devices that are not desired to be operated as a master station.

したがって、親局として動作させたい場合には、第1動作モードを記憶させることで、この無線通信装置を親局として動作させることができる。また、親局として動作させたくない場合には、第2動作モードを記憶させることで、この無線通信装置を子局として動作させることができる。さらに、親局として動作させてもよい場合には、第3動作モードを記憶させることにより、この無線通信装置を親局または子局として動作させることができる。  Therefore, when it is desired to operate as a master station, the wireless communication apparatus can be operated as a master station by storing the first operation mode. Further, when it is not desired to operate as a master station, the wireless communication apparatus can be operated as a slave station by storing the second operation mode. Furthermore, when it is possible to operate as a master station, the wireless communication apparatus can be operated as a master station or a slave station by storing the third operation mode.

それゆえ、上記の構成により、所定の能力を備える無線通信装置を親局として設定可能となるという効果を奏する。  Therefore, the above configuration has an effect that a wireless communication apparatus having a predetermined capability can be set as a master station.

また、本発明に係る無線通信方法は、以上のように、親局と子局とからなる無線ネットワークシステムを構成すると共に、親局としても子局としても動作可能な無線通信装置の無線通信方法であって、他の無線通信装置との通信時に、前記他の無線通信装置の親局機能に関する情報を取得する取得ステップと、親局となる他の無線通信装置が存在するか否かを検索する検索ステップと、前記検索ステップにて親局を発見した場合には、前記取得ステップで取得した情報に基づいて、前記親局に関して親局としての適正を判断する適正判断ステップとを備え、前記適性判断ステップで親局の適正があると判断された場合には、前記親局に子局として参加する方法である。  In addition, as described above, the wireless communication method according to the present invention constitutes a wireless network system composed of a parent station and a slave station, and is a wireless communication method for a wireless communication apparatus that can operate as both a master station and a slave station. Then, at the time of communication with another wireless communication device, an acquisition step for acquiring information on the master station function of the other wireless communication device, and a search for whether there is another wireless communication device serving as the master station A search step, and, when a master station is found in the search step, based on the information acquired in the acquisition step, an appropriate determination step for determining appropriateness as the master station with respect to the master station, In the aptitude determination step, when it is determined that the master station is appropriate, it is a method of joining the master station as a slave station.

それゆえ、親局となる他の無線通信装置が存在する場合、かつ、適正判断ステップにおいて前記親局が親局としての適正を有していると判断された場合には、この親局が新たな親局となることにより、無線通信装置は新たな親局に子局として参加できる。  Therefore, if there is another wireless communication device that serves as a master station, and if it is determined in the suitability determining step that the master station is appropriate as a master station, this master station is newly added. By becoming a master station, the wireless communication apparatus can participate in a new master station as a slave station.

したがって、親局が無線ネットワークから離脱したため、あるいは自装置が起動直後のため等により親局未定時の場合や、現在親局として動作している無線通信装置の他に親局としての適性が高い無線通信装置が存在する場合であっても、無線ネットワークを再構築することができるという効果を奏する。  Therefore, it is highly suitable as a master station in addition to a wireless communication device that is currently operating as a master station, because the master station has left the wireless network, or when the master station is undecided, for example, immediately after starting up Even when a wireless communication device exists, the wireless network can be reconstructed.

また、本発明に係る無線通信方法は、上記の通信方法において、前記取得ステップでは、さらに、前記他の無線通信装置の通信品質制御機能に関する情報を取得し、前記適正判断ステップでは、前記親局に関して通信品質制御可能な親局としての適正を判断する方法である。  In the wireless communication method according to the present invention, in the communication method described above, in the obtaining step, information on a communication quality control function of the other wireless communication device is further obtained, and in the suitability determining step, the master station is obtained. This is a method for determining the appropriateness as a master station capable of controlling the communication quality.

それゆえ、通信品質が保証された無線ネットワークを再構築することができるという効果を奏する。  Therefore, there is an effect that a wireless network in which communication quality is guaranteed can be reconstructed.

また、本発明に係る無線通信方法は、以上のように、親局と子局とからなる無線ネットワークシステムを構成すると共に、親局としても子局としても動作可能な無線通信装置の無線通信方法であって、親局となる他の無線通信装置が存在するか否かを検索する検索ステップとを備え、前記検索ステップにて親局を発見できなかった場合であって、かつ、自装置が通信品質制御機能を備える場合には、通信品質制御可能な親局として動作する方法である。  In addition, as described above, the wireless communication method according to the present invention constitutes a wireless network system composed of a parent station and a slave station, and is a wireless communication method for a wireless communication apparatus that can operate as both a master station and a slave station. A search step for searching whether or not there is another wireless communication device serving as a master station, and when the master station cannot be found in the search step, When the communication quality control function is provided, the method operates as a master station capable of controlling the communication quality.

それゆえ、親局となる他の無線通信装置を発見できない場合において、自装置が親局機能および通信品質制御機能を備えていれば、自装置が新たな親局となることができ、他の無線通信装置を子局として無線ネットワークに参加させることができる。  Therefore, in the case where other wireless communication devices that are parent stations cannot be found, if the own device has a parent station function and a communication quality control function, the own device can become a new parent station. A wireless communication device can participate in a wireless network as a slave station.

したがって、親局が無線ネットワークから離脱したため、あるいは自装置が起動直後のため等により親局が未定時の場合であっても、自装置が親局機能および通信品質制御機能を備えていれば、無線ネットワークを再構築することができるという効果を奏する。さらに、自装置は、通信品質制御可能な親局として動作するため、無線ネットワークの通信品質も保証されるという効果を奏する。  Therefore, even if the master station has a master station function and a communication quality control function even if the master station is undecided because the master station has left the wireless network, or because the host apparatus has just started, etc. There is an effect that a wireless network can be reconstructed. Further, since the own apparatus operates as a master station capable of controlling communication quality, there is an effect that the communication quality of the wireless network is also guaranteed.

また、本発明に係る無線通信方法は、以上のように、親局と子局とからなる無線ネットワークシステムを構成すると共に、親局としても子局としても動作可能な無線通信装置の無線通信方法であって、他の無線通信装置との通信時に、前記他の無線通信装置の親局機能に関する情報を取得する取得ステップと、親局となる他の無線通信装置が存在するか否かを検索する検索ステップと、前記検索ステップにて親局を発見できた場合であって、かつ、自装置が親局機能を備える場合に、自装置の親局機能と前記親局の親局機能とを比較する比較ステップと、前記比較ステップにおいて自装置の親局機能が前記親局の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が他の無線通信装置の親局機能よりも低いと判断された場合には、自装置は子局として前記親局に参加する方法である。  In addition, as described above, the wireless communication method according to the present invention constitutes a wireless network system composed of a parent station and a slave station, and is a wireless communication method for a wireless communication apparatus that can operate as both a master station and a slave station. Then, at the time of communication with another wireless communication device, an acquisition step for acquiring information on the master station function of the other wireless communication device, and a search for whether there is another wireless communication device serving as the master station And when the master device is found in the search step and the own device has a master station function, the master station function of the own device and the master station function of the master station are When it is determined that the parent station function of the own device is higher than the parent station function of the parent station in the comparison step to be compared and the comparison step, the own device operates as a parent station, while the own device operates in the comparison step. Other master station functions If it is judged to be lower than the master station functions of the wireless communication device, the device itself is a method to join the master station as a slave station.

それゆえ、親局機能が高い無線通信装置が、新たな親局として動作することになる。  Therefore, a wireless communication apparatus having a high master station function operates as a new master station.

したがって、親局が無線ネットワークから離脱したため、あるいは自装置が起動直後のため等により親局が未定時の場合や、現在親局として動作している無線通信装置の他に親局としての適性が高い無線通信装置が存在する場合であっても、新たな親局により、親局機能に優れた無線ネットワークを再構築できるという効果を奏する。  Therefore, if the parent station is undecided, for example, because the parent station has left the wireless network, or because the device itself has just started, etc., it may be suitable as a parent station in addition to the wireless communication device currently operating as the parent station. Even when a high wireless communication device exists, the wireless network excellent in the master station function can be reconstructed by the new master station.

また、本発明に係る無線通信方法は、上記の通信方法において、前記取得ステップでは、さらに、前記他の無線通信装置の通信品質制御機能に関する情報を取得し、前記比較ステップでは、自装置が親局機能および通信品質制御機能を備える場合に、自装置の親局機能および通信品質制御機能を併せたトータル機能と、前記親局の親局機能および通信品質制御機能を併せたトータル機能とを比較し、前記比較ステップにおいて自装置のトータル機能が、前記親局のトータル機能よりも高いと判断された場合には、通信品質制御可能な親局として動作する一方、前記比較ステップにおいて自装置のトータル機能が、前記親局のトータル機能よりも低いと判断された場合には、子局として前記親局に参加する方法である。  In the wireless communication method according to the present invention, in the communication method described above, in the obtaining step, information on a communication quality control function of the other wireless communication device is further obtained. Comparing the total function that combines the master station function and communication quality control function of its own device with the total function that combines the master station function and communication quality control function of the master station when it has a station function and communication quality control function If the total function of the own device is determined to be higher than the total function of the master station in the comparison step, the device operates as a master station capable of controlling communication quality. When it is determined that the function is lower than the total function of the master station, this is a method of joining the master station as a slave station.

それゆえ、親局機能および通信品質制御機能を併せたトータル機能が高い無線通信装置が、新たな親局として動作することになる。つまり、通信品質制御機能も考慮して、新たな親局が決定する。  Therefore, a wireless communication apparatus having a high total function combining the master station function and the communication quality control function operates as a new master station. That is, a new master station is determined in consideration of the communication quality control function.

したがって、親局が無線ネットワークから離脱したため、あるいは自装置が起動直後のため等により親局が未定時の場合や、現在親局として動作している無線通信装置の他に親局としての適性が高い無線通信装置が存在する場合であっても、新たな親局により、通信品質が保証された無線ネットワークを再構築できるという効果を奏する。  Therefore, if the parent station is undecided, for example, because the parent station has left the wireless network, or because the device itself has just started, etc., it may be suitable as a parent station in addition to the wireless communication device currently operating as the parent station. Even when a high wireless communication device exists, the wireless network in which the communication quality is guaranteed can be reconstructed by the new master station.

また、本発明に係る無線通信方法は、上記の通信方法において、前記他の無線通信装置との通信時に、前記自装置の親局機能に関する情報と、前記他の無線通信装置の親局機能に関する情報とを、互いに通知し合う方法である。  Further, the wireless communication method according to the present invention relates to information on the master station function of the own device and the master station function of the other radio communication device when communicating with the other radio communication device in the communication method described above. This is a method of notifying each other of information.

それゆえ、他の無線通信装置も、自装置の親局機能を判断することができる。  Therefore, other wireless communication apparatuses can also determine the master station function of the own apparatus.

したがって、親局が無線ネットワークから離脱したため、あるいは自装置が起動直後のため等により親局が未定時の場合や、現在親局として動作している無線通信装置の他に親局としての適性が高い無線通信装置が存在する場合、上記親局機能を基にして、他の無線通信装置も、自身が親局として動作するか否かを判断可能となるという効果を奏する。  Therefore, if the parent station is undecided, for example, because the parent station has left the wireless network, or because the device itself has just started, etc., it may be suitable as a parent station in addition to the wireless communication device currently operating as the parent station. When there is a high wireless communication device, another wireless communication device can determine whether or not it operates as a parent station based on the parent station function.

また、本発明に係る無線通信方法は、上記の通信方法において、前記他の無線通信装置との通信時に、前記自装置の親局機能および通信品質制御機能に関する情報と、前記他の無線通信装置の親局機能および通信品質制御機能に関する情報とを、互いに通知し合う方法である。  Also, the wireless communication method according to the present invention is the communication method described above, wherein the communication with the other wireless communication device includes information on a master station function and a communication quality control function of the own device, and the other wireless communication device. This is a method of notifying each other of information related to the master station function and the communication quality control function.

それゆえ、他の無線通信装置も、自装置の親局機能および通信品質制御機能を判断することができる。  Therefore, other wireless communication apparatuses can also determine the master station function and the communication quality control function of the own apparatus.

したがって、親局が無線ネットワークから離脱したため、あるいは自装置が起動直後のため等により親局が未定時の場合や、現在親局として動作している無線通信装置の他に親局としての適性が高い無線通信装置が存在する場合、上記親局機能および通信品質制御機能を基にして、他の無線通信装置も、自身が親局として動作するか否かを判断可能となるという効果を奏する。  Therefore, if the parent station is undecided, for example, because the parent station has left the wireless network, or because the device itself has just started, etc., it may be suitable as a parent station in addition to the wireless communication device currently operating as the parent station. When there is a high wireless communication device, another wireless communication device can determine whether or not it operates as a parent station based on the master station function and the communication quality control function.

また、本発明に係る無線通信方法は、上記の通信方法において、自装置の電源供給停止時に、前記自装置の親局機能に関する情報を、他の無線通信装置に通知する方法である。  In addition, the wireless communication method according to the present invention is a method of notifying other wireless communication devices of information relating to the master station function of the own device when the power supply of the own device is stopped.

それゆえ、電源供給が停止することにより、自装置が無線ネットワークから離脱することになった場合、他の無線通信装置が、自装置の親局機能の能力を知ることができる。  Therefore, when the power supply is stopped and the own device is disconnected from the wireless network, another wireless communication device can know the capability of the master station function of the own device.

したがって、自装置の電源供給停止時に、他の無線通信装置は、自身が親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, when the power supply of the own device is stopped, the other wireless communication device can obtain the determination information for determining whether the own device operates as the master station or the slave station.

また、本発明に係る無線通信方法は、上記の通信方法において、自装置の電源供給停止時に、前記自装置の親局機能および通信品質制御機能に関する情報を、他の無線通信装置に通知する方法である。  In addition, the wireless communication method according to the present invention is a method of notifying other wireless communication devices of information relating to the master station function and the communication quality control function of the own device when the power supply of the own device is stopped. It is.

それゆえ、電源供給が停止することにより、自装置が無線ネットワークから離脱することになった場合、他の無線通信装置が、自装置の親局機能および通信品質制御機能の能力を知ることができる。  Therefore, when the power supply is stopped and the own device leaves the wireless network, other wireless communication devices can know the capabilities of the master station function and the communication quality control function of the own device. .

したがって、自装置の電源供給停止時に、他の無線通信装置は、自身が親局あるいは子局の何れの局として動作するかを決定する際の判断情報が得られるという効果を奏する。  Therefore, when the power supply of the own device is stopped, the other wireless communication device can obtain the determination information for determining whether the own device operates as the master station or the slave station.

また、本発明に係る無線通信方法は、親局となる他の無線通信装置を監視し、親局との間で所定の期間電波の伝搬状態が一定レベル以下となった場合に、親局との通信状態が不良と判断する監視ステップと、前記監視ステップで親局との通信状態が不良と判断された場合には、自装置を親局未定状態へ遷移させる状態遷移ステップとを備え、前記状態遷移ステップにて親局未定状態となった場合に、上記の何れかの無線通信方法を行う方法である。  In addition, the wireless communication method according to the present invention monitors another wireless communication device serving as a master station, and when the propagation state of radio waves with the master station is below a certain level for a predetermined period, A monitoring step for determining that the communication state of the device is poor, and a state transition step for transitioning the device to a parent station undetermined state when the monitoring step determines that the communication state with the parent station is poor, This is a method of performing any one of the above wireless communication methods when the master station is in an undetermined state in the state transition step.

それゆえ、親局との電波のやり取りが行えている場合であっても、電波の伝搬状態が一定レベル以下であれば、自装置を親局未定状態へ遷移させることができる。  Therefore, even when radio waves can be exchanged with the master station, if the radio wave propagation state is below a certain level, the own apparatus can be shifted to the master station undetermined state.

したがって、その後、上記の何れかの無線通信方法を行うことにより、自装置を含め、少なくとも親局能力が他の装置に比べて優れた無線通信装置を、新たな親局として設定可能となり、この新たな親局の下、無線ネットワークを再構築することができるという効果を奏する。なお、親局未定状態としては、自装置が初期状態の場合や、親局との通信状態が不良であると自装置が判断した場合が挙げられる。  Therefore, by performing any one of the wireless communication methods described above, it becomes possible to set a wireless communication device that has at least a superior master station capability as compared to other devices, including its own device, as a new master station. The effect is that the wireless network can be reconstructed under the new master station. Note that examples of the parent station undetermined state include a case where the own device is in an initial state and a case where the own device determines that the communication state with the parent station is poor.

また、本発明に係る無線通信システムは、以上のように、複数の通信装置を、ネットワークを介して接続した通信システムにおいて、上記複数の通信装置のうち、少なくとも1つの通信装置が、上記無線通信装置である構成である。  Further, as described above, the wireless communication system according to the present invention is a communication system in which a plurality of communication devices are connected via a network, and at least one of the plurality of communication devices includes the wireless communication. It is the structure which is an apparatus.

したがって、上記無線通信装置に関して上述した効果を、本システムで得られるという効果を奏する。  Therefore, there is an effect that the effect described above with respect to the wireless communication device can be obtained by the present system.

また、本発明に係るプログラムは、以上のように、上記無線通信装置の各手段としてコンピュータを機能させるためのものである。  The program according to the present invention is for causing a computer to function as each means of the wireless communication apparatus as described above.

上記プログラムをコンピュータシステムにロードすることによって、上記無線通信装置をユーザに提供することが可能となるという効果を奏する。  By loading the program into the computer system, the wireless communication device can be provided to the user.

また、本発明に係るプログラムは、以上のように、上記の無線通信装置の動作モード設定方法をコンピュータに実行させるためのものである。  The program according to the present invention is for causing a computer to execute the operation mode setting method of the wireless communication apparatus as described above.

上記プログラムをコンピュータシステムにロードすることによって、上記無線通信装置の動作モード設定方法をユーザに提供することが可能となるという効果を奏する。  By loading the program into the computer system, the operation mode setting method of the wireless communication apparatus can be provided to the user.

また、本発明に係るプログラムは、以上のように、上記の無線通信方法をコンピュータに実行させるためのものである。  The program according to the present invention is for causing a computer to execute the wireless communication method described above.

上記プログラムをコンピュータシステムにロードすることによって、上記無線通信方法をユーザに提供することが可能となるという効果を奏する。  By loading the program into the computer system, the wireless communication method can be provided to the user.

また、本発明に係るプログラムを記録した記録媒体は、以上のように、上記プログラムを記録しているものである。  Moreover, the recording medium which recorded the program based on this invention has recorded the said program as mentioned above.

上記記録媒体に記録されているプログラムをコンピュータシステムにロードすることによって、上記無線通信装置、無縁通信装置の動作モード設定方法、あるいは、無線通信方法をユーザに提供することが可能となるという効果を奏する。  By loading the program recorded on the recording medium into a computer system, the wireless communication device, the operation mode setting method of the wireless communication device, or the wireless communication method can be provided to the user. Play.

なお、本発明は、上記の各実施形態に限定されるものではなく、本発明の範囲内で種々の変更が可能である。  The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the present invention.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは無線通信装置に供給し、そのシステムあるいは無線通信装置のコンピュータ(または、CPUやMPU)が、記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。  Also, an object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or a wireless communication apparatus, and the system (or CPU or CPU) of the system or wireless communication apparatus. Needless to say, this can also be achieved by the MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、磁気テープ、不揮発性のメモリカード等を用いることができる。  As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a magnetic tape, a nonvolatile memory card, or the like can be used.

また、上記プログラムコードは、通信ネットワークのような伝送媒体を介して、他のコンピュータシステムから主記憶媒体または外部記憶媒体等へダウンロードされるものであってもよい。  The program code may be downloaded from another computer system to a main storage medium or an external storage medium via a transmission medium such as a communication network.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。  Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。  Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU of the expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

また、本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードを格納することになる。  When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

無線によるマルチメディアデータのリアルタイム伝送等の様々な無線通信分野に適用可能である。  The present invention can be applied to various wireless communication fields such as wireless real-time transmission of multimedia data.

上記端末機能情報記憶部73は、実施の形態1で示した端末機能情報記憶部23が記憶している情報に加えて、上記モード設定部75によって設定される親局リカバリ機能をサポートするか否かの情報も記憶されている。さらに、この端末機能情報記憶部73には、無線通信装置51がネットワークに参加中、親局の送出するビーコン情報、並びに、ネットワーク内の他の無線通信装置の親局機能の能力および通信品質制御機能の能力を記憶する。なお、自端末が所属するネットワークを形成する親局以外の、他親局が送出するビーコン情報を記憶しても構わない。また、上記ビーコン情報、親局機能の能力、および、通信品質制御機能の能力は、無線通信制御部65を介して取得された後、この端末機能情報記憶部73に記憶される。なお、上記ビーコン情報とは、ビーコンから得られる親局のネットワーク識別子、ビーコンの送信周期、または、親局のMACアドレス(情報機器を識別するアドレス)等のことである。
Whether the terminal function information storage unit 73 supports the master station recovery function set by the mode setting unit 75 in addition to the information stored in the terminal function information storage unit 23 shown in the first embodiment. Such information is also stored. Further, in the terminal function information storage unit 73, beacon information transmitted from the master station while the radio communication device 51 is participating in the network, as well as capability and communication quality control of the master station function of other radio communication devices in the network. Memorize capability of function. Note that beacon information transmitted by other parent stations other than the parent station forming the network to which the own terminal belongs may be stored. The beacon information, the master station function capability, and the communication quality control function capability are acquired via the wireless communication control unit 65 and then stored in the terminal function information storage unit 73. The beacon information refers to the network identifier of the master station obtained from the beacon, the beacon transmission cycle, or the MAC address of the master station (address identifying the information device).

Claims (47)

親局と子局とからなるネットワークシステムを構成する通信装置において、
自装置を子局として機能させるための子局機能制御手段と、
他の通信装置から取得した該他の通信装置の機能を示した機能情報に基づいて親局を選択すると共に、前記選択した親局に対して自装置を子局として動作させる制御手段とを備えることを特徴とする通信装置。
In a communication device constituting a network system composed of a master station and a slave station,
Slave station function control means for causing the own device to function as a slave station,
Control means for selecting a master station based on function information indicating the function of the other communication apparatus acquired from another communication apparatus and operating the selected apparatus as a slave station for the selected master station. A communication device.
親局と子局とからなるネットワークシステムを構成する通信装置において、
自装置を親局として機能させるための親局機能制御手段と、
自装置を子局として機能させるための子局機能制御手段と、
前記親局機能制御手段を機能させて自装置を親局として動作させる第1動作モード、前記子局機能制御手段を機能させて自装置を子局として動作させる第2動作モード、および、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させる第3動作モードのうち少なくとも1つ以上の動作モードを有し、
前記何れかの動作モードが記憶された記憶手段と、
前記記憶手段に記憶されている動作モードを判定する判定手段と、
前記判定手段が判定した動作モードに基づいて自装置を親局または子局として動作させる制御手段とを備えることを特徴とする通信装置。
In a communication device constituting a network system composed of a master station and a slave station,
A master station function control means for causing the own apparatus to function as a master station;
Slave station function control means for causing the own device to function as a slave station,
A first operation mode in which the master station function control means is operated to operate the own apparatus as a master station; a second operation mode in which the slave station function control means is operated to operate the own apparatus as a slave station; Having at least one operation mode of the third operation mode in which either the station function control means or the slave station function control means is operated to operate the own apparatus in either the master station or the slave station;
Storage means for storing any one of the operation modes;
Determination means for determining an operation mode stored in the storage means;
A communication device comprising: control means for operating the own apparatus as a master station or a slave station based on the operation mode determined by the determination means.
他の通信装置に対し制御情報を通知して、各通信装置間の通信品質を制御する通信品質制御手段を備え、
自装置を親局として動作させる場合には、前記制御手段は、前記親局機能制御手段および通信品質制御手段を動作させて、通信品質制御可能な親局として自装置を動作させることを特徴とする請求項2に記載の通信装置。
The communication quality control means for notifying the control information to other communication devices and controlling the communication quality between the communication devices,
When operating the own apparatus as a master station, the control means operates the master station function control means and the communication quality control means to operate the own apparatus as a master station capable of controlling communication quality. The communication device according to claim 2.
自装置を子局として動作させる場合、前記制御手段は、他の通信装置から取得した該他の通信装置の機能を示した機能情報に基づいて親局を選択することを特徴とする請求項2記載の通信装置。3. When operating the own apparatus as a slave station, the control means selects a master station based on function information indicating a function of the other communication apparatus acquired from another communication apparatus. The communication device described. 自装置が前記第3動作モードで動作中の場合であって、かつ、現在の親局以外に親局を少なくとも1つ発見した場合、前記制御手段は、前記親局機能制御手段を動作させて自装置を親局として動作させるか、または、子局機能制御手段を動作させて子局として動作させるかを決定することを特徴とする請求項2に記載の通信装置。When the own apparatus is operating in the third operation mode and if at least one master station is found in addition to the current master station, the control means operates the master station function control means. The communication apparatus according to claim 2, wherein the communication apparatus determines whether to operate the own apparatus as a master station or to operate the slave station function control means as a slave station. 自装置が前記第3動作モードで動作中の場合であって、かつ、親局との通信状態が不良であると判断された場合、前記制御手段は、前記親局機能制御手段を動作させて自装置を親局として動作させるか、または、子局機能制御手段を動作させて子局として動作させるかを決定することを特徴とする請求項2に記載の通信装置。When the own apparatus is operating in the third operation mode and it is determined that the communication state with the master station is poor, the control means operates the master station function control means. The communication apparatus according to claim 2, wherein the communication apparatus determines whether to operate the own apparatus as a master station or to operate the slave station function control means as a slave station. 自装置が前記第3動作モードで動作中の場合であって、かつ、親局からネットワークからの離脱命令を受信した場合、前記制御手段は、前記親局機能制御手段を動作させて自装置を親局として動作させるか、または、子局機能制御手段を動作させて子局として動作させるかを決定することを特徴とする請求項2に記載の通信装置。When the own apparatus is operating in the third operation mode and receives a leave command from the network from the master station, the control means operates the master station function control means to The communication apparatus according to claim 2, wherein the communication apparatus determines whether to operate as a master station or to operate the slave station function control means as a slave station. 他の通信装置と無線通信を行うと共に、
自装置を親局として動作させる場合、前記制御手段は、自装置が動作していた通信チャネルと同じ通信チャネルで自装置を動作させることを特徴とする請求項5から7の何れか1項に記載の通信装置。
While performing wireless communication with other communication devices,
8. When operating the own apparatus as a master station, the control means operates the own apparatus on the same communication channel as the communication channel on which the own apparatus was operating. The communication device described.
他の通信装置と無線通信を行うと共に、
自装置を親局として動作させる場合、前記制御手段は、自装置が動作していた通信チャネルと異なる通信チャネルで自装置を動作させることを特徴とする請求項5から7の何れか1項に記載の通信装置。
While performing wireless communication with other communication devices,
8. When operating the own apparatus as a master station, the control means operates the own apparatus on a communication channel different from the communication channel on which the own apparatus was operating. The communication device described.
自装置が親局を選択するに際して、前記制御手段が、前記機能情報としての、他の通信装置の親局機能の能力に関する情報を参照することを特徴とする請求項1または4記載の通信装置。5. The communication apparatus according to claim 1, wherein, when the own apparatus selects a parent station, the control unit refers to information regarding the capability of the parent station function of another communication apparatus as the function information. . 自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記制御手段が、自装置の親局機能の能力に関する情報、および、前記機能情報としての、他の通信装置の親局機能の能力に関する情報を参照することを特徴とする請求項2記載の通信装置。In determining whether the own apparatus operates as a master station or a slave station, the control means includes information on the capability of the master station function of the own apparatus, and other communication apparatuses as the function information. 3. The communication apparatus according to claim 2, wherein information on the capability of the master station function is referred to. 自装置が親局を選択するに際して、前記制御手段が、前記機能情報としての、他の通信装置における通信品質制御機能の能力に関する情報に基づいて親局を参照することを特徴とする請求項1または4記載の通信装置。2. When the own apparatus selects a master station, the control means refers to the master station based on information regarding the capability of a communication quality control function in another communication apparatus as the function information. Or the communication apparatus of 4. 自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記制御手段が、自装置における通信品質制御機能の能力に関する情報、および、前記機能情報としての、他の通信装置における通信品質制御機能の能力に関する情報を参照することを特徴とする請求項2記載の通信装置。When determining whether the own device operates as a master station or a slave station, the control means includes information relating to the capability of the communication quality control function in the own device, and other communication devices as the function information. 3. The communication apparatus according to claim 2, wherein information on the capability of the communication quality control function is referred to. 自装置が親局を選択するに際して、前記制御手段が、他の通信装置から取得した該他の通信装置のID情報を参照することを特徴とする請求項1または4記載の通信装置。5. The communication apparatus according to claim 1, wherein when the own apparatus selects a master station, the control unit refers to ID information of the other communication apparatus acquired from the other communication apparatus. 自装置が親局あるいは子局の何れの局として動作するかを決定するに際して、前記制御手段が、他の通信装置から取得した該他の通信装置のID情報を参照することを特徴とする請求項2記載の通信装置。The control means refers to ID information of another communication device acquired from another communication device when determining whether the own device operates as a master station or a slave station. Item 3. The communication device according to Item 2. 他の通信装置の親局機能の能力に関する情報を記憶する記憶手段を備えることを特徴とする請求項10記載の通信装置。11. The communication apparatus according to claim 10, further comprising storage means for storing information relating to the capability of the master station function of another communication apparatus. 自装置の親局機能の能力に関する情報、および、他の通信装置の親局機能の能力に関する情報を記憶する記憶手段を備えることを特徴とする請求項11記載の通信装置。12. The communication apparatus according to claim 11, further comprising storage means for storing information relating to the capability of the master station function of the own device and information relating to the capability of the master station function of another communication device. 他の通信装置における通信品質制御機能の能力に関する情報を記憶する記憶手段を備えることを特徴とする請求項12記載の通信装置。13. The communication apparatus according to claim 12, further comprising storage means for storing information relating to the capability of the communication quality control function in another communication apparatus. 自装置における通信品質制御機能の能力に関する情報、および、他の通信装置における通信品質制御機能の能力に関する情報を記憶する記憶手段を備えることを特徴とする請求項13記載の通信装置。14. The communication apparatus according to claim 13, further comprising storage means for storing information relating to the capability of the communication quality control function in the own device and information relating to the capability of the communication quality control function in another communication device. 前記他の通信装置のID情報を記憶する記憶手段を備えることを特徴とする請求項14または15に記載の通信装置。The communication apparatus according to claim 14, further comprising a storage unit that stores ID information of the other communication apparatus. 前記動作モードを記憶する記憶手段を備えることを特徴とする請求項2記載の通信装置。The communication apparatus according to claim 2, further comprising storage means for storing the operation mode. 他の通信装置に対して、前記記憶手段に記憶している情報を通知する通知手段を備えることを特徴とする請求項16から21の何れか1項に記載の通信装置。The communication device according to any one of claims 16 to 21, further comprising notification means for notifying other communication devices of information stored in the storage means. 自装置に対する電源の供給を制御する電源制御手段を備え、
前記電源制御手段によって電源供給が停止した場合に、前記通知手段は、他の通信装置に対して、前記記憶手段に記憶している情報を通知することを特徴とする請求項22記載の通信装置。
Power supply control means for controlling the supply of power to its own device,
23. The communication apparatus according to claim 22, wherein when the power supply is stopped by the power control means, the notification means notifies the information stored in the storage means to another communication apparatus. .
前記記憶手段に記憶されている情報の設定および/または変更を行う設定手段を備えることを特徴とする請求項16から21の何れか1項に記載の通信装置。The communication apparatus according to any one of claims 16 to 21, further comprising setting means for setting and / or changing information stored in the storage means. 前記記憶手段に記憶されている情報の表示を行う表示手段を備えることを特徴とする請求項16から21の何れか1項に記載の通信装置。The communication apparatus according to any one of claims 16 to 21, further comprising display means for displaying information stored in the storage means. IEEE802.11規格の通信方式、または、IEEE802.11e規格の通信方式を用いて他の通信装置と通信することを特徴とする請求項1または2記載の通信装置。The communication apparatus according to claim 1 or 2, wherein the communication apparatus communicates with another communication apparatus using a communication system conforming to the IEEE 802.11 standard or a communication system conforming to the IEEE 802.11e standard. 自装置は無線通信を行う装置であることを特徴とする請求項1から25の何れか1項に記載の通信装置。The communication apparatus according to any one of claims 1 to 25, wherein the own apparatus is an apparatus that performs wireless communication. 自装置を親局として機能させるための親局機能制御手段と、自装置を子局として機能させるための子局機能制御手段とを備えた通信装置の動作モード起動方法であって、
前記親局機能制御手段を機能させて自装置を親局として動作させる第1動作モード、前記子局機能制御手段を機能させて自装置を子局として動作させる第2動作モード、および、前記親局機能制御手段または子局機能制御手段の何れかを機能させて自装置を親局または子局の何れかで動作させる第3動作モードのうち何れの動作モードにて自装置を動作させるかを判定する判定ステップと、
前記判定ステップで判定した動作モードに基づいて自装置を親局または子局として動作させる動作ステップとを備えることを特徴とする通信装置の動作モード起動方法。
An operation mode activation method for a communication device comprising a master station function control means for causing the own apparatus to function as a master station, and a slave station function control means for causing the own apparatus to function as a slave station,
A first operation mode in which the master station function control means is operated to operate the own apparatus as a master station; a second operation mode in which the slave station function control means is operated to operate the own apparatus as a slave station; Which one of the third operation modes in which either the station function control means or the slave station function control means is operated to operate the own apparatus in either the master station or the slave station is operated in the operation mode. A determination step for determining;
An operation mode activation method for a communication apparatus, comprising: an operation step of operating the own apparatus as a master station or a slave station based on the operation mode determined in the determination step.
自装置は無線通信を行う装置であることを特徴とする請求項28記載の動作モード起動方法。29. The operation mode activation method according to claim 28, wherein the own apparatus is an apparatus that performs wireless communication. 親局と子局とからなるネットワークシステムを構成すると共に、親局としても子局としても動作可能な通信装置の通信方法であって、
前記ネットワークシステムに参加中に、他の通信装置の親局機能に関する情報を取得する取得ステップと、
親局となる他の通信装置が存在するか否かを検索する検索ステップと、
前記検索ステップにて親局となる他の通信装置が発見された場合に、自装置の親局機能と前記発見された通信装置の親局機能とを比較する比較ステップと、
前記比較ステップにおいて自装置の親局機能が前記発見された通信装置の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が前記発見された通信装置の親局機能よりも低いと判断された場合には、自装置は子局として前記発見された通信装置に参加する動作ステップとを備えることを特徴とする通信方法。
It is a communication method of a communication apparatus that constitutes a network system composed of a master station and a slave station, and that can operate as a master station and a slave station,
An acquisition step of acquiring information related to a master station function of another communication device while participating in the network system;
A search step for searching whether there is another communication device serving as a master station;
When another communication device that becomes a master station is found in the search step, a comparison step that compares the master station function of the own device with the master station function of the discovered communication device;
If it is determined in the comparison step that the parent station function of the own device is higher than the parent station function of the discovered communication device, the own device operates as a parent station, whereas the parent device function of the own device is determined in the comparison step. An operation step of joining the discovered communication device as a slave station when the station function is determined to be lower than the master station function of the discovered communication device. Method.
親局と子局とからなる無線ネットワークシステムを構成すると共に、親局としても子局としても動作可能な通信装置の通信方法であって、
前記ネットワークシステムに参加中に、他の通信装置の親局機能に関する情報を取得する取得ステップと、
前記親局との通信状態を監視する監視ステップと、
前記監視ステップにより親局との通信状態が不良であると判断された場合に、自装置の親局機能と前記親局機能に関する情報を取得した通信装置の親局機能とを比較する比較ステップと、
前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも低いと判断された場合には、自装置は子局として動作する動作ステップとを備えることを特徴とする通信方法。
A wireless network system comprising a master station and a slave station, and a communication method for a communication device that can operate as a master station and a slave station,
An acquisition step of acquiring information related to a master station function of another communication device while participating in the network system;
A monitoring step of monitoring a communication state with the master station;
A comparison step of comparing the master station function of the own apparatus with the master station function of the communication apparatus that has acquired information on the master station function when the monitoring step determines that the communication state with the master station is poor; ,
When it is determined in the comparison step that the master station function of the own device is higher than the master station function of the communication device that has acquired information on the master station function, the own device operates as a parent station, while the comparison step The host device has an operation step of operating as a slave station when it is determined that the master station function of the host device is lower than the master station function of the communication device that has acquired information on the master station function. Communication method.
前記監視ステップにおいて親局との間で所定の期間、データの伝搬状態が一定レベル以下となった場合に、前記親局との通信状態が不良であると判断することを特徴とする請求項31記載の通信方法。32. The communication state with the parent station is determined to be bad when the data propagation state with the parent station is below a certain level for a predetermined period in the monitoring step. The communication method described. 親局と子局とからなるネットワークシステムを構成すると共に、親局としても子局としても動作可能な通信装置の通信方法であって、
前記ネットワークシステムに参加中に、他の通信装置の親局機能に関する情報を取得する取得ステップと、
前記親局からネットワークからの離脱命令を受信した場合に、自装置の親局機能と前記親局機能に関する情報を取得した通信装置の親局機能とを比較する比較ステップと、
前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも高いと判断された場合には、自装置は親局として動作する一方、前記比較ステップにおいて自装置の親局機能が前記親局機能に関する情報を取得した通信装置の親局機能よりも低いと判断された場合には、自装置は子局として動作する動作ステップとを備えることを特徴とする通信方法。
It is a communication method of a communication apparatus that constitutes a network system composed of a master station and a slave station, and that can operate as a master station and a slave station,
An acquisition step of acquiring information related to a master station function of another communication device while participating in the network system;
A comparison step of comparing the master station function of the own device with the master station function of the communication device that has acquired information on the master station function when receiving a leave command from the network from the master station;
When it is determined in the comparison step that the master station function of the own device is higher than the master station function of the communication device that has acquired information on the master station function, the own device operates as a parent station, while the comparison step The host device has an operation step of operating as a slave station when it is determined that the master station function of the host device is lower than the master station function of the communication device that has acquired information on the master station function. Communication method.
他の通信装置と無線通信を行うと共に、
自装置を親局として動作させる場合、自装置が動作していた通信チャネルと同じ通信チャネルで自装置を動作させることを特徴とする請求項30、31、および33の何れか1項に記載の通信方法。
While performing wireless communication with other communication devices,
34. When operating the own apparatus as a master station, the own apparatus is operated on the same communication channel as the communication channel on which the own apparatus was operating. Communication method.
他の通信装置と無線通信を行うと共に、
自装置を親局として動作させる場合、自装置が動作していた通信チャネルと異なる通信チャネルで自装置を動作させることを特徴とする請求項30、31、および33の何れか1項に記載の通信方法。
While performing wireless communication with other communication devices,
34. When operating the own apparatus as a master station, the own apparatus is operated on a communication channel different from the communication channel on which the own apparatus was operating. Communication method.
自装置を親局として動作させる場合であって、かつ、自装置が通信品質機能を備える場合には、通信品質制御可能な親局として自装置を動作させることを特徴とする請求項30、31、および33の何れか1項に記載の通信方法。30. The apparatus according to claim 30, wherein when the own apparatus is operated as a master station and the own apparatus has a communication quality function, the own apparatus is operated as a master station capable of controlling communication quality. 34. The communication method according to any one of 33 and 33. 前記取得ステップでは、さらに、前記他の通信装置の通信品質制御機能に関する情報を取得し、
前記比較ステップでは、自装置の親局機能および通信品質制御機能を併せたトータル機能と、前記通信品質制御機能に関する情報を取得した通信装置の親局機能および通信品質制御機能を併せたトータル機能とを比較し、
前記比較ステップにおいて自装置のトータル機能が、前記通信品質制御機能に関する情報を取得した通信装置のトータル機能よりも高いと判断された場合であって、かつ、自装置が親局機能および通信品質制御機能を備える場合には、通信品質制御可能な親局として動作する一方、前記比較ステップにおいて自装置のトータル機能が、前記通信品質制御機能に関する情報を取得した通信装置のトータル機能よりも低いと判断された場合には、子局として前記通信品質制御機能に関する情報を取得した通信装置に参加する動作ステップを備えることを特徴とする請求項30、31、および33の何れか1項に記載の通信方法。
In the acquisition step, further, information on a communication quality control function of the other communication device is acquired,
In the comparison step, a total function that combines the master station function and the communication quality control function of the own device, and a total function that combines the master station function and the communication quality control function of the communication device that has acquired information on the communication quality control function; Compare
In the comparison step, it is determined that the total function of the own device is higher than the total function of the communication device that has acquired the information related to the communication quality control function, and the own device is the master station function and the communication quality control If the function is provided, the mobile station operates as a master station capable of controlling the communication quality, and determines that the total function of the own apparatus is lower than the total function of the communication apparatus that has acquired information on the communication quality control function in the comparison step. 34. The communication according to any one of claims 30, 31, and 33, further comprising an operation step of participating in a communication apparatus that has acquired information relating to the communication quality control function as a slave station. Method.
前記他の通信装置との通信時に、前記自装置の親局機能に関する情報と、前記他の通信装置の親局機能に関する情報とを、互いに通知し合うことを特徴とする請求項30、31、および33の何れか1項に記載の通信方法。32. The information on the master station function of the own device and the information on the master station function of the other communication device are mutually notified at the time of communication with the other communication device. 34. The communication method according to any one of items 33 and 33. 前記他の通信装置との通信時に、前記自装置の通信品質制御機能に関する情報と、前記他の通信装置の通信品質制御機能に関する情報とを、互いに通知し合うことを特徴とする請求項30、31、および33の何れか1項に記載の通信方法。30. The information regarding the communication quality control function of the own device and the information regarding the communication quality control function of the other communication device are mutually notified when communicating with the other communication device. 34. The communication method according to any one of 31 and 33. 自装置の電源供給停止時に、前記自装置の親局機能に関する情報を、他の通信装置に通知することを特徴とする請求項30、31、および33の何れか1項に記載の通信方法。The communication method according to any one of claims 30, 31, and 33, wherein when the power supply of the own device is stopped, information on the master station function of the own device is notified to another communication device. 自装置の電源供給停止時に、前記自装置の通信品質制御機能に関する情報を、他の通信装置に通知することを特徴とする請求項30、31、および33の何れか1項に記載の通信方法。The communication method according to any one of claims 30, 31, and 33, wherein information related to a communication quality control function of the own device is notified to another communication device when the power supply of the own device is stopped. . 前記他の通信装置と無線により通信を行うことを特徴とする請求項30から41の何れか1項に記載の通信方法。The communication method according to any one of claims 30 to 41, wherein the communication is performed wirelessly with the other communication device. 複数の通信装置を、ネットワークを介して接続した通信システムにおいて、
上記複数の通信装置のうち、少なくとも1つの通信装置が、前記請求項1から27の何れか1項に記載の通信装置であることを特徴とする通信システム。
In a communication system in which a plurality of communication devices are connected via a network,
The communication system according to any one of claims 1 to 27, wherein at least one of the plurality of communication devices is the communication device according to any one of claims 1 to 27.
前記請求項1から27の何れか1項に記載の通信装置の各手段としてコンピュータを機能させるためのプログラム。A program for causing a computer to function as each unit of the communication device according to any one of claims 1 to 27. 請求項28または29に記載の通信装置の動作モード起動方法をコンピュータに実行させるためのプログラム。A program for causing a computer to execute the operation mode starting method for the communication device according to claim 28 or 29. 請求項30から42の何れか1項に記載の通信方法をコンピュータに実行させるためのプログラム。A program for causing a computer to execute the communication method according to any one of claims 30 to 42. 上記請求項44から46の何れか1項に記載のプログラムを記録した記録媒体。47. A recording medium on which the program according to any one of claims 44 to 46 is recorded.
JP2005514456A 2003-10-03 2004-10-01 COMMUNICATION DEVICE, OPERATION MODE STARTING METHOD FOR THE DEVICE, COMMUNICATION METHOD, COMMUNICATION SYSTEM, PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM Pending JPWO2005034434A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2003346036 2003-10-03
JP2003346036 2003-10-03
PCT/JP2004/014473 WO2005034434A1 (en) 2003-10-03 2004-10-01 Communication apparatus, method for activating operation mode of that apparatus, communication method, communication system, program, and recording medium having stored that program

Publications (1)

Publication Number Publication Date
JPWO2005034434A1 true JPWO2005034434A1 (en) 2007-11-22

Family

ID=34419488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005514456A Pending JPWO2005034434A1 (en) 2003-10-03 2004-10-01 COMMUNICATION DEVICE, OPERATION MODE STARTING METHOD FOR THE DEVICE, COMMUNICATION METHOD, COMMUNICATION SYSTEM, PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Country Status (2)

Country Link
JP (1) JPWO2005034434A1 (en)
WO (1) WO2005034434A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013531921A (en) * 2010-05-19 2013-08-08 サムスン エレクトロニクス カンパニー リミテッド Coordinator determination method and apparatus

Families Citing this family (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1721426B1 (en) * 2004-03-01 2013-01-02 Panasonic Corporation Terminal capable of substituting frames for a control station
JP4723897B2 (en) * 2005-04-22 2011-07-13 三菱電機株式会社 Wireless communication system and its base station and terminal station
JP4656637B2 (en) 2005-04-27 2011-03-23 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION SYSTEM AND COMMUNICATION PARAMETER SETTING METHOD
JP4250611B2 (en) 2005-04-27 2009-04-08 キヤノン株式会社 Communication device, communication parameter setting method, and communication method
JP4900891B2 (en) 2005-04-27 2012-03-21 キヤノン株式会社 Communication apparatus and communication method
CA2644139A1 (en) * 2006-03-31 2007-11-10 Qualcomm Incorporated Memory management for high speed media access control
US8571473B2 (en) * 2006-06-02 2013-10-29 Qualcomm Incorporated Wireless subscriber station for short range ad-hoc data communication
JP4976776B2 (en) * 2006-07-31 2012-07-18 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE COMMUNICATION METHOD
JP4886463B2 (en) 2006-10-20 2012-02-29 キヤノン株式会社 Communication parameter setting method, communication apparatus, and management apparatus for managing communication parameters
US8401001B2 (en) * 2007-03-28 2013-03-19 Intel Corporation Method and apparatus of connectivity recovery in wireless network
US8134950B2 (en) * 2007-04-03 2012-03-13 Harris Corporation Cluster head election in an ad-hoc network
EP2157740A4 (en) 2007-05-08 2014-01-22 Ibm Radio local area network (lan) system
JP2009165070A (en) * 2008-01-10 2009-07-23 Hitachi Ltd Ad hoc network communication system, method therefor, and communication terminal
JP5071123B2 (en) 2008-01-25 2012-11-14 富士通株式会社 IT system
JP5063408B2 (en) * 2008-02-26 2012-10-31 キヤノン株式会社 Management device, control method and program
JP5114751B2 (en) * 2008-10-14 2013-01-09 独立行政法人情報通信研究機構 Cognitive radio communication system
JP5705415B2 (en) 2009-04-06 2015-04-22 ソニー株式会社 Wireless communication apparatus, communication system, communication method, and program
JP5434230B2 (en) 2009-04-22 2014-03-05 ソニー株式会社 Wireless communication apparatus, wireless communication system, wireless communication method, and program
JP5574618B2 (en) * 2009-05-11 2014-08-20 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP5235777B2 (en) 2009-05-15 2013-07-10 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP4700122B2 (en) * 2009-05-29 2011-06-15 株式会社バッファロー Wireless LAN device
JP5409147B2 (en) * 2009-07-03 2014-02-05 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5343841B2 (en) * 2009-12-22 2013-11-13 ソニー株式会社 Wireless communication apparatus, wireless communication method, program, and wireless communication system
JP2011176582A (en) 2010-02-24 2011-09-08 Buffalo Inc Wireless lan device, wireless lan system, and program thereof
JP5053400B2 (en) * 2010-03-15 2012-10-17 株式会社バッファロー Wireless LAN device, protocol execution method and program thereof
JP5489228B2 (en) * 2010-09-21 2014-05-14 Necシステムテクノロジー株式会社 Wireless connection setting device, wireless connection setting method, and wireless connection setting program
JP5281106B2 (en) * 2011-03-02 2013-09-04 株式会社バッファロー Wireless LAN device
JP5135447B2 (en) * 2011-03-02 2013-02-06 株式会社バッファロー Wireless LAN device
KR101267983B1 (en) * 2011-04-21 2013-05-27 아이테크 도쿄 코포레이션 Method for connecting between peer-to-peer applications based on wireless local area network, method for maintaining a connection state based on wireless local area network and peer terminal based on wireless local area network
JP5866812B2 (en) 2011-06-15 2016-02-24 ブラザー工業株式会社 Wireless communication device
KR101797039B1 (en) * 2011-08-31 2017-11-13 삼성전자주식회사 Method for wireless connecting among at least two devices and device capable wireless connection using it
JP5904821B2 (en) * 2012-02-24 2016-04-20 三菱電機株式会社 Method for determining representative terminal of communication device and control system
JP5915338B2 (en) * 2012-03-30 2016-05-11 ブラザー工業株式会社 Communication device
JP5966527B2 (en) 2012-03-30 2016-08-10 ブラザー工業株式会社 Communication device
JP5962146B2 (en) 2012-03-30 2016-08-03 ブラザー工業株式会社 Communication device
EP2763475B1 (en) * 2013-02-01 2019-03-06 Samsung Electronics Co., Ltd Method and apparatus for providing common time reference in wireless communication system
JP6260091B2 (en) 2013-03-18 2018-01-17 ブラザー工業株式会社 Wireless communication system and wireless communication device
JP5587452B2 (en) * 2013-03-26 2014-09-10 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5539564B2 (en) * 2013-03-28 2014-07-02 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
US9357575B2 (en) 2013-06-18 2016-05-31 Panasonic Corporation Wireless communication device, wireless communication method, and wireless communication control program
US10080127B2 (en) 2013-07-09 2018-09-18 Nec Corporation Network communication method
US20160374051A1 (en) * 2013-07-09 2016-12-22 Kyocera Corporation Mobile communication system and user terminal
JP6169442B2 (en) 2013-08-30 2017-07-26 京セラ株式会社 Mobile communication system and user terminal
JP6179299B2 (en) * 2013-09-13 2017-08-16 ブラザー工業株式会社 Communication device
US20150124647A1 (en) * 2013-11-01 2015-05-07 Qualcomm Incorporated Systems, apparatus, and methods for providing state updates in a mesh network
JP2014078981A (en) * 2013-12-05 2014-05-01 Sony Corp Wireless communication device, wireless communication system, wireless communication method, and program
JP2015180036A (en) * 2014-02-26 2015-10-08 シャープ株式会社 Communication terminal device and communication system
JP5752294B2 (en) * 2014-04-28 2015-07-22 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5994893B2 (en) * 2015-04-17 2016-09-21 ソニー株式会社 Wireless communication apparatus, wireless communication system, wireless communication method, and program
JP2016001919A (en) * 2015-08-26 2016-01-07 ソニー株式会社 Radio communication device
JP6565551B2 (en) * 2015-09-29 2019-08-28 ブラザー工業株式会社 Communication equipment
JP6754127B2 (en) * 2016-05-18 2020-09-09 国立研究開発法人情報通信研究機構 Power saving communication system
JP6222314B2 (en) * 2016-08-25 2017-11-01 ソニー株式会社 Wireless communication device
MY195290A (en) * 2016-11-02 2023-01-12 Sony Corp Communication Device And Communication Method
JP6918565B2 (en) * 2017-05-02 2021-08-11 株式会社メガチップス Communication terminal devices, information communication systems, programs and information communication methods
JP6645477B2 (en) * 2017-05-25 2020-02-14 ブラザー工業株式会社 Communication device
JP2017200223A (en) * 2017-06-28 2017-11-02 京セラ株式会社 User terminal, mobile communication system and method
JP7208469B2 (en) * 2018-02-06 2023-01-19 株式会社バッファロー Network system including multiple wireless LAN repeaters, wireless LAN repeater, network setting method, and computer program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2924828B2 (en) * 1996-11-07 1999-07-26 日本電気株式会社 Ad hoc network system and connection method
JPH11146030A (en) * 1997-11-07 1999-05-28 Nec Corp Method for deciding expedient master in radio conference system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013531921A (en) * 2010-05-19 2013-08-08 サムスン エレクトロニクス カンパニー リミテッド Coordinator determination method and apparatus

Also Published As

Publication number Publication date
WO2005034434A1 (en) 2005-04-14

Similar Documents

Publication Publication Date Title
JPWO2005034434A1 (en) COMMUNICATION DEVICE, OPERATION MODE STARTING METHOD FOR THE DEVICE, COMMUNICATION METHOD, COMMUNICATION SYSTEM, PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
KR100982070B1 (en) Communication method, communication system, and communication device
JP5705415B2 (en) Wireless communication apparatus, communication system, communication method, and program
JP4458247B2 (en) Radio base station apparatus setting system and radio base station apparatus setting method
JP5573571B2 (en) Wireless communication apparatus, wireless communication system, program, and wireless communication method
JP5036808B2 (en) Method and apparatus for battery management in an integrated wireless transmit / receive unit
JP4407688B2 (en) Mobile communication terminal and program
KR101814810B1 (en) Method and apparatus for wi-fi p2p group formation using wi-fi direct
EP1922842B1 (en) Radio communication terminal and network side communication apparatus
JP4232043B2 (en) Base device, wireless communication channel switching method, and wireless communication channel switching program
JP4835723B2 (en) Wireless communication apparatus and program
US20080025512A1 (en) Communication apparatus, control method therefor, and computer program allowing computer to execute the same
JP2015180043A (en) Communication device, control method therefor and program
EP1499149B1 (en) Communication apparatus and method, and program thereof
KR101398359B1 (en) Method for switching channels through which contenst data is received in zigbee network system and the zigbee network system
KR101753368B1 (en) Apparatus and method for selecting adaptively RF interface based on WPAN
JP5196716B2 (en) Wireless communication apparatus and program
US20080057930A1 (en) Electronic apparatus and wireless communication control method
JP2011114377A (en) Radio communication device, radio communication system, radio communication method, and program
JP2009545924A (en) Synchronization between wireless devices while saving power
US20090046684A1 (en) Communication apparatus and communication method therefor
KR101543498B1 (en) Communication apparatus, control method for communication apparatus, imaging apparatus, control method for imaging apparatus, and recoding medium
US8908614B2 (en) Management apparatus, control method, and program
JP2008288727A (en) Radio communication method, radio communication terminal and radio communication program
JP2019169869A (en) Communication device, control method, and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081014

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090303