JP5644907B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP5644907B2
JP5644907B2 JP2013150016A JP2013150016A JP5644907B2 JP 5644907 B2 JP5644907 B2 JP 5644907B2 JP 2013150016 A JP2013150016 A JP 2013150016A JP 2013150016 A JP2013150016 A JP 2013150016A JP 5644907 B2 JP5644907 B2 JP 5644907B2
Authority
JP
Japan
Prior art keywords
wireless
communication device
mode
communication
wireless slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013150016A
Other languages
Japanese (ja)
Other versions
JP2013243746A (en
Inventor
雅人 加藤
雅人 加藤
山田 大輔
大輔 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Buffalo Inc
Original Assignee
Buffalo Inc
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 Buffalo Inc filed Critical Buffalo Inc
Priority to JP2013150016A priority Critical patent/JP5644907B2/en
Publication of JP2013243746A publication Critical patent/JP2013243746A/en
Application granted granted Critical
Publication of JP5644907B2 publication Critical patent/JP5644907B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、無線LAN通信が可能な通信装置に関する。   The present invention relates to a communication device capable of wireless LAN communication.

近年、携帯通信端末の多機能化が進んでいる。例えば、下記非特許文献1には、移動体データ通信インタフェースと無線LAN通信インタフェースとを備える携帯電話端末が記載されている。この携帯電話端末は、無線LAN通信インタフェースを無線子機または無線親機として排他的に動作させることができる。具体的には、携帯電話端末は、無線LAN通信インタフェースを無線子機として機能させて、無線親機との無線通信を実現することができる。また、この携帯電話端末は、無線LAN通信インタフェースを無線親機として機能させることで、他の無線子機、例えば、無線子機インタフェースを備えたゲーム機などから、当該携帯電話端末を介して、インターネットに接続することを可能としている。   In recent years, mobile communication terminals have become more multifunctional. For example, Non-Patent Document 1 below describes a mobile phone terminal that includes a mobile data communication interface and a wireless LAN communication interface. This cellular phone terminal can exclusively operate the wireless LAN communication interface as a wireless slave device or a wireless master device. Specifically, the mobile phone terminal can realize wireless communication with the wireless master device by causing the wireless LAN communication interface to function as a wireless slave device. In addition, this mobile phone terminal allows the wireless LAN communication interface to function as a wireless master device, thereby allowing other wireless slave devices, for example, a game machine equipped with a wireless slave device interface, via the mobile phone terminal, It is possible to connect to the Internet.

しかしながら、かかる携帯電話端末は、携帯電話端末が備えるディスプレイに表示されるGUI(Graphical User Interface)を用いたユーザの操作によって、無線LAN通信インタフェースを無線子機および無線親機のうちのいずれで機能させるのかを入力する必要があった。かかる操作は、ユーザにとって面倒であった。かかる問題は、携帯電話端末に限らず、1つの無線LAN通信インタフェースを無線親機および無線子機のいずれにも機能させることができる通信端末に共通するものであった。   However, such a mobile phone terminal functions as a wireless LAN communication interface in either the wireless slave device or the wireless master device by a user operation using a GUI (Graphical User Interface) displayed on a display included in the mobile phone terminal. I had to input what to do. Such an operation is troublesome for the user. Such a problem is not limited to a mobile phone terminal, but is common to communication terminals that allow one wireless LAN communication interface to function in both the wireless master device and the wireless slave device.

”Wi-Fi N-06A”、[online]、[検索日:平成22年9月21日]、インターネット<URL: http://www.n-keitai.com/n-06a/wf.html>“Wi-Fi N-06A”, [online], [Search date: September 21, 2010], Internet <URL: http://www.n-keitai.com/n-06a/wf.html> ”ドコモデータ通信機能内蔵ポータブルWi−Fiルータ”、[online]、[検索日:平成22年9月21日]、インターネット<URL: http://buffalo.jp/product/wireless-lan/ap/mobile/dwr-pg/>"Portable Wi-Fi router with built-in docomo data communication function", [online], [Search date: September 21, 2010], Internet <URL: http://buffalo.jp/product/wireless-lan/ap/ mobile / dwr-pg / >

上述の問題の少なくとも一部を考慮し、本発明が解決しようとする課題は、1つの無線LAN通信インタフェースを無線親機および無線子機のいずれにも排他的に機能させることができる通信端末について、ユーザの利便性を向上させることである。   In consideration of at least a part of the above-described problems, the problem to be solved by the present invention is a communication terminal that allows one wireless LAN communication interface to function exclusively in both a wireless master device and a wireless slave device. It is to improve user convenience.

本発明は、上述の課題の少なくとも一部を解決することを目的とし、以下の形態又は適用例として実現することが可能である。例えば、本発明は、通信装置であって、無線LAN制御回路を含む無線LANインタフェースと、前記無線LANインタフェースを無線子機または無線親機として排他的に動作させて無線通信を制御する無線通信制御部と、前記通信装置が前記無線LANインタフェースを前記無線親機として動作させる無線親機モードで動作している際に、前記無線LANインタフェースを介した通信の接続関係が確立された前記通信装置以外の無線子機の存在の有無を所定の判断処理によって判断する判断部と、前記通信装置が前記無線親機モードで動作している際に、前記判断部が前記接続関係の確立された通信装置以外の無線子機が存在しないと判断した場合に、前記通信装置の動作を、前記無線親機モードから、前記無線LANインタフェースを前記無線子機として動作させる無線子機モードに切り替える動作制御部とを備えた通信装置として実現することが可能である。その他、本発明は、以下の形態または適用例として実現することが可能である。 SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples. For example, the present invention is a communication device, a wireless LAN interface including a wireless LAN control circuit, and wireless communication control for controlling wireless communication by operating the wireless LAN interface exclusively as a wireless slave device or a wireless master device And the communication device other than the communication device in which the connection relationship of communication via the wireless LAN interface is established when the communication device is operating in the wireless master mode in which the wireless LAN interface is operated as the wireless master device. A determination unit that determines presence / absence of the wireless slave device by a predetermined determination process, and when the communication device is operating in the wireless master device mode, the communication device in which the connection relationship is established When it is determined that there is no other wireless slave device, the operation of the communication device is changed from the wireless master device mode to the wireless LAN interface. Can be realized as a communication device including an operation control unit for switching the radio personal station mode is to operate as a radio personal station. In addition, the present invention can be realized as the following forms or application examples.

[適用例1]無線LAN制御回路を含む無線LANインタフェースと、
前記無線LANインタフェースを無線子機または無線親機として排他的に動作させて無線通信を制御する無線通信制御部と、
移動体通信網を介したデータのやり取りを制御する移動体通信制御部と、
前記無線LANインタフェースを前記無線子機として動作させる無線子機モードと、該無線LANインタフェースを前記無線親機として動作させる無線親機モードとを、通信環境に応じて自律的に切り替えるとともに、該無線親機モードで動作する際に、前記無線通信制御部によって制御される前記移動体通信網を介した通信と、前記無線通信制御部によって制御される前記無線通信とを中継して、前記通信装置の動作を制御する動作制御部と
を備えた通信装置。
Application Example 1 A wireless LAN interface including a wireless LAN control circuit;
A wireless communication control unit for controlling wireless communication by operating the wireless LAN interface exclusively as a wireless slave or a wireless master;
A mobile communication control unit for controlling the exchange of data via the mobile communication network;
The wireless slave mode in which the wireless LAN interface is operated as the wireless slave and the wireless master mode in which the wireless LAN interface is operated as the wireless master are autonomously switched according to a communication environment, and the wireless When operating in the master mode, the communication device relays communication via the mobile communication network controlled by the wireless communication control unit and the wireless communication controlled by the wireless communication control unit. A communication device comprising: an operation control unit that controls the operation of the device.

かかる構成の通信装置は、無線LAN制御回路を含む無線LANインタフェースと、無線LANインタフェースを無線子機または無線親機として排他的に動作させて無線通信を制御する無線通信制御部と移動体通信網を介したデータのやり取りを制御する移動体通信制御部とを備え、無線子機モードと無線親機モードとを切り替えて制御する。したがって、通信装置は、無線子機モードの動作を行う際には、無線親機と通信することができるとともに、移動体通信網を介した通信によって外部ネットワークとの通信を行うことができる。また、無線親機モードでの動作を行う際には、移動体通信網を介した通信と、無線通信制御部によって制御される無線通信とを中継するので、移動体通信網を介した通信によって外部ネットワークとの通信を行うことができるとともに、他の無線子機に無線親機としての機能を提供して、他の無線子機に移動体通信網を介した通信によって外部ネットワークとの通信を行わせることができる。しかも、通信装置は、無線子機モードと無線親機モードとを通信環境に応じて自律的に切り替えるので、ユーザは、無線子機モードと無線親機モードとを手動操作で切り替える手間が省け、利便性が向上する。   A communication apparatus having such a configuration includes a wireless LAN interface including a wireless LAN control circuit, a wireless communication control unit that exclusively operates the wireless LAN interface as a wireless slave device or a wireless master device, and controls wireless communication, and a mobile communication network And a mobile communication control unit for controlling the exchange of data via the wireless communication device, and controls by switching between the wireless slave mode and the wireless master mode. Therefore, the communication device can communicate with the wireless master device when performing the operation in the wireless slave device mode, and can communicate with the external network by communication via the mobile communication network. Also, when operating in the wireless master mode, the communication through the mobile communication network and the wireless communication controlled by the wireless communication control unit are relayed, so the communication through the mobile communication network is performed. It can communicate with an external network and provides other wireless slave units with a function as a wireless master unit so that other wireless slave units can communicate with the external network through communication via a mobile communication network. Can be done. Moreover, since the communication device autonomously switches between the wireless slave device mode and the wireless master device mode according to the communication environment, the user can save the trouble of manually switching between the wireless slave device mode and the wireless master device mode, Convenience is improved.

[適用例2]前記動作制御部は、前記通信装置が前記無線子機モードによって動作している際に、前記無線LANインタフェースを介して所定のプローブリクエストを受信した場合に、前記通信装置の動作を、前記無線子機モードから前記無線親機モードに切り替える適用例1記載の通信装置。 Application Example 2 The operation control unit operates the communication apparatus when receiving a predetermined probe request via the wireless LAN interface while the communication apparatus is operating in the wireless slave mode. The communication device according to application example 1 that switches the wireless slave mode to the wireless master mode.

かかる構成の通信装置は、無線子機モードによる動作中に所定のプローブリクエストを受信すると、通信装置の動作を、無線子機モードから無線親機モードに切り替える。所定のプローブリクエストを受信したということは、通信装置が置かれた通信環境において、無線親機としての通信装置に接続したい無線子機が存在するこということであるから、通信環境に応じた切り替えを好適に実現することができる。   When the communication device configured as described above receives a predetermined probe request during the operation in the wireless slave device mode, the communication device switches the operation of the communication device from the wireless slave device mode to the wireless master device mode. The fact that a predetermined probe request has been received means that there is a wireless slave device to be connected to the communication device as the wireless master device in the communication environment in which the communication device is placed. Can be suitably realized.

[適用例3]前記所定のプローブリクエストは、前記通信装置に設定された識別情報を含むプローブリクエストである適用例2記載の通信装置。 Application Example 3 The communication apparatus according to Application Example 2, wherein the predetermined probe request is a probe request including identification information set in the communication apparatus.

かかる構成の通信装置は、通信装置に設定された識別情報を含むプローブリクエストを受信した場合に、無線子機モードから無線親機モードへの切り替えを行うので、ユーザが意図しない無線子機からプローブリクエストが送信された場合に、ユーザの意図に反して、無線子機モードから無線親機モードへの切り替えが行われることを抑制することができる。   When the communication device configured as described above receives a probe request including identification information set in the communication device, the communication device switches from the wireless slave device mode to the wireless master device mode. When a request is transmitted, switching from the wireless slave device mode to the wireless master device mode can be suppressed against the user's intention.

[適用例4]適用例1ないし適用例3のいずれか記載の通信装置であって、前記動作制御部は、前記通信装置が前記無線子機モードによって動作している際に、前記通信装置以外の無線親機の存在が検出された場合には、前記無線子機モードから前記無線親機モードへの切り替えを禁止する通信装置。 [Application Example 4] The communication device according to any one of Application Example 1 to Application Example 3, wherein the operation control unit is a device other than the communication device when the communication device is operating in the wireless slave device mode. A communication device that prohibits switching from the wireless slave mode to the wireless master mode when the presence of a wireless master device is detected.

かかる構成の通信装置は、通信装置以外の無線親機が存在する通信環境においては、無線子機モードから無線親機モードへの切り替えを禁止する。無線子機モードは、無線親機モードと比べて通信装置の消費電力が小さくなるので、かかる構成によって通信装置の消費電力を低減することができる。   The communication device configured as described above prohibits switching from the wireless slave device mode to the wireless master device mode in a communication environment in which a wireless master device other than the communication device exists. In the wireless slave mode, the power consumption of the communication device is smaller than that in the wireless master mode, so that the power consumption of the communication device can be reduced with this configuration.

[適用例5]適用例4記載の通信装置であって、前記動作制御部は、前記前記通信装置以外の無線親機の存在が検出された場合であっても、該無線親機の通信状態を判断し、該通信状態が所定の基準を満たさないときには、前記無線子機モードから前記無線親機モードへの切り替えを許容する通信装置。 [Application Example 5] The communication device according to Application Example 4, wherein the operation control unit detects a communication state of the wireless master device even when the presence of a wireless master device other than the communication device is detected. When the communication state does not satisfy a predetermined standard, the communication device permits switching from the wireless slave device mode to the wireless master device mode.

かかる構成の通信装置は、通信装置以外に無線親機が存在する場合であっても、当該無線親機の通信状態が所定の基準を満たさない場合には、無線子機モードから無線親機モードへの切り替えを許容する。したがって、通信装置以外の無線親機の通信状態が良好でない場合であっても、通信装置以外の無線子機は、通信装置を用いて、良好な通信状態で無線通信を行うことができる。   In the communication device having such a configuration, even when there is a wireless master device other than the communication device, if the communication state of the wireless master device does not satisfy the predetermined standard, the wireless slave device mode is changed to the wireless master device mode. Allow switching to. Therefore, even if the communication state of the wireless master device other than the communication device is not good, the wireless slave device other than the communication device can perform wireless communication in a good communication state using the communication device.

[適用例6]適用例1ないし適用例5のいずれか記載の通信装置であって、更に、前記通信装置が前記無線親機モードで動作している際に、前記無線LANインタフェースを介した通信の接続関係が確立された前記通信装置以外の無線子機の存在の有無を所定の判断処理によって判断する判断部を備え、前記動作制御部は、前記通信装置が前記無線親機モードで動作している際に、前記判断部が前記接続関係の確立された通信装置以外の無線子機が存在しないと判断した場合に、前記通信装置の動作を、前記無線親機モードから前記無線子機モードに切り替える通信装置。 [Application Example 6] The communication apparatus according to any one of Application Example 1 to Application Example 5, and further, when the communication apparatus is operating in the wireless master mode, communication is performed via the wireless LAN interface. A determination unit that determines, by a predetermined determination process, whether there is a wireless slave device other than the communication device for which the connection relationship is established, and the operation control unit is configured to operate the communication device in the wireless master mode. When the determination unit determines that there is no wireless slave device other than the communication device with which the connection relationship is established, the operation of the communication device is changed from the wireless master device mode to the wireless slave device mode. Communication device to switch to.

かかる構成の通信装置は、無線親機モードでの動作中に、接続関係が確立された無線子機が存在しないと判断した場合に、無線親機モードから無線子機モードへの切り替えを行うので、通信環境に応じた切り替えを好適に実現することができる。   The communication device having such a configuration switches from the wireless master device mode to the wireless slave device mode when it is determined that there is no wireless slave device having a connection relationship established during operation in the wireless master device mode. Switching according to the communication environment can be suitably realized.

[適用例7]適用例6記載の通信装置であって、前記判断処理は、前記通信装置と、該通信装置以外の無線子機との接続関係の確立および解除の状況を管理する処理を含み、前記判断部は、前記管理する接続関係の確立および解除の状況が、該接続関係を確立中である前記通信装置以外の無線子機が存在しないものである場合に、該通信装置以外の無線子機が存在しないと判断する通信装置。 [Application Example 7] The communication apparatus according to Application Example 6, wherein the determination process includes a process for managing a state of establishment and cancellation of a connection relationship between the communication apparatus and a wireless slave unit other than the communication apparatus. The determination unit establishes a wireless connection other than the communication device when the state of establishment and release of the connection relationship to be managed is a state where there is no wireless slave device other than the communication device that is establishing the connection relationship. A communication device that determines that there is no slave.

かかる構成の通信装置は、通信装置と通信装置以外の無線子機との接続関係の確立および解除の状況を管理する。そして、通信装置は、管理する状況が、接続関係を確立中である通信装置以外の無線子機が存在しないものである場合に、無線親機モードから無線子機モードへの切り替えを行う。したがって、通信装置は、接続中の無線子機が存在しないことが明確な状況において親機モードで動作することがなく、通信環境に応じた切り替えを好適に実現することができる。   The communication device having such a configuration manages the status of establishment and release of the connection relationship between the communication device and the wireless slave device other than the communication device. Then, the communication device performs switching from the wireless master device mode to the wireless slave device mode when the status to be managed is such that there is no wireless slave device other than the communication device that is establishing the connection relationship. Therefore, the communication device does not operate in the parent device mode in a situation where it is clear that there is no connected wireless slave device, and switching according to the communication environment can be suitably realized.

[適用例8]適用例6または適用例7記載の通信装置であって、前記判断処理は、前記通信装置以外の無線子機からの前記通信パケットの受信を監視する処理を含み、前記判断部は、前記通信装置以外の無線子機から所定時間の間、通信パケットを受信しなかった場合に、該通信装置以外の無線子機が存在しないと判断する通信装置。 [Application Example 8] The communication apparatus according to Application Example 6 or Application Example 7, wherein the determination process includes a process of monitoring reception of the communication packet from a wireless slave unit other than the communication apparatus, and the determination unit Is a communication device that determines that there is no wireless slave device other than the communication device when a communication packet has not been received from the wireless slave device other than the communication device for a predetermined time.

かかる構成の通信装置は、無線親機モードでの動作中に、通信装置以外の無線子機から所定時間の間、通信パケットを受信しなかった場合に、無線親機モードから無線子機モードへの切り替えを行う。通信装置以外の無線子機から所定時間の間、通信パケットを受信しなかったということは、通信装置が置かれた通信環境において、通信可能な無線子機が存在しなくなっている可能性が高い、または、通信装置以外の無線子機から通信パケットが送信される可能性は低いということであるから、通信環境に応じた切り替えを好適に実現することができる。しかも、無線子機の存在の有無の判断を行うために通信を行わないので、効率的である。   When the communication device configured as described above does not receive a communication packet from a wireless slave device other than the communication device for a predetermined time during operation in the wireless master device mode, the communication device switches from the wireless master device mode to the wireless slave device mode. Switch. The fact that a communication packet has not been received from a wireless slave device other than the communication device for a predetermined time means that there is a high possibility that no wireless slave device capable of communication exists in the communication environment where the communication device is placed. Alternatively, since there is a low possibility that a communication packet is transmitted from a wireless slave device other than the communication device, switching according to the communication environment can be suitably realized. In addition, communication is not performed in order to determine whether or not there is a wireless slave unit, which is efficient.

[適用例9]適用例6または適用例7記載の通信装置であって、前記判断処理は、前記無線LANインタフェースを介して、前記通信装置以外の無線子機にデータフレームを送信し、該送信したデータフレームに対する応答を確認する処理を含み、前記判断部は、前記応答を受信しなかった場合に、前記通信装置以外の無線子機が存在しないと判断する通信装置。 [Application Example 9] The communication apparatus according to Application Example 6 or Application Example 7, wherein the determination process transmits a data frame to a wireless slave unit other than the communication apparatus via the wireless LAN interface, and transmits the data frame. A communication apparatus including a process of confirming a response to the data frame, wherein the determination unit determines that no wireless slave unit other than the communication apparatus exists when the response is not received.

かかる構成の通信装置は、通信装置が送信するデータフレームへの応答を確認して、通信装置以外の無線子機の存在の有無を判断するので、精度良く当該判断を行うことができる。   Since the communication device having such a configuration confirms the response to the data frame transmitted by the communication device and determines the presence / absence of a wireless slave device other than the communication device, the determination can be made with high accuracy.

[適用例10]適用例1ないし適用例9のいずれか記載の通信装置であって、更に、前記通信装置に電源を供給する二次電池に接続可能に構成され、該二次電池から前記電源を受け付ける電源受付部を備え、前記動作制御部は、前記通信装置が前記無線子機モードによって動作している際に、前記二次電池の残容量が所定値以下になったと判断された場合には、前記無線子機モードから前記無線親機モードへの切り替えを禁止する通信装置。 Application Example 10 The communication device according to any one of Application Example 1 to Application Example 9, further configured to be connectable to a secondary battery that supplies power to the communication device, and from the secondary battery to the power source When the communication device is operating in the wireless slave device mode, the operation control unit is configured to determine that the remaining capacity of the secondary battery has become a predetermined value or less. Is a communication device that prohibits switching from the wireless slave mode to the wireless master mode.

かかる構成の通信装置は、通信装置に電源を供給する二次電池の残容量が所定値以下になったと推定された場合には、無線子機モードから無線親機モードへの切り替えを禁止する。無線親機モードは、無線子機モードよりも消費電力が大きくなるので、かかる構成によって、二次電池の残容量切れを抑制し、通信装置を長時間動作させることができる。   The communication device configured as described above prohibits switching from the wireless slave device mode to the wireless master device mode when it is estimated that the remaining capacity of the secondary battery that supplies power to the communication device has become a predetermined value or less. In the wireless master mode, power consumption is larger than that in the wireless slave mode. With this configuration, the remaining capacity of the secondary battery can be suppressed and the communication device can be operated for a long time.

[適用例11]適用例1ないし適用例10のいずれか記載の通信装置であって、更に、前記通信装置の筐体内部または表面の温度を検出する温度検出部を備え、前記動作制御部は、前記通信装置が前記無線子機モードによって動作している際に、前記検出した温度が所定値以上となった場合には、前記無線子機モードから前記無線親機モードへの切り替えを禁止する通信装置。 Application Example 11 The communication device according to any one of Application Example 1 to Application Example 10, further including a temperature detection unit that detects a temperature inside or on a surface of the housing of the communication device, and the operation control unit includes: When the detected temperature exceeds a predetermined value when the communication device is operating in the wireless slave mode, switching from the wireless slave mode to the wireless master mode is prohibited. Communication device.

かかる構成の通信装置は、通信装置の筐体内部または表面の温度が所定値以上となった場合には、無線子機モードから無線親機モードへの切り替えを禁止する。無線親機モードでは、移動体通信網を介した通信が行われる可能性が高い。移動体通信網を介した通信が行われる場合、無線LANインタフェースと、移動体通信網を介した通信を行う移動体通信インタフェースとが同時動作することとなり、通信装置がさらに高温化するおそれがある。かかる構成によれば、通信装置が高温化することによる不具合の発生を抑制することができる。   The communication device having such a configuration prohibits switching from the wireless slave device mode to the wireless master device mode when the temperature inside or on the surface of the communication device casing becomes equal to or higher than a predetermined value. In the wireless master mode, there is a high possibility that communication via the mobile communication network is performed. When communication is performed via the mobile communication network, the wireless LAN interface and the mobile communication interface that performs communication via the mobile communication network operate simultaneously, which may further increase the temperature of the communication device. . According to such a configuration, it is possible to suppress the occurrence of problems due to the communication device becoming hot.

[適用例12]適用例1ないし適用例11のいずれか記載の通信装置であって、更に、所定の指示を受け付ける受付部と、前記受け付けた所定の指示に基づいて、前記無線LANインタフェースを用いた無線通信の設定に関する情報を含む設定情報を、無線親機と無線子機との間で実行されるプロトコルを用いて、該無線LANインタフェースを介した通信によって、前記通信装置とは異なる無線子機に提供する設定情報提供部とを備え、前記動作制御部は、前記通信装置が前記無線子機モードによって動作している際に、前記受付部が前記所定の指示を受け付けた場合に、前記通信装置の動作を、前記無線子機モードから前記無線親機モードに切り替える通信装置。 [Application Example 12] The communication apparatus according to any one of Application Example 1 to Application Example 11, further including: a reception unit that receives a predetermined instruction; and the wireless LAN interface based on the received predetermined instruction. Setting information including information related to the setting of the wireless communication that has been received is transmitted to the wireless device different from the communication device by communication via the wireless LAN interface using a protocol executed between the wireless parent device and the wireless child device. A setting information providing unit provided to a machine, wherein the operation control unit is configured to receive the predetermined instruction when the receiving unit receives the predetermined instruction when the communication device is operating in the wireless slave mode. A communication device that switches the operation of the communication device from the wireless slave device mode to the wireless master device mode.

かかる構成の通信装置は、無線親機と無線子機との間で実行されるプロトコルを用いて、設定情報を無線親機から無線子機に提供するための所定の指示を受け付けた場合に、無線子機モードから無線親機モードへの切り替えを行うので、当該プロトコルを用いて無線子機に設定情報を設定したい通信環境においても、通信環境に応じた切り替えを好適に実現することができる。   When the communication device configured as described above receives a predetermined instruction for providing setting information from the wireless master device to the wireless slave device using a protocol executed between the wireless master device and the wireless slave device, Since switching from the wireless slave device mode to the wireless master device mode is performed, switching according to the communication environment can be suitably realized even in a communication environment in which setting information is to be set in the wireless slave device using the protocol.

[適用例13]適用例1ないし適用例12のいずれか記載の通信装置であって、前記通信装置の動作は、DHCPサーバとしてのサーバ動作を含み、前記無線親機モードは、前記サーバ動作が可能に制御される通信装置。 [Application Example 13] The communication apparatus according to any one of Application Examples 1 to 12, wherein the operation of the communication apparatus includes a server operation as a DHCP server, and the wireless master mode includes the server operation A communication device that can be controlled.

かかる構成の通信装置は、無線親機モードにおいてDHCPサーバとしての動作を行うことができるので、通信装置以外の無線子機にIPアドレスを割り当てることができる。したがって、ユーザは、当該無線子機のIPアドレスを手動操作で設定する必要がなくなり、ユーザの利便性が向上する。   Since the communication device having such a configuration can operate as a DHCP server in the wireless master mode, an IP address can be assigned to a wireless slave device other than the communication device. Therefore, the user does not need to manually set the IP address of the wireless slave device, and the convenience for the user is improved.

[適用例14]適用例1ないし適用例13のいずれか記載の通信装置であって、前記通信装置の動作は、DHCPクライアントとしてのクライアント動作を含み、前記無線子機モードは、前記クライアント動作が可能に制御される通信装置。 [Application Example 14] The communication device according to any one of Application Example 1 to Application Example 13, wherein the operation of the communication device includes a client operation as a DHCP client, and the wireless slave device mode includes the client operation A communication device that can be controlled.

かかる構成の通信装置は、無線子機モードにおいてDHCPクライアントとしての動作を行うことができるので、通信装置が置かれた通信環境に、DHCPサーバ機能を有する機器が通信可能に存在すれば、当該無線機器からIPアドレスの割り当てを受けることができる。したがって、ユーザは、無線子機として動作する通信装置のIPアドレスを手動操作で設定する必要がなくなり、ユーザの利便性が向上する。   Since the communication device having such a configuration can operate as a DHCP client in the wireless slave mode, if a device having a DHCP server function exists in a communication environment in which the communication device is placed so as to be communicable, An IP address can be assigned from the device. Therefore, the user does not need to manually set the IP address of the communication device that operates as a wireless slave unit, and the convenience for the user is improved.

[適用例15]適用例1ないし適用例14のいずれか記載の通信装置であって、前記無線子機モードによる動作は、ビーコンを送信可能に構成され、前記動作制御部は、前記通信装置が前記無線子機モードによって動作している際に、前記無線LANインタフェースを介して前記無線通信の接続関係を確立するための所定のフレームを受信した場合に、前記通信装置の動作を、前記無線子機モードから前記無線親機モードに切り替える通信装置。 [Application Example 15] The communication device according to any one of Application Example 1 to Application Example 14, wherein the operation in the wireless slave device mode is configured to be able to transmit a beacon, and the operation control unit includes the communication device When operating in the wireless slave device mode and receiving a predetermined frame for establishing the wireless communication connection relationship via the wireless LAN interface, the operation of the communication device is changed to the wireless slave device. A communication device for switching from the device mode to the wireless master device mode.

かかる構成の通信装置は、無線子機モードでの動作中にビーコンを送信し、無線通信の接続関係を確立するための所定のフレームを受信した場合に、無線子機モードから無線親機モードへの切り替えを行う。したがって、無線親機としての通信装置に接続したい無線子機が存在し、当該無線子機がパッシブスキャンによって無線親機を検索している通信環境においても、通信環境に応じた切り替えを好適に実現することができる。   When the communication device configured as described above transmits a beacon during operation in the wireless slave device mode and receives a predetermined frame for establishing a wireless communication connection relationship, the wireless slave device mode changes to the wireless master device mode. Switch. Therefore, even in a communication environment where there is a wireless slave device to be connected to a communication device as a wireless master device, and the wireless slave device searches for the wireless master device by passive scan, switching according to the communication environment is suitably realized. can do.

[適用例16]更に、移動体データ通信制御回路を含み、前記移動体通信網を介した通信を行う移動体通信インタフェースを備えた適用例1ないし適用例15のいずれか記載の通信装置。 [Application Example 16] The communication apparatus according to any one of Application Examples 1 to 15, further including a mobile data communication control circuit, and further including a mobile communication interface for performing communication via the mobile communication network.

かかる構成の通信装置は、移動体通信インタフェースを備えているので、ユーザは、移動体通信インタフェースを別途用意する必要がなく、ユーザの利便性が向上する。   Since the communication device having such a configuration includes a mobile communication interface, the user does not need to prepare a separate mobile communication interface, and the convenience for the user is improved.

[適用例17]更に、移動体データ通信制御回路を含み、前記移動体通信網を介した通信を行う移動体通信インタフェースと接続可能な接続インタフェースを備えた適用例1ないし適用例15のいずれか記載の通信装置。 [Application Example 17] Any one of Application Examples 1 to 15, further including a mobile data communication control circuit and including a connection interface connectable to a mobile communication interface that performs communication via the mobile communication network. The communication device described.

かかる構成の通信装置は、移動体通信インタフェースと接続可能な接続インタフェースを備えているので、接続インタフェースに移動体通信インタフェースを接続すれば、移動体通信網を介した通信を行うことができる。しかも、移動体通信インタフェースを複数用意する場合には、使用環境に応じて、異なるキャリアの移動体通信網を使い分けることも可能となり、ユーザの利便性が向上する。   Since the communication device having such a configuration includes a connection interface that can be connected to the mobile communication interface, communication via the mobile communication network can be performed by connecting the mobile communication interface to the connection interface. In addition, when a plurality of mobile communication interfaces are prepared, it is possible to use different mobile communication networks of different carriers according to the usage environment, which improves user convenience.

また、本発明は、上述した通信装置のほか、通信装置に用いる通信制御プログラム、当該プログラムを記録した記憶媒体、適用例18の通信装置の動作制御方法、無線LANインタフェースの動作制御方法等としても実現することができる。勿論、これらの実現形態に対しても、適用例2〜適用例16の構成を付加することも可能である。
[適用例18]無線LANインタフェースを用いた無線LAN通信と、移動体データ通信とが可能な通信装置の動作を制御する通信装置の動作制御方法であって、前記無線LANインタフェースを無線子機として動作させる無線子機モードと、該無線LANインタフェースを無線親機として動作させる無線親機モードとを、通信環境に応じて自律的に切り替え、前記無線親機モードで動作する際に、前記移動体通信と、前記無線LAN通信とを中継する動作制御方法。
In addition to the above-described communication apparatus, the present invention may be a communication control program used for the communication apparatus, a storage medium storing the program, an operation control method for the communication apparatus according to Application Example 18, an operation control method for the wireless LAN interface, and the like. Can be realized. Of course, the configurations of Application Examples 2 to 16 can be added to these implementations.
Application Example 18 A communication device operation control method for controlling the operation of a communication device capable of wireless LAN communication using a wireless LAN interface and mobile data communication, wherein the wireless LAN interface is used as a wireless slave unit. When the wireless slave mode that operates and the wireless master mode that causes the wireless LAN interface to operate as a wireless master device are autonomously switched according to the communication environment and operate in the wireless master device mode, the mobile unit An operation control method for relaying communication and the wireless LAN communication.

本発明の実施例としての携帯通信装置20の使用例を示す説明図である。It is explanatory drawing which shows the usage example of the portable communication apparatus 20 as an Example of this invention. 携帯通信装置20の概略構成を示す説明図である。2 is an explanatory diagram showing a schematic configuration of a mobile communication device 20. FIG. 携帯通信装置20における動作モード切替処理(子機モード動作時)の流れを示すフローチャートである。4 is a flowchart showing a flow of an operation mode switching process (during a slave mode operation) in the mobile communication device 20; 携帯通信装置20における動作モード切替処理(親機モード動作時)の流れを示すフローチャートである。4 is a flowchart showing a flow of operation mode switching processing (during parent device mode operation) in the mobile communication device 20; 携帯通信装置20における動作モード切替処理(親機モード動作時)の流れの他の例を示すフローチャートである。12 is a flowchart showing another example of the flow of the operation mode switching process (at the time of parent device mode operation) in the mobile communication device 20; 第2実施例としての携帯通信装置420の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the mobile communication apparatus 420 as 2nd Example. 携帯通信装置420における動作モード切替処理(子機モード動作時)の流れを示すフローチャートである。12 is a flowchart showing a flow of operation mode switching processing (during slave mode operation) in portable communication device 420.

A.第1実施例:
本発明の第1実施例について説明する。
A−1.携帯通信装置20の構成:
本発明の通信装置の実施例としての携帯通信装置20の使用例を図1に示す。携帯通信装置20は、データ端末としてのPDA(Personal Digital Assistant)である。本実施例の携帯通信装置20は、移動体通信網を介した無線通信と、無線LANに準拠した無線通信とを実現可能に構成されている。携帯通信装置20は、無線LANに準拠した無線通信では、無線子機モードと無線親機モードとの2つの動作モードによって動作可能である。携帯通信装置20は、この動作モードの違いによって、2種類の形態で使用することができる。
A. First embodiment:
A first embodiment of the present invention will be described.
A-1. Configuration of mobile communication device 20:
An example of use of the portable communication device 20 as an embodiment of the communication device of the present invention is shown in FIG. The portable communication device 20 is a PDA (Personal Digital Assistant) as a data terminal. The mobile communication device 20 according to the present embodiment is configured to be able to realize wireless communication via a mobile communication network and wireless communication based on a wireless LAN. The portable communication device 20 can operate in two operation modes, a wireless slave device mode and a wireless master device mode, in wireless communication conforming to the wireless LAN. The portable communication device 20 can be used in two types depending on the difference in the operation mode.

携帯通信装置20の第1の使用例を図1(A)に示す。第1の使用例とは、携帯通信装置20が無線子機モードで動作を行う場合の携帯通信装置20の使用方法である。図示するように、無線子機モードで動作を行う携帯通信装置20は、無線子機として、無線親機としてのアクセスポイントAPと無線LANに準拠した無線通信を行う。このアクセスポイントAPは、ルータRTに接続されており、さらに、ISP(図示省略)を介して、外部ネットワークとしてのインターネットINTに接続される。また、携帯通信装置20は、基地局BSを介して、移動体通信網を利用した無線通信によって、インターネットINTに接続することが可能である。なお、第1の使用例においては、図示する無線子機としての端末TEは使用されないものとして点線で表示しているが、端末TEは、アクセスポイントAPと通信を行うこととしてもよい。この場合、携帯通信装置20と端末TEとはアクセスポイントAPを介して無線通信を行うことができる。   A first usage example of the mobile communication device 20 is shown in FIG. The first usage example is a method of using the mobile communication device 20 when the mobile communication device 20 operates in the wireless slave mode. As shown in the figure, the mobile communication device 20 that operates in the wireless slave mode performs wireless communication based on a wireless LAN with an access point AP as a wireless master device as a wireless slave device. This access point AP is connected to the router RT, and is further connected to the Internet INT as an external network via an ISP (not shown). In addition, the mobile communication device 20 can be connected to the Internet INT via the base station BS by wireless communication using a mobile communication network. Note that, in the first usage example, the terminal TE as a wireless slave shown in the figure is shown as a dotted line that is not used, but the terminal TE may communicate with the access point AP. In this case, the mobile communication device 20 and the terminal TE can perform wireless communication via the access point AP.

携帯通信装置20の第2の使用例を図1(B)に示す。第2の使用例とは、携帯通信装置20が無線親機モードで動作を行う場合の携帯通信装置20の使用方法である。図示するように、無線親機モードで動作を行う携帯通信装置20は、無線親機(アクセスポイント)として、無線子機としての端末TEと無線LANに準拠した無線通信を行う。また、携帯通信装置20は、基地局BSを介して、移動体通信網を利用した無線通信によって、インターネットINTに接続することが可能である。ここで、携帯通信装置20は、ブリッジ機能を備えており、無線LANと移動体データ通信網とを介した通信の中継を行うことができる。したがって、端末TEは、携帯通信装置20および基地局BSを介して、インターネットINTに接続することが可能となる。なお、第2の使用例においては、図示するアクセスポイントAPおよびルータRTは存在しない環境下であり、これらを点線で表示している。また、無線親機モードで動作を行う携帯通信装置20に通信可能に接続される端末TEは複数台であってもよい。   A second usage example of the mobile communication device 20 is shown in FIG. The second usage example is a method of using the mobile communication device 20 when the mobile communication device 20 operates in the wireless master device mode. As shown in the figure, the mobile communication device 20 that operates in the wireless master mode performs wireless communication in accordance with a wireless LAN as a wireless master device (access point) with a terminal TE as a wireless slave device. In addition, the mobile communication device 20 can be connected to the Internet INT via the base station BS by wireless communication using a mobile communication network. Here, the mobile communication device 20 has a bridge function, and can relay communication via a wireless LAN and a mobile data communication network. Therefore, the terminal TE can be connected to the Internet INT via the mobile communication device 20 and the base station BS. In the second usage example, the illustrated access point AP and router RT are in an environment that does not exist, and these are indicated by dotted lines. Further, there may be a plurality of terminals TE that are communicably connected to the mobile communication device 20 that operates in the wireless master mode.

携帯通信装置20の概略構成を図2に示す。図示するように、携帯通信装置20は、CPU30、フラッシュROM41、RAM42、移動体通信インタフェース50、無線LANインタフェース60、ディスプレイ70、モード切替スイッチ71、温度検出部80、検出回路91を備え、それぞれがバスにより相互に接続されている。また、携帯通信装置20は、電源受付部90を備えている。   A schematic configuration of the mobile communication device 20 is shown in FIG. As shown in the figure, the mobile communication device 20 includes a CPU 30, a flash ROM 41, a RAM 42, a mobile communication interface 50, a wireless LAN interface 60, a display 70, a mode switch 71, a temperature detection unit 80, and a detection circuit 91. They are connected to each other by a bus. In addition, the mobile communication device 20 includes a power reception unit 90.

移動体通信インタフェース50は、移動体通信網の基地局BSと端末として無線データ通信を行うための制御回路であり、変調器やアンプ、アンテナといったハードウェアを備えている。この移動体通信インタフェース50は、外部への電波の送信や外部からの電波の受信が可能な状態で、携帯通信装置20に内蔵されている。本実施例では、移動体通信インタフェース50は、データ通信のみを実現可能に構成されているが、音声通信も併用可能に構成されていてもよい。本実施例では、移動体通信インタフェース50は、3G/HSPA(High Speed Packet Access)に準拠して構成されている。なお、移動体データ通信の規格は、特に限定するものではなく、3G/HSPAに代えて、例えば、IEEE802.16a、IEEE802.16m、LTE(Long Term Evolution)、LTE-Advancedなどであってもよい。   The mobile communication interface 50 is a control circuit for performing wireless data communication with a base station BS of a mobile communication network as a terminal, and includes hardware such as a modulator, an amplifier, and an antenna. The mobile communication interface 50 is built in the mobile communication device 20 in a state where radio waves can be transmitted to the outside and radio waves from the outside can be received. In this embodiment, the mobile communication interface 50 is configured to be able to implement only data communication, but may be configured to be capable of using voice communication together. In this embodiment, the mobile communication interface 50 is configured in conformity with 3G / HSPA (High Speed Packet Access). The standard for mobile data communication is not particularly limited, and may be, for example, IEEE 802.16a, IEEE 802.16m, LTE (Long Term Evolution), LTE-Advanced, etc. instead of 3G / HSPA. .

無線LANインタフェース60は、無線LANに準拠した無線通信を行うための制御回路であり、変調器やアンプ、アンテナといったハードウェアを備えている。この無線LANインタフェース60は、外部への電波の送信や外部からの電波の受信が可能な状態で、携帯通信装置20に内蔵されている。本実施例では、無線LANインタフェース60は、IEEE802.11に準拠して構成されている。この無線LANインタフェース60は、CPU30が実行するソフトウェアによる制御によって、無線子機または無線親機として排他的に動作する。   The wireless LAN interface 60 is a control circuit for performing wireless communication conforming to the wireless LAN, and includes hardware such as a modulator, an amplifier, and an antenna. The wireless LAN interface 60 is built in the mobile communication device 20 in a state in which radio waves can be transmitted to the outside and received from the outside. In this embodiment, the wireless LAN interface 60 is configured in conformity with IEEE 802.11. The wireless LAN interface 60 operates exclusively as a wireless slave device or a wireless master device under the control of software executed by the CPU 30.

ディスプレイ70は、本実施例では、液晶ディスプレイである。本実施例のディスプレイ70は、タッチパネル式のディスプレイであり、入力手段を兼ねている。   In this embodiment, the display 70 is a liquid crystal display. The display 70 according to the present embodiment is a touch panel display and also serves as an input unit.

CPU30は、フラッシュROM41に記憶されたファームウェア等のプログラムをRAM42に展開して実行することで、携帯通信装置20の動作全般を制御する。また、CPU30は、所定のプログラムを実行することで、無線通信制御部31、移動体通信制御部32、動作制御部33、判断部34としても機能する。無線通信制御部31は、無線LANインタフェース60を用いた無線通信を制御する。移動体通信制御部32は、移動体通信インタフェース50を用いた無線通信を制御する。換言すれば、移動体通信制御部32は、移動体通信網を介したデータのやり取りを制御する。動作制御部33は、無線LANインタフェース60を無線子機として動作させる無線子機モードと、無線LANインタフェース60を無線親機として動作させる無線親機モードとを、携帯通信装置20が置かれた通信環境に応じて自律的に切り替える制御(動作モード切替処理ともいう)を行う。動作モード切替処理の詳細は後述する。判断部34は、携帯通信装置20が無線親機モードで動作している際に、無線LANインタフェース60を介した通信の接続関係が確立された携帯通信装置20以外の無線子機の存在の有無を所定の処理(以下、判断処理ともいう)によって判断する。   The CPU 30 controls the overall operation of the mobile communication device 20 by developing a program such as firmware stored in the flash ROM 41 in the RAM 42 and executing it. The CPU 30 also functions as a wireless communication control unit 31, a mobile communication control unit 32, an operation control unit 33, and a determination unit 34 by executing a predetermined program. The wireless communication control unit 31 controls wireless communication using the wireless LAN interface 60. The mobile communication control unit 32 controls wireless communication using the mobile communication interface 50. In other words, the mobile communication control unit 32 controls data exchange via the mobile communication network. The operation control unit 33 performs communication in which the mobile communication device 20 is placed in a wireless slave mode in which the wireless LAN interface 60 operates as a wireless slave and a wireless master mode in which the wireless LAN interface 60 operates as a wireless master. Control that switches autonomously according to the environment (also called operation mode switching processing) is performed. Details of the operation mode switching process will be described later. When the mobile communication device 20 is operating in the wireless master mode, the determination unit 34 determines whether or not there is a wireless slave device other than the mobile communication device 20 for which a communication connection via the wireless LAN interface 60 has been established. Is determined by a predetermined process (hereinafter also referred to as a determination process).

無線子機モードとは、無線LANインタフェース60を無線子機として動作させる動作モードである。CPU30は、無線子機モードでの制御を行っている際には、アクセスポイントAPとの無線通信を実現する。また、このとき、CPU30は、移動体通信インタフェース50を介して基地局BSと通信することもできる。すなわち、携帯通信装置20のユーザは、ディスプレイ70に表示されたGUI(Graphical User Interface)を操作して、移動体通信網を利用してインターネットINTへのアクセスと、アクセスポイントAPおよびルータRTを介したインターネットINTへのアクセスとを選択的に実現することができる。勿論、両方のルートで同時にインターネットINTにアクセスすることも可能である。   The wireless slave mode is an operation mode in which the wireless LAN interface 60 is operated as a wireless slave. The CPU 30 realizes wireless communication with the access point AP when performing control in the wireless slave mode. At this time, the CPU 30 can also communicate with the base station BS via the mobile communication interface 50. That is, the user of the mobile communication device 20 operates a GUI (Graphical User Interface) displayed on the display 70 to access the Internet INT using the mobile communication network, and through the access point AP and the router RT. Access to the Internet INT can be selectively realized. Of course, it is also possible to access the Internet INT through both routes simultaneously.

また、無線子機モードにおいて、CPU30は、DHCP(Dynamic Host Configuration Protocol)クライアントとしても動作可能に構成されている。したがって、携帯通信装置20が、無線子機モードで動作する通信環境において、DHCPサーバ機能を有する無線機器が通信可能に存在すれば、例えば、アクセスポイントAPがDHCP機能を有していれば、当該無線機器からIPアドレスの割り当てを受けることができる。したがって、ユーザは、無線子機として動作する携帯通信装置20のIPアドレスを手動操作で設定する必要がなくなり、ユーザの利便性が向上する。   In the wireless slave mode, the CPU 30 is configured to be operable as a DHCP (Dynamic Host Configuration Protocol) client. Therefore, in the communication environment in which the mobile communication device 20 operates in the wireless slave mode, if a wireless device having a DHCP server function exists in a communicable manner, for example, if the access point AP has a DHCP function, An IP address can be assigned from the wireless device. Therefore, the user does not need to manually set the IP address of the mobile communication device 20 operating as a wireless slave device, and the convenience for the user is improved.

無線親機モードとは、無線LANインタフェース60を無線親機として動作させる動作モードである。CPU30は、無線親機モードでの制御を行っている際には、無線親機として、無線子機の送信する通信パケットの中継動作を行う。また、このとき、CPU30は、移動体通信インタフェース50を介して基地局BSと通信することもできる。さらに、このとき、CPU30は、所定のプログラムを実行することで、ブリッジ機能を実現し、移動体通信インタフェース50と無線LANインタフェース60とを介した通信パケットの中継を行う。つまり、CPU30は、無線LANインタフェース60で受信した通信パケットを、所定のフォーマット変換を行って、移動体通信インタフェース50側に転送し、また、無線LANインタフェース60で受信した通信パケットを、所定のフォーマット変換を行って、無線LANインタフェース60側に転送する。したがって、携帯通信装置20のユーザは、ディスプレイ70を操作して、移動体通信網を利用してインターネットINTへのアクセスを行うことができ、同時に、端末TEのユーザは、携帯通信装置20および基地局BSを介して、インターネットINTへアクセスすることができる。   The wireless master mode is an operation mode in which the wireless LAN interface 60 is operated as a wireless master. When performing control in the wireless master mode, the CPU 30 performs a relay operation of communication packets transmitted by the wireless slave as a wireless master. At this time, the CPU 30 can also communicate with the base station BS via the mobile communication interface 50. Further, at this time, the CPU 30 executes a predetermined program, thereby realizing a bridge function and relaying communication packets via the mobile communication interface 50 and the wireless LAN interface 60. That is, the CPU 30 performs a predetermined format conversion on the communication packet received by the wireless LAN interface 60 and transfers the communication packet to the mobile communication interface 50 side. Also, the CPU 30 converts the communication packet received by the wireless LAN interface 60 to a predetermined format. The data is converted and transferred to the wireless LAN interface 60 side. Therefore, the user of the mobile communication device 20 can operate the display 70 to access the Internet INT using the mobile communication network, and at the same time, the user of the terminal TE can access the mobile communication device 20 and the base station. The Internet INT can be accessed via the station BS.

また、本実施例では、無線親機モードにおいて、CPU30は、ルータ機能を実現することができる。このルータ機能は、DHCPサーバ機能を含んでいる。つまり、CPU30は、無線親機モードにおいて、DHCPサーバとしても動作可能に構成されており、携帯通信装置20以外の無線子機、例えば、端末TEにIPアドレスを割り当てることができる。したがって、ユーザは、当該無線子機のIPアドレスを手動操作で設定する必要がなくなり、ユーザの利便性が向上する。   In the present embodiment, in the wireless master mode, the CPU 30 can realize a router function. This router function includes a DHCP server function. That is, the CPU 30 is configured to be operable as a DHCP server in the wireless master mode, and can assign an IP address to a wireless slave device other than the mobile communication device 20, for example, the terminal TE. Therefore, the user does not need to manually set the IP address of the wireless slave device, and the convenience for the user is improved.

モード切替スイッチ71は、携帯通信装置20が無線子機モードと無線親機モードとのうちのいずれで動作するのかをユーザが指示するための手動スイッチである。本実施例においては、モード切替スイッチ71は、携帯通信装置20の動作モードを「自動」、「無線子機モード」、「無線親機モード」のいずれかを選択入力可能なスライドスイッチとして構成されている。モード切替スイッチ71によって「自動」が選択されているときは、CPU30は、後述する動作モード切替処理によって、自身の動作モードを自律的に切り替える。一方、「無線子機モード」または「無線親機モード」が選択されているときは、CPU30は、動作モード切替処理を実行せずに、選択された動作モードでの動作を固定的に実行する。   The mode changeover switch 71 is a manual switch for the user to instruct whether the mobile communication device 20 operates in the wireless slave device mode or the wireless master device mode. In this embodiment, the mode changeover switch 71 is configured as a slide switch capable of selectively inputting any one of “automatic”, “wireless slave mode”, and “wireless master mode” as the operation mode of the mobile communication device 20. ing. When “automatic” is selected by the mode switch 71, the CPU 30 autonomously switches its operation mode by an operation mode switching process described later. On the other hand, when “wireless slave device mode” or “wireless master device mode” is selected, the CPU 30 does not perform the operation mode switching process, and performs the operation in the selected operation mode in a fixed manner. .

温度検出部80は、携帯通信装置20の筐体内部または表面の温度を検出する温度センサ(ここではサーミスタ)を含んでいる。温度検出部80は、サーミスタのアナログ出力電圧をデジタル変換してCPU30に出力する。なお、温度検出部80は、必ずしもサーミスタの出力電圧をCPU30に出力する必要はなく、サーミスタでの検出温度が所定値以上となった場合に、所定の信号をCPU30に出力してもよい。つまり、温度検出部80は、検出温度が所定値以上になったことを検知できればよい。本実施例においては、温度検出部80は、携帯通信装置20の筐体内部において、電源受付部90の近傍に設置されている。   The temperature detection unit 80 includes a temperature sensor (here, a thermistor) that detects the temperature inside or on the surface of the casing of the mobile communication device 20. The temperature detector 80 converts the analog output voltage of the thermistor into a digital signal and outputs it to the CPU 30. Note that the temperature detection unit 80 does not necessarily output the output voltage of the thermistor to the CPU 30, and may output a predetermined signal to the CPU 30 when the temperature detected by the thermistor becomes equal to or higher than a predetermined value. That is, the temperature detection unit 80 only needs to detect that the detected temperature has reached a predetermined value or more. In the present embodiment, the temperature detection unit 80 is installed in the vicinity of the power supply reception unit 90 inside the casing of the mobile communication device 20.

電源受付部90は、携帯通信装置20に電源を供給する二次電池92に接続可能に構成された電池ボックスである。電源受付部90は、二次電池92が収容された際に、二次電池92から携帯通信装置20の電源を受け付けて、携帯通信装置20の各部に供給する。図2では、電源受付部90に二次電池92が収容された状態を示している。ただし、携帯通信装置20の電源は、商用電源などであってもよい。この電源受付部90には、検出回路91が接続されている。検出回路91は、電源受付部90に収容された二次電池92のアナログ出力電圧をデジタル変換してCPU30に出力する回路である。なお、電源受付部90は、必ずしも二次電池92の出力電圧をCPU30に出力する必要はなく、二次電池92の出力電圧が所定値以下となった場合に、所定の信号をCPU30に出力してもよい。つまり、検出回路91は、二次電池92の残容量が所定値以下になったことを検知できればよい。   The power reception unit 90 is a battery box configured to be connectable to a secondary battery 92 that supplies power to the mobile communication device 20. When the secondary battery 92 is accommodated, the power reception unit 90 receives the power of the mobile communication device 20 from the secondary battery 92 and supplies it to each unit of the mobile communication device 20. FIG. 2 shows a state in which the secondary battery 92 is accommodated in the power reception unit 90. However, the power source of the mobile communication device 20 may be a commercial power source or the like. A detection circuit 91 is connected to the power reception unit 90. The detection circuit 91 is a circuit that digitally converts the analog output voltage of the secondary battery 92 accommodated in the power reception unit 90 and outputs it to the CPU 30. The power reception unit 90 does not necessarily output the output voltage of the secondary battery 92 to the CPU 30, and outputs a predetermined signal to the CPU 30 when the output voltage of the secondary battery 92 becomes a predetermined value or less. May be. That is, the detection circuit 91 only needs to be able to detect that the remaining capacity of the secondary battery 92 has become a predetermined value or less.

A−2.動作モード切替処理:
携帯通信装置20において実行される動作モード切替処理について説明する。本実施例においては、CPU30は、無線子機モードによる動作がデフォルト設定されている。つまり、モード切替スイッチ71が「自動」に設定されている際に、ユーザがディスプレイ70に表示されたGUIを操作して、無線LANインタフェース60を起動させると、CPU30は、無線LANインタフェース60を無線子機モードで動作させる。その後、CPU30は、動作モード切替処理によって、無線子機モードと無線親機モードとを、携帯通信装置20が置かれた通信環境に応じて自律的に切り替える制御を行う。この動作モード切替処理は、特に断る場合を除き、動作制御部33の処理として実行させる。以下、無線LANインタフェース60が無線子機モードで動作している場合と、無線親機モードで動作している場合とに分けて、動作モード切替処理の流れについて説明する。
A-2. Operation mode switching processing:
An operation mode switching process executed in the mobile communication device 20 will be described. In this embodiment, the CPU 30 defaults to the operation in the wireless slave mode. In other words, when the user operates the GUI displayed on the display 70 to activate the wireless LAN interface 60 while the mode switch 71 is set to “automatic”, the CPU 30 causes the wireless LAN interface 60 to be wirelessly connected. Operate in slave mode. Thereafter, the CPU 30 performs control to autonomously switch between the wireless slave device mode and the wireless master device mode according to the communication environment in which the mobile communication device 20 is placed by the operation mode switching process. This operation mode switching process is executed as a process of the operation control unit 33 unless otherwise specified. Hereinafter, the flow of the operation mode switching process will be described separately for the case where the wireless LAN interface 60 operates in the wireless slave mode and the case where the wireless LAN interface 60 operates in the wireless master mode.

A−2−1.無線子機モード動作時:
無線LANインタフェース60が無線子機モードで動作している場合の動作モード切替処理の流れを図3に示す。この処理は、携帯通信装置20のCPU30が無線子機モードでの制御を開始すると同時に開始される。図示するように、無線子機モードでの制御が開始されると、CPU30は、携帯通信装置20以外の無線親機が送信するビーコンを監視する(ステップS110)。
A-2-1. When operating in wireless handset mode:
FIG. 3 shows the flow of operation mode switching processing when the wireless LAN interface 60 is operating in the wireless slave device mode. This process is started at the same time when the CPU 30 of the mobile communication device 20 starts control in the wireless slave mode. As illustrated, when control in the wireless slave mode is started, the CPU 30 monitors a beacon transmitted by a wireless master other than the mobile communication device 20 (step S110).

ビーコンの監視の結果、ビーコンを受信すれば、すなわち、無線親機の存在が確認できれば(ステップS120:YES)、CPU30は、ビーコンを受信できなくなるまで、ビーコンを監視する。この処理は、携帯通信装置20が置かれた通信環境において、携帯通信装置20以外の無線親機が存在する場合には、無線子機モードから無線親機モードへの切り替えを禁止することを意味する。このような構成としているのは、携帯通信装置20以外に無線親機が存在する場合には、当該無線親機に携帯通信装置20よりも優先的に端末TEの無線LAN通信の中継処理を行わせるためである。   If the beacon is received as a result of the beacon monitoring, that is, if the existence of the wireless master device can be confirmed (step S120: YES), the CPU 30 monitors the beacon until it cannot receive the beacon. This process means that switching from the wireless slave device mode to the wireless master device mode is prohibited when there is a wireless master device other than the portable communication device 20 in the communication environment where the portable communication device 20 is placed. To do. In this configuration, when there is a wireless master device other than the mobile communication device 20, relay processing for wireless LAN communication of the terminal TE is preferentially performed on the wireless master device over the mobile communication device 20. It is to make it.

一方、ビーコンを受信できなければ、すなわち、無線親機の存在が確認できなければ(ステップS120:NO)、CPU30は、所定期間だけ、携帯通信装置20以外の無線子機、すなわち、端末TEが送信するプローブリクエストの受信を待機する(ステップS130)。その結果、プローブリクエストを受信しなければ(ステップS130:NO)、処理を上記ステップS110に戻す。一方、所定期間内にプローブリクエストを受信すれば(ステップS130:YES)、携帯通信装置20が置かれた通信環境において、無線親機に接続したい端末TEが存在するということである。したがって、CPU30は、受信したプローブリクエストに含まれるSSID(Service Set Identifier)が自機のSSIDであるか否かを判断する(ステップS140)。なお、本実施例においては、ユーザは、無線親機としての携帯通信装置20のSSIDを予め端末TEに登録しておくものとしている。   On the other hand, if the beacon cannot be received, that is, if the presence of the wireless master device cannot be confirmed (step S120: NO), the CPU 30 determines that the wireless slave device other than the portable communication device 20, that is, the terminal TE, only for a predetermined period. It waits for reception of a probe request to be transmitted (step S130). As a result, if no probe request is received (step S130: NO), the process returns to step S110. On the other hand, if a probe request is received within a predetermined period (step S130: YES), there is a terminal TE that is desired to be connected to the wireless master device in the communication environment where the mobile communication device 20 is placed. Therefore, the CPU 30 determines whether or not the SSID (Service Set Identifier) included in the received probe request is the SSID of the own device (step S140). In this embodiment, the user registers the SSID of the mobile communication device 20 as the wireless master device in advance in the terminal TE.

判断の結果、SSIDが自機のSSIDでなければ(ステップS140:NO)、例えば、SSIDが、自機のSSIDと異なるSSIDやANYであれば、プローブリクエストを送信した無線子機は、ユーザが無線親機としての携帯通信装置20への接続を予定する端末TEではないということである。したがって、CPU30は、このプローブリクエストを無視し、処理を上記ステップS130に戻す。このように、後述するステップS170において動作モードの切り替えを行う契機となるプローブリクエストを所定のものに限定することで、ユーザが意図しない無線子機からプローブリクエストが送信された場合に、ユーザの意図に反して、無線子機モードから無線親機モードへの切り替えが行われることを抑制することができる。   If the SSID is not the SSID of the own device as a result of the determination (step S140: NO), for example, if the SSID is an SSID or ANY different from the SSID of the own device, the wireless slave device that has transmitted the probe request is This means that the terminal TE is not scheduled to be connected to the mobile communication device 20 as a wireless master device. Therefore, the CPU 30 ignores this probe request and returns the process to step S130. In this way, by limiting the probe request that triggers switching of the operation mode to a predetermined one in step S170 described later, when a probe request is transmitted from a wireless slave device that is not intended by the user, the user's intention On the other hand, switching from the wireless slave mode to the wireless master mode can be suppressed.

一方、SSIDが自機のSSIDであれば(ステップS140:YES)、プローブリクエストを送信した無線子機は、ユーザが携帯通信装置20への接続を予定する端末TEであり、ユーザは、端末TEが携帯通信装置20との接続関係を確立することを所望しているということである。そこで、CPU30は、さらに、検出回路91によって検出された二次電池92の出力電圧が所定値以下であるか否かを判断する(ステップS150)。この判断は、二次電池92の残容量、つまり、利用可能な蓄電量が所定値以下であるか否かを判断するものである。二次電池92の出力電圧は、二次電池の残容量の減少に伴って低下するので、出力電圧が所定値以下になると、残容量が所定値以下になったと判断することができる。   On the other hand, if the SSID is the SSID of the own device (step S140: YES), the wireless slave device that has transmitted the probe request is the terminal TE that the user plans to connect to the mobile communication device 20, and the user Is desiring to establish a connection relationship with the mobile communication device 20. Therefore, the CPU 30 further determines whether or not the output voltage of the secondary battery 92 detected by the detection circuit 91 is equal to or lower than a predetermined value (step S150). This determination is to determine whether or not the remaining capacity of the secondary battery 92, that is, the amount of available power storage is equal to or less than a predetermined value. Since the output voltage of the secondary battery 92 decreases as the remaining capacity of the secondary battery decreases, it can be determined that the remaining capacity has become less than or equal to the predetermined value when the output voltage becomes less than or equal to the predetermined value.

判断の結果、二次電池の残容量が所定値以下であれば(ステップS150:YES)、CPU30は、処理を上記ステップS130に戻す。この処理は、二次電池92の残容量が所定値以下である場合には、後述するステップS170によって無線子機モードから無線親機モードへの切り替えを行うことを禁止することを意味する。無線親機モードでは、端末TEがインターネットINTにアクセスする際には、携帯通信装置20において、移動体通信インタフェース50と無線LANインタフェース60とを同時に動作させることとなるので、無線子機モードよりも消費電力が大きくなりがちである。また、無線親機モードで携帯通信装置20がビーコンを送信する場合には、消費電力は更に大きくなる。このように、二次電池92の残容量が少なくなっている場合に、無線子機モードから無線親機モードへの切り替えを禁止する構成とすれば、二次電池92の残容量切れを抑制し、携帯通信装置20を長時間動作させることができる。   As a result of the determination, if the remaining capacity of the secondary battery is equal to or less than the predetermined value (step S150: YES), the CPU 30 returns the process to step S130. This process means that when the remaining capacity of the secondary battery 92 is equal to or less than the predetermined value, switching from the wireless slave device mode to the wireless master device mode is prohibited in step S170 described later. In the wireless master unit mode, when the terminal TE accesses the Internet INT, the mobile communication device 20 simultaneously operates the mobile communication interface 50 and the wireless LAN interface 60 in the mobile communication device 20, so that the terminal TE is more effective than the wireless slave device mode. Power consumption tends to increase. Further, when the mobile communication device 20 transmits a beacon in the wireless master mode, the power consumption is further increased. As described above, when the remaining capacity of the secondary battery 92 is low, the switching from the wireless slave mode to the wireless master mode is prohibited, so that the remaining capacity of the secondary battery 92 is suppressed from being exhausted. The portable communication device 20 can be operated for a long time.

一方、二次電池の残容量が所定値よりも大きければ(ステップS150:NO)、CPU30は、温度検出部80によって検出された温度が所定値以上であるか否かを判断する(ステップS160)。その結果、検出温度が所定値以上であれば(ステップS160:YES)、CPU30は、処理を上記ステップS130に戻す。この処理は、携帯通信装置20の筐体内部の温度が所定値以上である場合には、後述するステップS170によって無線子機モードから無線親機モードへの切り替えを行うことを禁止することを意味する。無線親機モードでは、端末TEがインターネットINTにアクセスする際には、携帯通信装置20において、移動体通信インタフェース50と無線LANインタフェース60とを同時に動作させることとなるので、発熱量が多くなり、無線子機モードよりも携帯通信装置20の筐体内部温度が高くなりがちである。このように、携帯通信装置20の筐体内部温度が所定値以上である場合に、無線子機モードから無線親機モードへの切り替えを禁止する構成とすれば、携帯通信装置20が過剰に高温化することを抑制することができる。その結果、高温化による不具合の発生を抑制することができる。   On the other hand, if the remaining capacity of the secondary battery is larger than the predetermined value (step S150: NO), the CPU 30 determines whether or not the temperature detected by the temperature detector 80 is equal to or higher than the predetermined value (step S160). . As a result, if the detected temperature is equal to or higher than the predetermined value (step S160: YES), the CPU 30 returns the process to step S130. This process means that when the temperature inside the casing of the mobile communication device 20 is equal to or higher than a predetermined value, switching from the wireless slave mode to the wireless master mode is prohibited in step S170 described later. To do. In the wireless master mode, when the terminal TE accesses the Internet INT, the mobile communication interface 50 and the wireless LAN interface 60 are simultaneously operated in the mobile communication device 20, so that the amount of heat generation increases. The housing internal temperature of the mobile communication device 20 tends to be higher than in the wireless slave mode. As described above, when the temperature inside the casing of the mobile communication device 20 is equal to or higher than the predetermined value, the mobile communication device 20 is excessively hot if the switch from the wireless slave device mode to the wireless master device mode is prohibited. Can be suppressed. As a result, occurrence of problems due to high temperatures can be suppressed.

かかる構成は、本実施例においては、温度検出部80を電源受付部90の近傍に設置して、高温化による二次電池92の性能劣化を抑制することを主な目的としている。ただし、抑制すべき不具合は、二次電池92の性能劣化に限るものではなく、例えば、CPU30の熱暴走防止などであってもよい。温度検出部80の設置箇所は、その目的に合わせて適宜設定すればよい。勿論、複数の温度検出部80を設けてもかまわない。   In this embodiment, the main purpose of this configuration is to suppress the performance deterioration of the secondary battery 92 due to high temperature by installing the temperature detection unit 80 in the vicinity of the power supply reception unit 90. However, the problem to be suppressed is not limited to the performance deterioration of the secondary battery 92, and may be prevention of thermal runaway of the CPU 30, for example. What is necessary is just to set suitably the installation location of the temperature detection part 80 according to the objective. Of course, a plurality of temperature detectors 80 may be provided.

一方、検出温度が所定値よりも小さければ(ステップS160:NO)、CPU30は、動作モードを無線子機モードから無線親機モードへ切り替える(ステップS170)。そして、CPU30は、受信したプローブリクエストへの応答として、端末TEにプローブレスポンスを送信し、さらに、端末TEと接続関係を確立する(ステップS180)。以降、CPU30は、無線LANインタフェース60を無線親機として動作させ、端末TEが送信する通信パケットの中継動作を行うこととなる。こうして、無線子機モードとして動作している際の動作モード変更処理は終了となる。   On the other hand, if the detected temperature is lower than the predetermined value (step S160: NO), CPU 30 switches the operation mode from the wireless slave mode to the wireless master mode (step S170). Then, the CPU 30 transmits a probe response to the terminal TE as a response to the received probe request, and further establishes a connection relationship with the terminal TE (step S180). Thereafter, the CPU 30 operates the wireless LAN interface 60 as a wireless master device, and performs a relay operation for communication packets transmitted by the terminal TE. Thus, the operation mode change process when operating in the wireless slave device mode is completed.

上述した動作モード変更処理において、上記ステップS130,S170,S180以外の処理は、適宜省略することが可能である。また、CPU30が無線子機モードでの動作中に、定期的にビーコンを送信する構成を付加してもよい。かかる場合、CPU30は、無線通信の接続関係を確立するための所定のフレームを受信した場合にも、無線子機モードから無線親機モードへの切り替えを行う構成としてもよい。かかる所定のフレームとしては、アソシエーションリクエストやオーセンティケーションなどがある。こうすれば、端末TEがパッシブスキャンによって無線親機を検索して、無線親機としての携帯通信装置20に接続したい場合にも、好適に動作モードの切り替えを行うことができる。オーセンティケーションを受信して無線子機モードから無線親機モードへの切り替えを行う場合には、当該オーセンティケーションをシェアードキー方式のオーセンティケーションに限定してもよい。こうすれば、ユーザが意図しない端末TEと携帯通信装置20とが接続されることがない。ただし、オーセンティケーションにオープンシステム方式のオーセンティケーションを含めても構わない。   In the operation mode changing process described above, processes other than steps S130, S170, and S180 can be omitted as appropriate. Further, a configuration in which the CPU 30 periodically transmits a beacon during operation in the wireless slave mode may be added. In this case, the CPU 30 may be configured to switch from the wireless slave mode to the wireless master mode even when a predetermined frame for establishing a wireless communication connection relationship is received. Examples of the predetermined frame include an association request and an authentication. In this way, even when the terminal TE searches for the wireless master device by passive scanning and wants to connect to the mobile communication device 20 as the wireless master device, the operation mode can be suitably switched. When the authentication is received and switching from the wireless slave mode to the wireless master mode is performed, the authentication may be limited to the shared key type authentication. In this way, the terminal TE not intended by the user and the mobile communication device 20 are not connected. However, the authentication may include an open system type authentication.

A−2−2.無線親機モード動作時:
無線LANインタフェース60が無線親機モードで動作している場合の動作モード切替処理の流れを図4に示す。この処理は、携帯通信装置20のCPU30が無線親機モードでの制御を開始すると同時に開始される。図示するように、無線親機モードでの制御が開始されると、CPU30は、無線LANインタフェース60を介した通信パケットの受信後の経過時間の測定を開始する(ステップS210)。この測定する経過時間は、携帯通信装置20が無線LANインタフェース60を介して通信パケットを受信するたびにリセットされる。
A-2-2. When operating in wireless master mode:
FIG. 4 shows the flow of the operation mode switching process when the wireless LAN interface 60 is operating in the wireless master mode. This process is started at the same time when the CPU 30 of the mobile communication device 20 starts control in the wireless master mode. As shown in the figure, when the control in the wireless master mode is started, the CPU 30 starts measuring the elapsed time after receiving the communication packet via the wireless LAN interface 60 (step S210). The elapsed time to be measured is reset every time the mobile communication device 20 receives a communication packet via the wireless LAN interface 60.

経過時間の測定を開始すると、CPU30は、判断部34の処理として、アソシエートリストをチェックする(ステップS220)。アソシエーションリストとは、携帯通信装置20と、携帯通信装置20以外の無線子機(ここでは端末TE)との接続関係の確立および解除の状況を管理するためのリストである。本実施例では、CPU30は、このアソシエーションリストを用いて、判断処理の1つとして、端末TEとの接続関係の確立および解除の状況を管理している。具体的には、携帯通信装置20が端末TEからアソシエーションリクエストを受信して、端末TEとの接続関係を確立すると、CPU30は、端末TEのMACアドレスをアソシエーションリストに登録する。また、接続関係を確立済みの端末TEからディスアソシエーションリクエストを受信して、端末TEとの接続関係を解除すると、CPU30は、アソシエーションリストから端末TEのMACアドレスを消去する。   When the measurement of the elapsed time is started, the CPU 30 checks the associate list as a process of the determination unit 34 (step S220). The association list is a list for managing the state of establishment and release of the connection relationship between the mobile communication device 20 and a wireless slave device (here, the terminal TE) other than the mobile communication device 20. In the present embodiment, the CPU 30 manages the status of establishment and cancellation of the connection relationship with the terminal TE as one of the determination processes using this association list. Specifically, when mobile communication device 20 receives an association request from terminal TE and establishes a connection relationship with terminal TE, CPU 30 registers the MAC address of terminal TE in the association list. Further, when the disassociation request is received from the terminal TE for which the connection relationship has been established and the connection relationship with the terminal TE is canceled, the CPU 30 deletes the MAC address of the terminal TE from the association list.

アソシエーションリストをチェックすると、CPU30は、チェック結果に基づいて、接続関係を確立中の無線子機である端末TEが存在するか否かを判断する(ステップS230)。その結果、接続関係を確立中の端末TEが存在しなければ(ステップS230:NO)、携帯通信装置20を無線親機として動作させる必要はないので、CPU30は、動作モードを無線親機モードから無線子機モードへ切り替える(ステップS280)。以降、CPU30は、無線LANインタフェース60を無線子機として動作させることとなる。   When checking the association list, the CPU 30 determines whether or not there is a terminal TE that is a wireless slave unit that is establishing a connection relationship based on the check result (step S230). As a result, if there is no terminal TE that is establishing a connection relationship (step S230: NO), it is not necessary to operate the mobile communication device 20 as a wireless master device, so the CPU 30 changes the operation mode from the wireless master device mode. Switch to the wireless slave mode (step S280). Thereafter, the CPU 30 operates the wireless LAN interface 60 as a wireless slave device.

一方、接続関係を確立中の端末TEが存在すれば(ステップS230:YES)、端末TEは、無線親機として動作する携帯通信装置20と無線通信を行う可能性がある。ただし、端末TEは、携帯通信装置20との無線通信を行わなくなる際に、携帯通信装置20にディスアソシエーションリクエストを送信するとは限らない。そこで、CPU30は、以下の説明するように、更に、判断処理の1つとしてのアクティブ検出によって端末TEの生存確認を行う。   On the other hand, if there is a terminal TE that has established a connection relationship (step S230: YES), the terminal TE may perform wireless communication with the mobile communication device 20 that operates as a wireless master device. However, the terminal TE does not always transmit a disassociation request to the mobile communication device 20 when wireless communication with the mobile communication device 20 is not performed. Therefore, as will be described below, the CPU 30 further confirms the existence of the terminal TE by active detection as one of the determination processes.

具体的には、CPU30は、最後に受信した通信パケットの受信から所定時間が経過したか否かを判断する(ステップS240)。最後に受信した通信パケットとは、複数の端末TEがCPU30と無線LANで接続されている場合には、各々の端末TEから受信した全ての通信パケットのうちの最後に受信した通信パケットである。その結果、所定時間を経過していなければ(ステップS220:NO)、CPU30は、処理を上記ステップS220に戻す。この処理は、後述するステップS250の処理によって通信量が増加することを抑制するために行うものであって、省略可能である。   Specifically, CPU 30 determines whether or not a predetermined time has elapsed since the last received communication packet (step S240). The last received communication packet is the last received communication packet among all the communication packets received from each terminal TE when a plurality of terminals TE are connected to the CPU 30 via a wireless LAN. As a result, if the predetermined time has not elapsed (step S220: NO), the CPU 30 returns the process to step S220. This process is performed in order to suppress an increase in the traffic due to the process of step S250 described later, and can be omitted.

一方、所定時間を経過していれば(ステップS240:YES)、CPU30は、判断部34の処理として、端末TEに対してヌルデータを送信する(ステップS250)。通信可能な端末TEが存在する場合には、当該端末TEは、ヌルデータを送信して、その応答として、携帯通信装置20にACK(ACKnowledgement)フレームを送信することとなる。ヌルデータを送信すると、CPU30は、判断部34の処理として、端末TEが送信するACKフレームを受信したか否かを判断する(ステップS260)。かかるステップS250,S260の処理は、判断処理の1つとして実行される。CPU30がACKフレームを受信すれば、端末TEが通信可能に存在するということであり、ACKフレームを受信しなければ、通信可能な端末TEが存在しなくなっているということである。   On the other hand, if the predetermined time has elapsed (step S240: YES), the CPU 30 transmits null data to the terminal TE as processing of the determination unit 34 (step S250). When there is a communicable terminal TE, the terminal TE transmits null data and transmits an ACK (ACKnowledgement) frame to the mobile communication device 20 as a response. When the null data is transmitted, the CPU 30 determines whether or not an ACK frame transmitted from the terminal TE has been received as processing of the determination unit 34 (step S260). The processes in steps S250 and S260 are executed as one of the determination processes. If the CPU 30 receives the ACK frame, it means that the terminal TE exists so as to be communicable, and if it does not receive the ACK frame, it means that no terminal TE capable of communication exists.

判断の結果、ACKフレームを受信すれば(ステップS260:YES)、端末TEが通信可能に存在するということであるから、以降も端末TEが携帯通信装置20に通信パケットを送信する可能性が高いので、CPU30は、上記ステップS210で計測を開始した計測時間をリセットし(ステップS270)、処理をステップS210に戻す。このことは、CPU30が無線親機モードでの制御を維持することを意味する。こうすれば、ユーザが無線親機モードでの動作を所望しているにもかかわらず、通信パケットの送信間隔がたまたま長くなっただけで動作モードが切り替わることがない。   If the result of the determination is that an ACK frame is received (step S260: YES), this means that the terminal TE exists in a communicable manner, so that the terminal TE is likely to transmit a communication packet to the mobile communication device 20 thereafter. Therefore, CPU30 resets the measurement time which started the measurement at the said step S210 (step S270), and returns a process to step S210. This means that the CPU 30 maintains control in the wireless master mode. In this way, although the user desires to operate in the wireless master mode, the operation mode is not switched only by accidentally increasing the transmission interval of communication packets.

一方、ACKフレームを受信しなければ(ステップS260:NO)、通信可能な端末TEが存在しなくなっており、以降、端末TEが携帯通信装置20に通信パケットを送信することは予定されないので、CPU30は、動作モードを無線親機モードから無線子機モードへ切り替える(ステップS280)。こうして、無線親機モードとして動作している際の動作モード変更処理は終了となる。   On the other hand, if the ACK frame is not received (step S260: NO), there is no terminal TE that can communicate, and thereafter, the terminal TE is not scheduled to transmit a communication packet to the mobile communication device 20, so the CPU 30 Switches the operation mode from the wireless master device mode to the wireless slave device mode (step S280). In this way, the operation mode change process when operating in the wireless master mode ends.

上述した動作モード変更処理では、携帯通信装置20がヌルデータを送信し、その応答を確認することによって、アクティブ検出による端末TEの生存確認を行う構成としたが、アクティブ検出は、端末TEにデータフレームを送信し、その応答を確認するものであればよい。例えば、ヌルデータに代えて、あるいは、加えて、pingを用いたエコーリクエストを送信する構成としてもよい。端末TEは、エコーリクエストを受信すると、その応答としてエコーリプライを送信するので、CPU30がエコーリプライを受信した場合には、端末TEが通信可能に存在し、エコーリプライを受信しなければ、端末TEが通信可能に存在しないと判断することができる。これらのように、アクティブ検出を行うことによって、端末TEの生存確認を精度良く行うことができる。   In the operation mode change process described above, the mobile communication device 20 transmits null data and confirms the response, thereby confirming the existence of the terminal TE by active detection. Can be transmitted and the response can be confirmed. For example, instead of or in addition to null data, an echo request using ping may be transmitted. When the terminal TE receives the echo request, the terminal TE transmits an echo reply as a response. Therefore, when the CPU 30 receives the echo reply, the terminal TE exists so as to be communicable, and if it does not receive the echo reply, the terminal TE Can be determined not to be communicable. As described above, by performing active detection, it is possible to accurately check the survival of the terminal TE.

このようなアクティブ検出において、CPU30は、ヌルデータやエコーリクエストを複数回送信して、1度でも応答を受信すれば、端末TEが通信可能に存在すると判断してもよい。あるいは、ヌルデータとエコーリクエストとの両方を送信し、少なくとも一方の応答があれば、端末TEが通信可能に存在すると判断してもよい。これらのような構成とすれば、端末TEの存在の有無の判断精度を向上させることができる。   In such an active detection, the CPU 30 may determine that the terminal TE is communicable if it transmits null data or an echo request a plurality of times and receives a response even once. Alternatively, if both null data and an echo request are transmitted and there is at least one response, it may be determined that the terminal TE exists so as to be communicable. With such a configuration, it is possible to improve the determination accuracy of the presence / absence of the terminal TE.

A−3.効果
かかる構成の携帯通信装置20は、移動体通信インタフェース50と、無線子機または無線親機として排他的に動作する無線LANインタフェース60とを備え、無線子機モードと無線親機モードとを切り替えて制御する。したがって、無線子機モードの制御を行う際には、携帯通信装置20は、アクセスポイントAPを介して、端末TEと通信を行うことができる。アクセスポイントAPがインターネットINTに接続されていれば、携帯通信装置20は、アクセスポイントAPを介して、インターネットINTにアクセスすることもできる。さらに、携帯通信装置20は、移動体通信インタフェース50を介した通信によってインターネットINTにアクセスすることもできる。また、無線親機モードでの制御を行う際には、携帯通信装置20は、移動体通信インタフェース50を介した通信によってインターネットINTとの通信を行うことができるとともに、端末TEに無線親機としての機能を提供して、端末TEに移動体通信インタフェース50を介した通信によってインターネットINTとの通信を行わせることができる。
A-3. The mobile communication device 20 having such a configuration includes the mobile communication interface 50 and the wireless LAN interface 60 that operates exclusively as a wireless slave device or a wireless master device, and switches between the wireless slave device mode and the wireless master device mode. Control. Therefore, when performing control of the wireless slave mode, the mobile communication device 20 can communicate with the terminal TE via the access point AP. If the access point AP is connected to the Internet INT, the mobile communication device 20 can also access the Internet INT via the access point AP. Further, the mobile communication device 20 can access the Internet INT by communication via the mobile communication interface 50. In addition, when performing control in the wireless master mode, the mobile communication device 20 can communicate with the Internet INT by communication via the mobile communication interface 50, and can be used as a wireless master for the terminal TE. Thus, the terminal TE can communicate with the Internet INT by communication via the mobile communication interface 50.

したがって、携帯通信装置20のユーザと端末TEのユーザとが同一であり、当該ユーザが端末TEからインターネットINTにアクセスしたい場合に、当該ユーザは、携帯通信装置20を介して、端末TEからインターネットINTにアクセスすることができる。また、携帯通信装置20のユーザと端末TEのユーザとが同一ではなく、携帯通信装置20のユーザが携帯通信装置20の無線LAN機能を使用していない場合に、端末TEのユーザは、使用されていない携帯通信装置20の無線LAN機能を有効に活用して、端末TEからインターネットINTにアクセスすることができる。しかも、携帯通信装置20は、無線子機モードと無線親機モードとを通信環境に応じて自律的に切り替えるので、ユーザは、無線子機モードと無線親機モードとを切り替える手間が省け、利便性が向上する。   Therefore, when the user of the mobile communication device 20 and the user of the terminal TE are the same and the user wants to access the Internet INT from the terminal TE, the user can connect the Internet INT from the terminal TE via the mobile communication device 20. Can be accessed. Further, when the user of the mobile communication device 20 and the user of the terminal TE are not the same and the user of the mobile communication device 20 does not use the wireless LAN function of the mobile communication device 20, the user of the terminal TE is used. It is possible to access the Internet INT from the terminal TE by effectively utilizing the wireless LAN function of the mobile communication device 20 that is not. Moreover, since the mobile communication device 20 autonomously switches between the wireless slave mode and the wireless master mode according to the communication environment, the user can save time and effort to switch between the wireless slave mode and the wireless master mode. Improves.

また、携帯通信装置20は、無線子機モードによる動作中に所定のプローブリクエストを受信すると、携帯通信装置20の動作を、無線子機モードから無線親機モードに切り替える。所定のプローブリクエストを受信したということは、携帯通信装置20が置かれた通信環境において、無線親機としての携帯通信装置20に接続したい端末TEが存在するこということであるから、通信環境に応じた切り替えを好適に実現することができる。   In addition, when the mobile communication device 20 receives a predetermined probe request during the operation in the wireless slave device mode, the mobile communication device 20 switches the operation of the mobile communication device 20 from the wireless slave device mode to the wireless master device mode. The fact that the predetermined probe request has been received means that in the communication environment where the mobile communication device 20 is placed, there is a terminal TE that is desired to be connected to the mobile communication device 20 as a wireless master device. The corresponding switching can be suitably realized.

また、携帯通信装置20は、携帯通信装置20以外の無線親機であるアクセスポイントAPが存在する通信環境においては、無線子機モードから無線親機モードへの切り替えを禁止する。無線子機モードは、ビーコンを送信する必要がなく、無線親機モードと比べて通信装置の消費電力が小さくなるので、かかる構成によって携帯通信装置20の消費電力を低減することができる。その結果、携帯通信装置20の電源としての二次電池の限りある容量を有効活用することができる。なお、このようにしても、端末TEは、アクセスポイントAPとの間で無線LANに準拠した無線通信を行うことができるので、ユーザに支障は生じない。また、携帯通信装置20は、動作モード切替処理を実行するにあたって、動作モードのデフォルトは、無線子機モードに設定されているので、携帯通信装置20の消費電力を低減することができる。   The mobile communication device 20 prohibits switching from the wireless slave device mode to the wireless master device mode in a communication environment in which an access point AP that is a wireless master device other than the mobile communication device 20 exists. In the wireless slave device mode, it is not necessary to transmit a beacon, and the power consumption of the communication device is smaller than that in the wireless master device mode. Therefore, the power consumption of the portable communication device 20 can be reduced with this configuration. As a result, the limited capacity of the secondary battery as the power source of the mobile communication device 20 can be effectively utilized. Even in this case, since the terminal TE can perform wireless communication based on the wireless LAN with the access point AP, there is no problem for the user. Further, when the mobile communication device 20 executes the operation mode switching process, the default operation mode is set to the wireless slave device mode, so that the power consumption of the mobile communication device 20 can be reduced.

B.第2実施例:
本発明の通信装置の第2実施例について説明する。第2実施例のとしての携帯通信装置20のハード構成は、第1実施例と同様である。第2実施例としての携帯通信装置20が第1実施例と異なる点は、無線親機モードとして動作している際の動作モード変更処理の流れのみである。以下、この異なる点についてのみ図5を用いて説明する。なお、図5において、第1実施例と同一内容の処理については、図4と同一の符号を付して、説明を簡略化する。
B. Second embodiment:
A communication apparatus according to a second embodiment of the present invention will be described. The hardware configuration of the mobile communication device 20 as the second embodiment is the same as that of the first embodiment. The portable communication device 20 as the second embodiment is different from the first embodiment only in the flow of the operation mode change process when operating as the wireless master mode. Hereinafter, only these different points will be described with reference to FIG. In FIG. 5, processes having the same contents as those in the first embodiment are denoted by the same reference numerals as those in FIG. 4, and the description is simplified.

図示するように、無線親機モードでの制御が開始されると、CPU30は、無線LANインタフェース60を介した通信パケットの受信後の経過時間の測定を開始し、判断処理の1つとして、通信パケットの受信を監視する(ステップS210)。そして、CPU30は、判断部34の処理として、アソシエートリストをチェックする(ステップS220)。アソシエーションリストをチェックすると、CPU30は、接続関係を確立中の無線子機である端末TEが存在するか否かを判断する(ステップS230)。その結果、接続関係を確立中の端末TEが存在しなければ(ステップS230:NO)、CPU30は、動作モードを無線親機モードから無線子機モードへ切り替える(ステップS280)。   As shown in the figure, when the control in the wireless base unit mode is started, the CPU 30 starts measuring the elapsed time after reception of the communication packet via the wireless LAN interface 60, and performs communication as one of the determination processes. The reception of the packet is monitored (step S210). And CPU30 checks an associate list as a process of the judgment part 34 (step S220). When the association list is checked, the CPU 30 determines whether or not there is a terminal TE that is a wireless slave unit that is establishing a connection relationship (step S230). As a result, if there is no terminal TE that has established a connection relationship (step S230: NO), the CPU 30 switches the operation mode from the wireless master device mode to the wireless slave device mode (step S280).

一方、接続関係を確立中の端末TEが存在すれば(ステップS230:YES)、CPU30は、パッシブ検出によって端末TEの生存確認を行う。具体的には、CPU30は、判断部34の処理として、最後に受信した通信パケットの受信から所定時間が経過したか否かを判断する(ステップS320)。最後に受信した通信パケットとは、複数の端末TEがCPU30と無線LANで接続されている場合には、各々の端末TEから受信した全ての通信パケットのうちの最後に受信した通信パケットである。その結果、所定時間を経過していなければ(ステップS320:NO)、CPU30は、処理を上記ステップS220に戻す。一方、所定時間を経過していれば(ステップS320:YES)、携帯通信装置20が置かれた通信環境において、通信可能な端末TEが存在しなくなっている可能性が高いということである。そこで、CPU30は、動作モードを無線親機モードから無線子機モードへ切り替える(ステップS280)。こうして、無線親機モードとして動作している際の動作モード変更処理は終了となる。   On the other hand, if there is a terminal TE that is establishing a connection relationship (step S230: YES), the CPU 30 confirms the existence of the terminal TE by passive detection. Specifically, the CPU 30 determines, as processing of the determination unit 34, whether a predetermined time has elapsed since the last received communication packet (step S320). The last received communication packet is the last received communication packet among all the communication packets received from each terminal TE when a plurality of terminals TE are connected to the CPU 30 via a wireless LAN. As a result, if the predetermined time has not elapsed (step S320: NO), the CPU 30 returns the process to step S220. On the other hand, if the predetermined time has passed (step S320: YES), there is a high possibility that no terminal TE capable of communication exists in the communication environment where the mobile communication device 20 is placed. Therefore, the CPU 30 switches the operation mode from the wireless master device mode to the wireless slave device mode (step S280). In this way, the operation mode change process when operating in the wireless master mode ends.

以上の説明からも明らかなように、第2実施例では、通信パケットの受信状況を監視し、受信した通信パケットの受信間隔に基づいて、パッシブ検出による端末TEの生存確認を行っている。かかる構成によれば、アクティブ検出を行う場合と比べて、処理を簡略化することができ、効率的である。しかも、無線LANインタフェース60を用いた通信量を低減することができるので、通信負荷が低減される。   As is apparent from the above description, in the second embodiment, the reception status of the communication packet is monitored, and based on the reception interval of the received communication packet, the existence confirmation of the terminal TE is performed by passive detection. According to such a configuration, the process can be simplified and more efficient than when active detection is performed. Moreover, since the amount of communication using the wireless LAN interface 60 can be reduced, the communication load is reduced.

C.第3実施例:
本発明の通信装置の第3実施例としての携帯通信装置420について説明する。携帯通信装置420が第1実施例と異なる点は、携帯通信装置420の構成と、無線子機モードで動作している場合の動作モード切替処理の流れである。以下、携帯通信装置420について、第1実施例と異なる点についてのみ説明し、共通する点については説明を省略する。第3実施例としての携帯通信装置420の概略構成を図6に示す。図6において、第1実施例と共通する構成については、図2と同一の符号を付して説明を省略する。携帯通信装置420は、CPU430が受付部435および設定情報提供部436としても機能する点と、自動設定スイッチ475を備えている点とが第1実施例と異なる。受付部435および設定情報提供部436の機能については後述する。
C. Third embodiment:
A portable communication device 420 as a third embodiment of the communication device of the present invention will be described. The difference between the portable communication device 420 and the first embodiment is the configuration of the portable communication device 420 and the flow of the operation mode switching process when operating in the wireless slave mode. Hereinafter, the portable communication device 420 will be described only with respect to differences from the first embodiment, and description of common points will be omitted. A schematic configuration of a mobile communication device 420 as a third embodiment is shown in FIG. In FIG. 6, the same components as those in the first embodiment are denoted by the same reference numerals as those in FIG. The portable communication device 420 is different from the first embodiment in that the CPU 430 also functions as the accepting unit 435 and the setting information providing unit 436 and that it includes an automatic setting switch 475. Functions of the receiving unit 435 and the setting information providing unit 436 will be described later.

自動設定スイッチ475は、無線LANインタフェース60を用いた無線通信の設定に関する設定情報を自動設定するAOSS(AirStation One-Touch Secure System、株式会社バッファローの登録商標)の動作の起動指示を与えるための手動スイッチである。AOSSでは、無線親機と無線子機とにユーザが所定の起動指示を与えると、無線親機と無線子機との間で非対称なプロトコルが実行され、無線LAN通信によって、無線親機がネットワーク機器の暗号・認証等の設定情報を無線子機に提供する仕組みである。AOSSは周知の技術であるので、詳しい説明は省略するが、無線親機は、AOSSの起動指示を受け付けると、設定要求の待機状態に移行する。一方、無線子機は、AOSSの起動指示を受け付けると、無線親機に設定要求を送信する。無線親機は、設定要求の待機状態で設定要求を受信すると、無線子機との間で無線LAN通信を行って、設定情報を無線子機に提供する。無線子機は、提供された設定情報を自機に設定して、無線親機との接続関係を確立することとなる。   The automatic setting switch 475 is a manual for giving an instruction to start the operation of AOSS (AirStation One-Touch Secure System, a registered trademark of Buffalo Co., Ltd.) that automatically sets the setting information regarding the setting of wireless communication using the wireless LAN interface 60. Switch. In AOSS, when a user gives a predetermined activation instruction to the wireless master device and the wireless slave device, an asymmetric protocol is executed between the wireless master device and the wireless slave device, and the wireless master device is connected to the network by wireless LAN communication. This is a mechanism for providing setting information such as device encryption and authentication to the wireless slave unit. Since AOSS is a well-known technique, a detailed description is omitted, but the wireless master device shifts to a setting request standby state upon receiving an AOSS activation instruction. On the other hand, when receiving the AOSS activation instruction, the wireless slave device transmits a setting request to the wireless master device. When receiving the setting request in the standby state for the setting request, the wireless master device performs wireless LAN communication with the wireless slave device and provides setting information to the wireless slave device. The wireless slave device sets the provided setting information in its own device, and establishes a connection relationship with the wireless master device.

自動設定スイッチ475は、設定情報を自動設定するためのインタフェースであればよく、例えば、CPU30がWPS機能を実現可能な場合には、WPSスイッチなどであってもよい。また、自動設定スイッチ475に代えて、ディスプレイ70に表示されるGUIなどで、起動指示を与える構成であってもよい。   The automatic setting switch 475 may be an interface for automatically setting the setting information. For example, when the CPU 30 can realize the WPS function, the automatic setting switch 475 may be a WPS switch. Further, instead of the automatic setting switch 475, a configuration in which an activation instruction is given by a GUI displayed on the display 70 may be used.

かかる携帯通信装置420で実行される、無線子機モードで動作している場合の動作モード切替処理の流れを図7に示す。図示するように、動作モード切替処理が開始されると、携帯通信装置420のCPU430は、まず、受付部435の処理としてAOSSの起動指示を受け付けたか否か、すなわち、自動設定スイッチ475がユーザによって押下されたか否かを判断する(ステップS510)。この処理は、AOSSの起動指示を受け付けるまで継続的に行われる(ステップS510:NO)。そして、AOSSの起動指示を受け付けると(ステップS510:YES)、CPU430は、動作制御部33の処理として、動作モードを無線子機モードから無線親機モードへ切り替える(ステップS520)。   FIG. 7 shows a flow of operation mode switching processing executed in the portable communication device 420 when operating in the wireless slave mode. As shown in the figure, when the operation mode switching process is started, the CPU 430 of the mobile communication device 420 first determines whether or not an AOSS activation instruction has been accepted as the process of the accepting unit 435, that is, the automatic setting switch 475 has been set by the user. It is determined whether or not the button has been pressed (step S510). This process is continuously performed until an AOSS activation instruction is received (step S510: NO). Then, when an AOSS activation instruction is accepted (step S510: YES), the CPU 430 switches the operation mode from the wireless slave device mode to the wireless master device mode as a process of the operation control unit 33 (step S520).

動作モードを切り替えると、CPU430は、AOSSの起動指示を受け付けた端末TEが送信する設定要求を受信し、設定情報提供部436の処理として、無線LANインタフェース60を用いた無線通信によって、端末TEに設定情報を提供する(ステップS530)。こうして、無線子機モードとして動作している際の動作モード変更処理は終了となる。なお、かかる動作モード変更処理は、第1実施例または第2実施例の動作モード変更処理と並行的に実行されてもよいことは勿論である。   When the operation mode is switched, the CPU 430 receives the setting request transmitted from the terminal TE that has received the AOSS activation instruction, and performs wireless communication using the wireless LAN interface 60 as processing of the setting information providing unit 436 to the terminal TE. Setting information is provided (step S530). Thus, the operation mode change process when operating in the wireless slave device mode is completed. Of course, such an operation mode change process may be executed in parallel with the operation mode change process of the first embodiment or the second embodiment.

かかる構成の携帯通信装置420は、AOSSなどによって、無線親機としての携帯通信装置420から、無線子機としての端末TEに設定情報を自動的に提供させて、端末TEの無線通信設定を行いたい通信環境においても、通信環境に応じた切り替えを好適に実現することができる。   The mobile communication device 420 having such a configuration automatically provides setting information from the mobile communication device 420 as the wireless master device to the terminal TE as the wireless slave device by AOSS or the like, and performs the wireless communication setting of the terminal TE. Even in a desired communication environment, switching according to the communication environment can be suitably realized.

上述した実施形態の変形例について説明する。
D:変形例:
D−1.変形例1:
上述の実施形態においては、移動体通信インタフェース50や無線LANインタフェース60がCPU30と別体で設けられた構成について示したが、これらの少なくとも一方は、CPU30に内蔵されていてもよい。こうした構成は、WiSoC(Wireless System on a Chip)として知られている。また、上述の実施形態においては、携帯通信装置20は、移動体通信インタフェース50を内蔵した構成としたが、携帯通信装置20は、必ずしも移動体通信インタフェース50を内蔵している必要はなく、移動体通信インタフェース50と接続可能なインタフェースを備えていてもよい。こうしたインタフェースとしては、USB(Universal Serial Bus)、SDIO(Secure Digital Input/Output)など、種々のものを用いることができる。かかるインタフェースに、移動体データ通信が可能なデータ通信カード、例えば、モデムを内蔵したUSBモデムなどを接続しても、上述の実施形態と同様の効果を奏する。しかも、移動体通信インタフェース50を着脱式とすれば、複数のキャリアが各々に提供する移動体通信網を使い分けたい場合に、所望の移動体通信インタフェース50を接続すればよいので、利便性が向上する。また、既存品よりも高速な通信が行える移動体通信インタフェース50が市場に導入され、これを使用したい場合には、移動体通信インタフェース50のみを交換すれば足り、携帯通信装置20を買い換える必要がないので、ユーザの利便性が向上するとともに、省資源化に資する。
A modification of the above-described embodiment will be described.
D: Modified example:
D-1. Modification 1:
In the above-described embodiment, the configuration in which the mobile communication interface 50 and the wireless LAN interface 60 are provided separately from the CPU 30 has been described, but at least one of these may be built in the CPU 30. Such a configuration is known as WiSoC (Wireless System on a Chip). In the above-described embodiment, the mobile communication device 20 includes the mobile communication interface 50. However, the mobile communication device 20 does not necessarily include the mobile communication interface 50. An interface connectable to the body communication interface 50 may be provided. Various interfaces such as USB (Universal Serial Bus) and SDIO (Secure Digital Input / Output) can be used as such an interface. Even if a data communication card capable of mobile data communication, such as a USB modem with a built-in modem, is connected to such an interface, the same effects as those of the above-described embodiment can be obtained. In addition, if the mobile communication interface 50 is detachable, it is only necessary to connect a desired mobile communication interface 50 when it is desired to use a mobile communication network provided by each of a plurality of carriers, thereby improving convenience. To do. In addition, when a mobile communication interface 50 capable of performing higher-speed communication than existing products is introduced into the market, and it is desired to use this, it is sufficient to replace only the mobile communication interface 50, and it is necessary to replace the mobile communication device 20. Therefore, the convenience of the user is improved and the resource is saved.

D−2.変形例2:
上述した実施形態では、動作モード切替処理における各処理を固定的に実行する構成について示したが、動作モード切替処理の内容は、状況に応じて、変化させてもよい。例えば、二次電池92の残容量が所定値以下となっている場合には、省電力化モードでの処理に切り替えてもよい。省電力化モードでの処理としては、例えば、上記ステップS220やステップS320の所定時間を相対的に短く変化させて設定してもよい。こうすれば、携帯通信装置20が無線親機モードで動作している時間を相対的に短縮できるので、ビーコンを送信する期間が短くなり、また、移動体通信インタフェース50と無線LANインタフェース60とを同時動作させる期間が短くなり、省電力化を図ることができる。あるいは、省電力化モードでの処理として、無線親機モードでの動作中にビーコンの送信を禁止する構成を採用してもよい。さらに、無線子機モードでの動作時にビーコンを送信する構成とする場合には、省電力化モードでの処理として、当該ビーコンの送信を禁止する構成を採用してもよい。勿論、省電力化モードへの切り替えは、ディスプレイ70に表示されるGUIなどを用いて、手動操作で行える構成としてもよい。
D-2. Modification 2:
In the above-described embodiment, the configuration in which each process in the operation mode switching process is fixedly performed has been described. However, the content of the operation mode switching process may be changed depending on the situation. For example, when the remaining capacity of the secondary battery 92 is a predetermined value or less, the processing may be switched to the power saving mode. As the processing in the power saving mode, for example, the predetermined time in step S220 or step S320 may be set to be changed relatively short. In this way, the time during which the mobile communication device 20 is operating in the wireless master mode can be relatively shortened, so the period for transmitting the beacon is shortened, and the mobile communication interface 50 and the wireless LAN interface 60 are connected. The period of simultaneous operation is shortened, and power saving can be achieved. Alternatively, as a process in the power saving mode, a configuration in which beacon transmission is prohibited during operation in the wireless master mode may be employed. Furthermore, in the case of a configuration in which a beacon is transmitted during operation in the wireless slave mode, a configuration in which transmission of the beacon is prohibited may be employed as processing in the power saving mode. Of course, switching to the power saving mode may be performed manually by using a GUI displayed on the display 70 or the like.

D−3.変形例3:
上述の実施形態においては、二次電池92の残容量が所定値以下となった場合や、温度検出部80による検出温度が所定値以上となった場合には、無線子機モードから無線親機モードへの切り替えを禁止する構成ついて示したが、かかる構成に加えて、あるいは、代えて、無線親機モードでの動作中に、二次電池92の残容量が所定値以下となった場合や、温度検出部80による検出温度が所定値以上となった場合に、強制的に無線親機モードから無線子機モードへ切り替える構成としてもよい。
D-3. Modification 3:
In the above embodiment, when the remaining capacity of the secondary battery 92 becomes a predetermined value or less, or when the temperature detected by the temperature detection unit 80 becomes a predetermined value or more, the wireless slave mode is changed to the wireless master device. Although the configuration for prohibiting switching to the mode is shown, in addition to or instead of this configuration, when the remaining capacity of the secondary battery 92 becomes a predetermined value or less during the operation in the wireless master mode, When the temperature detected by the temperature detection unit 80 is equal to or higher than a predetermined value, the wireless master mode may be forcibly switched to the wireless slave mode.

D−4.変形例4:
上述の実施形態においては、二次電池92の出力電圧から二次電池92の残容量を判断する構成について示したが、残容量の判断手法は、特に限定するものではない。例えば、二次電池92を収納する電源受付部90に物理的あるいは光学的に二次電池92の収納を検知するセンサを設け、二次電池92が新たに収納されてからの動作時間を計測し、当該動作時間から二次電池92の利用可能な蓄電量を推測する構成としてもよい。このように動作時間から推測する構成を採用する場合には、無線親機モードでの動作時間と、無線子機モードでの動作時間とを分けて計測して、二次電池92の利用可能な蓄電量を推測してもよい。こうすれば、無線親機モードと無線子機モードとでは、消費電力が大きく異なるので、利用可能な蓄電量の推測精度を向上させることができる。
D-4. Modification 4:
In the above-described embodiment, the configuration for determining the remaining capacity of the secondary battery 92 from the output voltage of the secondary battery 92 has been described. However, the method for determining the remaining capacity is not particularly limited. For example, a sensor that physically or optically detects the storage of the secondary battery 92 is provided in the power receiving unit 90 that stores the secondary battery 92, and the operation time after the secondary battery 92 is newly stored is measured. A configuration may be adopted in which the amount of power stored in the secondary battery 92 can be estimated from the operation time. When adopting the configuration inferred from the operation time in this way, the operation time in the wireless master device mode and the operation time in the wireless slave device mode are separately measured and the secondary battery 92 can be used. The amount of power storage may be estimated. In this way, the power consumption is greatly different between the wireless master mode and the wireless slave mode, so that the estimation accuracy of the available power storage amount can be improved.

D−5.変形例5:
図3に示した動作モード切替処理においては、携帯通信装置20以外の無線親機が存在する場合には、無線子機モードから無線親機モードへの切り替えを禁止する構成について示したが、かかる構成を変形することもできる。例えば、携帯通信装置20以外の無線親機がビーコンの受信によって検出された場合であっても、当該ビーコンのRSSI(Received Signal Strength Indication)が所定値よりも低ければ、無線子機モードから無線親機モードへの切り替えを許容する構成としてもよい。あるいは、携帯通信装置20以外の無線親機がビーコンの受信によって検出された場合に、当該無線親機との間で接続関係を確立し、所定数の通信パケットを当該無線親機に送信することによって、PER(Packet Error Rate)を計測し、PERが所定値以上である場合に、無線子機モードから無線親機モードへの切り替えを許容する構成としてもよい。これらのように、携帯通信装置20が、検出された無線親機の通信状態を判断し、無線親機の通信状態が良好でない場合には、無線子機モードから無線親機モードへの切り替えを許容する構成とすれば、端末TEは、良好な通信状態で端末TEを用いた無線通信を行うことができる。
D-5. Modification 5:
In the operation mode switching process shown in FIG. 3, when there is a wireless master device other than the mobile communication device 20, the configuration for prohibiting switching from the wireless slave device mode to the wireless master device mode is shown. The configuration can also be modified. For example, even when a wireless master device other than the mobile communication device 20 is detected by receiving a beacon, if the received signal strength indication (RSSI) of the beacon is lower than a predetermined value, the wireless master device can start from the wireless slave device mode. It may be configured to allow switching to the machine mode. Alternatively, when a wireless master device other than the mobile communication device 20 is detected by receiving a beacon, establishing a connection relationship with the wireless master device and transmitting a predetermined number of communication packets to the wireless master device Thus, the PER (Packet Error Rate) may be measured, and when the PER is equal to or greater than a predetermined value, switching from the wireless slave mode to the wireless master mode may be permitted. As described above, the mobile communication device 20 determines the detected communication state of the wireless parent device, and switches the wireless child device mode to the wireless parent device mode when the communication state of the wireless parent device is not good. If the configuration is allowed, the terminal TE can perform wireless communication using the terminal TE in a good communication state.

D−6.変形例6:
上述の実施形態においては、本発明の通信装置の一例として、携帯通信装置20としての構成を例示したが、本発明の通信装置は、種々の通信装置、例えば、ノート型パーソナルコンピュータ、携帯型ルータ装置、携帯電話などとして実現することができる。特に、本発明の通信装置を携帯電話として実現する場合には、ユーザの利便性が向上する。具体的には、携帯電話は、近年、だれもが所持し、持ち歩くものであるから、通信手段として無線子機機能のみを搭載した情報処理装置を使用するユーザは、携帯電話さえ携帯していれば、特別な装置を別途携帯しなくても、当該情報処理装置と携帯電話とを用いて、移動体通信網を利用可能などのような場所からでもインターネットINTにアクセスすることが可能となる。
D-6. Modification 6:
In the above-described embodiment, the configuration of the mobile communication device 20 is illustrated as an example of the communication device of the present invention. However, the communication device of the present invention may be various communication devices such as notebook personal computers and mobile routers. It can be realized as a device, a mobile phone or the like. In particular, when the communication device of the present invention is realized as a mobile phone, convenience for the user is improved. Specifically, since mobile phones are owned and carried by everyone in recent years, users who use information processing devices equipped only with wireless slave functions as communication means can carry even mobile phones. For example, it is possible to access the Internet INT from any place where the mobile communication network can be used by using the information processing apparatus and the mobile phone without separately carrying a special apparatus.

また、これらの通信装置は、移動体通信インタフェース50および無線LANインタフェース60以外のインタフェースを備えていてもよい。例えば、通信装置は、有線LANインタフェースを備え、有線LANインタフェースと無線LANインタフェース60とを介した通信パケットの中継を行うイーサネット(イーサネットは登録商標)コンバータとして構成されてもよい。かかる場合、有線LANインタフェースに、映像データ、音声データなどの各種データの入出力装置を接続すれば、端末TEは、通信装置を介して、有線LANインタフェースに接続された機器と各種データの入出力を行うことができる。あるいは、通信装置は、USBインタフェースを備えていてもよい。かかる場合、USBインタフェースに可搬式のハードディスクドライブなどの記憶装置を接続すれば、端末TEは、当該記憶装置との間で、データの入出力を行うことができる。   In addition, these communication apparatuses may include an interface other than the mobile communication interface 50 and the wireless LAN interface 60. For example, the communication device may be configured as an Ethernet (Ethernet is a registered trademark) converter that includes a wired LAN interface and relays communication packets via the wired LAN interface and the wireless LAN interface 60. In such a case, if an input / output device for various data such as video data and audio data is connected to the wired LAN interface, the terminal TE can input / output various data to / from the device connected to the wired LAN interface via the communication device. It can be performed. Alternatively, the communication device may include a USB interface. In this case, if a storage device such as a portable hard disk drive is connected to the USB interface, the terminal TE can input / output data to / from the storage device.

以上、本発明の実施形態について説明したが、上述した実施形態における本発明の構成要素のうち、独立クレームに記載された要素以外の要素は、付加的な要素であり、適宜省略、または、組み合わせが可能である。また、本発明はこうした実施形態に限られるものではなく、本発明の要旨を脱しない範囲において、種々なる態様で実施できることは勿論である。例えば、本発明は、通信装置としての構成のほか、通信装置に用いる通信制御プログラム、当該プログラムを記録した記憶媒体、無線LANインタフェースの動作制御方法等としても実現することができる。   As mentioned above, although embodiment of this invention was described, elements other than the element described in the independent claim among the components of this invention in embodiment mentioned above are additional elements, and are suitably abbreviate | omitted or combined. Is possible. In addition, the present invention is not limited to such an embodiment, and it is needless to say that the present invention can be implemented in various modes without departing from the gist of the present invention. For example, the present invention can be realized as a communication apparatus, a communication control program used for the communication apparatus, a storage medium storing the program, a wireless LAN interface operation control method, and the like.

20,420…携帯端末
30,430…CPU
31…無線通信制御部
32…移動体通信制御部
33…動作制御部
34…判断部
41…フラッシュROM
42…RAM
50…移動体通信インタフェース
60…無線LANインタフェース
70…ディスプレイ
71…モード切替スイッチ
80…温度検出部
90…電源受付部
91…検出回路
92…二次電池
435…受付部
436…設定情報提供部
475…自動設定スイッチ
TE…端末
AP…アクセスポイント
BS…基地局
RT…ルータ
INT…インターネット
20,420 ... portable terminal 30,430 ... CPU
31 ... Wireless communication control unit 32 ... Mobile communication control unit 33 ... Operation control unit 34 ... Judgment unit 41 ... Flash ROM
42 ... RAM
DESCRIPTION OF SYMBOLS 50 ... Mobile communication interface 60 ... Wireless LAN interface 70 ... Display 71 ... Mode change switch 80 ... Temperature detection part 90 ... Power supply reception part 91 ... Detection circuit 92 ... Secondary battery 435 ... Reception part 436 ... Setting information provision part 475 ... Automatic setting switch TE ... Terminal AP ... Access point BS ... Base station RT ... Router INT ... Internet

Claims (5)

通信装置であって、
無線LAN制御回路を含む無線LANインタフェースと、
前記無線LANインタフェースを無線子機または無線親機として排他的に動作させて無線通信を制御する無線通信制御部と、
前記通信装置が前記無線LANインタフェースを前記無線親機として動作させる無線親機モードで動作している際に、前記無線LANインタフェースを介した通信の接続関係が確立された前記通信装置以外の無線子機の存在の有無を所定の判断処理によって判断する判断部と、
前記通信装置が前記無線親機モードで動作している際に、前記判断部が前記接続関係の確立された通信装置以外の無線子機が存在しないと判断した場合に、前記通信装置の動作を、前記無線親機モードから、前記無線LANインタフェースを前記無線子機として動作させる無線子機モードに切り替え、前記通信装置が前記無線子機モードによって動作している際に、前記無線LANインタフェースを介して所定のプローブリクエストを受信した場合に、前記通信装置の動作を、前記無線子機モードから前記無線親機モードに切り替える動作制御部と
を備えた通信装置。
A communication device,
A wireless LAN interface including a wireless LAN control circuit;
A wireless communication control unit for controlling wireless communication by operating the wireless LAN interface exclusively as a wireless slave or a wireless master;
When the communication device is operating in a wireless master mode in which the wireless LAN interface is operated as the wireless master device, a wireless device other than the communication device with which a communication connection relationship is established via the wireless LAN interface is established. A determination unit that determines the presence or absence of a machine by a predetermined determination process;
When the communication device is operating in the wireless master device mode, when the determination unit determines that there is no wireless slave device other than the communication device with which the connection relationship is established, the operation of the communication device is performed. Switching from the wireless master mode to a wireless slave mode for operating the wireless LAN interface as the wireless slave device, and when the communication device is operating in the wireless slave device mode, Te when receiving a predetermined probe request, the operation of the communication device, a communication device from said radio personal station mode and a toggle its operation control unit to the radio base unit mode.
請求項1記載の通信装置であって、
前記判断処理は、前記通信装置と、該通信装置以外の無線子機との接続関係の確立および解除の状況を管理する処理を含み、
前記判断部は、前記管理する接続関係の確立および解除の状況が、該接続関係を確立中である前記通信装置以外の無線子機が存在しないものである場合に、該通信装置以外の無線子機が存在しないと判断する
通信装置。
The communication device according to claim 1,
The determination process includes a process for managing a state of establishment and release of a connection relationship between the communication device and a wireless slave device other than the communication device,
The determination unit establishes a wireless connection other than the communication device when the state of establishment and release of the connection relationship to be managed is a state where there is no wireless slave device other than the communication device that is establishing the connection relationship. A communication device that determines that no machine exists.
請求項1または請求項2記載の通信装置であって、
前記判断処理は、前記通信装置以外の無線子機からの前記通信パケットの受信を監視する処理を含み、
前記判断部は、前記通信装置以外の無線子機から所定時間の間、通信パケットを受信しなかった場合に、該通信装置以外の無線子機が存在しないと判断する
通信装置。
The communication device according to claim 1 or 2, wherein
The determination process includes a process of monitoring reception of the communication packet from a wireless slave device other than the communication device,
The determination unit determines that there is no wireless slave device other than the communication device when a communication packet is not received from the wireless slave device other than the communication device for a predetermined time.
請求項1または請求項2記載の通信装置であって、
前記判断処理は、前記無線LANインタフェースを介して、前記通信装置以外の無線子機にデータフレームを送信し、該送信したデータフレームに対する応答を確認する処理を含み、
前記判断部は、前記応答を受信しなかった場合に、前記通信装置以外の無線子機が存在しないと判断する
通信装置。
The communication device according to claim 1 or 2, wherein
The determination process includes a process of transmitting a data frame to a wireless slave unit other than the communication device via the wireless LAN interface and confirming a response to the transmitted data frame,
The determination unit determines that no wireless slave unit other than the communication device exists when the response is not received.
無線LANインタフェースを用いた無線LAN通信が可能な通信装置の動作を制御する通信装置の動作制御方法であって、
前記通信装置が前記無線LANインタフェースを無線親機として動作させる無線親機モードで動作している際に、前記無線LANインタフェースを介した通信の接続関係が確立された前記通信装置以外の無線子機の存在の有無を所定の判断処理によって判断し、
前記通信装置が前記無線親機モードで動作している際に、前記接続関係の確立された通信装置以外の無線子機が存在しないと判断した場合に、前記通信装置の動作を、前記無線親機モードから、前記無線LANインタフェースを無線子機として動作させる無線子機モードに切り替え
前記通信装置が前記無線子機モードによって動作している際に、前記無線LANインタフェースを介して所定のプローブリクエストを受信した場合に、前記通信装置の動作を、前記無線子機モードから前記無線親機モードに切り替え
動作制御方法。
An operation control method for a communication device for controlling the operation of a communication device capable of wireless LAN communication using a wireless LAN interface,
When the communication device is operating in a wireless master mode in which the wireless LAN interface is operated as a wireless master device, a wireless slave device other than the communication device in which a communication connection via the wireless LAN interface is established The presence or absence of is determined by a predetermined determination process,
When the communication device is operating in the wireless master device mode, if it is determined that there is no wireless slave device other than the communication device with which the connection relationship is established, the operation of the communication device is changed to the wireless master device. Switch from wireless device mode to wireless slave device mode to operate the wireless LAN interface as a wireless slave device ,
When the communication device is operating in the wireless slave device mode and receives a predetermined probe request via the wireless LAN interface, the operation of the communication device is changed from the wireless slave device mode to the wireless master device. toggle its operation control method on the machine mode.
JP2013150016A 2013-07-19 2013-07-19 Communication device Active JP5644907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013150016A JP5644907B2 (en) 2013-07-19 2013-07-19 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013150016A JP5644907B2 (en) 2013-07-19 2013-07-19 Communication device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010237164A Division JP5325192B2 (en) 2010-10-22 2010-10-22 COMMUNICATION DEVICE AND COMMUNICATION DEVICE OPERATION CONTROL METHOD

Publications (2)

Publication Number Publication Date
JP2013243746A JP2013243746A (en) 2013-12-05
JP5644907B2 true JP5644907B2 (en) 2014-12-24

Family

ID=49844106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013150016A Active JP5644907B2 (en) 2013-07-19 2013-07-19 Communication device

Country Status (1)

Country Link
JP (1) JP5644907B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1589677B1 (en) * 2003-01-31 2011-12-21 Fujitsu Limited Mobile radio terminal device
JP4885794B2 (en) * 2007-05-28 2012-02-29 株式会社日立製作所 Wireless communication system, wireless communication management device, and wireless communication management method
JP4647001B2 (en) * 2008-11-07 2011-03-09 株式会社エヌ・ティ・ティ・ドコモ Mobile terminal and communication control method
JP5239879B2 (en) * 2009-01-08 2013-07-17 株式会社ナカヨ通信機 Communication terminal, main apparatus, and parent-child telephone system construction method

Also Published As

Publication number Publication date
JP2013243746A (en) 2013-12-05

Similar Documents

Publication Publication Date Title
JP5325192B2 (en) COMMUNICATION DEVICE AND COMMUNICATION DEVICE OPERATION CONTROL METHOD
US10187823B2 (en) Communication device, control method of communication device, and program
JP6368989B2 (en) Communication device
JP5857850B2 (en) Communication device
JP5716586B2 (en) Wireless network system, control method therefor, and wireless network relay device
JP4977221B2 (en) Wireless LAN system, wireless LAN device and program thereof
JP4944564B2 (en) COMMUNICATION PARAMETER SETTING METHOD, COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2015180043A (en) Communication device, control method therefor and program
JP5784572B2 (en) Wireless communication system and control method
JP5150674B2 (en) Wireless LAN system, wireless LAN device, setting information setting method and program thereof
JP5737030B2 (en) Wireless network system, control method therefor, and wireless network relay device
JP2012023601A (en) Radio communication device, radio communication system, method of selecting radio communication route
US20150133131A1 (en) Accessing Mobile Communication Resources
JP5053400B2 (en) Wireless LAN device, protocol execution method and program thereof
JP4977271B2 (en) Wireless LAN system, wireless LAN device and program thereof
JP2012100171A (en) Communication device, its control method and program
JP5644907B2 (en) Communication device
WO2019192269A1 (en) Access method and device
JP2013207313A (en) Mobile wireless lan router
JP6183445B2 (en) Communication device
TWI575975B (en) Information processing device, communication management method, and program
US20160308600A1 (en) Base station apparatus, terminal apparatus, and wireless access system
JP5990148B2 (en) Base station apparatus, communication system, communication control method, and communication control program
JP6601463B2 (en) Communication device
JP5129884B2 (en) Wireless LAN system, wireless LAN device and program thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140311

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140415

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141007

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141020

R150 Certificate of patent or registration of utility model

Ref document number: 5644907

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250