JP2013005181A - Communication device, control method and program - Google Patents
Communication device, control method and program Download PDFInfo
- Publication number
- JP2013005181A JP2013005181A JP2011133540A JP2011133540A JP2013005181A JP 2013005181 A JP2013005181 A JP 2013005181A JP 2011133540 A JP2011133540 A JP 2011133540A JP 2011133540 A JP2011133540 A JP 2011133540A JP 2013005181 A JP2013005181 A JP 2013005181A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- relay device
- mode
- information
- camera
- 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
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
Description
本発明は、通信装置が中継装置を介して他の装置との通信を行う際の中継装置における動作を決定する通信装置、制御方法、及びプログラムに関する。 The present invention relates to a communication device, a control method, and a program for determining an operation in a relay device when the communication device communicates with another device via the relay device.
近年、通信機能を有するカメラなどの通信装置からWebサービスに対し、中継装置を介して画像等のデータをアップロードする技術がある。例えば、カメラで撮像した画像データを、携帯電話網に接続可能な中継装置へ無線LANを介して送信し、中継装置は受信した画像データを携帯電話網を用いてWebサービスにアップロードする技術がある。このような中継装置では、カメラとの間の通信と、携帯電話網などの公衆網への通信とを独立して管理している。 In recent years, there is a technique for uploading data such as an image via a relay device from a communication device such as a camera having a communication function to a Web service. For example, there is a technique for transmitting image data captured by a camera to a relay device connectable to a mobile phone network via a wireless LAN, and the relay device uploads received image data to a Web service using the mobile phone network. . In such a relay device, communication with a camera and communication with a public network such as a mobile phone network are managed independently.
また、特許文献1には、地上又は水上の移動体(例えば車や船)に搭載され、通信衛星、及び携帯端末との間で通信を行う中継装置が記載されている。この中継装置は、通信衛星から信号を受信して通信装置へその信号を転送し、また、通信装置から信号を受信して通信衛星へその信号を転送する。 Patent Document 1 describes a relay device that is mounted on a moving object (for example, a car or a ship) on the ground or water and communicates with a communication satellite and a portable terminal. The relay device receives a signal from the communication satellite and transfers the signal to the communication device, and receives a signal from the communication device and transfers the signal to the communication satellite.
このような中継装置の中継処理の動作モードには、IPルータ(IP router)モードと、プロキシ(Proxy)モードとがある。IPルータモードでは、中継装置は、通信装置から他の通信装置(Web上のサーバ等)を通信相手として送信されたデータを中継伝送する。これは、中継装置が通信装置から受信したデータをそれぞれのプロトコル階層で透過的に扱うことで実現される。このようなIPルータモードでは、カメラ自身がサーバのWebサービスにログインし、カメラ自身でデータをアップロードする。 There are an IP router mode and a proxy mode as operation modes of the relay processing of such a relay device. In the IP router mode, the relay device relays and transmits data transmitted from the communication device to another communication device (such as a server on the Web) as a communication partner. This is realized by the relay device transparently handling the data received from the communication device in each protocol layer. In such an IP router mode, the camera itself logs in to the server web service and uploads data by the camera itself.
一方、プロキシモードでは、中継装置は、通信装置から中継装置を通信相手として送信されたデータを受信し、受信したデータを他の通信装置を通信相手として代理送信する。このようなプロキシモードでは、中継装置がカメラから受信したデータを一時的に保持し、中継装置がカメラの代行でサーバのWebサービスにログインし、カメラから受信したデータをアップロードする。 On the other hand, in the proxy mode, the relay device receives data transmitted from the communication device using the relay device as a communication partner, and proxy-transmits the received data using another communication device as a communication partner. In such a proxy mode, the relay device temporarily stores data received from the camera, and the relay device logs in to the Web service of the server on behalf of the camera and uploads the data received from the camera.
上述の中継装置のように、カメラとの間の無線通信と携帯電話網との無線通信とで異なるネットワークを用いる場合、カメラとの間の通信状態と、携帯電話網との間の通信状態とが異なるために、伝送速度に不均衡が生じる場合があった。例えば、中継装置がIPルータモードで動作していると、携帯電話網側の通信速度が遅い場合、カメラとの通信状態が良好であったとしても、全体としての伝送時間が長くなるという課題があった。この場合、特にカメラにおいては、再送処理等で必要以上にバッテリーが消費されるという不都合があった。また、中継装置を常にプロキシモードで動作させると、携帯電話網側の通信状態が良好な場合であっても、一時的に中継装置にデータが蓄積されるため、伝送速度の劣化や中継装置の処理負荷の増大が生じるという課題があった。 When different networks are used for wireless communication with the camera and wireless communication with the mobile phone network, such as the relay device described above, the communication state with the camera and the communication state with the mobile phone network In some cases, the transmission speed may be unbalanced due to the difference. For example, when the relay device is operating in the IP router mode, if the communication speed on the mobile phone network side is slow, even if the communication state with the camera is good, the overall transmission time becomes long. there were. In this case, particularly in the camera, there is a problem that the battery is consumed more than necessary in the retransmission process. In addition, if the relay device is always operated in the proxy mode, data is temporarily stored in the relay device even when the communication state on the mobile phone network side is good. There was a problem that processing load increased.
本発明は上記課題に鑑みなされたものであり、中継装置を介して通信を行う通信装置において、中継装置の動作モードを適切に選択する技術を提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides a technique for appropriately selecting an operation mode of a relay device in a communication device that performs communication via the relay device.
上記目的を達成するため、本発明による通信装置は、中継装置と他の装置との間の通信状態の情報に基づいて、通信装置から中継装置を通信相手として送信されたデータを中継装置が受信すると共に、中継装置が受信した当該データを他の装置を通信相手として代理送信する第1のモードと、通信装置から他の装置を通信相手として送信されたデータを中継装置が転送する第2のモードと、のいずれかを選択し、選択したモードを中継装置に通知する。 In order to achieve the above object, a communication device according to the present invention receives data transmitted from a communication device using the relay device as a communication partner based on information on a communication state between the relay device and another device. And a second mode in which the relay device transfers the data transmitted from the communication device to the other device as a communication partner by proxy transmission of the data received by the relay device with the other device as a communication partner. Mode is selected, and the selected mode is notified to the relay apparatus.
本発明によれば、中継装置を介して他の装置と通信を行う際に、効率が高く、通信装置の消費電力が小さくなる中継装置の動作モードを適応的に決定する技術を提供することができる。 According to the present invention, it is possible to provide a technique for adaptively determining the operation mode of a relay device that is highly efficient and reduces the power consumption of the communication device when communicating with another device via the relay device. it can.
以下、添付図面を参照して本発明の実施の形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
<<実施形態1>>
(システム構成)
図1は、第1の実施形態に係る無線通信システムのネットワーク構成図である。図1において、101はカメラであり、所定の通信方式によって無線通信回線を構築し、通信を行うことができる無線通信装置を備える。なお、以下では、主にこの無線通信装置の動作について説明することとなるが、簡単のため、以下の説明では、無線通信装置の機能を含めて全て「カメラ」と呼ぶ。また、以下の説明では、カメラを例にとって説明しているが、これに限られない。例えば、カメラに代えて録音装置であってもよく、他にも、通信によりデータの送受信をする装置であれば装置の主な用途が何であってもよい。
<< Embodiment 1 >>
(System configuration)
FIG. 1 is a network configuration diagram of a wireless communication system according to the first embodiment. In FIG. 1,
102は中継装置としての機能を有する携帯端末であり、103はカメラ101からアップロードされた画像等のデータを蓄積するサーバである。104は基地局であり、所定の通信方式により所定のエリアの無線局と通信を行い、ネットワーク側からの信号を無線局へ送信し、無線局からの信号をネットワーク側へ送信する。ここでは、携帯端末102は、基地局104の構成する通信エリアに存在し、基地局104との間で通信回線を構築して無線通信を行う。105はISP(Internet Service Provider)等を介して、サーバ103および基地局104を接続するネットワークであり、例えばインターネットである。なお、以下の説明では、105はインターネットとして説明する。
携帯端末102は、ある無線局から第1の通信回線を介して受信したデータを、第2の通信回線を用いて他の無線局へ中継する。同様に、携帯端末102は、第2の通信回線を介して受信した信号を第1の通信回線を用いて転送することもできる。また、第1の通信回線および第2の通信回線は、携帯端末102が対応可能な通信方式により構築され、その通信方式は、通信環境等に応じて通信の度に変更されてもよい。また、第1の通信回線および第2の通信回線は、パケット交換による回線であっても回線交換による回線であってもよく、通信が可能な回線であればどのようなものであってもよい。
The
本実施形態においては、カメラ101と携帯端末102との間には、第1の通信回線が構築され、携帯端末102と基地局104との間には第2の通信回線が構築されているものとする。なお、ここでは、第1の通信回線で用いられる通信方式は無線LANであり、第2の通信回線で用いられる通信方式は例えば3GやLTE等の携帯電話の標準に準拠した通信方式であるとする。すなわち、本実施形態においては、図1において、携帯端末102は、無線LANのインフラストラクチャネットワーク、またはアドホックネットワークを用いてカメラ101との間に第1の通信回線を構築する。そして、携帯端末102は、同時に基地局104が構成する携帯電話網において第2の通信回線を構築する。なお、上の説明では、携帯端末102と基地局104との間の無線通信路を第2の通信回線としているが、携帯端末102から、基地局104を含むサーバ103までの回線を第2の通信回線としてもよい。
In the present embodiment, a first communication line is constructed between the
また、ここで、カメラ101と携帯端末102との間で用いる通信方式は、無線LANではない他の通信方式であってもよい。また、同様に、携帯端末102と基地局104との間の通信方式も、携帯電話による方式である必要はなく、例えば公衆無線LANなどであってもよい。公衆無線LANを用いる場合、基地局104は例えばアクセスポイントである。
Here, the communication method used between the
なお、以下では、カメラ101と携帯端末102の無線接続のことをローカル接続と呼び、携帯端末102と基地局104との接続、すなわち基地局104が構成する網を公衆網と呼ぶ。
Hereinafter, the wireless connection between the
(装置構成)
図2は、本実施形態に係るカメラ101のブロック図である。図7において、201はアンテナ、202はアンテナ201を介して無線信号の送受信を行う送受信部、203は不揮発メモリ部(ROM)である。また、204はカメラ101の揮発メモリ部(RAM)であり、205は制御部、206は撮像部、207は情報検出部である。カメラ101は、撮像部206で撮像し、処理されたデータをROM203に蓄積する。なお、撮像及び処理されたデータについては、サーバへ送るために一時的に記憶しておくだけであれば、RAM204へ蓄積してもよい。
(Device configuration)
FIG. 2 is a block diagram of the
(システムの動作モード)
本実施形態では、カメラ101は、携帯端末102の中継装置としての動作モードを決定する。具体的には、第1のモードであるIPルータモードと、第2のモードであるプロキシモードの中から、通信環境に適したモードを選択する。
(System operation mode)
In the present embodiment, the
ここで、IPルータモードとは、中継装置が、通信装置から他の通信装置(Web上のサーバ等)を通信相手として送信されたデータを中継伝送するモードである。これは、中継装置が通信装置から受信したデータをそれぞれのプロトコル階層で透過的に扱うことで実現される。 Here, the IP router mode is a mode in which the relay device relays and transmits data transmitted from the communication device to another communication device (such as a server on the Web) as a communication partner. This is realized by the relay device transparently handling the data received from the communication device in each protocol layer.
また、プロキシモードとは、中継装置が、通信装置から中継装置を通信相手として送信されたデータを受信し、受信したデータを他の通信装置を通信相手として代理送信するモードである。プロキシモードでは、中継装置はカメラから受信したデータを一時的に保持している。 The proxy mode is a mode in which the relay device receives data transmitted from the communication device using the relay device as a communication partner, and performs proxy transmission of the received data using another communication device as a communication partner. In the proxy mode, the relay device temporarily holds data received from the camera.
以下では、これらの動作モードによる通信手順ついて、図9及び図10を参照して説明する。 Hereinafter, the communication procedure in these operation modes will be described with reference to FIG. 9 and FIG.
(IPルータモードによる通信手順)
図9にIPルータモードによる通信手順の一例を示す。まず、通信装置であるカメラ101とサーバ103について説明する。901および907はインターネット手順部でありIPパケットなどを取扱う。902および908はトランスポート手順部であり、TCPやUDPパケットなどを取扱う。903および909はアプリケーション手順部であり、HTTPなどを取扱う。904および910はアプリケーションインターフェース手順部であってサーバ103が提供するWebサービスにアクセスするためのAPIを表す。
(Communication procedure in IP router mode)
FIG. 9 shows an example of a communication procedure in the IP router mode. First, the
次に中継装置である携帯端末102について説明する。携帯端末102では、905および906においてIPパケットのIPアドレスフィルタリングやアドレス変換などを行い、カメラ101のインターネット手順部901をサーバ103のインターネット手順部907に合うアドレスに置き換える。それ以外のトランスポート手順部、アプリケーション手順部、アプリケーションインターフェース手順部は、データ等の変換や中身のデータの解析をすることはない。
Next, the
(プロキシモードによる通信手順)
図10にプロキシモードによる通信手順の一例を示す。なお、以下では、図9のIPルータモードとの相違点を中心に説明を行う。
(Communication procedure in proxy mode)
FIG. 10 shows an example of a communication procedure in the proxy mode. In the following description, the difference from the IP router mode of FIG. 9 will be mainly described.
プロキシモードでは、カメラ101の携帯APIである1004と、携帯端末102の携帯APIである1008との間で相互に要求と応答が実行される。一方、サーバ103のサービスAPIである1017と携帯端末102のサービスAPIである1013との間で相互に要求と応答が実行される。この場合、携帯APIとサービスAPIは独立して動作してもよい。つまり、カメラとWebとの間の連携アプリケーション1009において、カメラからの撮像データの送信要求が発生したとしても、携帯端末102は自身がサーバ103に送信できる状態にあるときにカメラからの要求を処理すればよい。
In the proxy mode, a request and a response are executed between the
例えば、カメラ101と携帯端末102は無線接続状態で携帯APIによってデータ通信できるが、携帯端末102はサーバ103との間で無線通信が圏外のため通信ができない場合が考えられる。このような場合、携帯端末102は、サーバ103へのアクセスを中断し、圏内に復帰した時点でサーバ103との間でサービスAPIによってデータ通信を実行することができる。
For example, the
なお、上述の説明では、中継局におけるパケットの取り扱い動作に基づいてIPルータモードとプロキシモードとを分類したが、別の分類を用いてもよい。例えば、カメラ101がクライアントとしてWebサービスを提供するサーバ103にアクセスする場合に、クライアントがサーバ装置に直接接続するような接続形態をIPルータモードとしてもよい。同様に、クライアントに代わって、中継装置である携帯端末102がサーバ103にアクセスする場合はプロキシモードとしてもよい。すなわち、サーバ103へのアクセスの形態によって動作モードを分類してもよい。ただし、この分類を用いたとしても、以下で説明するシステム及び装置の動作に特段の違いは生じない。
In the above description, the IP router mode and the proxy mode are classified based on the packet handling operation in the relay station, but another classification may be used. For example, when the
(システム及び装置の動作)
以下、システム、カメラ101及び携帯端末102の動作について、図3、図4、及び図5を用いて説明する。図3は、第1の実施形態に係る通信ネットワークを構成するカメラ101、携帯端末102、サーバ103、及び基地局104のメッセージの送受信処理をシーケンスチャートである。特に図3では、後述するが、携帯端末102がデータを透過的に扱って中継処理を行う場合、すなわち、カメラ101の処理においてIPルータモードが選択された場合を図解している。図4は、本実施形態に係るカメラ101の制御処理に関するフローチャートであり、図5は、本実施形態に係る携帯端末102の制御処理に関するフローチャートである。
(System and device operations)
Hereinafter, operations of the system, the
カメラ101は、ROM203に蓄積したデータの中から所望のものを選択することにより、サーバ103にデータをアップロードする処理を開始する(M301、S401でYES)。また、携帯端末102は、別途中継処理を開始しているものとする(S501でYes)。
The
処理が開始されると、カメラ101と携帯端末102との間でローカル接続処理がそれぞれ実行される(M302、S402、S502)。そして、カメラ101においては、接続の確認が実行される(S403)。なお、カメラ101と携帯端末102との間のローカル接続は予め行われていてもよい。また、その場合、これらのステップは省略してもよい。一方、携帯端末102は、接続処理の実行後、カメラ101からのデータの送信要求があったかを監視するモードに移行する(S503)。
When the processing is started, local connection processing is executed between the
カメラ101は、携帯端末102との間のローカル接続の成功を確認すると(S403でYes)、携帯端末102に対してデータ送信要求メッセージを送信する(M303、S404)。そして、カメラ101は応答タイマーを起動し、携帯端末102からの応答を確認する状態に遷移する(S405、S406)。なお、カメラ101の応答タイマーがタイムアウトした場合には(S405でYES)、携帯端末102との間でのローカル接続処理から処理を再度実行する(S402〜S404)。
Upon confirming the successful local connection with the mobile terminal 102 (Yes in S403), the
携帯端末102が、データ送信要求メッセージを受信すると(M303、S503でYES)、基地局104との間で接続処理を実行する(M304、S504)。そして、接続確立タイマーを起動し、基地局104との間における通信確立を確認する状態に遷移する(S505、S506)。このとき、携帯端末102の接続確立タイマーがタイムアウトした場合には(S505でYES)、カメラ101との間のローカル接続処理から処理を再度実行する(S501〜S504)。この場合、携帯端末102は、カメラ101からのデータ送信要求へ回答することができず、カメラ101において、データ送信要求への応答待ちがタイムアウトとなり、ローカル接続処理から処理が再実行されることになるからである。なお、携帯端末102と基地局104との間の公衆網における接続も予め行われていてもよい。また、その場合、上記の処理は省略してもよい。
When the
一方、携帯端末102は、正常に基地局104との間の接続処理(M304)が完了し、公衆網との接続が確認できた場合(S506でYES)、公衆網の通信の実効速度や輻輳状態など、公衆網側の通信状態情報を取得する。通信状態情報の取得は、例えば基地局104への問い合わせを通じて行う。基地局104は、携帯端末102からの電波の受信強度や、ネットワークの混雑度合い等の通信状態情報を携帯端末102へ送信する。なお、公衆網における通信状態の情報に限らず、携帯端末102からサーバ103までの間の通信路の状態に関する情報を取得してもよい。例えば、携帯端末102が、テストデータを基地局104を介してサーバ103等へ向けて送信し、それに対する応答が戻ってくるまでの時間を計測することなどにより、サーバ103までの通信経路における通信状態の情報を収集してもよい。
On the other hand, when the
携帯端末102は、通信状態情報を取得後、データ送信要求メッセージ(M303)に対して、データ送信応答メッセージをカメラ101へ返信する(M305、S507)。なお、携帯端末102は、データ送信応答メッセージに取得した通信状態情報を含めておく。
After acquiring the communication state information, the
カメラ101は、受信タイムアウト(S405でYES)の前にデータ送信応答メッセージを受信すると(M305、S406でYES)、公衆網側の通信状態情報を確認する(M306、S407)。ここで、カメラ101は、データ送信応答メッセージに含まれている通信状態情報を確認することで、公衆網側の通信状態を知ることができる。
When the
以下、カメラ101のROM203に格納されている通信状態情報の確認処理(M306)と、携帯端末102の動作モードの決定処理(M307)の詳細(S407)について説明する。カメラ101は、通信状態情報を含むデータ送信応答メッセージをアンテナ201及び送受信部202を介して受信すると、制御部205の制御に応じて当該メッセージをRAM204に保存する。次に制御部205は、ROM203に格納されているアルゴリズムに基づき、通信状態情報の確認処理及び携帯端末102の動作モードの決定処理を実行する。このアルゴリズムの一例を図6に示す。
The details (S407) of the confirmation process (M306) of the communication state information stored in the
まず、制御部205は、RAM204に保存されているデータ送信応答メッセージ(M305)に含まれる通信状態情報を解析する(S601)。そして、この解析により、公衆網側の通信の実効速度、及び輻輳状態、ローミングやチャネル切替、ハンドオーバー(ハンドオフ)の頻度などの情報を取得する。制御部205は、通信状態情報の解析の結果、ローミングやチャネル切替、ハンドオーバー(ハンドオフ)の少なくとも1つの頻度などに基づいて、携帯端末102が高速移動中であるか否かを判定する。その結果、携帯端末102が高速移動中であると判定すると(S602でYES)、携帯端末102の中継処理としてプロキシモードを選択する(S607)。携帯端末102が高速移動中は、公衆網の通信状態が不安定になることが考えられる。このため、携帯端末102にデータを一時的に保持させるプロキシモードを用いることにより、カメラ101において必要以上に再送等をする必要がなくなり、バッテリーの消費を抑えることが可能となる。
First, the
次に、制御部205は、携帯端末102が高速移動中ではないと判断した場合(S602でNO)、公衆網側で輻輳が発生しているか否かを判定する。輻輳が発生していると判定した場合(S603でYES)、携帯端末102の中継処理としてプロキシモードを選択する(S607)。公衆網が輻輳中の場合は、公衆網側で送信データの衝突による通信エラーが頻発することが考えられる。携帯端末102にデータを一時的に保持させるプロキシモードを用いることにより、カメラ101が携帯端末102にデータを送った後は、携帯端末102が公衆網側の通信状況に応じてデータを転送する。このため、カメラ101が信号の再送等をする必要がなくなり、必要以上にバッテリーを消費することを防ぐことが可能となる。
Next, when it is determined that the
次に、制御部205は、公衆網側が輻輳状態ではないと判断した場合(S603でNO)、情報検出部207を用いて、携帯端末102との間で形成している無線接続の実効速度を検出し、ローカル接続側の伝送効率を算出する(S604)。また、制御部205は、同様に、通信状態情報に含まれる公衆網側の実効速度から公衆網側の伝送効率を算出する(S604)。
Next, when the
そして、制御部205は、算出したローカル接続側の伝送効率と、公衆網側の伝送効率を比較する(S605)。比較の結果、ローカル接続側の伝送効率が公衆網側の伝送効率以下であると判断した場合(S605でNO)、携帯端末102の中継処理としてデータを透過的に扱うIPルータモードを選択する(S606)。反対に、ローカル接続側の伝送効率が公衆網側の伝送効率よりも高いと判断した場合(S605でYES)、携帯端末102の中継処理としてプロキシモードを選択する(S607)。なお、ここでは、伝送効率に基づいて動作モードの選択を行うが、実効速度に基づいて動作モードの選択を行ってもよい。この場合、ローカル接続側の実効速度が公衆網側の実効速度より高速であった場合、動作モードをプロキシモードとする。そして、公衆網側の実効速度の方がローカル接続側の実効速度より高速であった場合は、IPルータモードとする。
Then, the
公衆網側の伝送効率がローカル接続側の伝送効率以上であれば、カメラ101が携帯端末102へ送信したデータの全てをそのまま携帯端末102が基地局104へ送ることができる可能性が高いと考えられる。このため、この場合には、携帯端末102がカメラ101から受信したデータをスルーして、一時的な保持をすることなく、基地局104へ転送するIPルータモードを選択する。IPルータモードを選択することで、サーバ103との間の高速な通信を行うことができる。一方、ローカル接続側の伝送効率の方が高い場合、カメラ101から携帯端末102へ送信するデータの量が携帯端末102から転送できるデータの量を超えてしまう。このため、後者の場合はプロキシモードを用いて、データを一時的に携帯端末102で保持するようにする。これにより、カメラ101において必要以上に再送等をする必要がなくなり、バッテリーの消費を抑えることが可能となる。
If the transmission efficiency on the public network side is equal to or higher than the transmission efficiency on the local connection side, it is highly likely that the
以下では、カメラ101は、通信状態情報の確認処理と携帯端末102の動作モードの決定処理(S407)の結果、IPルータモードを選択した場合について説明する。この場合、カメラ101は、IPルータモードでの処理を開始し(M308)、カメラ101のユーザは、アップロード先のアカウントを選択する(M309、S408)。そして、カメラ101は、携帯端末102の動作モードとしてIPルータモードを選択したため(S409でNO)、「IPルータモード」で動作すべき旨の情報を含む動作指定メッセージを携帯端末102へ送信する(M310、S415)。
Hereinafter, a case will be described in which the
携帯端末102は、動作指定メッセージを受信すると(M310、S508)、指定された動作モードを確認する。ここで、カメラ101は、「IPルータモード」で動作するように指定している(S509でNO)ため、携帯端末102はIPルータモード処理を開始する(M311、S515)。なお、IPルータモードでは、携帯端末102は、カメラ101から受信するアップロード処理に関するデータを透過的に扱う。
When the
カメラ101は、選択されているアップロード先のアカウント情報をもとに、携帯端末102、基地局104およびインターネット105を介してサーバ103との間でログイン処理を実行する(M312、S416)。カメラ101は、サーバ103との間でログイン処理(M312)が完了すると(M313、S417でYES)、データのアップロード処理を実行する(M314、S418)。
The
一方、通信状態情報の確認処理と携帯端末102の動作モードの決定処理(S407)の結果、カメラ101がプロキシモードを選択した場合について、図7を参照して説明する。図7の処理においては、M301〜M307の処理は図3の場合と同様であるため、説明を省略する。この場合、プロキシモードが選択されているため、カメラ101はプロキシモードでの処理を開始し(M701)、カメラ101のユーザは、アップロード先のアカウントを選択する(M702、S408)。そして、カメラ101は、携帯端末102の動作モードとしてプロキシモードを選択したため(S409でYES)、「プロキシモード」で動作すべき旨の情報を含む動作指定メッセージを携帯端末102へ送信する(M703、S410)。
On the other hand, a case where the
携帯端末102は、動作指定メッセージを受信すると(M703、S508)、指定された動作モードを確認する。ここで、カメラ101は、「プロキシモード」で動作するように指定している(S509でYES)ため、携帯端末102はプロキシモード処理を開始する(M704)。なお、プロキシモードは、カメラ101から受信するアップロード処理に関するデータを一時的に保持して取り扱う。
When the
カメラ101は、選択されているアップロード先のアカウント情報をもとに、携帯端末102に対して、アカウント情報を含むアップロード設定要求メッセージを送信する(M705、S411)。携帯端末102は、アップロード設定要求メッセージを受信すると(M705、S510でYES)、基地局104およびインターネット105を介してサーバ103との間でログイン処理を実行する(M706、S511)。なお、このログイン処理では、カメラ101から受信したアカウント情報を用いる。すなわち、携帯端末102は、カメラ101の代行としてサーバ103へログインする。携帯端末102は、ログイン処理が完了すると(M707、S512でYES)、カメラ101に対して、アップロード設定要求メッセージを送信する(M708、S513)。
The
カメラ101は、アップロード設定確認メッセージを受信すると(M708、S412でYES)、携帯端末102とサーバ103との間でログイン処理が完了(M707)したと判断する(S413でYES)。その後、カメラ101は、携帯端末102へデータのアップロード処理を実行する(M709、S414)。一方、携帯端末102は、カメラ101から受信したデータを一時的に保持し、基地局104およびインターネット105を介して、サーバ103に対してアップロードする(M710、S514)。
Upon receiving the upload setting confirmation message (M708, YES in S412), the
本実施形態によれば、以上のように、カメラ101は、データのアップロード時に、携帯端末102から通知される公衆網側の通信状態や無線回線の使用状況に応じて、携帯端末102の最適な動作モードを選択する。これにより、効率の良いデータ伝送が実現され、カメラ101の省電力化を実現することができる。
According to the present embodiment, as described above, the
<<実施形態2>>
以下、実施形態2における無線通信装置の制御手順について、図8を参照して説明する。図8において、801は、基地局104Aに接続された携帯端末102Aと、携帯端末102Aと無線接続されているカメラ101Aが存在する高速移動中の乗用車内の空間を模式的に表す。すなわち、空間801は「移動中の空間」である。802は、基地局104Bに接続された携帯端末102Bと、携帯端末102Bと無線接続されているカメラ101Bが存在する高速移動中の乗用車内の空間を模式的に表す。空間802も空間801と同様に、「移動中の空間」である。
<<
Hereinafter, the control procedure of the wireless communication apparatus according to the second embodiment will be described with reference to FIG. In FIG. 8,
本実施形態では、図6のS602における高速移動中か否かの判定処理の手法について実施形態1と異なる手法を用いる場合について説明する。実施形態1では、カメラ101の制御部205は、携帯端末102から通知されたローミング頻度などの通信状態情報の解析結果から、携帯端末102の高速移動を判断できると述べた。これに対し、本実施形態では、カメラ101が自律的に、移動したことに伴う状況の変化を検出し、その変化に応じて空間801から空間802へ高速移動していることを判定する。
In the present embodiment, a case will be described in which a method different from that of the first embodiment is used as a method for determining whether or not the vehicle is moving at high speed in S602 of FIG. In the first embodiment, it has been described that the
高速移動の判定は、例えば、カメラ101に、ジャイロセンサ、加速度センサ、地磁気センサ等の少なくとも1つを備え、これらのセンサの観測値に基づいて情報検出部207により行う。具体的には、カメラ101と携帯端末102との通信環境に大きな変化がないのにも関わらず、カメラ101が、センサで測定した値により高速移動していると判定した場合などに、カメラ101と共に携帯端末102が高速移動していると判定する。これは、通信環境に大きな変化がないことから、カメラ101と携帯端末102が一定の位置関係を維持していると考えられ、その結果、携帯端末102がカメラ101と共に高速移動していると考えられるからである。これにより、公衆網側の通信状態によらず、カメラ101が、自身の置かれている環境及び公衆網側の通信環境を自律的に把握できる。また、携帯端末102からGPS情報(位置情報)を取得して、その情報を用いて高速移動の判定を行ってもよい。具体的には、例えば、携帯端末102の位置情報に基づいて、所定時間内に所定値以上の距離の移動があった場合には、高速移動していると判定する。
The determination of the high-speed movement is performed by the
本実施形態によれば、実施形態1と同様に、通信環境に応じて最適な動作モードを選択することにより、効率の良いデータ伝送が実現され、カメラの省電力化が可能となる。 According to the present embodiment, as in the first embodiment, by selecting an optimal operation mode according to the communication environment, efficient data transmission is realized, and the power consumption of the camera can be reduced.
<<その他の実施形態>>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
<< Other Embodiments >>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (9)
前記中継装置と前記他の装置との間の通信状態の情報を取得する取得手段と、
前記取得手段により取得した前記情報に基づいて、前記通信装置から前記中継装置を通信相手として送信されたデータを前記中継装置が受信すると共に、前記中継装置が受信した当該データを前記他の装置を通信相手として代理送信する第1のモードと、前記通信装置から前記他の装置を通信相手として送信されたデータを前記中継装置が転送する第2のモードと、のいずれかを選択する選択手段と、
前記選択手段により選択されたモードを前記中継装置へ通知する通知手段と、
を有することを特徴とする通信装置。 A communication device that transmits data to another device via a relay device,
Obtaining means for obtaining information of a communication state between the relay device and the other device;
Based on the information acquired by the acquiring means, the relay device receives data transmitted from the communication device using the relay device as a communication partner, and the other device receives the data received by the relay device. Selection means for selecting one of a first mode in which proxy transmission is performed as a communication partner and a second mode in which the relay device transfers data transmitted from the communication device to the other device as a communication partner; ,
Notification means for notifying the relay device of the mode selected by the selection means;
A communication apparatus comprising:
前記選択手段は、前記中継装置と前記他の装置との間の伝送効率が前記中継装置と前記通信装置との間の伝送効率よりも高い場合、前記第2のモードを選択することを特徴とする請求項1に記載の通信装置。 The information is information on transmission efficiency between the relay device and the other device,
The selection unit selects the second mode when the transmission efficiency between the relay device and the other device is higher than the transmission efficiency between the relay device and the communication device. The communication device according to claim 1.
前記選択手段は、前記中継装置と前記他の装置との間の伝送効率が前記中継装置と前記通信装置との間の伝送効率よりも低い場合、前記第1のモードを選択することを特徴とする請求項1または2に記載の通信装置。 The information is information on transmission efficiency between the relay device and the other device,
The selection unit selects the first mode when transmission efficiency between the relay device and the other device is lower than transmission efficiency between the relay device and the communication device. The communication device according to claim 1 or 2.
前記選択手段は、前記輻輳が発生している場合は、前記第1のモードを選択することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。 The information includes information regarding whether or not congestion occurs in communication between the relay device and the other device,
4. The communication device according to claim 1, wherein the selection unit selects the first mode when the congestion occurs. 5.
前記選択手段は、前記頻度が所定値を超える場合に、前記第1のモードを選択することを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。 The information includes at least one of roaming, channel switching, and handover frequency information in the relay device,
5. The communication apparatus according to claim 1, wherein the selection unit selects the first mode when the frequency exceeds a predetermined value. 6.
前記選択手段は、前記位置情報の変化に基づいて選択を行うことを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。 The acquisition means further acquires information related to position information of the relay device from the relay device,
The communication apparatus according to claim 1, wherein the selection unit performs selection based on a change in the position information.
前記通信装置と前記中継装置との間の通信状態を監視する監視手段とを更に有し、
前記選択手段は、前記通信装置と前記中継装置との間の通信状態と、前記センサにおける観測値に基づいて、選択を行うことを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。 At least one of a gyro sensor, an acceleration sensor, and a geomagnetic sensor;
Monitoring means for monitoring a communication state between the communication device and the relay device;
The said selection means performs selection based on the communication state between the said communication apparatus and the said relay apparatus, and the observation value in the said sensor, The one of Claims 1 thru | or 4 characterized by the above-mentioned. Communication device.
前記中継装置と前記他の装置との間の通信状態の情報を取得する取得工程と、
前記情報に基づいて、前記通信装置から前記中継装置を通信相手として送信されたデータを前記中継装置が受信すると共に、前記中継装置が受信した当該データを前記他の装置を通信相手として代理送信する第1のモードと、前記通信装置から前記他の装置を通信相手として送信されたデータを前記中継装置が転送する第2のモードと、のいずれかを選択する選択工程と、
前記選択工程において選択されたモードを前記中継装置へ通知する通知手段と、
を有することを特徴とする制御方法。 A method for controlling a communication device that transmits data to another device via a relay device,
An acquisition step of acquiring information on a communication state between the relay device and the other device;
Based on the information, the relay device receives data transmitted from the communication device using the relay device as a communication partner, and transmits the data received by the relay device as a communication partner using the other device as a communication partner. A selection step of selecting one of a first mode and a second mode in which the relay device transfers data transmitted from the communication device with the other device as a communication partner;
Notification means for notifying the relay device of the mode selected in the selection step;
A control method characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011133540A JP5828684B2 (en) | 2011-06-15 | 2011-06-15 | Communication device, control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011133540A JP5828684B2 (en) | 2011-06-15 | 2011-06-15 | Communication device, control method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013005181A true JP2013005181A (en) | 2013-01-07 |
JP5828684B2 JP5828684B2 (en) | 2015-12-09 |
Family
ID=47673282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011133540A Active JP5828684B2 (en) | 2011-06-15 | 2011-06-15 | Communication device, control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5828684B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003143237A (en) * | 2001-11-06 | 2003-05-16 | Mitsubishi Electric Corp | Network apparatus and mobile terminal information system |
JP2006101315A (en) * | 2004-09-30 | 2006-04-13 | Denso Corp | Communication relay device, communication relay program, and communication relay system |
JP2009538045A (en) * | 2006-05-16 | 2009-10-29 | オートネット・モバイル・インコーポレーテッド | Mobile router with session proxy |
-
2011
- 2011-06-15 JP JP2011133540A patent/JP5828684B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003143237A (en) * | 2001-11-06 | 2003-05-16 | Mitsubishi Electric Corp | Network apparatus and mobile terminal information system |
JP2006101315A (en) * | 2004-09-30 | 2006-04-13 | Denso Corp | Communication relay device, communication relay program, and communication relay system |
JP2009538045A (en) * | 2006-05-16 | 2009-10-29 | オートネット・モバイル・インコーポレーテッド | Mobile router with session proxy |
Non-Patent Citations (1)
Title |
---|
JPN6015008721; 大原衛 他: '"無線端末向けデータ複製技術の開発"' 東京都立産業技術研究所研究報告 第8号, 200511, p.51-54, 東京都立産業技術研究所 * |
Also Published As
Publication number | Publication date |
---|---|
JP5828684B2 (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8199701B2 (en) | Radio communication device, and ad hoc route information acquiring method | |
WO2005091576A1 (en) | Radio communication device and route search method | |
JP4559207B2 (en) | Control device, mobile terminal, and communication control method | |
JP4480568B2 (en) | Control device, mobile terminal, and communication control method | |
JP2009218929A (en) | Base station, mobile terminal and communication program | |
JP2017085379A5 (en) | ||
WO2016119754A1 (en) | Providing wireless services | |
KR20190030653A (en) | A method for establishing a network cluster between network devices | |
KR20140062499A (en) | Method, flow-distribution equipment, user terminal and system for data transmission | |
JP2014143540A (en) | Communication device, control method of communication device, and program | |
US20120063440A1 (en) | Wireless lan access point device, mobile communication terminal, communication method, and program | |
JP6379629B2 (en) | Communication control device, wireless communication device, communication control method, and wireless communication method | |
EP2991409B1 (en) | Wireless communication device, processor, and communication control method | |
CN112703765A (en) | Uplink in-order delivery for offloaded QOS flows in 5GC multi-RAT dual connectivity | |
JP5843634B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP5828684B2 (en) | Communication device, control method, and program | |
JP2006050371A (en) | Method of data transmission in ad-hoc network | |
JP2018537928A (en) | Method and system for ranging protocol | |
JP4481203B2 (en) | Wireless LAN system | |
JP2015536090A (en) | Short-range communication in a wireless communication system | |
JP5628858B2 (en) | Transfer control device, transfer control method, and transfer control program | |
JP2010068107A (en) | Communication device, communication method, and communication program | |
EP3172891B1 (en) | Reliable transfer of data from an image capturing device to a remote data storage | |
WO2014087669A1 (en) | Communication system, communication device, and method for controlling line selection | |
CN113039835A (en) | Mobility management in information-centric networking |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140418 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150306 |
|
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: 20150924 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20151020 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5828684 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |