JP2013005181A - Communication device, control method and program - Google Patents

Communication device, control method and program Download PDF

Info

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
Application number
JP2011133540A
Other languages
Japanese (ja)
Other versions
JP5828684B2 (en
Inventor
Norihiro Ikeda
宣弘 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2011133540A priority Critical patent/JP5828684B2/en
Publication of JP2013005181A publication Critical patent/JP2013005181A/en
Application granted granted Critical
Publication of JP5828684B2 publication Critical patent/JP5828684B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the conventional problem of being unable to appropriately select an operational mode of a relay device when communicating through the relay device.SOLUTION: Based on the information of communication condition between the relay device and another device, selection is made between a first mode, in which the relay device receives data transmitted from the communication device to the relay device as an opposite communication party and transmits the received data in proxy to the other device as an opposite communication party, and a second mode in which the relay device transfers the data transmitted from the communication device to another device as an opposite communication party. The selected mode is notified to the relay device.

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.

特開2002−057609号公報JP 2002-057609 A

上述の中継装置のように、カメラとの間の無線通信と携帯電話網との無線通信とで異なるネットワークを用いる場合、カメラとの間の通信状態と、携帯電話網との間の通信状態とが異なるために、伝送速度に不均衡が生じる場合があった。例えば、中継装置が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.

実施形態1に係るネットワークの構成図。1 is a configuration diagram of a network according to Embodiment 1. FIG. カメラの機能構成を表すブロック図。The block diagram showing the functional composition of a camera. IPルータモードが選択された場合のシーケンスチャート。The sequence chart when IP router mode is selected. カメラの動作を示すフローチャート。The flowchart which shows operation | movement of a camera. 携帯端末の動作を示すフローチャート。The flowchart which shows operation | movement of a portable terminal. カメラの通信状態確認処理及び携帯端末の動作モードの決定処理の動作を示すフローチャート。The flowchart which shows the operation | movement of the communication state confirmation process of a camera, and the determination process of the operation mode of a portable terminal. プロキシモードが選択された場合のシーケンスチャート。Sequence chart when proxy mode is selected. 実施形態2に係るネットワークの構成図。FIG. 6 is a configuration diagram of a network according to the second embodiment. IPルータモードの通信手順の一例を説明する図。The figure explaining an example of the communication procedure of IP router mode. プロキシモードの通信手順の一例を説明する図。The figure explaining an example of the communication procedure of proxy mode.

以下、添付図面を参照して本発明の実施の形態を詳細に説明する。   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, reference numeral 101 denotes a camera, which includes a wireless communication apparatus that can establish a wireless communication line by a predetermined communication method and can perform communication. In the following, the operation of the wireless communication apparatus will be mainly described. However, for simplicity, in the following description, all functions including the functions of the wireless communication apparatus are referred to as “cameras”. In the following description, a camera is described as an example, but the present invention is not limited to this. For example, a recording device may be used instead of the camera, and the main application of the device may be anything as long as it is a device that transmits and receives data by communication.

102は中継装置としての機能を有する携帯端末であり、103はカメラ101からアップロードされた画像等のデータを蓄積するサーバである。104は基地局であり、所定の通信方式により所定のエリアの無線局と通信を行い、ネットワーク側からの信号を無線局へ送信し、無線局からの信号をネットワーク側へ送信する。ここでは、携帯端末102は、基地局104の構成する通信エリアに存在し、基地局104との間で通信回線を構築して無線通信を行う。105はISP(Internet Service Provider)等を介して、サーバ103および基地局104を接続するネットワークであり、例えばインターネットである。なお、以下の説明では、105はインターネットとして説明する。   Reference numeral 102 denotes a portable terminal having a function as a relay device, and reference numeral 103 denotes a server that accumulates data such as images uploaded from the camera 101. Reference numeral 104 denotes a base station that communicates with a wireless station in a predetermined area by a predetermined communication method, transmits a signal from the network side to the wireless station, and transmits a signal from the wireless station to the network side. Here, the mobile terminal 102 exists in a communication area formed by the base station 104 and establishes a communication line with the base station 104 to perform wireless communication. A network 105 connects the server 103 and the base station 104 via an ISP (Internet Service Provider) or the like, for example, the Internet. In the following description, 105 is described as the Internet.

携帯端末102は、ある無線局から第1の通信回線を介して受信したデータを、第2の通信回線を用いて他の無線局へ中継する。同様に、携帯端末102は、第2の通信回線を介して受信した信号を第1の通信回線を用いて転送することもできる。また、第1の通信回線および第2の通信回線は、携帯端末102が対応可能な通信方式により構築され、その通信方式は、通信環境等に応じて通信の度に変更されてもよい。また、第1の通信回線および第2の通信回線は、パケット交換による回線であっても回線交換による回線であってもよく、通信が可能な回線であればどのようなものであってもよい。   The mobile terminal 102 relays data received from a certain wireless station via the first communication line to another wireless station using the second communication line. Similarly, the portable terminal 102 can also transfer a signal received via the second communication line using the first communication line. In addition, the first communication line and the second communication line may be constructed by a communication method that the mobile terminal 102 can handle, and the communication method may be changed for each communication according to the communication environment or the like. Further, the first communication line and the second communication line may be a packet-switched line or a circuit-switched line, and may be any line as long as communication is possible. .

本実施形態においては、カメラ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 camera 101 and the portable terminal 102, and a second communication line is constructed between the portable terminal 102 and the base station 104. And Here, the communication method used in the first communication line is a wireless LAN, and the communication method used in the second communication line is a communication method compliant with the standard of mobile phones such as 3G and LTE. To do. That is, in this embodiment, in FIG. 1, the mobile terminal 102 constructs a first communication line with the camera 101 using a wireless LAN infrastructure network or an ad hoc network. Then, the mobile terminal 102 constructs a second communication line in the mobile phone network formed by the base station 104 at the same time. In the above description, the wireless communication path between the portable terminal 102 and the base station 104 is the second communication line, but the line from the portable terminal 102 to the server 103 including the base station 104 is the second communication line. It may be a communication line.

また、ここで、カメラ101と携帯端末102との間で用いる通信方式は、無線LANではない他の通信方式であってもよい。また、同様に、携帯端末102と基地局104との間の通信方式も、携帯電話による方式である必要はなく、例えば公衆無線LANなどであってもよい。公衆無線LANを用いる場合、基地局104は例えばアクセスポイントである。   Here, the communication method used between the camera 101 and the portable terminal 102 may be another communication method that is not a wireless LAN. Similarly, the communication method between the mobile terminal 102 and the base station 104 need not be a method using a mobile phone, and may be a public wireless LAN, for example. When using a public wireless LAN, the base station 104 is an access point, for example.

なお、以下では、カメラ101と携帯端末102の無線接続のことをローカル接続と呼び、携帯端末102と基地局104との接続、すなわち基地局104が構成する網を公衆網と呼ぶ。   Hereinafter, the wireless connection between the camera 101 and the mobile terminal 102 is referred to as a local connection, and the connection between the mobile terminal 102 and the base station 104, that is, the network formed by the base station 104 is referred to as a public network.

(装置構成)
図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 camera 101 according to the present embodiment. In FIG. 7, 201 is an antenna, 202 is a transmission / reception unit that transmits and receives radio signals via the antenna 201, and 203 is a nonvolatile memory unit (ROM). Reference numeral 204 denotes a volatile memory unit (RAM) of the camera 101, 205 denotes a control unit, 206 denotes an imaging unit, and 207 denotes an information detection unit. The camera 101 captures an image with the imaging unit 206 and stores the processed data in the ROM 203. Note that the imaged and processed data may be stored in the RAM 204 if it is only temporarily stored for transmission to the server.

(システムの動作モード)
本実施形態では、カメラ101は、携帯端末102の中継装置としての動作モードを決定する。具体的には、第1のモードであるIPルータモードと、第2のモードであるプロキシモードの中から、通信環境に適したモードを選択する。
(System operation mode)
In the present embodiment, the camera 101 determines the operation mode of the mobile terminal 102 as a relay device. Specifically, a mode suitable for the communication environment is selected from the IP router mode that is the first mode and the proxy mode that is the second mode.

ここで、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 camera 101 and the server 103 which are communication apparatuses will be described. Reference numerals 901 and 907 denote Internet procedure units which handle IP packets and the like. Reference numerals 902 and 908 denote transport procedure units, which handle TCP, UDP packets, and the like. Reference numerals 903 and 909 denote application procedure parts, which handle HTTP and the like. Reference numerals 904 and 910 denote application interface procedure parts, which represent APIs for accessing the Web service provided by the server 103.

次に中継装置である携帯端末102について説明する。携帯端末102では、905および906においてIPパケットのIPアドレスフィルタリングやアドレス変換などを行い、カメラ101のインターネット手順部901をサーバ103のインターネット手順部907に合うアドレスに置き換える。それ以外のトランスポート手順部、アプリケーション手順部、アプリケーションインターフェース手順部は、データ等の変換や中身のデータの解析をすることはない。   Next, the portable terminal 102 that is a relay device will be described. In the mobile terminal 102, IP address filtering and address conversion of the IP packet are performed in 905 and 906, and the Internet procedure unit 901 of the camera 101 is replaced with an address suitable for the Internet procedure unit 907 of the server 103. Other transport procedure parts, application procedure parts, and application interface procedure parts do not convert data or analyze contents data.

(プロキシモードによる通信手順)
図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 mobile API 1004 of the camera 101 and the mobile API 1008 of the mobile terminal 102. On the other hand, a request and a response are executed between the service API 1017 of the server 103 and the service API 1013 of the mobile terminal 102. In this case, the mobile API and the service API may operate independently. In other words, in the cooperative application 1009 between the camera and the Web, even when a transmission request for imaging data from the camera is generated, the mobile terminal 102 processes the request from the camera when it is ready to transmit to the server 103. do it.

例えば、カメラ101と携帯端末102は無線接続状態で携帯APIによってデータ通信できるが、携帯端末102はサーバ103との間で無線通信が圏外のため通信ができない場合が考えられる。このような場合、携帯端末102は、サーバ103へのアクセスを中断し、圏内に復帰した時点でサーバ103との間でサービスAPIによってデータ通信を実行することができる。   For example, the camera 101 and the portable terminal 102 can perform data communication with a portable API in a wireless connection state, but the portable terminal 102 may not be able to communicate with the server 103 because wireless communication is out of range. In such a case, the mobile terminal 102 can interrupt data access to the server 103 and execute data communication with the server 103 by the service API when the mobile terminal 102 returns to the service area.

なお、上述の説明では、中継局におけるパケットの取り扱い動作に基づいて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 camera 101 accesses the server 103 that provides the Web service as a client, a connection form in which the client directly connects to the server device may be set as the IP router mode. Similarly, the proxy mode may be used when the mobile terminal 102 serving as the relay device accesses the server 103 instead of the client. That is, the operation mode may be classified according to the form of access to the server 103. However, even if this classification is used, there is no particular difference in the operation of the system and apparatus described below.

(システム及び装置の動作)
以下、システム、カメラ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 camera 101, and the mobile terminal 102 will be described with reference to FIGS. 3, 4, and 5. FIG. FIG. 3 is a sequence chart illustrating message transmission / reception processing of the camera 101, the portable terminal 102, the server 103, and the base station 104 that configure the communication network according to the first embodiment. In particular, FIG. 3 illustrates the case where the mobile terminal 102 performs the relay process by transparently handling data, that is, the case where the IP router mode is selected in the process of the camera 101, as will be described later. FIG. 4 is a flowchart regarding control processing of the camera 101 according to the present embodiment, and FIG. 5 is a flowchart regarding control processing of the mobile terminal 102 according to the present embodiment.

カメラ101は、ROM203に蓄積したデータの中から所望のものを選択することにより、サーバ103にデータをアップロードする処理を開始する(M301、S401でYES)。また、携帯端末102は、別途中継処理を開始しているものとする(S501でYes)。   The camera 101 starts a process of uploading data to the server 103 by selecting desired data from the data stored in the ROM 203 (YES in M301 and S401). Further, it is assumed that the mobile terminal 102 has started relay processing separately (Yes in S501).

処理が開始されると、カメラ101と携帯端末102との間でローカル接続処理がそれぞれ実行される(M302、S402、S502)。そして、カメラ101においては、接続の確認が実行される(S403)。なお、カメラ101と携帯端末102との間のローカル接続は予め行われていてもよい。また、その場合、これらのステップは省略してもよい。一方、携帯端末102は、接続処理の実行後、カメラ101からのデータの送信要求があったかを監視するモードに移行する(S503)。   When the processing is started, local connection processing is executed between the camera 101 and the portable terminal 102 (M302, S402, S502). In the camera 101, connection confirmation is executed (S403). Note that local connection between the camera 101 and the mobile terminal 102 may be performed in advance. In that case, these steps may be omitted. On the other hand, after executing the connection process, the portable terminal 102 shifts to a mode for monitoring whether there is a data transmission request from the camera 101 (S503).

カメラ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 camera 101 transmits a data transmission request message to the mobile terminal 102 (M303, S404). Then, the camera 101 starts a response timer, and transitions to a state in which a response from the mobile terminal 102 is confirmed (S405, S406). When the response timer of the camera 101 times out (YES in S405), the process is executed again from the local connection process with the mobile terminal 102 (S402 to S404).

携帯端末102が、データ送信要求メッセージを受信すると(M303、S503でYES)、基地局104との間で接続処理を実行する(M304、S504)。そして、接続確立タイマーを起動し、基地局104との間における通信確立を確認する状態に遷移する(S505、S506)。このとき、携帯端末102の接続確立タイマーがタイムアウトした場合には(S505でYES)、カメラ101との間のローカル接続処理から処理を再度実行する(S501〜S504)。この場合、携帯端末102は、カメラ101からのデータ送信要求へ回答することができず、カメラ101において、データ送信要求への応答待ちがタイムアウトとなり、ローカル接続処理から処理が再実行されることになるからである。なお、携帯端末102と基地局104との間の公衆網における接続も予め行われていてもよい。また、その場合、上記の処理は省略してもよい。   When the portable terminal 102 receives the data transmission request message (YES in M303 and S503), connection processing is executed with the base station 104 (M304 and S504). Then, a connection establishment timer is started, and a transition is made to a state in which communication establishment with the base station 104 is confirmed (S505, S506). At this time, if the connection establishment timer of the mobile terminal 102 has timed out (YES in S505), the process is executed again from the local connection process with the camera 101 (S501 to S504). In this case, the mobile terminal 102 cannot reply to the data transmission request from the camera 101, and the camera 101 times out waiting for a response to the data transmission request, and the process is re-executed from the local connection process. Because it becomes. In addition, the connection in the public network between the portable terminal 102 and the base station 104 may be performed in advance. In that case, the above processing may be omitted.

一方、携帯端末102は、正常に基地局104との間の接続処理(M304)が完了し、公衆網との接続が確認できた場合(S506でYES)、公衆網の通信の実効速度や輻輳状態など、公衆網側の通信状態情報を取得する。通信状態情報の取得は、例えば基地局104への問い合わせを通じて行う。基地局104は、携帯端末102からの電波の受信強度や、ネットワークの混雑度合い等の通信状態情報を携帯端末102へ送信する。なお、公衆網における通信状態の情報に限らず、携帯端末102からサーバ103までの間の通信路の状態に関する情報を取得してもよい。例えば、携帯端末102が、テストデータを基地局104を介してサーバ103等へ向けて送信し、それに対する応答が戻ってくるまでの時間を計測することなどにより、サーバ103までの通信経路における通信状態の情報を収集してもよい。   On the other hand, when the mobile terminal 102 successfully completes the connection process (M304) with the base station 104 and confirms the connection with the public network (YES in S506), the effective speed or congestion of the public network communication is confirmed. Get communication status information such as status on the public network side. The communication state information is acquired through an inquiry to the base station 104, for example. The base station 104 transmits to the portable terminal 102 communication state information such as the reception intensity of radio waves from the portable terminal 102 and the degree of network congestion. In addition, not only the information on the communication state in the public network but also information on the state of the communication path from the portable terminal 102 to the server 103 may be acquired. For example, the mobile terminal 102 transmits test data to the server 103 or the like via the base station 104 and measures the time until a response to the response is returned. Status information may be collected.

携帯端末102は、通信状態情報を取得後、データ送信要求メッセージ(M303)に対して、データ送信応答メッセージをカメラ101へ返信する(M305、S507)。なお、携帯端末102は、データ送信応答メッセージに取得した通信状態情報を含めておく。   After acquiring the communication state information, the portable terminal 102 returns a data transmission response message to the camera 101 in response to the data transmission request message (M303) (M305, S507). Note that the mobile terminal 102 includes the acquired communication state information in the data transmission response message.

カメラ101は、受信タイムアウト(S405でYES)の前にデータ送信応答メッセージを受信すると(M305、S406でYES)、公衆網側の通信状態情報を確認する(M306、S407)。ここで、カメラ101は、データ送信応答メッセージに含まれている通信状態情報を確認することで、公衆網側の通信状態を知ることができる。   When the camera 101 receives the data transmission response message before the reception timeout (YES in S405) (YES in M305 and S406), the camera 101 confirms the communication state information on the public network side (M306 and S407). Here, the camera 101 can know the communication state on the public network side by confirming the communication state information included in the data transmission response message.

以下、カメラ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 ROM 203 of the camera 101 and the operation mode determination process (M307) of the mobile terminal 102 will be described below. When the camera 101 receives a data transmission response message including communication state information via the antenna 201 and the transmission / reception unit 202, the camera 101 stores the message in the RAM 204 under the control of the control unit 205. Next, the control unit 205 executes communication state information confirmation processing and operation mode determination processing of the mobile terminal 102 based on the algorithm stored in the ROM 203. An example of this algorithm is shown in FIG.

まず、制御部205は、RAM204に保存されているデータ送信応答メッセージ(M305)に含まれる通信状態情報を解析する(S601)。そして、この解析により、公衆網側の通信の実効速度、及び輻輳状態、ローミングやチャネル切替、ハンドオーバー(ハンドオフ)の頻度などの情報を取得する。制御部205は、通信状態情報の解析の結果、ローミングやチャネル切替、ハンドオーバー(ハンドオフ)の少なくとも1つの頻度などに基づいて、携帯端末102が高速移動中であるか否かを判定する。その結果、携帯端末102が高速移動中であると判定すると(S602でYES)、携帯端末102の中継処理としてプロキシモードを選択する(S607)。携帯端末102が高速移動中は、公衆網の通信状態が不安定になることが考えられる。このため、携帯端末102にデータを一時的に保持させるプロキシモードを用いることにより、カメラ101において必要以上に再送等をする必要がなくなり、バッテリーの消費を抑えることが可能となる。   First, the control unit 205 analyzes communication state information included in the data transmission response message (M305) stored in the RAM 204 (S601). By this analysis, information such as the effective speed of communication on the public network side, the congestion state, roaming and channel switching, and the frequency of handover (handoff) is acquired. The control unit 205 determines whether or not the mobile terminal 102 is moving at high speed based on at least one frequency of roaming, channel switching, and handover (handoff) as a result of analyzing the communication state information. As a result, when it is determined that the mobile terminal 102 is moving at high speed (YES in S602), the proxy mode is selected as the relay process of the mobile terminal 102 (S607). It is conceivable that the communication state of the public network becomes unstable while the mobile terminal 102 is moving at high speed. For this reason, by using the proxy mode in which the portable terminal 102 temporarily holds data, it is not necessary to perform retransmission or the like more than necessary in the camera 101, and battery consumption can be suppressed.

次に、制御部205は、携帯端末102が高速移動中ではないと判断した場合(S602でNO)、公衆網側で輻輳が発生しているか否かを判定する。輻輳が発生していると判定した場合(S603でYES)、携帯端末102の中継処理としてプロキシモードを選択する(S607)。公衆網が輻輳中の場合は、公衆網側で送信データの衝突による通信エラーが頻発することが考えられる。携帯端末102にデータを一時的に保持させるプロキシモードを用いることにより、カメラ101が携帯端末102にデータを送った後は、携帯端末102が公衆網側の通信状況に応じてデータを転送する。このため、カメラ101が信号の再送等をする必要がなくなり、必要以上にバッテリーを消費することを防ぐことが可能となる。   Next, when it is determined that the mobile terminal 102 is not moving at high speed (NO in S602), the control unit 205 determines whether congestion has occurred on the public network side. When it is determined that congestion has occurred (YES in S603), the proxy mode is selected as the relay process of the mobile terminal 102 (S607). When the public network is congested, communication errors due to transmission data collisions frequently occur on the public network side. By using the proxy mode in which the portable terminal 102 temporarily holds data, after the camera 101 sends data to the portable terminal 102, the portable terminal 102 transfers the data according to the communication status on the public network side. For this reason, it is not necessary for the camera 101 to retransmit the signal, and it is possible to prevent the battery from being consumed more than necessary.

次に、制御部205は、公衆網側が輻輳状態ではないと判断した場合(S603でNO)、情報検出部207を用いて、携帯端末102との間で形成している無線接続の実効速度を検出し、ローカル接続側の伝送効率を算出する(S604)。また、制御部205は、同様に、通信状態情報に含まれる公衆網側の実効速度から公衆網側の伝送効率を算出する(S604)。   Next, when the control unit 205 determines that the public network side is not in a congestion state (NO in S603), the control unit 205 uses the information detection unit 207 to determine the effective speed of the wireless connection formed with the portable terminal 102. Then, the transmission efficiency on the local connection side is calculated (S604). Similarly, the control unit 205 calculates the transmission efficiency on the public network side from the effective speed on the public network side included in the communication state information (S604).

そして、制御部205は、算出したローカル接続側の伝送効率と、公衆網側の伝送効率を比較する(S605)。比較の結果、ローカル接続側の伝送効率が公衆網側の伝送効率以下であると判断した場合(S605でNO)、携帯端末102の中継処理としてデータを透過的に扱うIPルータモードを選択する(S606)。反対に、ローカル接続側の伝送効率が公衆網側の伝送効率よりも高いと判断した場合(S605でYES)、携帯端末102の中継処理としてプロキシモードを選択する(S607)。なお、ここでは、伝送効率に基づいて動作モードの選択を行うが、実効速度に基づいて動作モードの選択を行ってもよい。この場合、ローカル接続側の実効速度が公衆網側の実効速度より高速であった場合、動作モードをプロキシモードとする。そして、公衆網側の実効速度の方がローカル接続側の実効速度より高速であった場合は、IPルータモードとする。   Then, the control unit 205 compares the calculated transmission efficiency on the local connection side with the transmission efficiency on the public network side (S605). As a result of comparison, if it is determined that the transmission efficiency on the local connection side is equal to or lower than the transmission efficiency on the public network side (NO in S605), an IP router mode that transparently handles data is selected as relay processing of the mobile terminal 102 ( S606). On the contrary, when it is determined that the transmission efficiency on the local connection side is higher than the transmission efficiency on the public network side (YES in S605), the proxy mode is selected as the relay process of the mobile terminal 102 (S607). Here, the operation mode is selected based on the transmission efficiency, but the operation mode may be selected based on the effective speed. In this case, when the effective speed on the local connection side is higher than the effective speed on the public network side, the operation mode is set to the proxy mode. When the effective speed on the public network side is higher than the effective speed on the local connection side, the IP router mode is set.

公衆網側の伝送効率がローカル接続側の伝送効率以上であれば、カメラ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 mobile terminal 102 can send all of the data transmitted from the camera 101 to the mobile terminal 102 as it is to the base station 104. It is done. For this reason, in this case, the IP router mode in which the mobile terminal 102 passes the data received from the camera 101 and transfers the data to the base station 104 without temporarily holding the data is selected. By selecting the IP router mode, high-speed communication with the server 103 can be performed. On the other hand, when the transmission efficiency on the local connection side is higher, the amount of data transmitted from the camera 101 to the portable terminal 102 exceeds the amount of data that can be transferred from the portable terminal 102. For this reason, in the latter case, the proxy mode is used to temporarily hold the data in the portable terminal 102. As a result, the camera 101 does not need to be retransmitted more than necessary, and battery consumption can be suppressed.

以下では、カメラ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 camera 101 selects the IP router mode as a result of the communication status information confirmation process and the operation mode determination process (S407) of the mobile terminal 102. In this case, the camera 101 starts processing in the IP router mode (M308), and the user of the camera 101 selects an upload destination account (M309, S408). Since the camera 101 has selected the IP router mode as the operation mode of the mobile terminal 102 (NO in S409), the camera 101 transmits an operation designation message including information indicating that it should operate in the “IP router mode” to the mobile terminal 102 ( M310, S415).

携帯端末102は、動作指定メッセージを受信すると(M310、S508)、指定された動作モードを確認する。ここで、カメラ101は、「IPルータモード」で動作するように指定している(S509でNO)ため、携帯端末102はIPルータモード処理を開始する(M311、S515)。なお、IPルータモードでは、携帯端末102は、カメラ101から受信するアップロード処理に関するデータを透過的に扱う。   When the portable terminal 102 receives the operation designation message (M310, S508), it confirms the designated operation mode. Here, since the camera 101 is designated to operate in the “IP router mode” (NO in S509), the mobile terminal 102 starts IP router mode processing (M311 and S515). In the IP router mode, the mobile terminal 102 transparently handles data related to upload processing received from the camera 101.

カメラ101は、選択されているアップロード先のアカウント情報をもとに、携帯端末102、基地局104およびインターネット105を介してサーバ103との間でログイン処理を実行する(M312、S416)。カメラ101は、サーバ103との間でログイン処理(M312)が完了すると(M313、S417でYES)、データのアップロード処理を実行する(M314、S418)。   The camera 101 executes login processing with the server 103 via the mobile terminal 102, the base station 104, and the Internet 105 based on the account information of the selected upload destination (M312 and S416). When the login process (M312) with the server 103 is completed (YES in M313 and S417), the camera 101 executes a data upload process (M314 and S418).

一方、通信状態情報の確認処理と携帯端末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 camera 101 selects the proxy mode as a result of the communication status information confirmation process and the operation mode determination process (S407) of the mobile terminal 102 will be described with reference to FIG. In the processing of FIG. 7, the processing of M301 to M307 is the same as that of FIG. In this case, since the proxy mode is selected, the camera 101 starts processing in the proxy mode (M701), and the user of the camera 101 selects an upload destination account (M702, S408). Since the camera 101 has selected the proxy mode as the operation mode of the mobile terminal 102 (YES in S409), the camera 101 transmits an operation designation message including information indicating that it should operate in the “proxy mode” to the mobile terminal 102 (M703, S410).

携帯端末102は、動作指定メッセージを受信すると(M703、S508)、指定された動作モードを確認する。ここで、カメラ101は、「プロキシモード」で動作するように指定している(S509でYES)ため、携帯端末102はプロキシモード処理を開始する(M704)。なお、プロキシモードは、カメラ101から受信するアップロード処理に関するデータを一時的に保持して取り扱う。   When the portable terminal 102 receives the operation designation message (M703, S508), the portable terminal 102 confirms the designated operation mode. Here, since the camera 101 is designated to operate in the “proxy mode” (YES in S509), the mobile terminal 102 starts the proxy mode process (M704). Note that the proxy mode temporarily holds and handles data related to upload processing received from the camera 101.

カメラ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 camera 101 transmits an upload setting request message including the account information to the mobile terminal 102 based on the account information of the selected upload destination (M705, S411). When the portable terminal 102 receives the upload setting request message (YES in M705 and S510), the portable terminal 102 executes login processing with the server 103 via the base station 104 and the Internet 105 (M706 and S511). In this login process, account information received from the camera 101 is used. That is, the mobile terminal 102 logs in to the server 103 as a substitute for the camera 101. When the login process is completed (YES in M707 and S512), the portable terminal 102 transmits an upload setting request message to the camera 101 (M708 and S513).

カメラ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 camera 101 determines that the login process has been completed (M707) between the mobile terminal 102 and the server 103 (YES in S413). Thereafter, the camera 101 executes data upload processing to the mobile terminal 102 (M709, S414). On the other hand, the portable terminal 102 temporarily holds the data received from the camera 101 and uploads it to the server 103 via the base station 104 and the Internet 105 (M710, S514).

本実施形態によれば、以上のように、カメラ101は、データのアップロード時に、携帯端末102から通知される公衆網側の通信状態や無線回線の使用状況に応じて、携帯端末102の最適な動作モードを選択する。これにより、効率の良いデータ伝送が実現され、カメラ101の省電力化を実現することができる。   According to the present embodiment, as described above, the camera 101 determines the optimal state of the mobile terminal 102 in accordance with the communication state on the public network side notified from the mobile terminal 102 and the use state of the wireless line when uploading data. Select the operation mode. Thereby, efficient data transmission is realized and power saving of the camera 101 can be realized.

<<実施形態2>>
以下、実施形態2における無線通信装置の制御手順について、図8を参照して説明する。図8において、801は、基地局104Aに接続された携帯端末102Aと、携帯端末102Aと無線接続されているカメラ101Aが存在する高速移動中の乗用車内の空間を模式的に表す。すなわち、空間801は「移動中の空間」である。802は、基地局104Bに接続された携帯端末102Bと、携帯端末102Bと無線接続されているカメラ101Bが存在する高速移動中の乗用車内の空間を模式的に表す。空間802も空間801と同様に、「移動中の空間」である。
<< Embodiment 2 >>
Hereinafter, the control procedure of the wireless communication apparatus according to the second embodiment will be described with reference to FIG. In FIG. 8, reference numeral 801 schematically represents a space in a passenger car that is moving at high speed, in which the mobile terminal 102A connected to the base station 104A and the camera 101A wirelessly connected to the mobile terminal 102A are present. That is, the space 801 is a “moving space”. Reference numeral 802 schematically represents a space in a passenger car that is moving at a high speed where the mobile terminal 102B connected to the base station 104B and the camera 101B wirelessly connected to the mobile terminal 102B exist. Similarly to the space 801, the space 802 is a “moving space”.

本実施形態では、図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 control unit 205 of the camera 101 can determine the high-speed movement of the mobile terminal 102 from the analysis result of the communication state information such as the roaming frequency notified from the mobile terminal 102. On the other hand, in this embodiment, a change in the situation accompanying the movement of the camera 101 autonomously is detected, and it is determined that the camera 101 is moving at high speed from the space 801 to the space 802 in accordance with the change.

高速移動の判定は、例えば、カメラ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 information detection unit 207 based on the observation values of these sensors, for example, provided with at least one of a gyro sensor, an acceleration sensor, a geomagnetic sensor, and the like. Specifically, when the camera 101 determines that the camera 101 is moving at high speed based on the value measured by the sensor even though the communication environment between the camera 101 and the portable terminal 102 is not significantly changed, the camera 101 At the same time, it is determined that the mobile terminal 102 is moving at high speed. This is because there is no significant change in the communication environment, so the camera 101 and the portable terminal 102 are considered to maintain a certain positional relationship, and as a result, the portable terminal 102 is considered to be moving with the camera 101 at a high speed. Because it is. Thereby, the camera 101 can autonomously grasp the environment in which the camera 101 is placed and the communication environment on the public network side regardless of the communication state on the public network side. Alternatively, GPS information (position information) may be acquired from the mobile terminal 102, and high-speed movement may be determined using the information. Specifically, for example, based on the position information of the mobile terminal 102, if there is a movement of a distance greater than or equal to a predetermined value within a predetermined time, it is determined that the mobile terminal 102 is moving at high speed.

本実施形態によれば、実施形態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のモードを選択することを特徴とする請求項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つのセンサと、
前記通信装置と前記中継装置との間の通信状態を監視する監視手段とを更に有し、
前記選択手段は、前記通信装置と前記中継装置との間の通信状態と、前記センサにおける観測値に基づいて、選択を行うことを特徴とする請求項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:
コンピュータを請求項1乃至7のいずれか1項に記載の通信装置が備える各手段として機能させるためのプログラム。   The program for functioning a computer as each means with which the communication apparatus of any one of Claims 1 thru | or 7 is provided.
JP2011133540A 2011-06-15 2011-06-15 Communication device, control method, and program Active JP5828684B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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