JP2006005844A - Communication apparatus and communication method - Google Patents
Communication apparatus and communication method Download PDFInfo
- Publication number
- JP2006005844A JP2006005844A JP2004182449A JP2004182449A JP2006005844A JP 2006005844 A JP2006005844 A JP 2006005844A JP 2004182449 A JP2004182449 A JP 2004182449A JP 2004182449 A JP2004182449 A JP 2004182449A JP 2006005844 A JP2006005844 A JP 2006005844A
- Authority
- JP
- Japan
- Prior art keywords
- role
- managed
- communication
- management
- communication network
- 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.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本発明は、通信装置及び通信方法に関する。 The present invention relates to a communication device and a communication method.
従来のマスタースレーブ方式の無線通信装置によって形成される無線通信ネットワークは、1台のマスター通信機と、1台以上のスレーブ通信機とを備える。このとき、スレーブ通信機は、同じ無線通信ネットワークにおいて、2台目のマスター通信機として動作しないという特性を有する。また、無線通信ネットワークに新規に参入する無線通信機は、マスター通信機に許可されなけばならない。 A wireless communication network formed by a conventional master-slave wireless communication device includes one master communication device and one or more slave communication devices. At this time, the slave communication device has a characteristic that it does not operate as a second master communication device in the same wireless communication network. In addition, a wireless communication device newly entering the wireless communication network must be permitted by the master communication device.
また、どの通信機がマスター通信機になるかは、バッテリ残量、CPU能力、メモリリソース、電界強度値等のパラメータを利用して決定している。(例えば、参考文献1参照)。
しかしながら、バッテリ残量、CPU能力、メモリリソース、電界強度値などでマスタ通信機を決定する場合、必ずしも適切な通信機がマスター通信機になるとは限らない。 However, when determining the master communication device based on the remaining battery capacity, CPU capability, memory resource, electric field strength value, etc., an appropriate communication device is not necessarily the master communication device.
例えば、1台のプリンタを複数のデジタルカメラで共有して利用する場合には、プリンタがマスター通信機となり、複数のデジタルカメラがスレーブ通信機として無線ネットワークを形成すると、各デジタルカメラがプリンタと通信することができる。この状態から幾つかのデジタルカメラの電源がオフされ、1台のプリンタと1台のデジタルカメラとになり、そのデジタルカメラがプリンタを占有したい場合、プリンタがマスター通信機のままであると、新規デジタルカメラのネットワーク参入をマスター通信機であるプリンタが許可してしまうと、プリンタを占有することができなくなってしまう。 For example, when one printer is shared by a plurality of digital cameras and used as a master communication device, and a plurality of digital cameras form slave communication devices to form a wireless network, each digital camera communicates with the printer. can do. If some digital cameras are turned off from this state, they become one printer and one digital camera, and the digital camera wants to occupy the printer. If the printer that is the master communication device permits the digital camera to enter the network, the printer cannot be occupied.
また、プリンタとデジタルカメラが夫々1台の場合に常にデジタルカメラがマスター通信機になるようにしてしまうと、プリンタを占有する必要が無い場合にも、デジタルカメラが新規参入してくる度にオペレータが新規参入の許可、不許可の判断、操作を行わなければならず、使い勝手がよくない。 In addition, if there is one printer and one digital camera each time, if the digital camera is always the master communication device, even when there is no need to occupy the printer, every time a new digital camera enters the operator However, it is necessary to perform new entry permission / denial / judgment and operation.
本発明は、上記問題を鑑み、無線通信ネットワークの形成を最適化することができる通信装置及び通信方法を提供することを目的とする。 In view of the above problems, an object of the present invention is to provide a communication device and a communication method that can optimize the formation of a wireless communication network.
上記の目的を達成するために、本発明の通信装置は、通信ネットワークにおける通信を管理する管理装置、及び当該管理装置の管理下で通信を行う被管理装置のいずれの役割にも切換え可能な通信装置において、前記通信ネットワーク内での自装置の役割情報と自装置の管理下又は管理元の装置に関する装置情報とを互いに関連付けて記憶する記憶手段と、前記記憶された役割情報及び装置情報に応じて前記役割を決定する決定手段とを備えることを特徴とする。 In order to achieve the above object, the communication device of the present invention is a communication that can be switched to any role of a management device that manages communication in a communication network and a managed device that performs communication under the management of the management device. In the device, according to the stored role information and device information, storage means for storing the role information of the device in the communication network and device information related to the device managed or managed by the device in association with each other, and the stored role information and device information And determining means for determining the role.
また、本発明の通信方法は、通信装置の通信方法において、前記通信ネットワーク内での自装置の役割情報と自装置の管理下又は管理元の装置に関する装置情報とに応じて、通信ネットワーク内での管理装置及び被管理装置としての役割を決定し、管理装置及び被管理装置との間で前記役割を交代することを特徴とする。 Further, the communication method of the present invention is the communication method of the communication device, in the communication network according to the role information of the own device in the communication network and the device information related to the device managed or managed by the own device. The roles of the management device and the managed device are determined, and the roles are switched between the management device and the managed device.
本発明によれば、好適な通信ネットワークを決定することができる。 According to the present invention, a suitable communication network can be determined.
以下、本発明の実施の形態を図面を参照しながら詳述する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施の形態に係る無線通信装置を含む無線ネットワークを説明するのに用いられる図である。 FIG. 1 is a diagram used to describe a wireless network including a wireless communication apparatus according to an embodiment of the present invention.
図1の無線通信ネットワークは、プリンタ1(親機、マスター通信機)と、デジタルカメラ2,3(子機、スレーブ通信機)とを備える(図2)。プリンタ1は、デジタルカメラ2,3と夫々無線通信する無線通信装置としての機能を有すると共に、デジタルカメラ2,3は夫々プリンタ1と無線通信する無線通信装置としての機能を有する。
The wireless communication network of FIG. 1 includes a printer 1 (master device, master communication device) and
プリンタ1、デジタルカメラ2,3の各々は、無線通信ネットワークを部分的に形成すると共に、無線通信ネットワーク形成のネゴシエーションに応じて無線通信ネットワークにおける通信の管理元である親機、及び当該親機の管理下で無線通信ネットワークにおける通信を行う子機のいずれの役割にも切換え可能である。
Each of the
また、プリンタ1、デジタルカメラ2,3の各々は、後述する図3の役割・装置情報を格納する格納部(不図示)と、無線通信ネットワーク内での自装置の役割と自装置の管理下又は管理元の装置に関する装置情報とを互いに関連付けて記憶する記憶手段(不図示)と、この記憶された役割情報及び装置情報に応じて無線通信ネットワーク形成のネゴシエーションに関する制御を行う制御手段(不図示)とを備える。
Each of the
以下、本発明の実施の形態を、図2に示すように、プリンタ1が親機、デジタルカメラ2,3が子機である場合を例にとって説明する。
In the following, an embodiment of the present invention will be described with reference to an example in which the
プリンタ1とデジタルカメラ1,2とは、夫々親機及び子機として図2に示すように無線通信ネットワークを形成する。
The
図3は、図1におけるプリンタ1の記憶部に記憶された役割・装置情報を説明するのに用いられる図である。
FIG. 3 is a diagram used for explaining the role / device information stored in the storage unit of the
図3において、プリンタ1は、無線ネットワークの形成を適切に行うために、無線ネットワークが形成される(変化する)度に当該無線ネットワークに関して自装置の役割情報を記憶部に記憶する。この記憶部は、自身が親機の場合には、関連装置として子機の装置情報(アドレス、種類、使用プロトコル、ペアリングしているか否か、占有モードか否か等)を予め記憶している。装置情報の内容は後述の判定条件(図5)との関連で必要あるものだけでもよい。
In FIG. 3, in order to appropriately form a wireless network, the
図4は、図1におけるプリンタ1の制御手段によって実行される役割・装置情報の更新処理のフローチャートである。
FIG. 4 is a flowchart of role / device information update processing executed by the control means of the
図4において、他装置が発行した接続・切断要求や役割変更要求等を受容し、これらの要求を受理又は不受理としてネゴシエーションが完了して、無線通信ネットワークの変更通知がなされると(ステップS10)、無線通信ネットワークが新規か否かを判別し(ステップS11)、新規であるときは、役割・装置情報を作成した(ステップS12)後、役割・装置情報更新通知を発行して(ステップS13)(監視手段)、本処理を終了する。無線通信ネットワークが新規でないときは、役割・装置情報を更新した(ステップS14)後、役割・装置情報更新通知を発行して(ステップS13)(監視手段)、本処理を終了する。 In FIG. 4, when a connection / disconnection request or a role change request issued by another device is accepted, the negotiation is completed by accepting or rejecting these requests, and a change notification of the wireless communication network is made (step S10). ), It is determined whether or not the wireless communication network is new (step S11). If it is new, role / device information is created (step S12), and then a role / device information update notification is issued (step S13). ) (Monitoring means), this process is terminated. If the wireless communication network is not new, the role / device information is updated (step S14), then a role / device information update notification is issued (step S13) (monitoring means), and the process is terminated.
図4の処理によれば、無線通信ネットワークの変更がなされる毎に(ステップS10でYES)、役割・装置情報が更新して(ステップS12,S14)、役割・装置情報の更新状態を監視する(監視手段)。 According to the process of FIG. 4, each time the wireless communication network is changed (YES in step S10), the role / device information is updated (steps S12, S14), and the updated state of the role / device information is monitored. (Monitoring means).
図5は、図1におけるプリンタ1によって実行される無線ネットワーク形成ネゴシエーション処理のフローチャートである。
FIG. 5 is a flowchart of the wireless network formation negotiation process executed by the
図5において、図4のステップS13で役割・装置情報更新通知が発行されると(ステップS20でYES)、以下のいずれかの判定条件に適合するか否かを判別して(ステップS21)、満たすときは、無線通信ネットワークにおける自装置の役割を変更する旨の役割変更要求を同じ無線通信ネットワークの関連装置に対して発行し(ステップS22)、親機と子機の役割を交代するネゴシエーションを関連装置を行って、本処理を終了する。 5, when a role / device information update notification is issued in step S13 of FIG. 4 (YES in step S20), it is determined whether or not any of the following determination conditions is met (step S21). When satisfied, a role change request for changing the role of the own device in the wireless communication network is issued to the related device in the same wireless communication network (step S22), and a negotiation for changing the roles of the parent device and the child device is performed. The related apparatus is executed and this processing is terminated.
ここで、所定の判定条件と、発行する役割変更要求とは、
(1)自装置が親機であり、且つ関連装置(子機)が1台のみであり、且つペアリングされている場合は、自装置が子機となり、関連装置に親機を交代してもらう役割変更要求を発行する。
(2)自装置が親機であり、且つ関連装置(子機)が1台のみであり、且つ関連装置が占有モードである場合は、自装置が子機となり、関連装置に親機を交代してもらう役割変更要求を発行する。
(3)自装置が子機であり、且つ関連装置が親機1台のみであり、且つその親機とはペアリングされておらず、占有モードでもない場合は、自装置が親機となり、関連装置に子機になってもらう役割変更要求を発行する。
(4)自装置が親機であり、且つ関連装置(子機)が1台のみであり、且つ自装置と複数接続不可の機器種別の場合、自装置が子機となり、関連装置に親機になってもらう役割変更要求を発行する。
(5)自装置が親機であり、且つ関連装置(子機)が1台のみであり、且つ自装置と複数接続不可のプロトコルで接続している場合は、自装置は関連装置に対して自装置を子機とし関連装置に親機となる役割変更要求を発行する。
(6)自装置が子機であり、且つ関連装置(親機)が自装置と複数接続可能な器種別である場合は、自装置が親機となり、関連装置に子機になってもらう役割変更要求を発行する。
(7)自装置が子機であり、且つ関連装置(親機)が自装置と複数接続可能なプロトコルで接続している場合は、自装置は関連装置に対して自装置を親機として関連装置に子機となるよう役割変更要求を発行する。
Here, the predetermined judgment condition and the role change request to be issued are
(1) When the own device is the parent device and there is only one related device (slave device) and paired, the own device becomes the child device, and the parent device is replaced with the related device. Issue a role change request.
(2) When the own device is the parent device and there is only one related device (slave device) and the related device is in the exclusive mode, the own device becomes the child device and the parent device is replaced with the related device. Issue a role change request.
(3) If the own device is a child device and the related device is only one parent device and is not paired with the parent device and is not in the exclusive mode, the own device becomes the parent device, A role change request is issued for the related device to become a slave unit.
(4) When the own device is a parent device, and there is only one related device (child device) and a plurality of device types that cannot be connected to the own device, the own device becomes a child device, and the related device has a parent device. A role change request is issued.
(5) When the own device is a parent device, and there is only one related device (child device) and the device is connected to the own device using a protocol that cannot be connected to the own device, the own device A role change request is issued to the related device as a parent device with the own device as a child device.
(6) When the own device is a child device and the related device (parent device) is of a type that can be connected to the own device, the own device becomes the parent device and the related device has a role of becoming a child device. Issue a change request.
(7) When the own device is a slave unit and the related device (parent device) is connected to the own device using a protocol that allows multiple connections, the own device is related to the related device as the parent device A role change request is issued so that the device becomes a slave unit.
これらの条件は用途に応じて適宜、無線通信装置に組み込んでよい。 These conditions may be incorporated into the wireless communication apparatus as appropriate according to the application.
例として、判定条件に上記(1)を組み込んだプリンタ1は、無線通信ネットワークが図3のように形成された状態で、子機1の切断がなされると、プリンタ1は子機となり子機2は親機となるよう無線ネットワークを再形成する。その後、さらに別の装置がプリンタ1に接続しようとしても接続することができない。
For example, in the
図5の処理によれば、更新された役割・装置情報が適合する判定条件に応じて(ステップS21)、自装置の役割を変更する旨の役割変更要求を同じ無線通信ネットワークの関連装置に対して発行うことにより無線通信ネットワーク形成のネゴシエーションに関する制御を行って(ステップS23)、通信時のユーザの操作数を低減すると共に、無線通信ネットワークを好適に形成することができる。 According to the process of FIG. 5, a role change request for changing the role of the own device is issued to the related device of the same wireless communication network in accordance with the determination condition that the updated role / device information matches (step S21). In this way, control related to negotiation for forming a wireless communication network is performed (step S23), and the number of user operations during communication can be reduced, and a wireless communication network can be suitably formed.
1 プリンタ
2,3 デジタルカメラ
1
Claims (12)
前記通信ネットワーク内での自装置の役割情報と自装置の管理下又は管理元の装置に関する装置情報とを互いに関連付けて記憶する記憶手段と、
前記記憶された役割情報及び装置情報に応じて前記役割を決定する決定手段とを備えることを特徴とする通信装置。 In a communication device that can be switched to any role of a management device that manages communication in a communication network and a managed device that performs communication under the management of the management device,
Storage means for storing the role information of the own device in the communication network and the device information related to or managed by the own device in association with each other;
A communication device comprising: determining means for determining the role in accordance with the stored role information and device information.
前記更新された役割情報及び装置情報が所定の判定条件に適合するか否かを判別する
判別手段とを備え、
前記決定手段は、前記更新された役割情報及び装置情報が適合する判定条件に応じて、前記決定手段は前記役割を決定することを特徴とする請求項1記載の通信装置。 Monitoring means for monitoring the update status of the role information and device information;
Determining means for determining whether or not the updated role information and device information meet a predetermined determination condition;
The communication device according to claim 1, wherein the determining unit determines the role according to a determination condition in which the updated role information and device information match.
前記通信ネットワーク内での自装置の役割情報と自装置の管理下又は管理元の装置に関する装置情報とに応じて、通信ネットワーク内での管理装置及び被管理装置としての役割を決定し、管理装置及び被管理装置との間で前記役割を交代することを特徴とする通信方法。 In the communication method of the communication device,
The management apparatus determines a role as a management apparatus and a managed apparatus in the communication network according to the role information of the own apparatus in the communication network and the apparatus information related to the management apparatus or the management source apparatus of the own apparatus. And a communication method, wherein the role is changed with a managed device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004182449A JP4440009B2 (en) | 2004-06-21 | 2004-06-21 | Communication apparatus and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004182449A JP4440009B2 (en) | 2004-06-21 | 2004-06-21 | Communication apparatus and communication method |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2006005844A true JP2006005844A (en) | 2006-01-05 |
JP2006005844A5 JP2006005844A5 (en) | 2007-08-02 |
JP4440009B2 JP4440009B2 (en) | 2010-03-24 |
Family
ID=35773821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004182449A Expired - Lifetime JP4440009B2 (en) | 2004-06-21 | 2004-06-21 | Communication apparatus and communication method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4440009B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007094512A1 (en) * | 2006-02-17 | 2007-08-23 | Canon Kabushiki Kaisha | Communication apparatus and communication layer role deciding method |
WO2010131424A1 (en) * | 2009-05-15 | 2010-11-18 | Canon Kabushiki Kaisha | Communication device, control method of communication device, and program |
-
2004
- 2004-06-21 JP JP2004182449A patent/JP4440009B2/en not_active Expired - Lifetime
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007094512A1 (en) * | 2006-02-17 | 2007-08-23 | Canon Kabushiki Kaisha | Communication apparatus and communication layer role deciding method |
US8248961B2 (en) | 2006-02-17 | 2012-08-21 | Canon Kabushiki Kaisha | Communication apparatus and communication layer role deciding method |
USRE47843E1 (en) | 2006-02-17 | 2020-02-04 | Canon Kabushiki Kaisha | Communication apparatus and communication layer role deciding method |
WO2010131424A1 (en) * | 2009-05-15 | 2010-11-18 | Canon Kabushiki Kaisha | Communication device, control method of communication device, and program |
JP2010268300A (en) * | 2009-05-15 | 2010-11-25 | Canon Inc | Communication equipment, control method of communication equipment, and program |
US8798020B2 (en) | 2009-05-15 | 2014-08-05 | Canon Kabushiki Kaisha | Communication device, control method of communication device, and program |
EP3419379A1 (en) | 2009-05-15 | 2018-12-26 | C/o Canon Kabushiki Kaisha | Communication device, control method of communication device and program |
EP4096346A1 (en) | 2009-05-15 | 2022-11-30 | Canon Kabushiki Kaisha | Communication device, control method of communication device, and program |
Also Published As
Publication number | Publication date |
---|---|
JP4440009B2 (en) | 2010-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2448366B1 (en) | Method for determining a group owner in a wireless network | |
EP2641417B1 (en) | Conflict handling in self-organizing networks | |
JP5673436B2 (en) | Wireless communication device | |
CN110691014A (en) | Selection of coordinator device for automation environment | |
EP3554109B1 (en) | Method for establishing communication, and terminal | |
CN110830968A (en) | Networking method and device, Bluetooth equipment and computer readable medium | |
KR101462739B1 (en) | Host/peripheral local interconnect that is compatible with self-configurable peripheral device | |
JP4840352B2 (en) | Device management apparatus and program | |
KR102514692B1 (en) | Electronic device suporting multiple wireless communication protocols and method therefor | |
JP2017534979A (en) | Software upgrade method and device | |
CN110011840A (en) | Condition processing method, device and the controller of controller | |
EP3515047B1 (en) | Communication apparatus, image capturing apparatus, control method, and program | |
CN113746821A (en) | Intelligent device control method and device, storage medium and electronic device | |
JP5947254B2 (en) | Wireless LAN device, program for wireless LAN device, and control method for wireless LAN device | |
CN106411574B (en) | Management control method and device | |
JP5327896B2 (en) | Wireless LAN access point and wireless terminal connection maintaining method | |
JP4440009B2 (en) | Communication apparatus and communication method | |
EP2180637B1 (en) | Main electronic device for communicating within a network and method for operating a main electronic device for communicating within the network | |
KR20180067649A (en) | Method and apparatus for maintaining continuity of an on-going session over a wired or wireless interface | |
JP6364866B2 (en) | Terminal device, communication control system, and communication control method | |
EP2950606B1 (en) | Communication device, method for controlling communication device, and program | |
JP6702916B2 (en) | Communication device, external device, communication device control method, external device control method, and program | |
US10334521B2 (en) | Information processing device that controls wireless network function to reduce power consumption, and recording medium therefor | |
CN110719205B (en) | Access switch, online recovery method, system and computer storage medium | |
JP6354348B2 (en) | Wireless communication apparatus, wireless communication apparatus connection method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20060419 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070620 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070620 |
|
RD05 | Notification of revocation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7425 Effective date: 20070626 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090918 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091006 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091201 |
|
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: 20100105 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100106 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130115 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4440009 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140115 Year of fee payment: 4 |