JP2015097300A - Radio relay device, radio transmission device, radio system, and program - Google Patents
Radio relay device, radio transmission device, radio system, and program Download PDFInfo
- Publication number
- JP2015097300A JP2015097300A JP2012047205A JP2012047205A JP2015097300A JP 2015097300 A JP2015097300 A JP 2015097300A JP 2012047205 A JP2012047205 A JP 2012047205A JP 2012047205 A JP2012047205 A JP 2012047205A JP 2015097300 A JP2015097300 A JP 2015097300A
- Authority
- JP
- Japan
- Prior art keywords
- wireless
- signal
- packet
- radio signal
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B17/00—Details of cameras or camera bodies; Accessories therefor
- G03B17/38—Releasing-devices separate from shutter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
- H04N23/661—Transmitting camera control signals through networks, e.g. control via the Internet
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B15/00—Special procedures for taking photographs; Apparatus therefor
- G03B15/02—Illuminating scene
- G03B15/03—Combinations of cameras with lighting apparatus; Flash units
- G03B15/05—Combinations of cameras with electronic flash apparatus; Electronic flash units
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B2206/00—Systems for exchange of information between different pieces of apparatus, e.g. for exchanging trimming information, for photo finishing
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B2215/00—Special procedures for taking photographs; Apparatus therefor
- G03B2215/05—Combinations of cameras with electronic flash units
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、無線中継装置、無線送信装置、無線システムおよびプログラムに関する。 The present invention relates to a wireless relay device, a wireless transmission device, a wireless system, and a program.
無線通信を介して接続される装置間で処理の同期をとることができるカメラおよび外部装置が知られている(例えば、特許文献1参照)。
[先行技術文献]
[特許文献]
[特許文献1]特開2008−32909号公報
A camera and an external device that can synchronize processing between devices connected via wireless communication are known (see, for example, Patent Document 1).
[Prior art documents]
[Patent Literature]
[Patent Document 1] Japanese Patent Application Laid-Open No. 2008-32909
複数の無線中継装置で無線信号を中継するシステムにおいて、無線中継装置が無線信号を単に中継するだけである場合、無線信号を発した送信装置から受信装置までの間に極めて多数の通信経路が形成される場合がある。また、複数の無線中継装置の間で無線信号の送受信が無限に繰り返されてしてしまう場合がある。 In a system that relays a radio signal with a plurality of radio relay apparatuses, when the radio relay apparatus simply relays a radio signal, a very large number of communication paths are formed between the transmitting apparatus that has transmitted the radio signal and the receiving apparatus. May be. Moreover, transmission / reception of a radio signal may be repeated infinitely between a plurality of radio relay apparatuses.
本発明の第1の態様においては、ノード間の通信方式に従って無線信号を中継する無線中継装置であって、許容される転送回数を示す回数情報を含む無線信号を受信する受信部と、無線信号を転送すべきか否かを回数情報に基づいて判断し、無線信号を転送すべきと判断したことを条件として、転送回数を減少させて無線信号を転送する転送部と、を備える。 In the first aspect of the present invention, a wireless relay device that relays a wireless signal according to a communication method between nodes, a receiving unit that receives a wireless signal including number information indicating an allowable number of transfers, and a wireless signal And a transfer unit that reduces the number of transfers and transfers the radio signal on the condition that it is determined based on the frequency information and that it is determined that the radio signal should be transferred.
本発明の第2の態様においては、無線信号を中継する無線中継装置であって、無線信号を受信する受信部と、既に中継した無線信号を識別する識別情報を記憶する中継情報記憶部と、受信部が新たに受信した無線信号を識別する識別情報が中継情報記憶部に記憶されていない場合に、当該新たに受信した無線信号を転送する転送部と、中継情報記憶部に記憶された識別情報のうち、受信してから予め定められた期間が経過した無線信号の識別情報を消去する制御部と、を備える。 In the second aspect of the present invention, a wireless relay device that relays a radio signal, a reception unit that receives the radio signal, a relay information storage unit that stores identification information for identifying the radio signal that has already been relayed, When the identification information for identifying the radio signal newly received by the receiving unit is not stored in the relay information storage unit, the transfer unit for transferring the newly received radio signal and the identification stored in the relay information storage unit A control unit that erases the identification information of the radio signal that has passed a predetermined period of time since reception.
本発明の第3の態様においては、無線送信装置は、無線信号で送信するデータの種類に応じて、無線信号の転送が許容される転送回数を設定する転送回数設定部と、転送回数を示す情報およびデータを含む信号を生成する信号生成部と、信号生成部が生成した信号を無線信号で送信する送信部と、を備える。 In the third aspect of the present invention, the wireless transmission device indicates the number of transfers, and a transfer number setting unit that sets the number of transfers in which wireless signal transfer is allowed according to the type of data transmitted by the wireless signal. A signal generation unit that generates a signal including information and data, and a transmission unit that transmits the signal generated by the signal generation unit using a radio signal.
本発明の第4の態様においては、無線システムは、上記無線送信装置と、上記無線中継装置と、を備える。 In a fourth aspect of the present invention, a wireless system includes the wireless transmission device and the wireless relay device.
本発明の第5の態様においては、ノード間の通信方式に従って無線信号を中継する無線中継装置用を制御するためのプログラムであって、許容される転送回数を示す回数情報を含む無線信号を受信するステップと、無線信号を転送すべきか否かを回数情報に基づいて判断し、無線信号を転送すべきと判断したことを条件として、転送回数を減少させて無線信号を転送するステップと、をコンピュータに実行させる。 According to a fifth aspect of the present invention, there is provided a program for controlling a wireless relay device that relays a wireless signal according to a communication method between nodes, and receiving a wireless signal including frequency information indicating an allowable number of transfers Determining whether to transfer the radio signal based on the number of times information, and transferring the radio signal by reducing the number of transfers on the condition that it is determined that the radio signal should be transferred. Let the computer run.
本発明の第6の態様においては、無線信号を中継する無線中継装置を制御するためのプログラムであって、無線信号を受信するステップと、既に中継した無線信号を識別する識別情報を中継情報記憶部に記憶するステップと、新たに受信した無線信号を識別する識別情報が中継情報記憶部に記憶されていない場合に、当該新たに受信した無線信号を転送するステップと、中継情報記憶部に記憶された識別情報のうち、受信してから予め定められた期間が経過した無線信号の識別情報を消去するステップと、をコンピュータに実行させる。 According to a sixth aspect of the present invention, there is provided a program for controlling a radio relay apparatus that relays a radio signal, the step of receiving the radio signal, and identification information for identifying the radio signal that has already been relayed. Storing the newly received radio signal when the identification information for identifying the newly received radio signal is not stored in the relay information storage unit, and storing in the relay information storage unit A step of erasing the identification information of the radio signal for which a predetermined period has elapsed since the reception of the received identification information.
本発明の第7の態様においては、無線信号で送信するデータの種類に応じて、無線信号の転送が許容される転送回数を設定するステップと、転送回数を示す情報およびデータを含む信号を生成するステップと、生成した信号を無線信号で送信するステップと、をコンピュータに実行させる。 In the seventh aspect of the present invention, the step of setting the number of transfers allowed for wireless signal transfer according to the type of data transmitted by the radio signal, and the generation of a signal including information and data indicating the number of transfers And causing the computer to execute a step of transmitting the generated signal as a radio signal.
なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。 It should be noted that the above summary of the invention does not enumerate all the necessary features of the present invention. In addition, a sub-combination of these feature groups can also be an invention.
以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。 Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. In addition, not all the combinations of features described in the embodiments are essential for the solving means of the invention.
図1は、一実施形態にかかるカメラシステム5の利用環境の一例を示す。無線システムの一例としてのカメラシステム5は、カメラ10a、カメラ10b、無線リモコン30、無線中継装置40a〜cを備える。カメラ10aは発光装置20aを有する。また、カメラ10bは発光装置20bを有する。発光装置20aおよび発光装置20bは、閃光装置であり、短時間に被写体を照明する。本実施形態の説明において、カメラ10aおよびカメラ10bをカメラ10と総称する場合がある。また、発光装置20aおよび発光装置20を発光装置20と総称する場合がある。
FIG. 1 shows an example of a use environment of a
無線リモコン30、無線中継装置40、カメラ10の各機器は、ノード間の通信方式に従って無線通信を行う。特に、無線中継装置40は、ネットワークトポロジを考慮することなく無線通信を行う。具体的には、無線中継装置40は、無線信号を受信した場合に、宛先を考慮することなく、対応する無線信号を送出する。無線中継装置40は、無線信号の宛先の通信経路上の位置を認識することはなく、また、宛先に対応する特定の通信経路を認識して無線信号を送出するようなことはない。
The
カメラシステム5では、例えば2.4GHz帯の無線周波数帯を使用して無線通信を行う。例えば、無線リモコン30は、無線通信によりカメラ10を制御してリモート撮像を実行させる。具体的には、無線リモコン30は、カメラ10に対する撮像指示を無線信号で送信する。また、無線リモコン30は、発光装置20に閃光を発光する指示を無線信号で送信する。無線中継装置40は、無線信号を中継する。このように、無線信号は、カメラ10を遠隔で制御する無線リモコン30から送信され、無線信号は、カメラ10を制御する制御内容を示すデータを含む。
In the
ここで、2.4GHz帯で10mW/MHzの出力で無線通信を行う場合、ノード間の無線信号の最大の到達距離は実用的には100mから150m程度となる。しかし、カメラシステム5によれば、無線中継装置40が無線信号を中継することで、無線リモコン30が通信できる距離を実質的に延ばすことができる。また、無線リモコン30からカメラ10までの間に複数の通信経路を提供することで、通信の信頼性、安全性を高めることができる。したがって、例えばスタジアムやサッカー場等のように混雑した通信環境下においても、カメラ10を制御してリモート撮像を行うことが可能になる。
Here, when wireless communication is performed at an output of 10 mW / MHz in the 2.4 GHz band, the maximum reachable distance of wireless signals between nodes is practically about 100 m to 150 m. However, according to the
図2は、無線信号で伝送されるパケットのデータフォーマットの一例を示す。パケットは、プリアンブル、SYNC、データ長、送信先ID、送信元ID、パケット番号、許容転送回数、コマンド、CHECKのデータフィールドを順に有する。プリアンブル、SYNC、データ長、送信先ID、送信元ID、パケット番号および許容転送回数は、パケットのヘッダ部を形成する。 FIG. 2 shows an example of a data format of a packet transmitted by a radio signal. The packet has a preamble, a SYNC, a data length, a transmission destination ID, a transmission source ID, a packet number, an allowable transfer count, a command, and a CHECK data field in this order. The preamble, SYNC, data length, transmission destination ID, transmission source ID, packet number, and allowable transfer count form a packet header.
プリアンブルのデータは、無線通信の受信側でのキャリアの検出やAGC(Auto Gain Control)、位相基準の検出のために用いられる。プリアンブルを検出すると、後続する信号を受信することが可能になる。SYNCのデータは、例えば同期語、SFD(Start Frame Delimiter)等に対応し、パケットの開始を検出するためのビットパターンである。例えば、SYNCデータは、1バイトまたは2バイトのデータである。通信方式によってSYNCデータの標準値が定められており、SYNCデータを受信する期間にデコードした信号が、定められたSYNCデータの標準値と一致した場合に、後続する信号を有効とする。本判定は、無線モジュールのハードウェアロジックで自動的に行われる。SYNCデータの受信が成功した場合、データ処理を行う後段に信号が出力される。 The preamble data is used for carrier detection, AGC (Auto Gain Control), and phase reference detection on the receiving side of wireless communication. When the preamble is detected, subsequent signals can be received. The SYNC data corresponds to, for example, a synchronization word, SFD (Start Frame Delimiter), etc., and is a bit pattern for detecting the start of a packet. For example, the SYNC data is 1-byte or 2-byte data. The standard value of the SYNC data is determined by the communication method, and when the signal decoded in the period of receiving the SYNC data matches the standard value of the determined SYNC data, the subsequent signal is validated. This determination is automatically performed by the hardware logic of the wireless module. If the reception of SYNC data is successful, a signal is output to the subsequent stage for data processing.
データ長は、以後に何バイトのデータが送信されるかを示す。本例においては、データ長は、送信先ID以後に何バイトのデータが続くかを示す。 The data length indicates how many bytes of data will be transmitted thereafter. In this example, the data length indicates how many bytes of data follow the transmission destination ID.
送信先IDは、パケットの送信先を示し、カメラシステム5においては無線リモコン30、カメラ10を識別する情報である。例えば、送信先IDには、無線リモコン30、カメラ10に予め割り当てられた機器IDが格納されてよい。送信元IDは、パケットの送信先を示し、無線リモコン30、カメラ10を識別する情報である。例えば、送信元IDには、送信先IDと同様、無線リモコン30、カメラ10に予め割り当てられた機器IDが格納されてよい。機器IDは、カメラ10、無線リモコン30の製造時に割り当てられてよい。機器IDは、各機器が有するROM等に書き込まれてよい。パケット番号は、パケットを識別する情報である。例えば、無線リモコン30がパケットを送信する度にインクリメントした数値が、パケット番号に格納されてよい。
The transmission destination ID indicates the transmission destination of the packet, and is information for identifying the wireless
許容転送回数は、転送されることが許容される回数を示す転送回数を示す。許容転送回数の初期値は、無線リモコン30によって設定される。そして、パケットが無線中継装置40を経由して転送される度に許容転送回数はデクリメントされる。無線中継装置40は、受信したパケットの許容転送回数が1以上である場合に当該パケットを転送し、受信したパケットの許容転送回数が0である場合には当該パケットを転送しない。無線リモコン30は、受信したパケットの許容転送回数が0以上である場合、当該パケットに基づく制御を行う。例えば、後述するコマンドで示される制御を行う。
The allowable transfer count indicates the transfer count indicating the number of times allowed to be transferred. The initial value of the allowable transfer count is set by the wireless
パケットに許容転送回数を含めることで、パケットが無限に中継されることを未然に防ぐことができる。なお、許容転送回数は、カメラ10を制御するための全てのパケットに含めてよい。この場合、パケットの先頭に近い位置に許容転送回数を位置させることが好ましい。
By including the allowable number of transfers in the packet, it is possible to prevent the packet from being relayed indefinitely. Note that the allowable transfer count may be included in all packets for controlling the
SYNCが検出され、データ長が読み取られると、データ長で示されたデータ数をデコードして、1パケットのデータ受信が完了する。パケットを受信している最中に例えば電波障害等で正常に受信できなくなる場合もあるが、一旦SYNCを検出した後はデータ長で示されるデータ数を必ずデコードする。したがって、デコードしたデータに異常が発生する可能性がある。 When SYNC is detected and the data length is read, the number of data indicated by the data length is decoded, and reception of one packet of data is completed. While receiving a packet, it may not be normally received due to, for example, radio wave interference. However, after detecting SYNC, the number of data indicated by the data length is always decoded. Therefore, an abnormality may occur in the decoded data.
CHEKフィールドには、デコードしたデータのエラーを検出するためのチェックデータが格納される。チェックデータはパケットの最後に付加される。チェックデータは、例えばCRC等による誤り検出データ生成アルゴリズムで作成され、例えば2バイトの長さを持つ。本例ではチェックデータを含むパケット構成を例示したが、チェックデータを含まないパケット構成を採用してもよい。無線モジュールのハードウェアロジックにより、チェックデータを用いて自動的に受信データのエラーの有無が検出される。エラーが検出されなかった場合に、無線モジュールの後段に受信完了が通知され、受信データは後段の処理に供される。エラーが検出された場合には、当該パケットは破棄される。例えば、無線中継装置40においては、エラーが検出された場合には当該パケットを転送しない。また、カメラ10は、エラーが検出された場合には当該パケットに基づく制御は行わない。
The CHEK field stores check data for detecting an error in the decoded data. Check data is added to the end of the packet. The check data is created by an error detection data generation algorithm such as CRC, and has a length of 2 bytes, for example. In this example, a packet configuration including check data is illustrated, but a packet configuration not including check data may be employed. The presence or absence of an error in the received data is automatically detected using the check data by the hardware logic of the wireless module. When no error is detected, the completion of reception is notified to the subsequent stage of the wireless module, and the received data is subjected to the subsequent process. If an error is detected, the packet is discarded. For example, the wireless relay device 40 does not transfer the packet when an error is detected. In addition, when an error is detected, the
コマンドには、カメラ10を制御する制御内容を識別するデータが格納される。例えば、カメラ10に撮像を指示する撮像指示コマンドを識別するコマンドID、発光装置20に閃光を発光させる閃光指示コマンドを識別するコマンドID等、種々のコマンドを識別するコマンドIDが、コマンドとして格納される。
The command stores data for identifying the control content for controlling the
以上に説明したように、無線中継装置40は、許容転送回数が0のパケットは転送しない。一方、無線中継装置40は、パケットを転送する場合には、許容転送回数をデクリメントして送信する。このため、カメラシステム5によれば、無線中継装置40の間でパケットの送受信が無限に繰り返されてしまうことを未然に防ぐことができる。
As described above, the wireless relay device 40 does not transfer a packet whose allowable transfer count is zero. On the other hand, when transferring a packet, the wireless relay device 40 decrements and transmits the allowable transfer count. For this reason, according to the
例えば、無線中継装置40aと無線中継装置40bとの間で通信可能な場合において、無線中継装置40aが転送したパケットは、無線中継装置40bによって受信されて転送される。しかし、無線中継装置40bにより転送されたパケットを無線中継装置40aが受信した場合、無線中継装置40は同じパケットを再び受信したことになる。このため、無線中継装置40aは再び同一のパケットを転送する場合がある。また、無線中継装置40aと無線中継装置40cとの間で通信可能である場合において、無線中継装置40aが再び受信したパケットは、無線中継装置40cによって受信され転送される。しかし、無線中継装置40cから転送されたパケットを無線中継装置40aが受信して転送した場合、無線中継装置40bは、無線中継装置40cから転送されたパケットを受信することになる。このため、無線中継装置40bと無線中継装置40cとの間でも、無線中継装置40aを介してパケットの送受信が繰り返される場合がある。また、無線中継装置40bと無線中継装置40cとの間で通信可能な場合、無線中継装置40aが転送したパケットが、無線中継装置40cおよび無線中継装置40bにより中継されて、無線中継装置40aが再び受信する場合がある。したがって、パケットは、いわば複数の無線中継装置40で形成されるループを循環する場合がある。
For example, when communication is possible between the
しかし、カメラシステム5によれば、許容転送回数をパケットに含めることで、複数の無線中継装置40の間でパケットの送受信が無限に繰り返されることを未然に防ぐことができる。また、複数の無線中継装置40で形成されるループをパケットが無限に循環することを未然に防ぐことができる。このため、多数のパケットが通信経路を行き交うことを未然に防ぐことができ、無線中継装置40が単位時間あたりに処理すべきパケット数を抑制することができる。したがって、無線中継装置40は、パケット送受信の処理を高速で繰り返す必要がなく、また、無線中継装置40が不要な電波を出力し続けて通信環境を悪化させることを未然に防ぐことができる。このため、本来中継すべきパケットをきちんと転送することができる。また、許容転送回数を適度に設定することによって、通信経路の冗長性をある程度確保することができる。このため、通信の信頼性、安全性を高めることができる。
However, according to the
図3は、無線リモコン30、無線中継装置40およびカメラ10のブロック構成の一例を示す。無線リモコン30は、MPU32、メモリ34、表示部35、操作部材36および無線モジュール38を有する。無線中継装置40は、MPU42、メモリ44、表示部45、操作部材46および無線モジュール48を有する。カメラ10は、レンズ装置11、MPU12、撮像部13、メモリ14、表示部15、操作部材16、画像処理部17、無線モジュール18および発光装置20を備える。
FIG. 3 shows an example of a block configuration of the wireless
無線リモコン30の動作の概要を説明する。MPU32は、操作部材36からのユーザ操作等に基づきパケットデータをメモリ34内に生成して、無線モジュール38に供給する。
An outline of the operation of the wireless
具体的には、MPU32は、無線リモコン30に割り当てられた機器IDを、パケットデータの送信元IDとして格納する。また、MPU32は、操作部材36に対するユーザ操作から特定される制御対象としてのカメラ10の機器IDを、送信先IDとして格納する。また、MPU32は、無線信号として送信されるパケットを生成する度に内部カウンタをインクリメントして、内部カウンタの値をパケットデータのパケット番号として格納する。MPU32は、パケットとして送信する無線信号の転送を許容する許容転送回数を、パケットデータの許容転送回数として格納する。ユーザ操作から特定されるコマンドを識別するコマンドIDを、パケットデータのコマンドとして格納する。なお、MPU32は、後述するように、コマンドに応じて許容転送回数を格納してよい。
Specifically, the
無線モジュール38は、MPU32から供給されるパケットデータを変調してアンテナから外部空間に無線信号として送出する。また、無線モジュール38は、アンテナで受信した無線信号を復調して処理し、得られたパケットデータをMPU32に供給する。無線モジュール18は、上述したプリアンブル、SYNC、データ長およびCHECKの各フィールドの信号に基づく処理を、内部のハードウェアロジックで行う。MPU32は、受信したパケットデータに基づき、自身が無線信号で送信したパケットに対する無線中継装置40またはカメラ10からのACKを示すACKパケットであるか否かを判断する。MPU32は、ACKパケットであると判断した場合には、メモリ34に記憶したパケットデータを削除する。MPU32は、予め定められた時間の間にACKを受信しなかった場合に、内部カウンタをインクリメントして、メモリ34に記憶したパケットデータのパケット番号を内部カウンタの値に変更して無線モジュール38から再送する。
The
表示部35は、MPU32からの制御に従って種々の表示を行う。例えば、表示部35は、カメラ10に対して指示を送信した旨を表示する。また、表示部35は、当該指示に対応するACKをカメラ10から受信した旨を表示する。
The
無線中継装置40の動作の概要を説明する。無線モジュール48は、アンテナで受信した無線信号を復調して処理し、得られたパケットデータをMPU42に供給する。無線モジュール48は、上述したプリアンブル、SYNC、データ長およびCHECKのデータフィールドの信号に基づく処理を、内部のハードウェアロジックで行う。
An outline of the operation of the wireless relay device 40 will be described. The
MPU42は、無線モジュール48から供給されたパケットデータの許容転送回数の値が1以上である場合に、許容転送回数をデクリメントしたパケットデータを生成して、無線モジュール48に供給する。無線モジュール48は、MPU32から供給されるパケットデータを変調してアンテナから外部空間に無線信号として送出する。MPU42は、無線モジュール48から供給されたパケットデータの許容転送回数の値が0である場合には、パケットデータを無線モジュール48に供給しない。したがって、無線中継装置40は、許容転送回数が1以上である場合に受信したパケットを外部に転送し、許容転送回数が0である場合には受信したパケットを外部に転送しない。
When the value of the allowable transfer count of the packet data supplied from the
表示部45は、MPU42からの制御に従って種々の表示を行う。例えば、表示部45は、後述するカメラ10、無線リモコン30との間のペアリングを行う場合に、ペアリング用の情報を表示する。操作部材46は、ユーザからの操作を受け付ける。例えば、操作部材46は、ペアリングを開始する旨の指示をユーザ操作として取得する。
The
撮像部13の動作の概要を説明する。撮像部13は、レンズ装置11で結像した被写体光束を電気信号に変換する。撮像部13は、CMOS、CCD等の固体撮像素子により、被写体光束で撮像してよい。例えば、撮像部13は、固体撮像素子の蓄積電荷から生成されるアナログ信号の撮像信号をデジタル信号に変換する。デジタル信号としての画像データは、メモリ14に記憶される。画像処理部17は、メモリ14をワークメモリとして利用して、画像データに画像処理を施す。例えば、画像処理部17は、ホワイトバランス補正、色補間処理、ガンマ補正等の種々の画像処理を施す。また、画像処理部17は、静止画としての画像データにJPEG等の符号化を施して圧縮する。また、画像処理部17は、動画としての画像データにMPEG等の符号化を施して圧縮する。
An outline of the operation of the
表示部15は、撮像により得られた画像データに基づく画像を表示する。また、表示部15は、カメラ10の動作を設定する各種設定メニューを表示する。表示部15としては、液晶表示デバイスを例示することができる。
The
MPU12は、カメラ10の全体の制御を行う。MPU12は、上述した撮像動作に関する制御の他、無線モジュール18による通信を制御する。
The
無線モジュール18は、アンテナで受信した無線信号を復調して処理し、得られたパケットデータをMPU12に供給する。無線モジュール18は、上述したプリアンブル、SYNC、データ長およびCHECKの各フィールドの信号に基づく処理を、内部のハードウェアロジックで行う。
The
MPU12は、パケットデータのコマンドとして格納されたコマンドIDに応じてカメラ10を制御する。例えば、MPU12は、撮像指示コマンドを示すコマンドIDがコマンドとして格納されている場合に、カメラ10の各部を制御して撮像を行う。また、MPU12は、発光装置20に対する閃光を指示するコマンドIDがコマンドとして格納されている場合に、発光装置20に閃光を発光させる。また、MPU12は、発光装置20を発光させて撮像するコマンドIDがコマンドとして格納されている場合に、撮像動作を開始するとともに発光装置20を発光させる。
The
また、MPU12は、受信したパケットに対するACKパケットのパケットデータを生成して無線モジュール18から無線信号で送出させる。ACKパケットとしては、図2に例示するパケット構造に類似のパケット構造を採用してよい。例えば、コマンドデータのフィールドに替えて、ACKパケットである旨を示すフィールドを備えるパケット構造を採用してよい。なお、パケット番号のフィールドには、受信したパケットのパケット番号が格納されてよい。無線モジュール18は、MPU12から供給されるパケットデータを変調してアンテナから外部空間に無線信号として送出する。
In addition, the
表示部15は、MPU12からの制御に従って種々の表示を行う。例えば、表示部15は、無線中継装置40との間でペアリングを行う場合に、ペアリング用の情報を表示する。操作部材16は、ユーザからの操作を受け付ける。例えば、操作部材16は、ペアリングを開始する旨の指示をユーザ操作として取得する。
The
以上に説明したように、無線中継装置40は、ノード間の通信方式に従って無線信号を中継する。具体的には、無線モジュール48は、許容される転送回数を示す回数情報を含む無線信号を受信する。無線モジュール48は、当該回数情報に基づいて、無線信号を転送すべきか否かを判断し、無線信号を転送すべきと判断したことを条件として、転送回数を減少させて無線信号を転送する。
As described above, the wireless relay device 40 relays a wireless signal according to a communication method between nodes. Specifically, the
図4は、無線リモコン30がコマンド毎に格納する許容転送回数をテーブル形式で示す。無線リモコン30は、コマンドIDに対応づけて、許容転送回数を格納する。本情報は、MPU32の内部に設けられたシステムメモリに格納されてよい。無線リモコン30が起動されると、システムメモリに格納された許容転送回数のデータがメモリ34に展開されて、許容転送回数を設定する場合に参照して使用される。MPU32は、カメラ10を制御するコマンドをパケットで送信する場合に、当該コマンドを識別するコマンドIDに対応づけて格納している許容転送回数を、パケットの許容転送回数として格納したパケットデータを生成する。
FIG. 4 shows the allowable transfer count stored in the wireless
本例に示すように、発光装置20の閃光を伴う動作を指示するコマンドのコマンドIDに対応づけて、許容転送回数として0が格納される。一方、発光装置20の閃光を伴わない動作を指示するコマンドのコマンドIDには、許容転送回数として1以上の値が格納される。例えば、撮像を指示するコマンドに対応する許容転送回数として5がされ、カメラ10の撮像方向を指示するコマンドに対応する許容転送回数として8が格納される。
As shown in this example, 0 is stored as the allowable transfer count in association with the command ID of the command that instructs the operation of the
発光装置20の発光制御等のようにリアルタイム性の必要が高い制御を指示する場合、無線リモコン30は当該指示を行うパケットの許容転送回数を0に設定して送信する。この場合、無線リモコン30の近くに無線中継装置40が存在していても、無線中継装置40がパケットを転送することはない。発光制御のようにリアルタイム性の高い制御については、無線中継装置40を介して遅延したタイミングでカメラ10が行う必要がない場合が多い。むしろ、リアルタイム性が高い制御を、遅延したタイミングでカメラ10に行わせることが好ましくない場合がある。カメラシステム5においては、許容転送回数を単に0に設定するだけで無線中継装置40に特定のパケットを転送させないようにすることができ、転送禁止フラグといったような特別なデータを別に用意する必要もない。
When instructing a control requiring a high real-time property, such as the light emission control of the
また、無線リモコン30は、カメラ10の撮像方向を指示するコマンドのように、リアルタイム性が比較的に低い制御を指示するコマンドには、撮像指示のようにリアルタイム性が比較的に高い制御を指示するコマンドよりも値が大きい許容転送回数を格納する。したがって、リアルタイム性が比較的に低い制御を指示するパケットを、高い信頼性でカメラ10まで到達させることができる。
In addition, the wireless
以上に説明したように、MPU32は、無線信号で送信するデータの種類に応じて、無線信号の転送が許容される転送回数を設定する。このとき、MPU32は、転送回数設定部は、転送されることを許容しない種類のデータの転送回数として0を設定する。具体的には、撮像時に閃光を発光させる発光装置20を制御する制御内容を示すデータを、無線信号で送信する場合に、MPU32は、発光装置20に発光を指示するデータの転送回数として0を設定する。そして、MPU32は、転送回数を示す情報およびデータを含む信号を生成する。無線モジュール38は、生成された信号を無線信号で送信する。なお、操作部材36は、転送回数を指定する情報をユーザ操作より取得してもよい。MPU32は、当該転送回数を指定する情報に基づき、転送回数を設定してよい。例えば、操作部材36は、使用する無線中継装置40の数を、ユーザ操作により取得してよい。MPU32は、使用する無線中継装置40の数に予め定められた係数を乗じた値を、許容転送回数として適用してよい。また、使用する無線中継装置40の数に予め定められた数を加算した値を、許容転送回数として適用してよい。これらの場合でも、発光装置20を制御するコマンドのように、リアルタイム性が高い制御については、許容転送回数として0を設定してよい。
As described above, the
図5は、無線中継装置40が格納する処理済みデータをテーブル形式で示す。無線中継装置40は、機器IDと、パケット番号と、パケットの受信タイミングとを対応づけてメモリ44に記憶する。具体的には、無線中継装置40は、転送されたパケットを送信した機器を識別する機器IDと、当該パケットのパケット番号に格納された値と、当該パケットの受信タイミングとを対応づけて記憶する。
FIG. 5 shows the processed data stored in the wireless relay device 40 in a table format. The wireless relay device 40 stores the device ID, the packet number, and the packet reception timing in the
MPU42は、新たに受信したパケットのパケット番号に格納された値が、当該パケットの送信元IDに対応づけて処理済みデータに記憶されていないことを条件として、当該パケットを無線モジュール48に転送させる。一方、MPU42は、当該パケットの送信元IDに対応づけて処理済みデータに記憶されている場合には、当該パケットを破棄して無線モジュール48から転送しない。これにより、既に転送したパケットを再度転送することを未然に防ぐことができる。
The
なお、無線リモコン30は、パケットを送信する度にパケット番号をインクリメントする。ここでパケット番号を1バイトで表現するとすれば、パケットを256回送信する毎に、同じパケット番号のパケットが発生する。このため、同じ送信元IDとパケット番号の組み合わせは唯一のものでなく、ある程度の時間が経過する毎に同じ組み合わせが発生し得る。しかし、同じ組み合わせのパケットが発生するまでには、パケット番号が一周する程度の時間を要する。したがって、MPU42は、無線リモコン30においてパケット番号が一周することが予測される期間が経過する前に、処理済みデータから対応する情報を削除する。一例として、受信タイミングに基づいてパケットを受信してから1秒が経過したと判断された場合には、処理済みデータから対応する情報を削除する。これにより、パケット番号が一周する程度の時間が経過した後に、過去に受信したパケットとパケット番号が同じパケットを受信した場合でも、当該パケットを別のパケットとしてきちんと転送することができる。
The wireless
なお、パケットの受信タイミングとしては、MPU42に用意されたシステムカウンタの値を用いてよい。システムカウンタは、MPU42において周期的にタイマ割込で発生するシステムタイマ割込処理の中でインクリメントされてよい。システムタイマ割込の中では、MPU32は、システムカウンタを毎回インクリメントすると共に、予め定められた期間パケットを受信していないかを機器毎に判断する。例えば、処理済みデータとして記憶された受信タイミングと、システムカウンタの値とに基づいて、予め定められた期間パケットを受信していないかを判断する。
Note that the value of the system counter prepared in the
予め定められた期間パケットを受信していない機器については、メモリ44から処理済みデータから対応する情報を削除する。なお、削除するとは、有効な処理済みデータから除外することを含む概念である。例えば、受信タイミングの有効/無効を示すフラグを処理済みデータとして設け、有効時はセット、無効時はクリアするような方法を採用してもよい。
For a device that has not received a packet for a predetermined period, the corresponding information is deleted from the processed data from the
なお、定期的にオーバーフローするシステムカウンタを用いる場合でも、上述したパケット番号が一周することが予測される時間内に0に戻るようなシステムカウンタであればよい。この場合、パケットを受信した後に発生するシステムタイマ割込において、システムカウンタの値に一致する値が受信タイミングとして記憶されている場合に、対応するデータ項目を処理済みデータから削除すればよい。なお、処理済みデータの受信カウンタに替えて、受信時刻そのものを示す情報を記憶してもよい。 Even when a system counter that periodically overflows is used, any system counter that returns to 0 within a time during which the above-described packet number is expected to go around may be used. In this case, in a system timer interrupt that occurs after receiving a packet, if a value that matches the value of the system counter is stored as the reception timing, the corresponding data item may be deleted from the processed data. Information indicating the reception time itself may be stored instead of the reception counter of the processed data.
なお、カメラ10は、本図に関連して説明した処理済みデータと同様のデータを記憶してよい。具体的には、カメラ10は、パケットで指示された制御を実行した場合に、上記の処理済みデータと同じデータ項目のデータをメモリ14に記憶してよい。
The
以上に説明したように、無線信号は、無線リモコン30において無線信号を送信する度にインクリメントされる数値を含む。また、無線信号は、無線送信装置を識別する送信元情報を含む。そして、無線中継装置40において、メモリ44は、既に中継した無線信号に含まれる数値を示す情報を、識別情報として記憶する。具体的には、メモリ44は、既に中継した無線信号の送信元情報に対応づけて、当該識別情報を記憶する。MPU42は、新たに受信した無線信号の送信元情報に対応づけて当該新たに受信した無線信号の識別情報がメモリ44に記憶されていない場合に、当該新たに受信した無線信号を転送させる。
As described above, the wireless signal includes a numerical value that is incremented every time the wireless
図6は、無線中継装置40が格納するペアリング情報をテーブル形式で示す。無線中継装置40は、パケットを転送する機器を限定するためのペアリング情報を、MPU42の内部に設けられたシステムメモリに格納する。具体的には、無線リモコン30、カメラ10を識別する機器IDを、ペアリング情報として格納する。MPU42は、ペアリング情報に記憶された機器IDがパケットの送信元IDとして格納されている場合に、当該パケットを転送する。なお、無線中継装置40が起動されると、システムメモリに格納されたペアリング情報がメモリ44に展開されて、パケットを転送するか否かをMPU42が判断する場合に使用される。
FIG. 6 shows pairing information stored in the wireless relay device 40 in a table format. The wireless relay device 40 stores pairing information for limiting the device to which the packet is transferred in a system memory provided in the
ペアリング情報を設定する場合の動作の一例について説明する。MPU42は、ペアリングモードに遷移する旨のユーザ操作を操作部材46から受け付けた場合に、識別コードを表示部45に表示させる。識別コードとしては、MPU42が発生させる乱数であってよい。識別コードを表示させてから予め定められた時間内に、識別コードをデータとして含むペアリング用のパケットを無線リモコン30またはカメラ10から受信した場合に、当該パケットの送信元IDで示される機器IDを、ペアリング情報として格納する。ペアリングの方法としては、本手法に限定されず、種々の手法でペアリングを行うことができる。
An example of operation when pairing information is set will be described. The
図4に関連して説明したように、予め定められた時間に受信した全パケットの送信元IDおよび受信タイミングを、処理済みデータとして記憶しておく必要がある。カメラシステム5において、無線中継装置40が不特定多数の無線リモコン30、カメラ10等と通信する場合、処理済みデータとして記憶するべき送信元IDの数は著しく大きくなる場合がある。しかし、不特定の無線リモコン30、カメラ10等について送信元IDとパケット番号の組を記憶するには、メモリ44のメモリ容量を大容量にする等、膨大なリソースが必要となる。また、新たにパケットを受信する度に、メモリ44内に記憶された情報と比較したり、予め定められた期間が経過した場合にデータを削除したりするためには、MPU42における演算量が著しく大きくなってしまう場合がある。
As described with reference to FIG. 4, the transmission source IDs and reception timings of all packets received at a predetermined time must be stored as processed data. In the
本図に関連して説明したように、無線中継装置40は、無線リモコン30およびカメラ10との間でペアリングを行う。これにより、ペアリングした機器が送信するパケットとフォーマットが同じパケットを無線中継装置40が受信した場合でも、当該パケットの送信元IDがペアリング情報として予め記憶されていない場合には、そのパケットの中継を行わないようにすることができる。なお、カメラシステム5において複数の無線中継装置40を使ってパケットの到達距離を延長する用途では、転送されるパケット中の送信元IDと送信先IDは維持される。このため、各無線中継装置40は少なくとも無線リモコン30の端末機器とペアリングをしていなくてはならない。上述したようにカメラ10は少なくともACKパケットを無線リモコン30に送信するので、無線中継装置40は、全ての無線リモコン30およびカメラ10とペアリングをすることが望ましい。
As described in relation to this figure, the wireless relay device 40 performs pairing between the wireless
以上に説明したように、ペアリングされていることを無線中継装置40における転送条件の一つとすることで、無線中継装置40は、いわば特定ユーザが使用する無線機器セットから送信されるパケットを転送すればよくなる。つまり無線中継装置40は、特定ユーザの専用機器として動作することとなる。このため、無線中継装置40が記憶するべき処理済みデータを、ペアリング済みである機器に限定できる。したがって、無線中継装置40に要する演算量も小さくなり、リソースも削減できる。このため、無線中継装置40は主としてパケットの転送にリソースを大きくさくことができ、転送すべきパケットであるか否かの判断を高速に行うことが可能になる。 As described above, by making pairing one of the transfer conditions in the wireless relay device 40, the wireless relay device 40 transfers packets transmitted from a wireless device set used by a specific user. I will do better. That is, the wireless relay device 40 operates as a dedicated device for a specific user. For this reason, the processed data to be stored by the wireless relay device 40 can be limited to devices that have been paired. Therefore, the amount of calculation required for the wireless relay device 40 is reduced, and resources can be reduced. For this reason, the radio relay apparatus 40 can largely reduce resources for packet transfer, and can determine whether the packet is to be transferred at high speed.
以上に説明したように、メモリ44は、無線信号を中継することを許容する無線送信装置の送信元情報を記憶する。MPU42は、受信した無線信号に含まれる送信元情報がメモリ44に記憶されていることを条件として、当該無線信号を無線モジュール48に転送させる。
As described above, the
図7は、無線リモコン30がパケットを送信する場合の動作フローの一例を示す。ここでは、無線リモコン30が起動され、図4に関連して説明したテーブルがシステムメモリからメモリ34に転送されて記憶された状態であるとする。ステップS702において、MPU32は、操作部材36に対する操作を判断する。コマンド送信に関するユーザ操作がない場合は、ユーザ操作が生じるまでステップS702の判断を行う。
FIG. 7 shows an example of an operation flow when the wireless
コマンド送信に関するユーザ操作がなされた場合、ステップS704において、操作部材36に対するユーザ操作に基づいて、パケットの送信先IDおよびコマンドIDを特定する。例えば、カメラ10aを制御する部材として予め割り当てられた操作部材36が操作された場合、送信先としてカメラ10aを識別する機器IDを特定する。また、操作された操作部材36に予め割り当てられたコマンドの種類に応じて、コマンドIDを特定する。例えば、カメラ10aに撮像を指示する操作部材36が操作された場合、送信先IDとしてカメラ10aを識別する機器IDを特定する。また、撮像指示に対応するコマンドIDを特定する。
When a user operation related to command transmission is performed, in step S704, the packet transmission destination ID and command ID are specified based on the user operation on the
ステップS706において、MPU32は、パケット番号をカウントするためのパケット番号カウンタをインクリメントする。ステップS708において、MPU32は、パケットデータを生成する。具体的には、MPU32は、ステップS704で特定した機器ID、無線リモコン30に割り当てられた機器ID、カウンタの値およびコマンドIDをそれぞれ送信先ID、送信元ID、パケット番号およびコマンドデータとして含むパケットデータを生成する。ステップS710において、MPU32はパケットデータを無線モジュール38に供給して、無線モジュール38から送出させる。
In step S706, the
ステップS712において、MPU32はACKパケットを受信できたか否かを判断する。具体的には、パケットデータの送信先IDとして設定した機器IDで識別されるカメラ10から、対応するACKパケットを予め定められた時間内に受信できたか否かを判断する。ACKパケットを受信できた場合、本処理を終了する。
In step S712, the
ACKパケットを受信できなかった場合、パケットを再送するか否かを判断する(ステップS714)。例えば、再送回数が予め定められた数以下である場合に、パケットを再送すると判断する。パケットを再送すると判断した場合、MPU32はパケット番号カウンタをインクリメントしてパケットデータを生成して、生成したパケットデータを無線モジュール38に供給して再送し(ステップS716)、ステップS712に処理を移行させる。パケットを再送しないと判断した場合、本動作フローを終了する。なお、本フローでは、ユーザ操作をポーリングで検出してパケットを送信するとしたが、ユーザ操作を割込で検出して割込処理内でパケットを送信するようにしてもよい。
If the ACK packet cannot be received, it is determined whether to retransmit the packet (step S714). For example, when the number of retransmissions is equal to or less than a predetermined number, it is determined to retransmit the packet. If it is determined that the packet is to be retransmitted, the
図8は、無線中継装置40がパケットを中継する場合の動作フローの一例を示す。ここでは、無線中継装置40におけるパケットの中継処理に関する動作について特に説明する。具体的には、無線中継装置40が起動され、図5、図6に関連して説明した情報がメモリ34に記憶された状態となり、パケットを待ち受ける動作が開始された後の動作を説明する。ステップS802において、MPU42は、パケットを受信したか否かを判断する。パケットを受信していない場合、無線信号を受信するまでステップS802の判断を行う。
FIG. 8 shows an example of an operation flow when the wireless relay device 40 relays a packet. Here, an operation relating to packet relay processing in the wireless relay device 40 will be particularly described. Specifically, the operation after the wireless relay device 40 is activated and the information described with reference to FIGS. 5 and 6 is stored in the
ステップS804において、MPU42は、受信したパケットを転送すべきか否かを判断する。具体的には、MPU42は、パケットから送信元IDの機器IDと、パケット番号とを抽出する。そして、MPU42は、送信元IDの機器IDがペアリング情報としてメモリ44に記憶されていない場合には、受信したパケットを転送すべきでないと判断する。送信元IDの機器IDがペアリング情報としてメモリ44に記憶されている場合、当該機器IDおよびパケット番号の組み合わせが処理済みデータとしてメモリ44に記憶されているときには、当該パケットを転送すべきでないと判断する。当該機器IDおよびパケット番号の組み合わせが処理済みデータとしてメモリ44に記憶されていない場合でも、許容転送回数が0である場合には、当該パケットを転送すべきでないと判断する。すなわち、MPU42は、送信元IDの機器IDがペアリング情報としてメモリ44に記憶されており、当該機器IDおよびパケット番号の組み合わせが処理済みデータとしてメモリ44に記憶されておらず、かつ、許容転送回数が1以上である場合に、当該パケットを転送すべきと判断する。
In step S804, the
受信したパケットを転送すべきでないと判断された場合、ステップS802に処理を移行する。すなわち、無線中継装置40は、受信したパケットを中継しない。受信したパケットを転送すべきと判断された場合、許容転送回数をデクリメントして(ステップS806)、パケットデータを無線モジュール48に供給して無線モジュール48にパケットを送信させる(ステップS808)。そして、MPU42は、送信元IDの機器IDに対応づけて、パケット番号の値を記憶する(ステップS810)。ステップS810の処理が完了すると、本動作フローを終了する。なお、本フローでは、パケットの受信をポーリングで検出して転送するとしたが、パケットの受信を割込で検出して、割込処理内でパケットを転送するようにしてもよい。
If it is determined that the received packet should not be transferred, the process proceeds to step S802. That is, the wireless relay device 40 does not relay the received packet. If it is determined that the received packet should be transferred, the allowable transfer count is decremented (step S806), the packet data is supplied to the
図9は、無線中継装置40において処理済みデータからデータを削除する場合の動作フローの一例を示す。本動作フローは、システムカウンタをインクリメントする割込が発生した場合に、開始される。ステップS902において、MPU42は、システムカウンタをインクリメントする。続いて、ステップS904において、MPU42は、処理済みデータとしてメモリ44に記憶されている受信タイミングの値およびシステムカウンタの値に基づき、受信してから予め定められた期間以上の時間が経過したパケットのパケット番号が処理済みデータとして記憶されているか否かを機器毎に判断する。
FIG. 9 shows an example of an operation flow when data is deleted from processed data in the wireless relay device 40. This operation flow is started when an interrupt for incrementing the system counter occurs. In step S902, the
受信してから予め定められた期間以上の時間が経過したパケットのパケット番号が記憶されていない場合には、本動作フローを終了する。受信してから予め定められた期間以上の時間が経過したパケットのパケット番号が記憶されている場合、当該パケット番号に対応するデータを処理済みデータから削除し(ステップS906)、本動作フローを終了する。これにより、無線リモコン30におけるパケット番号の循環を許容しつつ、同一内容のパケットを無線中継装置40が複数回転送することを未然に防ぐことができる。
If the packet number of a packet for which a time equal to or longer than a predetermined period has elapsed since reception is not stored, the operation flow ends. If the packet number of a packet for which a time equal to or more than a predetermined period has elapsed since reception is stored, the data corresponding to the packet number is deleted from the processed data (step S906), and this operation flow is terminated. To do. Thereby, it is possible to prevent the wireless relay device 40 from transferring a packet having the same content a plurality of times while allowing the packet number to be circulated in the wireless
図10は、カメラ10における動作フローの一例を示す。ここでは、カメラ10がパケットを受信した場合の動作フローの一例を示す。具体的には、カメラ10が起動され、図5に関連して説明した処理済みデータがメモリ14に記憶された状態となり、パケットを待ち受ける動作が開始された後の動作を説明する。ステップS1002において、MPU12は、パケットを受信したか否かを判断する。パケットを受信していない場合、無線信号を受信するまでステップS1002の判断を行う。
FIG. 10 shows an example of an operation flow in the
ステップS1004において、MPU12は、受信したパケットで指示された制御を実行すべきか否かを判断する。具体的には、MPU12は、パケットから送信元IDの機器IDと、パケット番号とを抽出する。送信元IDの機器IDおよびパケット番号の組み合わせが受信情報データとしてメモリ14に記憶されているときには、当該パケットで指示された制御を実行すべきでないと判断する。
In step S1004, the
受信したパケットで指示された制御を実行すべきでないと判断された場合、ステップS1002に処理を移行する。すなわち、カメラ10は、受信したパケットで指示された制御を実行しない。受信したパケットで指示された制御を実行すべきと判断された場合、当該制御を実行する(ステップS1006)。MPU12は、送信元IDの機器IDを送信先とするACKパケットを生成して、無線モジュール18にACKパケットを送信させる(ステップS1008)。そして、MPU12は、送信元IDの機器IDに対応づけて、パケット番号の値を記憶する(ステップS1010)。ステップS806の処理が完了すると、本動作フローを終了する。なお、本フローでは、パケットの受信をポーリングで検出して転送するとしたが、パケットの受信を割込で検出して、パケットにより指定された制御を割込処理内で実行するようにしてもよい。
If it is determined that the control indicated by the received packet should not be executed, the process proceeds to step S1002. That is, the
なお、カメラ10は、図9に関連して無線中継装置40の動作として説明した処理を実行してよい。すなわち、MPU12のシステムカウンタをインクリメントする割込が発生した場合に、システムカウンタをインクリメントするとともに、処理済みデータとしてメモリ14に記憶されているデータのうち、受信してから予め定められた期間以上の時間が経過したパケットのパケット番号に対応するデータを処理済みデータから削除する。これにより、無線リモコン30におけるパケット番号の循環を許容しつつ、同一のパケットに基づく制御をカメラ10が複数回実行することを未然に防ぐことができる。
The
以上に説明したカメラシステム5の各構成要素の処理、例えばカメラ10、無線リモコン30および無線中継装置40に関連して説明した処理は、各機器の各部、例えばMPU12、MPU32、MPU42等が、プログラムに従って動作することにより、実現することができる。すなわち、当該処理を、いわゆるコンピュータ装置によって実現することができる。コンピュータ装置は、上述した処理の実行を制御するプログラムをロードして、読み込んだプログラムに従って動作して、当該処理を実行してよい。コンピュータ装置は、当該プログラムを記憶しているコンピュータ読取可能な記録媒体を読み込むことによって、当該プログラムをロードすることができる。
The processing of each component of the
本実施形態において、カメラ10は、撮像装置の一例である。カメラ10としては、レンズ交換式の一眼レフカメラ、コンパクトデジタルカメラ、ミラーレス一眼カメラ、ビデオカメラ、撮像機能付きの携帯電話機等、撮像機能を有する種々の機器を適用の対象とすることができる。また、無線リモコン30による制御対象として、発光装置20を有するカメラ10を例示したが、発光装置20を有さないカメラを、制御対象として適用できる。また、発光装置20等、撮像機能を有さない機器を、制御対象として適用できる。また、2つのカメラ10を制御対象として説明したが、1のカメラを制御対象としてよく、3以上のカメラを制御対象としてよい。また、カメラシステム5は、無線システムの一例であり、無線システムとはカメラシステム5に限定されない。
In the present embodiment, the
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.
特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階等の各処理の実行順序は、特段「より前に」、「先立って」等と明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。 The order of execution of each process such as operations, procedures, steps, and stages in the apparatus, system, program, and method shown in the claims, the description, and the drawings is particularly “before” or “prior to”. It should be noted that the output can be realized in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the description, and the drawings, even if it is described using “first”, “next”, etc. for convenience, it means that it is essential to carry out in this order. It is not a thing.
5 カメラシステム、10 カメラ、12 MPU、13 撮像部、14 メモリ、15 表示部、16 操作部材、17 画像処理部、18 無線モジュール、20 発光装置、30 無線リモコン、32 MPU、34 メモリ、35 表示部、36 操作部材、38 無線モジュール、40 無線中継装置、42 MPU、44 メモリ、45 表示部、46 操作部材、48 無線モジュール 5 camera system, 10 camera, 12 MPU, 13 imaging unit, 14 memory, 15 display unit, 16 operation member, 17 image processing unit, 18 wireless module, 20 light emitting device, 30 wireless remote control, 32 MPU, 34 memory, 35 display Part, 36 operation member, 38 wireless module, 40 wireless relay device, 42 MPU, 44 memory, 45 display part, 46 operation member, 48 wireless module
Claims (16)
許容される転送回数を示す回数情報を含む無線信号を受信する受信部と、
前記無線信号を転送すべきか否かを前記回数情報に基づいて判断し、前記無線信号を転送すべきと判断したことを条件として、前記転送回数を減少させて前記無線信号を転送する転送部と、
を備える無線中継装置。 A wireless relay device that relays wireless signals according to a communication method between nodes,
A receiving unit for receiving a radio signal including number information indicating the number of allowable transfers;
Determining whether to transfer the radio signal based on the number of times information, and on the condition that the radio signal should be transferred, a transfer unit for transferring the radio signal by reducing the number of transfers ,
A wireless relay device comprising:
前記中継情報記憶部に記憶された識別情報のうち、受信してから予め定められた期間が経過した無線信号の識別情報を消去する制御部と、
をさらに備え、
前記転送部は、前記受信部が新たに受信した無線信号を識別する識別情報が前記中継情報記憶部に記憶されていないことを更なる条件として、当該新たに受信した無線信号を転送する
請求項1に記載の無線中継装置。 A relay information storage unit that stores identification information for identifying a radio signal that has already been relayed;
Of the identification information stored in the relay information storage unit, a control unit for erasing the identification information of the radio signal that has passed a predetermined period after reception,
Further comprising
The transfer unit transfers the newly received radio signal on a further condition that identification information for identifying a radio signal newly received by the reception unit is not stored in the relay information storage unit. The wireless relay device according to 1.
無線信号を受信する受信部と、
既に中継した無線信号を識別する識別情報を記憶する中継情報記憶部と、
前記受信部が新たに受信した無線信号を識別する識別情報が前記中継情報記憶部に記憶されていない場合に、当該新たに受信した無線信号を転送する転送部と、
前記中継情報記憶部に記憶された識別情報のうち、受信してから予め定められた期間が経過した無線信号の識別情報を消去する制御部と、
を備える無線中継装置。 A wireless relay device that relays a wireless signal,
A receiver for receiving a radio signal;
A relay information storage unit that stores identification information for identifying a radio signal that has already been relayed;
A transfer unit that transfers the newly received radio signal when identification information for identifying the radio signal newly received by the receiving unit is not stored in the relay information storage unit;
Of the identification information stored in the relay information storage unit, a control unit for erasing the identification information of the radio signal that has passed a predetermined period after reception,
A wireless relay device comprising:
前記中継情報記憶部は、既に中継した無線信号に含まれる数値を示す情報を、前記識別情報として記憶する
請求項2または3に記載の無線中継装置。 The wireless signal includes a numerical value that is incremented every time a wireless signal is transmitted in a wireless transmission device,
The wireless relay device according to claim 2 or 3, wherein the relay information storage unit stores information indicating a numerical value included in a wireless signal already relayed as the identification information.
前記中継情報記憶部は、既に中継した無線信号の送信元情報に対応づけて前記識別情報を記憶し、
前記転送部は、前記新たに受信した無線信号の送信元情報に対応づけて当該新たに受信した無線信号の識別情報が前記中継情報記憶部に記憶されていない場合に、当該新たに受信した無線信号を転送する
請求項2から4のいずれか一項に記載の無線中継装置。 The wireless signal includes transmission source information for identifying a wireless transmission device that has transmitted the wireless signal,
The relay information storage unit stores the identification information in association with transmission source information of a radio signal that has already been relayed,
The transfer unit associates the newly received radio signal with the newly received radio signal when the identification information of the newly received radio signal is not stored in the relay information storage unit in association with the transmission source information of the newly received radio signal. The radio relay apparatus according to claim 2, wherein the signal is transferred.
をさらに備え、
前記転送部は、前記受信部が受信した無線信号に含まれる送信元情報が前記送信元情報記憶部に記憶されていることを条件として、当該無線信号を転送する
請求項5に記載の無線中継装置。 A transmission source information storage unit that stores transmission source information of a wireless transmission device that allows the wireless signal to be relayed;
The wireless relay according to claim 5, wherein the transfer unit transfers the wireless signal on condition that transmission source information included in a wireless signal received by the reception unit is stored in the transmission source information storage unit. apparatus.
請求項1から6のいずれか一項に記載の無線中継装置。 The wireless signal is transmitted from a wireless transmission device that remotely controls the imaging device, and the wireless signal includes data indicating control contents for controlling the imaging device.
The wireless relay device according to any one of claims 1 to 6.
前記転送回数を示す情報および前記データを含む信号を生成する信号生成部と、
前記信号生成部が生成した信号を無線信号で送信する送信部と、
を備える無線送信装置。 According to the type of data to be transmitted with a radio signal, a transfer count setting unit that sets the transfer count with which radio signal transfer is allowed;
A signal generator for generating a signal including information indicating the number of times of transfer and the data;
A transmission unit for transmitting the signal generated by the signal generation unit as a radio signal;
A wireless transmission device comprising:
請求項8に記載の無線送信装置。 The radio transmission apparatus according to claim 8, wherein the transfer count setting unit sets 0 as the transfer count of a type of data that is not allowed to be transferred.
前記転送回数設定部は、前記発光装置に発光を指示するデータの転送回数として0を設定する
請求項8または9に記載の無線送信装置。 The wireless transmission device transmits data indicating control contents for controlling a light emitting device that emits a flash at the time of imaging, using the wireless signal,
The wireless transmission device according to claim 8 or 9, wherein the transfer count setting unit sets 0 as the transfer count of data instructing the light emitting device to emit light.
をさらに備える請求項8から10のいずれか一項に記載の無線送信装置。 The wireless transmission device according to any one of claims 8 to 10, further comprising an information acquisition unit configured to acquire information designating the number of times of transfer from a user operation.
請求項8から11のいずれか一項に記載の無線送信装置と、
を備える無線システム。 The wireless relay device according to any one of claims 1 to 7,
The wireless transmission device according to any one of claims 8 to 11,
A wireless system comprising:
をさらに備える請求項12に記載の無線システム。 13. The receiving apparatus according to claim 12, further comprising: a receiving device that receives the wireless signal including data indicating control content from at least one of the wireless transmission device and the wireless relay device, and performs control according to the control content indicated by the data. Wireless system.
許容される転送回数を示す回数情報を含む無線信号を受信するステップと、
前記無線信号を転送すべきか否かを前記回数情報に基づいて判断し、前記無線信号を転送すべきと判断したことを条件として、前記転送回数を減少させて前記無線信号を転送するステップと、
をコンピュータに実行させるプログラム。 A program for controlling a wireless relay device that relays a wireless signal according to a communication method between nodes,
Receiving a radio signal including number information indicating an allowable number of transfers;
Determining whether to transfer the wireless signal based on the number of times information, and on the condition that the wireless signal should be transferred, reducing the number of transfers and transferring the wireless signal;
A program that causes a computer to execute.
無線信号を受信するステップと、
既に中継した無線信号を識別する識別情報を中継情報記憶部に記憶するステップと、
新たに受信した無線信号を識別する識別情報が前記中継情報記憶部に記憶されていない場合に、当該新たに受信した無線信号を転送するステップと、
前記中継情報記憶部に記憶された識別情報のうち、受信してから予め定められた期間が経過した無線信号の識別情報を消去するステップと、
をコンピュータに実行させるプログラム。 A program for controlling a wireless relay device that relays a wireless signal,
Receiving a wireless signal;
Storing identification information for identifying a radio signal already relayed in the relay information storage unit;
A step of transferring the newly received radio signal when identification information for identifying the newly received radio signal is not stored in the relay information storage unit;
Erasing the identification information of the radio signal that has passed a predetermined period of time from the reception of the identification information stored in the relay information storage unit;
A program that causes a computer to execute.
前記転送回数を示す情報および前記データを含む信号を生成するステップと、
前記生成した信号を無線信号で送信するステップと、
をコンピュータに実行させるプログラム。 Depending on the type of data to be transmitted with the radio signal, setting the number of times the transfer of the radio signal is allowed; and
Generating a signal including information indicating the number of times of transfer and the data;
Transmitting the generated signal as a radio signal;
A program that causes a computer to execute.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012047205A JP2015097300A (en) | 2012-03-02 | 2012-03-02 | Radio relay device, radio transmission device, radio system, and program |
PCT/JP2013/001275 WO2013128943A1 (en) | 2012-03-02 | 2013-03-01 | Wireless transmission device, wireless system, transfer device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012047205A JP2015097300A (en) | 2012-03-02 | 2012-03-02 | Radio relay device, radio transmission device, radio system, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015097300A true JP2015097300A (en) | 2015-05-21 |
Family
ID=49082154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012047205A Pending JP2015097300A (en) | 2012-03-02 | 2012-03-02 | Radio relay device, radio transmission device, radio system, and program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2015097300A (en) |
WO (1) | WO2013128943A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018061150A (en) * | 2016-10-06 | 2018-04-12 | Smk株式会社 | Communication system |
WO2019077717A1 (en) | 2017-10-19 | 2019-04-25 | 三菱電機株式会社 | Communication device and communication method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5881772B2 (en) * | 2014-05-22 | 2016-03-09 | 三菱電機株式会社 | DSRC in-vehicle device and travel history information initialization method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3389654B2 (en) * | 1993-10-22 | 2003-03-24 | ミノルタ株式会社 | Flash photography system |
JP2011004389A (en) * | 2009-05-19 | 2011-01-06 | Canon Inc | Communication equipment and control method therefor |
-
2012
- 2012-03-02 JP JP2012047205A patent/JP2015097300A/en active Pending
-
2013
- 2013-03-01 WO PCT/JP2013/001275 patent/WO2013128943A1/en active Application Filing
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018061150A (en) * | 2016-10-06 | 2018-04-12 | Smk株式会社 | Communication system |
WO2019077717A1 (en) | 2017-10-19 | 2019-04-25 | 三菱電機株式会社 | Communication device and communication method |
US11082121B2 (en) | 2017-10-19 | 2021-08-03 | Mitsubishi Electric Corporation | “Apparatus and method for tranfering a communication signal while storing a detected preamble pattern” |
Also Published As
Publication number | Publication date |
---|---|
WO2013128943A1 (en) | 2013-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7945154B2 (en) | Information communication device and external device | |
JP3970282B2 (en) | IC card, data transfer device, data transfer method, and program for data transfer method | |
US9185305B2 (en) | Photography system, camera, and photography illumination device | |
US10524635B2 (en) | Endoscope, reception device, wireless endoscope system, image transmission method, image reception method, and non-transitory computer readable recording medium storing program | |
WO2013128943A1 (en) | Wireless transmission device, wireless system, transfer device, and program | |
US9578189B2 (en) | Communication apparatus, method for controlling communication apparatus, and program | |
WO2019000822A1 (en) | Communication method and apparatus for radio frequency device, remote controller and unmanned aerial vehicle | |
CN110876145A (en) | Wireless camera system and gateway equipment | |
US8767077B2 (en) | Camera apparatus functioning in response to received software trigger packets | |
EP3070866A1 (en) | Communication system, communication apparatus, data retransmission method, and data retransmission control method | |
JP2015091026A (en) | Wireless repeating apparatus, wireless system, program and method | |
US8818533B2 (en) | Information processing device, communication system, and information processing method | |
JP2004260633A (en) | Data transmitter, method for transmitting data, and program | |
JP5593828B2 (en) | Imaging system and communication adapter | |
JP2002158730A (en) | Communication method and communication device | |
CN104168284A (en) | Data transmission method and first electronic equipment | |
JP7218164B2 (en) | Communication device and its control method | |
US10764616B2 (en) | Image transmission apparatus, image transmission method, and recording medium | |
JP5999138B2 (en) | Wireless communication adapter | |
JP6622619B2 (en) | Transmission apparatus, transmission method, and communication system | |
US11316627B2 (en) | Communication system, transmission device, communication method, and recording medium | |
US9955063B2 (en) | Imaging system and imaging terminal | |
JP2020048206A (en) | Transmission apparatus, transmission method, and communication system | |
JP7194744B2 (en) | Communication system, receiving terminal, communication method, and program | |
JP5552898B2 (en) | Shooting system |