JP2017073737A - Communication device, control method for communication device, and program - Google Patents

Communication device, control method for communication device, and program Download PDF

Info

Publication number
JP2017073737A
JP2017073737A JP2015201256A JP2015201256A JP2017073737A JP 2017073737 A JP2017073737 A JP 2017073737A JP 2015201256 A JP2015201256 A JP 2015201256A JP 2015201256 A JP2015201256 A JP 2015201256A JP 2017073737 A JP2017073737 A JP 2017073737A
Authority
JP
Japan
Prior art keywords
communication
power source
instruction
external device
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.)
Pending
Application number
JP2015201256A
Other languages
Japanese (ja)
Inventor
克已 有坂
Katsumi Arisaka
克已 有坂
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 JP2015201256A priority Critical patent/JP2017073737A/en
Publication of JP2017073737A publication Critical patent/JP2017073737A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to improve an operation feeling when a power source is absent.SOLUTION: A communication device includes first communication means for connecting with an external device through near field non-contact communication and second communication means having speed higher than that of the first communication means; and is capable of having a power source that is capable of being detachably attached and is finite. The communication device includes: detection means for detecting the presence/absence of the power source; storage means for storing an instruction request and an instruction content from the external device with respect to processing to be performed using the second communication means; and control means for performing control so as to perform the instruction content. When non-contact communication is executed by the first communication means, the detection means detects the presence/absence of the power source. When a result of the detection shows that the power source is absent, the storage means stores the instruction request and instruction content. When, after that, the power source is attached and the instruction request is present, the control means performs control according to the instruction content so that processing using the second communication means is performed with the external device.SELECTED DRAWING: Figure 1

Description

本発明は通信装置、通信装置の制御方法及びプログラムに関し、特に、電池で駆動することが可能な通信装置に関する。   The present invention relates to a communication device, a communication device control method, and a program, and more particularly, to a communication device that can be driven by a battery.

近年、NFCと呼ばれる非接触通信方式が実用化されている。この通信方式においては、リーダーライターと呼ばれる親機から電磁界を発生させる。
それに対応して、タグと呼ばれる子機側では、その電磁界による励起電力により電力の供給を受けるとともに、両者間で非接触でのデータ通信を可能にしている。このNFC方式での通信速度は特に高速ではないが、子機においてローカル電源がなくても受電した電力だけで通信が可能という利点があり、その実用化が加速している。
In recent years, a non-contact communication method called NFC has been put into practical use. In this communication method, an electromagnetic field is generated from a master unit called a reader / writer.
Correspondingly, on the side of the slave unit called a tag, power is supplied by the excitation power generated by the electromagnetic field, and non-contact data communication is enabled between the two. Although the communication speed in the NFC system is not particularly high, there is an advantage that communication is possible only with the received power without a local power supply in the slave unit, and its practical use is accelerating.

しかし、受電した電力だけで通信が可能であるといっても、可能なのは子機内のNFCのインターフェース部だけであり、それ以外の回路ブロックを動作させるためには、相応の電力が必要である。また、動画像データ等のファイルを転送するには、NFCではなく、Wi−Fi通信といった高速通信方式により、実現している。前述のWi−Fiの動作電力は子機に内蔵するか外付けされるバッテリ等で供給されている。   However, even if communication is possible only with the received power, only the NFC interface unit in the slave unit is possible, and in order to operate other circuit blocks, appropriate power is required. Also, files such as moving image data are transferred by a high-speed communication method such as Wi-Fi communication instead of NFC. The operating power of the Wi-Fi is supplied by a battery or the like that is built into the slave unit or externally attached.

前述の親機としては、スマートホン(以後スマホ)などが該当し、子機にはカメラなどが該当する。
この通信システムにおいては、第1の通信方式であるNFCにより通信することで、第2の通信方式であるWi−Fi通信に必要とされる通信相手との識別コードやアプリ層における各種設定をやり取りする。アプリ層における各種設定の具体例としては、WEBブラウズにおけるURLや、FTPによるFTPサーバー名やポート番号などである。
The above-mentioned parent device corresponds to a smart phone (hereinafter referred to as a smartphone), and the child device corresponds to a camera.
In this communication system, by communicating with NFC, which is the first communication method, exchanges identification codes with communication partners required for Wi-Fi communication, which is the second communication method, and various settings in the application layer. To do. Specific examples of various settings in the application layer include URLs for web browsing, FTP server names and port numbers by FTP, and the like.

それとともに、子機においては、NFCによる電磁界が発生したことを検知したら、割り込み信号を発生させ、スリープ状態になっているWi−Fiモジュール等の回路ブロック等を起動させる。起動後、やりとりした識別コードを利用して、Wi−Fi通信により、画像を転送することで、待機時等での省電力を実現している。   At the same time, in the slave unit, when it is detected that an electromagnetic field is generated by NFC, an interrupt signal is generated to activate a circuit block such as a Wi-Fi module in a sleep state. After activation, the image is transferred by Wi-Fi communication using the exchanged identification code, thereby realizing power saving during standby.

このような通信システムにおいて、Wi−Fi通信の終了までの転送が実現できるか否かは、子機が有するバッテリ電力残量に依存している。待機時の省電力は実現できても、いざWi−Fi通信で消費されてしまう電力までは考慮されていなかった。
この問題を解決する先行件として、特許文献1がある。これは、転送するファイル量とその際の消費電力を基に、バッテリ電力の残量が不足する場合には、Wi−Fi通信でのファイル転送の開始を不可とする。このようにして、ファイル転送の途中で処理が中断してしまい、バッテリ残量がほぼゼロとなってしまうことを防止するものである。
In such a communication system, whether or not transfer to the end of Wi-Fi communication can be realized depends on the remaining battery power of the slave unit. Even if power saving during standby can be realized, the power consumed by Wi-Fi communication has not been considered.
As a precedent for solving this problem, there is Patent Document 1. This makes it impossible to start file transfer in Wi-Fi communication when the remaining amount of battery power is insufficient based on the amount of files to be transferred and the power consumption at that time. In this way, it is possible to prevent the processing from being interrupted in the middle of the file transfer and the remaining battery level from becoming almost zero.

特開2010−87541号公報JP 2010-87541 A

前述の先行例では、転送するファイル量とその転送で消費される消費電力と電池残量とに応じてファイル転送を開始しないことでカメラ側のバッテリの無駄な消費を抑制できるものではある。ところが、バッテリ残量がほとんどない場合や、そもそもバッテリが付設されていない場合には、単にNFCで通信できるものの、その後のWi−Fi通信が実現できず、ファイル転送ができなかった。そのため、ユーザは何度も試行することになり、本来のユーザの意図にそぐわないことになっていた。   In the above-described prior example, the wasteful consumption of the battery on the camera side can be suppressed by not starting the file transfer according to the amount of files to be transferred, the power consumption consumed by the transfer, and the remaining battery level. However, when there is almost no remaining battery power or when no battery is attached in the first place, although communication can be performed simply by NFC, subsequent Wi-Fi communication cannot be realized, and file transfer cannot be performed. For this reason, the user has tried many times, and is not suitable for the original user's intention.

また、先行件では転送が完了できないようなファイル転送をあらかじめ抑止するものの、転送できない要因が明らかになっても、ユーザにとっては、初めからやり直す手間があった。このように、ユーザの操作感を損なうことになっていた。
本発明は前述の問題点に鑑み、電力源が無の場合の操作感を向上できるようにすることを目的とする。
In addition, although file transfer that cannot be completed in advance is suppressed in advance, even if the cause of the transfer failure becomes clear, the user has to start over from the beginning. Thus, the user's feeling of operation is supposed to be impaired.
In view of the above-described problems, an object of the present invention is to improve the operational feeling when there is no power source.

本発明の通信装置は、外部装置と近距離による非接触通信を介して接続する第1の通信手段と、前記第1の通信手段よりも高速な第2の通信手段とを有し、着脱可能で有限な電力源を付設することが可能な通信装置であって、前記電力源の有無を検出する検出手段と、前記第2の通信手段で行う処理に関する前記外部装置からの指示要求及び指示内容を記憶する記憶手段と、前記指示内容を実施するよう制御する制御手段とを有し、前記第1の通信手段による非接触通信が実行された時に、前記検出手段により前記電力源の有無を検出し、前記検出の結果、電力源が無の場合、前記記憶手段により前記指示要求及び指示内容を記憶し、その後、前記電力源が付設され、かつ前記指示要求がある場合には、前記制御手段は、前記指示内容にしたがって、前記外部装置との間で、前記第2の通信手段による処理を行うよう制御することを特徴とする。   The communication device of the present invention includes a first communication unit that connects to an external device via non-contact communication at a short distance, and a second communication unit that is faster than the first communication unit, and is detachable Communication device capable of attaching a finite power source with a detection means for detecting the presence or absence of the power source, and an instruction request and instruction content from the external device regarding processing performed by the second communication means Storage means and control means for controlling to execute the instruction content, and when the non-contact communication by the first communication means is executed, the detection means detects the presence or absence of the power source If the result of the detection is that there is no power source, the storage means stores the instruction request and instruction content, and then the control means if the power source is attached and there is the instruction request. Made the above instructions I, between said external device, and controlling to perform the process by the second communication means.

本発明によれば、電力源が無の場合、電力源復帰後の処理を予約しておくので、電力源復帰後の操作感を向上することができる。   According to the present invention, when there is no power source, the processing after the power source is restored is reserved, so that the operational feeling after the power source is restored can be improved.

本発明の実施形態におけるカメラ及びスマホの構成例を示すブロック図である。It is a block diagram which shows the structural example of the camera and smartphone in embodiment of this invention. 実施形態におけるカメラとスマホの動作を説明するシーケンス図である。It is a sequence diagram explaining operation | movement of the camera and smartphone in embodiment. 実施形態におけるカメラの動作開始からバッテリ交換するまでの制御手順を説明するフローチャートである。It is a flowchart explaining the control procedure from the operation | movement start of the camera in embodiment to battery replacement. 実施形態におけるスマホの制御手順を説明するフローチャートである。It is a flowchart explaining the control procedure of the smartphone in the embodiment. 実施形態におけるカメラのバッテリ交換をしてから転送終了までの制御手順を説明するフローチャートである。It is a flowchart explaining the control procedure from the battery replacement of the camera in the embodiment to the end of transfer. 実施形態におけるタスクIDの概要を説明するための図である。It is a figure for demonstrating the outline | summary of task ID in embodiment.

<第1の実施形態>
以下に、本発明の好ましい実施の形態を、添付の図面に基づいて詳細に説明する。
図1は、本発明の実施形態にかかわる非接触通信装置によるシステムの全体構成を示すブロック図である。なお、ここでは、一方の通信装置をカメラ、他方の通信装置をスマートホン(以後スマホと呼ぶ)で示しているが、これに限らず、PCやタブレットであってもよい。
<First Embodiment>
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a block diagram showing the overall configuration of a system using a non-contact communication apparatus according to an embodiment of the present invention. Here, one communication device is shown as a camera, and the other communication device is shown as a smart phone (hereinafter referred to as a smartphone). However, the present invention is not limited to this and may be a PC or a tablet.

図1において、C100はタグ装置であるカメラで、A100はリーダーライター装置であるスマホであり、両者でNFC通信システムを構成する。
まず、カメラC100について説明する。
制御部C101は、入力された信号や、後述の図3や図5で示すようなプログラムに従ってカメラC100の各部を制御する。なお、制御部C101が装置全体を制御する代わりに、複数のハードウェアが処理を分担することで、装置全体を制御してもよい。
In FIG. 1, C100 is a camera that is a tag device, and A100 is a smartphone that is a reader / writer device, both of which constitute an NFC communication system.
First, the camera C100 will be described.
The control unit C101 controls each unit of the camera C100 according to an input signal and a program as shown in FIGS. Instead of the control unit C101 controlling the entire apparatus, the entire apparatus may be controlled by a plurality of pieces of hardware sharing the processing.

撮像部C102は、例えば、光学レンズユニットと絞り・ズーム・フォーカスなど制御する光学系と、光学レンズユニットを経て導入された光(映像)を電気的な画像データ信号に変換するための撮像素子などで構成される。
撮像素子としては、一般的には、CMOS(Complementary Metal Oxide Semiconductor)や、CCD(Charge Coupled Device Image Sensor)が利用される。
撮像部C102は、制御部C101に制御されることにより、撮像部C102に含まれるレンズで結像された被写体光を、撮像素子により電気信号に変換し、ノイズ低減処理などを行い、画像データとして出力する。本実施形態のカメラC100では、画像データは、記録媒体C107に記録される。
The imaging unit C102 includes, for example, an optical lens unit, an optical system that controls aperture, zoom, focus, and the like, and an imaging device that converts light (video) introduced through the optical lens unit into an electrical image data signal. Consists of.
As the imaging device, a complementary metal oxide semiconductor (CMOS) or a charge coupled device image sensor (CCD) is generally used.
The imaging unit C102 is controlled by the control unit C101, thereby converting subject light imaged by the lens included in the imaging unit C102 into an electrical signal by the imaging device, performing noise reduction processing, and the like as image data. Output. In the camera C100 of the present embodiment, the image data is recorded on the recording medium C107.

不揮発性メモリ(ROM)C103は、電気的に消去・記録可能な不揮発性のメモリであり、制御部C101で実行される後述のプログラム等が格納される。
作業用メモリ(RAM)C104は、撮像部C102で撮像された画像データを一時的に保持するバッファメモリや、表示部C106の画像表示用メモリ、制御部C101の作業領域等として使用される。
A non-volatile memory (ROM) C103 is an electrically erasable / recordable non-volatile memory, and stores a program to be described later executed by the control unit C101.
The work memory (RAM) C104 is used as a buffer memory that temporarily holds image data picked up by the image pickup unit C102, an image display memory of the display unit C106, a work area of the control unit C101, and the like.

操作部C105は、カメラC100に対する指示をユーザから受け付けるために用いられる。操作部C105は例えば、ユーザがカメラC100の電源のON/OFFを指示するための電源ボタンや、撮像を指示するためのレリーズスイッチ、画像データの再生を指示するための再生ボタンを含む。
さらに、後述の近距離無線通信部C108を介して外部装置との通信を開始するための専用の接続ボタンなどの操作部材を含む。また、表示部C106に形成されるタッチパネルも操作部C105に含まれる。これにより、静止画の撮像を行う指示を受け付ける。
The operation unit C105 is used to receive an instruction for the camera C100 from the user. The operation unit C105 includes, for example, a power button for instructing the user to turn on / off the power of the camera C100, a release switch for instructing imaging, and a playback button for instructing reproduction of image data.
Furthermore, an operation member such as a dedicated connection button for starting communication with an external device via the short-range wireless communication unit C108 described later is included. A touch panel formed on the display unit C106 is also included in the operation unit C105. Thereby, an instruction to capture a still image is received.

表示部C106は、静止画の撮像準備段階でのライブビューの表示、撮像した静止画像データの表示、対話的な操作のための文字表示などを行う。なお、表示部C106は必ずしもカメラC100が内蔵する必要はない。カメラC100は、カメラの背面等に設けた表示部C106だけでなく図示しないコネクタを介して、表示部C106と同様な機能を有するカメラ外部の表示部と接続することができる。   The display unit C106 performs live view display at the stage of still image capturing preparation, display of captured still image data, display of characters for interactive operation, and the like. The display unit C106 does not necessarily need to be built in the camera C100. The camera C100 can be connected not only to the display unit C106 provided on the rear surface of the camera but also to a display unit outside the camera having the same function as the display unit C106 through a connector (not shown).

記録媒体C107は、撮像部C102から出力された画像データを記録することができる。記録媒体C107は、カメラC100に着脱可能なように構成してもよいし、カメラC100に内蔵されていてもよい。
近距離無線通信部C108は、数cmでのみ通信が可能となる通信部で、外部装置と接続するためのインターフェースである。本実施形態では、近距離無線通信部C108は、NFCの規格にしたがった通信処理を行い、外部装置から送電される電力にて非接触通信を行う。
さらに、無線モジュールC109は、より高速で外部装置とデータのやりとりを行うことができる通信部である。なお、本実施形態では、無線モジュールC109は外部装置とIEEE802.11の規格に従った、いわゆる無線LANにより通信するためのインターフェースを含む。
The recording medium C107 can record the image data output from the imaging unit C102. The recording medium C107 may be configured to be detachable from the camera C100, or may be built in the camera C100.
The short-range wireless communication unit C108 is a communication unit that can communicate only with a few centimeters, and is an interface for connecting to an external device. In the present embodiment, the short-range wireless communication unit C108 performs communication processing according to the NFC standard and performs non-contact communication with power transmitted from an external device.
Further, the wireless module C109 is a communication unit that can exchange data with an external device at a higher speed. In the present embodiment, the wireless module C109 includes an interface for communicating with an external apparatus by a so-called wireless LAN in accordance with the IEEE 802.11 standard.

制御部C101は、無線モジュールC109や近距離無線通信部C108を制御することで外部装置との無線通信を実現する。この実施形態では、外部装置とはスマホA100となる。
ここで、通常は外部接続されるバッテリC110がカメラC100に電力を供給する電力源として用いられる。そして、図示しない電源部により前述の各ブロックに個別に電力が供給される。本実施形態では、このバッテリが付設していない場合で後段にて動作説明を行う。
以上がカメラC100の説明である。
The control unit C101 realizes wireless communication with an external device by controlling the wireless module C109 and the short-range wireless communication unit C108. In this embodiment, the external device is the smartphone A100.
Here, normally, an externally connected battery C110 is used as a power source for supplying power to the camera C100. Then, power is individually supplied to each of the aforementioned blocks by a power supply unit (not shown). In the present embodiment, the operation will be described later in the case where this battery is not provided.
The above is the description of the camera C100.

次に、スマホA100について説明する。
制御部A101は、入力された信号や、後述のプログラムに従ってスマホA100の各部を制御する。なお、制御部A101が装置全体を制御する代わりに、複数のハードウェアが処理を分担することで、装置全体を制御してもよい。
Next, the smartphone A100 will be described.
The control unit A101 controls each unit of the smartphone A100 according to an input signal and a program described later. Instead of the control unit A101 controlling the entire apparatus, the entire apparatus may be controlled by a plurality of pieces of hardware sharing the processing.

撮像部A102は、例えば、光学レンズユニットと絞り・フォーカスなど制御する光学系と、光学レンズユニットを経て導入された光(映像)を電気的な映像信号に変換するための撮像素子などで構成される。撮像素子としては、一般的には、CMOSや、CCDが利用される。撮像部A102は、制御部A101に制御されることにより、撮像部A102に含まれるレンズで結像された被写体光を、撮像素子により電気信号に変換し、ノイズ低減処理などを行い、デジタルデータを画像データとして出力する。本実施形態のスマホA100では、画像データは、記録媒体A107に記録される。   The imaging unit A102 includes, for example, an optical lens unit, an optical system that controls aperture, focus, and the like, and an imaging device that converts light (video) introduced through the optical lens unit into an electrical video signal. The In general, a CMOS or a CCD is used as the image sensor. The imaging unit A102 is controlled by the control unit A101 to convert subject light imaged by the lens included in the imaging unit A102 into an electrical signal by the imaging device, perform noise reduction processing, etc., and convert the digital data Output as image data. In the smartphone A100 of this embodiment, the image data is recorded on the recording medium A107.

不揮発性メモリ(ROM)A103は、電気的に消去・記録可能な不揮発性のメモリであり、制御部A101で実行される後述のプログラム等が格納される。
作業用メモリ(RAM)A104は、撮像部A102で撮像された画像データを一時的に保持するバッファメモリや、表示部A106の画像表示用メモリ、制御部A101の作業領域等として使用される。
A non-volatile memory (ROM) A103 is an electrically erasable and recordable non-volatile memory, and stores a program to be described later executed by the control unit A101.
The work memory (RAM) A104 is used as a buffer memory that temporarily holds image data picked up by the image pickup unit A102, an image display memory of the display unit A106, a work area of the control unit A101, and the like.

操作部A105は、ユーザがスマホA100に対する指示をユーザから受け付けるために用いられる。操作部A105は例えば、ユーザがスマホA100の電源のON/OFFを指示するための電源ボタンや、画面遷移を指示するための操作ボタンを含む。また、表示部A106に形成されるタッチパネルも操作部A105に含まれる。
表示部A106は、撮像した静止画像データの表示、対話的な操作のためのGUI(Graphical User Interface)表示などを行う。なお、表示部A106は必ずしもスマホA100が内蔵する必要はない。
The operation unit A105 is used for the user to accept an instruction for the smartphone A100 from the user. The operation unit A105 includes, for example, a power button for instructing the user to turn on / off the power of the smartphone A100 and an operation button for instructing screen transition. A touch panel formed on the display unit A106 is also included in the operation unit A105.
The display unit A106 displays captured still image data, GUI (Graphical User Interface) display for interactive operation, and the like. Note that the display unit A106 is not necessarily built in the smartphone A100.

記録媒体A107は、撮像部A102から出力された画像データを記録することができる。記録媒体A107は、スマホA100に着脱可能なように構成してもよいし、スマホA100に内蔵されていてもよい。すなわち、スマホA100は少なくとも記録媒体A107にアクセスする手段を有していればよい。   The recording medium A107 can record the image data output from the imaging unit A102. The recording medium A107 may be configured to be detachable from the smartphone A100, or may be built in the smartphone A100. That is, the smartphone A100 only needs to have at least means for accessing the recording medium A107.

近距離無線通信部A108は、数cmでのみ通信が可能となる通信部で、外部装置と接続するためのインターフェースである。本実施形態では、近距離無線通信部A108は、NFCの規格にしたがった通信処理を行う。
さらに、無線モジュールA109は、より高速で外部装置とデータのやりとりを行うことができる通信部である。なお、本実施形態では、無線モジュールA109は外部装置とIEEE802.11の規格に従った、いわゆる無線LANにより通信するためのインターフェースを含む。
The short-range wireless communication unit A 108 is a communication unit that can communicate only with a few centimeters, and is an interface for connecting to an external device. In the present embodiment, the short-range wireless communication unit A 108 performs communication processing according to the NFC standard.
Further, the wireless module A 109 is a communication unit that can exchange data with an external device at a higher speed. In the present embodiment, the wireless module A 109 includes an interface for communicating with an external device through a so-called wireless LAN in accordance with the IEEE 802.11 standard.

制御部A101は、無線モジュールA109や近距離無線通信部A108を制御することで外部装置との無線通信を実現する。この実施形態では、外部装置とはカメラC100となる。
ここで、バッテリA110がスマホA100に電力を供給する。そして、スマホA100内の前述の各ブロックへの電力は、図示しない電源部により個別に供給される。本実施形態では、スマホA100のバッテリA110は充分に残留電力を保持しているものとする。
The control unit A101 realizes wireless communication with an external device by controlling the wireless module A109 and the short-range wireless communication unit A108. In this embodiment, the external device is the camera C100.
Here, the battery A110 supplies power to the smartphone A100. And the electric power to the above-mentioned each block in smart phone A100 is supplied individually by the power supply part which is not illustrated. In the present embodiment, it is assumed that the battery A110 of the smartphone A100 sufficiently retains residual power.

次に、図2を参照しながら、本実施形態におけるシステムの概要を説明する。図2は、本発明の動作に関わるシーケンス図である。
図2で、カメラC100とスマホA100は、図1のカメラC100とスマホA100に対応している。図2では、点線の矢印は第1の通信であるところのNFC通信によることを表し、実線は第2の通信であるところのWi−Fi通信によることを示す。また、図中の矢印に付した番号は後述する各制御部の処理のステップ番号に対応している。
Next, an overview of the system in the present embodiment will be described with reference to FIG. FIG. 2 is a sequence diagram related to the operation of the present invention.
In FIG. 2, the camera C100 and the smartphone A100 correspond to the camera C100 and the smartphone A100 of FIG. In FIG. 2, a dotted arrow indicates that the NFC communication is the first communication, and a solid line indicates the Wi-Fi communication that is the second communication. Further, the numbers given to the arrows in the figure correspond to the step numbers of the processes of the respective control units described later.

まず、カメラC100とスマホA100が近付くと、スマホA100から発信されるNFCでの接続要求がカメラC100にて受信される。それに対してカメラC100がスマホA100へNFC接続応答を返すことでNFC通信が確立する。続いて、スマホA100がNFC通信を介して、ステータスフラグをクリアする。すなわち、スマホA100がNFC通信を介して、カメラC100の内部にある近距離無線通信部内の図示しないメモリ上のステータスフラグ領域にゼロを書き込む。   First, when the camera C100 and the smartphone A100 approach each other, the camera C100 receives an NFC connection request transmitted from the smartphone A100. On the other hand, NFC communication is established when the camera C100 returns an NFC connection response to the smartphone A100. Subsequently, the smartphone A 100 clears the status flag via NFC communication. That is, the smartphone A 100 writes zero in a status flag area on a memory (not shown) in the short-range wireless communication unit inside the camera C 100 via NFC communication.

その後、カメラC100では、カメラC100に付設されるバッテリC110の有無を確認する動作を行う。これと並行して、スマホA100は、前述の有無確認動作に伴う時間に相当する所定時間のウエイトを行う。
ここでは、カメラC100のバッテリC110がないときのシーケンスとして記載している。
次に、スマホA100がNFC通信を介して、カメラC100内のステータスフラグを読み出す。
Thereafter, the camera C100 performs an operation for confirming the presence or absence of the battery C110 attached to the camera C100. In parallel with this, the smartphone A100 waits for a predetermined time corresponding to the time associated with the aforementioned presence / absence confirmation operation.
Here, the sequence is described when the battery C110 of the camera C100 is not present.
Next, the smartphone A 100 reads the status flag in the camera C 100 via NFC communication.

ここで、バッテリが無いため、カメラC100がステータスフラグを書き換えておらず、このフラグがクリアされたままである。このステータスフラグを、スマホA100がNFC通信を介して読みだすことで、スマホA100ではカメラC100のバッテリ無を判定できる。さらに、カメラC100の近距離無線通信部内のメモリにリクエストフラグ、タスクID、スマホIDを、やはりNFC通信を介して、記録する。   Here, since there is no battery, the camera C100 has not rewritten the status flag, and this flag remains cleared. When the smartphone A100 reads out the status flag via NFC communication, the smartphone A100 can determine the absence of the battery of the camera C100. Further, the request flag, the task ID, and the smartphone ID are recorded in the memory in the short-range wireless communication unit of the camera C100, also through NFC communication.

ここでユーザが、カメラC100に新しく十分充電されているバッテリC110を取り付けると、カメラC100の制御部C101が起動する。さらに、カメラC100は、近距離無線通信部内に保持された、リクエストフラグ、タスクID、スマホIDを読み出す。さらに、スマホA100は、Wi−Fi通信での応答待ちになっている。
ここで、カメラ内で読みだしたリクエストフラグが1であると、カメラC100は無線モジュールC109に通信設定を行い、スマホA100とのWi−Fi通信での接続動作を実現する。
Here, when the user attaches a newly fully charged battery C110 to the camera C100, the control unit C101 of the camera C100 is activated. Furthermore, the camera C100 reads the request flag, task ID, and smartphone ID that are held in the short-range wireless communication unit. Furthermore, the smartphone A 100 is waiting for a response in Wi-Fi communication.
Here, if the request flag read in the camera is 1, the camera C100 performs communication settings for the wireless module C109, and realizes a connection operation with the smartphone A100 via Wi-Fi communication.

続いて、Wi−Fi通信により、スマホA100がカメラC100に向けて、自身のスマホIDを送信する。
カメラC100では、近距離無線通信部内に保持されたスマホIDとWi−Fi通信でのスマホIDを比較し、一致を確認する。一致しないとWi−Fi無線を解除するが、一致すると、Wi−Fi通信を許可する。すなわち、Wi−Fi通信を介して、画像転送等、後述するタスクIDに沿った動作を行う。
Subsequently, the smartphone A100 transmits its smartphone ID to the camera C100 by Wi-Fi communication.
In the camera C100, the smartphone ID held in the short-range wireless communication unit is compared with the smartphone ID in the Wi-Fi communication to confirm a match. If they do not match, the Wi-Fi radio is released, but if they match, Wi-Fi communication is permitted. That is, an operation in accordance with a task ID described later, such as image transfer, is performed via Wi-Fi communication.

次に、カメラC100、スマホA100におけるそれぞれの制御部で処理される内容を説明する。
まず、カメラC100がスマホA100と近接してから、カメラC100のバッテリC110を付設される前までの、カメラC100の制御部C101の動作および近距離無線通信部C108での動作とデータ更新の状況を説明するフローチャートを図3に示す。
Next, contents processed by the respective control units in the camera C100 and the smartphone A100 will be described.
First, the operation of the control unit C101 of the camera C100 and the operation and data update status of the short-range wireless communication unit C108 from when the camera C100 comes close to the smartphone A100 to before the battery C110 of the camera C100 is attached. A flowchart to be described is shown in FIG.

図3で、S300では、まずカメラC100とスマホA100が近づけられると、スマホA100からの電磁界を近距離無線通信部C108が検出し、前述のように、接続動作を行う。さらに、カメラC100とスマホA100との間でNFC通信状態になる。
続いて、S301で、後述するが、スマホA100がカメラC100内に保持されているカメラの機種名やWi−Fi通信等における各種の通信設定を読みだすとともに、カメラC100は外部からの書き込みを許可する。ここで、カメラC100内に近距離無線通信部C108に存在するメモリ上での所定のステータスフラグ領域に、スマホA100により、ゼロが書き込まれる。
In FIG. 3, in S300, when the camera C100 and the smartphone A100 are brought close to each other, the short-range wireless communication unit C108 detects the electromagnetic field from the smartphone A100 and performs the connection operation as described above. Further, an NFC communication state is established between the camera C100 and the smartphone A100.
Subsequently, in S301, as will be described later, the smartphone A100 reads the camera model name held in the camera C100 and various communication settings for Wi-Fi communication, and the camera C100 permits external writing. To do. Here, zero is written by the smartphone A100 into a predetermined status flag area on the memory existing in the short-range wireless communication unit C108 in the camera C100.

これとともに、S302で、近距離無線通信部C108から出力された割り込み信号を、制御部C101が受け取る。
S303では、カメラC100の有限な電力源であるバッテリC110の装着の有無により処理が異なる。具体的には、前述の割り込み信号を受けて、かつバッテリC110があれば、S304に移行し、制御部C101のCPU(図示せず)が起動する。
一方、バッテリC110がなければ、制御部C101のCPUが起動しないので、S306に進む。
At the same time, in S302, the control unit C101 receives the interrupt signal output from the short-range wireless communication unit C108.
In S303, processing differs depending on whether or not the battery C110, which is a finite power source of the camera C100, is attached. Specifically, if the interrupt signal is received and the battery C110 is present, the process proceeds to S304, and the CPU (not shown) of the control unit C101 is activated.
On the other hand, if the battery C110 is not present, the CPU of the control unit C101 does not start, and the process proceeds to S306.

S304では、カメラC100が起動し、制御部C101が動作して、近距離無線通信部C108内のステータスフラグ領域に1を書き込む。後述するが、スマホA100にて、このステータスフラグが読み出される。フラグの値が1であれば、スマホA100はWi−Fiの通信モードに移行する。それとともに、カメラC100の制御部C101は、S305で、Wi−Fiの通信モードに移行し、画像データが転送される。そして、本処理を終了する。   In S304, the camera C100 is activated and the control unit C101 operates to write 1 in the status flag area in the short-range wireless communication unit C108. As will be described later, this status flag is read by the smartphone A100. If the flag value is 1, the smartphone A 100 shifts to the Wi-Fi communication mode. At the same time, in step S305, the control unit C101 of the camera C100 shifts to a Wi-Fi communication mode, and image data is transferred. Then, this process ends.

一方、S306では、制御部C101が起動できないので、S304のようにステータスフラグ領域に1を書き込めない。
このとき、後述するが、スマホA100により、NFC通信を介して、このステータスフラグが読取られる。その後、スマホA100にて、近距離無線通信部C108のリクエストフラグ領域が1をセットされる。これと同時にタスクIDをセットされる。したがって、S307では、近距離無線通信部C108内のメモリの内容として、スマホA100からの指示要求であるリクエストフラグの値とタスクID等がスマホA100にて書き換えられる。タスクIDなどの詳細は後述する。
このように、S307では制御部C101は特に動作していないが、近距離無線通信部C108内のメモリの内容がNFC通信を介して、書き換えられている。
On the other hand, in S306, since the control unit C101 cannot be activated, 1 cannot be written in the status flag area as in S304.
At this time, as will be described later, the smartphone A 100 reads the status flag via NFC communication. Thereafter, the request flag area of the short-range wireless communication unit C108 is set to 1 in the smartphone A100. At the same time, the task ID is set. Accordingly, in S307, the value of the request flag, which is an instruction request from the smartphone A100, the task ID, and the like are rewritten in the smartphone A100 as the contents of the memory in the short-range wireless communication unit C108. Details of the task ID and the like will be described later.
As described above, in S307, the control unit C101 does not particularly operate, but the contents of the memory in the short-range wireless communication unit C108 are rewritten through NFC communication.

続いて、スマホA100の動作を図4のフローチャートを用いて説明する。
まず、アプリが起動され、カメラC100と近づけると、S401では、スマホA100から発信される接続要求がカメラC100にて受信され、それに対してカメラC100がスマホA100へ接続応答を返すことでNFC通信が確立する。
Next, the operation of the smartphone A100 will be described using the flowchart of FIG.
First, when the application is activated and approaches the camera C100, in S401, the connection request transmitted from the smartphone A100 is received by the camera C100, and the camera C100 returns a connection response to the smartphone A100, whereby NFC communication is performed. Establish.

その後、S402では、スマホA100の制御部A101は、前述のとおり、カメラC100の近距離無線通信部C108内のメモリでのステータスフラグ領域に0を書き込む。
次に、カメラC100での割り込み信号による起動時間およびその後の処理時間を待つため、S403では、前述の処理時間以上の間、制御部A101はウエイトする。
その後、S404では、スマホA100はNFC通信を介して、カメラC100の近距離無線通信部C108内のステータスフラグを読み出す。
Thereafter, in S402, the control unit A101 of the smartphone A100 writes 0 in the status flag area in the memory in the short-range wireless communication unit C108 of the camera C100 as described above.
Next, in order to wait for the activation time by the interrupt signal in the camera C100 and the subsequent processing time, in S403, the control unit A101 waits for the above processing time or more.
Thereafter, in S404, the smartphone A100 reads the status flag in the short-range wireless communication unit C108 of the camera C100 via NFC communication.

次に、S405では読みだしたフラグの値を判定する。S405でフラグの値が1ならば、カメラ側の動作によりカメラの電力が充足していることをスマホA100が検出し判定できて、S406に進む。
S406では、NFC通信により得たWi−Fi設定情報をスマホA100内部にて設定する。続いて、S407でWi−Fiの通信を行うため、Wi−Fi通信の接続動作を行う。
In step S405, the read flag value is determined. If the value of the flag is 1 in S405, the smartphone A100 can detect and determine that the camera power is sufficient by the operation on the camera side, and the process proceeds to S406.
In S406, Wi-Fi setting information obtained by NFC communication is set inside the smartphone A100. Subsequently, in order to perform Wi-Fi communication in S407, connection operation of Wi-Fi communication is performed.

S408では、別途図示しないが、画像選択画面が表示され、そのうえで選択された画像ファイルを転送する。前記の転送が完了すると、S409ではWi−Fi通信が終了する。
S405でステータスフラグの値が0ならば、S410に移行する。
S410では、カメラC100の電力が不足していることをスマホA100が検出し判定できる。このとき、スマホA100はその表示部に「カメラのバッテリがありません」と表示する。この表示により、ユーザにカメラC100のバッテリ交換を促す。
In S408, although not shown separately, an image selection screen is displayed, and the selected image file is transferred. When the transfer is completed, the Wi-Fi communication ends in S409.
If the value of the status flag is 0 in S405, the process proceeds to S410.
In S410, the smartphone A100 can detect and determine that the power of the camera C100 is insufficient. At this time, the smartphone A 100 displays “no camera battery” on the display unit. This display prompts the user to replace the battery of the camera C100.

次に、S411で、スマホA100の制御部A101は、カメラC100の近距離無線通信部C108内のメモリのリクエストフラグ領域に1を書き込む。
続いて、S412で、同じく近距離無線通信部C108内のメモリのタスクID領域にタスクIDの番号を書き込む。同様な処理のため詳細な説明は省略するが、同様に後述するサブIDや前述のスマホIDを書き込む。スマホIDとしては、スマホ側の機種コードやMACアドレスを書き込んでもよい。これらタスクIDの詳細については、後述する。
Next, in S411, the control unit A101 of the smartphone A100 writes 1 in the request flag area of the memory in the short-range wireless communication unit C108 of the camera C100.
In step S412, the task ID number is written in the task ID area of the memory in the short-range wireless communication unit C108. Although a detailed description is omitted for the same processing, a sub ID (to be described later) and the above-described smartphone ID are similarly written. As the smartphone ID, a model code or MAC address on the smartphone side may be written. Details of these task IDs will be described later.

S413では、スマホA100の制御部A101は、所定時間を経過したかどうかを判定する。S413で所定時間を超えて経過したならば、タイムアウトと判断し、処理を完了する。S413で所定時間を超えていないときには、S414に移行する。
S414では、Wi−Fi通信の応答待ちを行う。S414において、Wi−Fi通信の応答がない場合には、S413に戻る。また、S414で応答がある場合には、S406へ進む。
S406では、前述と同様に、Wi−Fiの通信設定を行う。その後の処理は前述と同様なので、省略する。
In S413, the control unit A101 of the smartphone A100 determines whether a predetermined time has elapsed. If the predetermined time has passed in S413, it is determined that a timeout has occurred, and the process is completed. When the predetermined time is not exceeded in S413, the process proceeds to S414.
In S414, a response to Wi-Fi communication is waited for. If there is no response of Wi-Fi communication in S414, the process returns to S413. If there is a response in S414, the process proceeds to S406.
In S406, Wi-Fi communication settings are performed as described above. Since the subsequent processing is the same as described above, it is omitted.

前述の動作とともに、ユーザがカメラC100に新たに残量が充分なバッテリC110を装着した後の、制御部C101の動作について、図5のフローチャートを参照しながら説明する。
カメラC100にバッテリC110が装着され、電源SWで電源がONになると、S510では、まずカメラ内CPUが起動する。その後、制御部C101は、近距離無線通信部C108内のリクエストフラグを読み出す。
次に、S511で、制御部C101は、読みだしたリクエストフラグの値が0か1かを判定する。このとき、リクエストフラグの値が0ならば、S515に進む。
S515では、特になにも要求事項がないものとして、カメラC100は本処理を終了し、次のユーザ操作を待つ。
Along with the above-described operation, the operation of the control unit C101 after the user newly installs a sufficiently remaining battery C110 in the camera C100 will be described with reference to the flowchart of FIG.
When the battery C110 is attached to the camera C100 and the power is turned on by the power SW, the camera CPU is first activated in S510. Thereafter, the control unit C101 reads a request flag in the short-range wireless communication unit C108.
Next, in step S511, the control unit C101 determines whether the read request flag value is 0 or 1. At this time, if the value of the request flag is 0, the process proceeds to S515.
In S515, assuming that there is no particular requirement, the camera C100 ends this processing and waits for the next user operation.

一方、S511でリクエストフラグの値が1ならば、S512に進む。
S512では、図示していないがカメラC100の内部時計から読み出した現時刻と、以前にリクエストフラグと共に記録された時刻とを比較する。S512で、その差が所定値以上大きい時、例えば1時間以上の場合には、ユーザが転送動作を中止(あきらめた)したものとして、前述と同様に、次のユーザ操作を待つ処理S515に移行する。S512で、前述の差が予め設定された所定時間以内である時には、カメラC100の制御部C101は、ユーザのスマホA100が通信待ちうけ状態と判断して、S513に進む。
On the other hand, if the value of the request flag is 1 in S511, the process proceeds to S512.
In S512, although not shown, the current time read from the internal clock of the camera C100 is compared with the time previously recorded with the request flag. In S512, when the difference is larger than a predetermined value, for example, when it is 1 hour or more, it is assumed that the user has stopped (given up) the transfer operation, and similarly to the above, the process proceeds to the process of waiting for the next user operation S515. To do. In S512, when the above difference is within a predetermined time set in advance, the control unit C101 of the camera C100 determines that the user's smartphone A100 is waiting for communication, and proceeds to S513.

S513では、制御部C101は、近距離無線通信部C108内のタスクIDなどを読み出す。続いて、カメラC100の制御部C101は、近距離無線通信部C108内のリクエストフラグをゼロにクリアする。
S514において、カメラC100は、Wi−Fi通信の設定を行ってから、S513で読み出したタスクIDに対応したWi−Fiの通信を実施する。Wi−Fi通信が完了したら、前述と同様に、S515に進む。
詳細な処理を図示していないが、S514の後、S515に至る前に、以前に近距離無線通信部C108に書き込まれたスマホIDと、Wi−Fiでの通信によるスマホIDとを比較する。そして、前回近接しリクエストフラグを書き込んだスマホであるか否かを判定してもよい。
In S513, the control unit C101 reads out the task ID and the like in the short-range wireless communication unit C108. Subsequently, the control unit C101 of the camera C100 clears the request flag in the short-range wireless communication unit C108 to zero.
In S514, after setting the Wi-Fi communication, the camera C100 performs Wi-Fi communication corresponding to the task ID read in S513. When the Wi-Fi communication is completed, the process proceeds to S515 as described above.
Although detailed processing is not illustrated, after S514 and before reaching S515, the smartphone ID previously written in the short-range wireless communication unit C108 is compared with the smartphone ID by the communication by Wi-Fi. Then, it may be determined whether the smartphone has approached the previous time and has written the request flag.

前述の制御フローにおいては、ファイル転送の処理で説明していたが、バッテリ交換後の処理としてはファイル転送に限らない。
図6は、前述のリクエストフラグと共に書き込むタスクIDとそれに対応する各装置での処理内容を表す図である。
タスクID=00でサブID=00の場合、スマホ側では、S406にてFTP処理の設定を行うとともに、全ファイルの受信処理を実施する。さらに、カメラ側ではバッテリ交換後の起動をしてからS513にて、FTP関連の設定を行い、FTPサーバーを起動しておく。
そして、詳細を図示していないが、カメラ側では、スマホ側からのFTPのファイル受け取り命令を受けて、ファイル転送を実施する。また、2行目にあるようにサブID=01の場合には、最新の日付のみのファイルをファイル転送する。
In the control flow described above, the file transfer process has been described. However, the process after battery replacement is not limited to file transfer.
FIG. 6 is a diagram showing a task ID to be written together with the request flag described above and processing contents in each device corresponding to the task ID.
When the task ID = 00 and the sub ID = 00, the smartphone side sets the FTP process in S406 and performs the reception process for all files. Further, on the camera side, after the battery replacement is started, in S513, FTP-related settings are made and the FTP server is started.
Although not shown in detail, the camera side receives the FTP file reception command from the smartphone side and performs file transfer. Further, when the sub ID = 01 as in the second line, a file having only the latest date is transferred.

次に、タスクID=01の場合には、スマホ側では、S406でブラウザを起動し、所定のURLにアクセスするとともに、カメラ側では、事前にS513にてWWWサーバーを立ち上げ、URLアクセスの設定を完了している。
また、タスクID=02では、カメラ側ではS513にてSMTPを実施し、最新の一枚の静止画を添付したメールを自動作成し、送信処理を行う。
一方、スマホ側ではS406にてメールソフトを起動し、メール受信問い合わせを実施することで、送信されたメールを受信する。
Next, in the case of task ID = 01, on the smartphone side, the browser is started in S406 and a predetermined URL is accessed, and on the camera side, the WWW server is started up in advance in S513 to set URL access. Has been completed.
If the task ID is 02, the camera performs SMTP in S513, automatically creates a mail with the latest still image attached, and performs transmission processing.
On the other hand, on the smartphone side, the mail software is activated in S406 and an email reception inquiry is performed to receive the sent email.

前述はタスクIDの一例であり、その役目をカメラとスマホの両者で入れ替えてもよく、また、ネットワーク関連の処理であれば、前述の例に限らず、複数のプロトコル処理を登録しておけば、指示内容に応じてプロトコル処理を変更することができる。また、サブIDで示すように、処理にかかわる属性を定義しておけば、より細やかな設定を定義することができる。   The above is an example of a task ID, and the role of the task may be exchanged between the camera and the smartphone. Also, as long as the process is related to the network, not only the above example but also a plurality of protocol processes may be registered. The protocol processing can be changed according to the instruction content. Further, as shown by the sub ID, if an attribute related to the process is defined, more detailed settings can be defined.

なお、前述の図3のS303においては、バッテリの有無によるものであったが、バッテリが有の場合でも、バッテリ有に加えバッテリの残量と所定値との大小を比較してもよい。所定値以下なら、バッテリを無として、既述のようにバッテリ交換を促し、その後の処理を進めることで、同様の効果となる。   In S303 of FIG. 3 described above, it is based on the presence or absence of a battery. However, even when the battery is present, the remaining amount of the battery and the predetermined value may be compared in addition to the presence of the battery. If the value is equal to or less than the predetermined value, the same effect can be obtained by setting the battery to zero, prompting battery replacement as described above, and proceeding with the subsequent processing.

また、前述の図5のS512の前後においても、同様である。図5における、バッテリ交換後の新しいバッテリC110の残量が所定値以上かどうかの判定を再度行ってもよい。そして、残電力の検出結果が充足の場合において前述の指示内容を実施し、残量が所定値以下なら、Wi−Fi通信処理であるS514には進まず、S515に進む。   The same applies before and after S512 in FIG. In FIG. 5, it may be determined again whether or not the remaining amount of the new battery C110 after the battery replacement is equal to or greater than a predetermined value. Then, when the remaining power detection result is satisfactory, the above-described instruction content is executed. If the remaining amount is equal to or less than the predetermined value, the process does not proceed to S514 which is a Wi-Fi communication process, but proceeds to S515.

また、前述の説明において、カメラC100でのバッテリの有無などを検出し、通信を介して、スマホA100に伝え、スマホA100にて、判定動作をおこなっている。この判定に至るまでの各種処理内容は、カメラC100でもスマホA100でもどちらで実施してもよい。つまり、本発明の主旨は、この通信による伝達内容に依らないものである。   In the above description, the presence / absence of a battery in the camera C100 is detected and transmitted to the smartphone A100 via communication, and the smartphone A100 performs a determination operation. Various processing contents up to this determination may be performed by either the camera C100 or the smartphone A100. That is, the gist of the present invention does not depend on the content transmitted by this communication.

また、図5に示す一連の処理の前に、スマホA100ではなく、別のスマホB100(図示せず)がカメラC100に近接したとき、ステータスフラグならびにリクエストフラグは、スマホB100に書き換えられる。このときには、カメラC100は、図3、図5で示した一連の処理をスマホB100とで実施するものとする。   Further, before the series of processing shown in FIG. 5, when not the smartphone A 100 but another smartphone B 100 (not shown) approaches the camera C 100, the status flag and the request flag are rewritten to the smartphone B 100. At this time, the camera C100 performs a series of processing shown in FIGS. 3 and 5 with the smartphone B100.

(その他の実施形態)
本発明は、以下の処理を実行することによっても実現される。即ち、前述した実施形態の機能を実現するソフトウェア(コンピュータプログラム)を、ネットワーク又は各種のコンピュータ読み取り可能な記憶媒体を介してシステム或いは装置に供給する。そして、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other embodiments)
The present invention is also realized by executing the following processing. That is, software (computer program) that implements the functions of the above-described embodiments is supplied to a system or apparatus via a network or various computer-readable storage media. Then, the computer (or CPU, MPU, etc.) of the system or apparatus reads out and executes the program.

C100 カメラ
C101 制御部
C102 撮像部
C103 不揮発性メモリ
C104 作業用メモリ
C105 操作部
C106 表示部
C107 記録媒体
C108 近距離無線通信部
C109 Wi−Fi無線モジュール
C110 バッテリ
C100 Camera C101 Control unit C102 Imaging unit C103 Non-volatile memory C104 Work memory C105 Operation unit C106 Display unit C107 Recording medium C108 Short-range wireless communication unit C109 Wi-Fi wireless module C110 Battery

Claims (9)

外部装置と近距離による非接触通信を介して接続する第1の通信手段と、前記第1の通信手段よりも高速な第2の通信手段とを有し、着脱可能で有限な電力源を付設することが可能な通信装置であって、
前記電力源の有無を検出する検出手段と、
前記第2の通信手段で行う処理に関する前記外部装置からの指示要求及び指示内容を記憶する記憶手段と、
前記指示内容を実施するよう制御する制御手段とを有し、
前記第1の通信手段による非接触通信が実行された時に、前記検出手段により前記電力源の有無を検出し、前記検出の結果、電力源が無の場合、前記記憶手段により前記指示要求及び指示内容を記憶し、
その後、前記電力源が付設され、かつ前記指示要求がある場合には、前記制御手段は、前記指示内容にしたがって、前記外部装置との間で、前記第2の通信手段による処理を行うよう制御することを特徴とする通信装置。
A first communication means for connecting to an external device via non-contact communication at a short distance; and a second communication means that is faster than the first communication means, and a detachable and finite power source is provided. A communication device capable of
Detecting means for detecting the presence or absence of the power source;
Storage means for storing an instruction request and instruction content from the external device relating to processing performed by the second communication means;
Control means for controlling to carry out the instruction content,
When non-contact communication is performed by the first communication unit, the detection unit detects the presence or absence of the power source. If the result of the detection is that there is no power source, the storage unit performs the instruction request and instruction. Remember the contents,
Thereafter, when the power source is attached and there is an instruction request, the control means controls to perform processing by the second communication means with the external device according to the instruction content. A communication device characterized by:
外部装置と近距離による非接触通信を介して接続する第1の通信手段と、前記第1の通信手段よりも高速な第2の通信手段とを有し、着脱可能で有限な電力源を付設することが可能な通信装置であって、
前記電力源の残量と所定値との大小を比較する比較手段と、
前記第2の通信手段で行う処理に関する前記外部装置からの指示要求及び指示内容を記憶する記憶手段と、
前記指示内容を実施するよう制御する制御手段とを有し、
前記第1の通信手段による非接触通信が実行された時に、前記比較手段により前記電力源の残量と所定値との大小を比較し、前記比較の結果が不足の場合、前記記憶手段により前記指示要求及び指示内容を記憶し、
その後、前記電力源が付設され、かつ前記指示要求がある場合には、前記制御手段は、前記指示内容にしたがって、前記外部装置との間で、前記第2の通信手段による処理を行うよう制御することを特徴とする通信装置。
A first communication means for connecting to an external device via non-contact communication at a short distance; and a second communication means that is faster than the first communication means, and a detachable and finite power source is provided. A communication device capable of
A comparison means for comparing the remaining amount of the power source with a predetermined value;
Storage means for storing an instruction request and instruction content from the external device relating to processing performed by the second communication means;
Control means for controlling to carry out the instruction content,
When non-contact communication by the first communication means is executed, the comparison means compares the remaining amount of the power source with a predetermined value, and if the result of the comparison is insufficient, the storage means Memorize the instruction request and instruction contents,
Thereafter, when the power source is attached and there is an instruction request, the control means controls to perform processing by the second communication means with the external device according to the instruction content. A communication device characterized by:
前記制御手段は、前記記憶された指示要求を読み出した現時刻と、前記指示要求が記憶された時刻とを比較し、予め設定された所定時間以内の場合は、前記外部装置との間で、前記第2の通信手段による処理を行うよう制御することを特徴とする請求項1または2に記載の通信装置。   The control means compares the current time at which the stored instruction request is read with the time at which the instruction request is stored, and if it is within a preset predetermined time, with the external device, The communication apparatus according to claim 1, wherein control is performed to perform processing by the second communication unit. 前記制御手段は、装置の起動時に前記指示要求がある場合に、再度、残電力の検出を行い、前記検出の結果が充足の場合において、前記指示内容を実施するよう制御することを特徴とする請求項1または2に記載の通信装置。   The control means performs control so that the remaining power is detected again when there is an instruction request at the time of starting the apparatus, and the instruction content is executed when the detection result is satisfactory. The communication device according to claim 1 or 2. 前記制御手段は、前記指示内容に応じて前記第2の通信手段におけるプロトコル処理を変更することを特徴とする請求項1または2に記載の通信装置。   The communication apparatus according to claim 1, wherein the control unit changes protocol processing in the second communication unit according to the instruction content. 前記第1の通信手段はNFCの規格にしたがった通信処理を行うことを特徴とする請求項1または2に記載の通信装置。   The communication apparatus according to claim 1, wherein the first communication unit performs communication processing according to an NFC standard. 外部装置と近距離による非接触通信を介して接続する第1の通信工程と、前記第1の通信工程よりも高速な第2の通信工程とを有し、着脱可能で有限な電力源を付設することが可能な通信装置の制御方法であって、
前記電力源の有無を検出する検出工程と、
前記第2の通信工程で行う処理に関する前記外部装置からの指示要求及び指示内容をメモリに記憶する記憶工程と、
前記指示内容を実施するよう制御する制御工程とを有し、
前記第1の通信工程による非接触通信が実行された時に、前記検出工程により前記電力源の有無を検出し、前記検出の結果、電力源が無の場合、前記記憶工程により前記指示要求及び指示内容をメモリに記憶し、
その後、前記電力源が付設され、かつ前記指示要求がある場合には、前記制御工程は、前記指示内容にしたがって、前記外部装置との間で、前記第2の通信工程による処理を行うよう制御することを特徴とする通信装置の制御方法。
It has a first communication step for connecting to an external device via non-contact communication at a short distance, and a second communication step that is faster than the first communication step, and is equipped with a detachable and finite power source A communication device control method capable of
A detection step of detecting the presence or absence of the power source;
A storage step of storing, in a memory, an instruction request and instruction content from the external device relating to processing performed in the second communication step;
A control step of controlling to carry out the instruction content,
When non-contact communication is performed in the first communication step, the detection step detects the presence or absence of the power source. If the result of the detection is that there is no power source, the storage step causes the instruction request and instruction Store the contents in memory,
Thereafter, when the power source is attached and there is an instruction request, the control step is controlled so as to perform processing in the second communication step with the external device according to the instruction content. A control method for a communication apparatus.
外部装置と近距離による非接触通信を介して接続する第1の通信工程と、前記第1の通信工程よりも高速な第2の通信工程とを有し、着脱可能で有限な電力源を付設することが可能な通信装置の制御方法であって、
前記電力源の残量と所定値との大小を比較する比較工程と、
前記第2の通信工程で行う処理に関する前記外部装置からの指示要求及び指示内容をメモリに記憶する記憶工程と、
前記指示内容を実施するよう制御する制御工程とを有し、
前記第1の通信工程による非接触通信が実行された時に、前記比較工程により前記電力源の残量と所定値との大小を比較し、前記比較の結果が不足の場合、前記記憶工程により前記指示要求及び指示内容をメモリに記憶し、
その後、前記電力源が付設され、かつ前記指示要求がある場合には、前記制御工程は、前記指示内容にしたがって、前記外部装置との間で、前記第2の通信工程による処理を行うよう制御することを特徴とする通信装置の制御方法。
It has a first communication step for connecting to an external device via non-contact communication at a short distance, and a second communication step that is faster than the first communication step, and is equipped with a detachable and finite power source A communication device control method capable of
A comparison step of comparing the remaining amount of the power source with a predetermined value;
A storage step of storing, in a memory, an instruction request and instruction content from the external device relating to processing performed in the second communication step;
A control step of controlling to carry out the instruction content,
When non-contact communication is performed by the first communication step, the comparison step compares the remaining amount of the power source with a predetermined value, and if the comparison result is insufficient, the storage step Store instruction request and instruction contents in memory,
Thereafter, when the power source is attached and there is an instruction request, the control step is controlled so as to perform processing in the second communication step with the external device according to the instruction content. A control method for a communication apparatus.
コンピュータを、請求項1〜6の何れか1項に記載の通信装置の各手段として実行させることを特徴とするプログラム。   A program that causes a computer to be executed as each unit of the communication device according to any one of claims 1 to 6.
JP2015201256A 2015-10-09 2015-10-09 Communication device, control method for communication device, and program Pending JP2017073737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015201256A JP2017073737A (en) 2015-10-09 2015-10-09 Communication device, control method for communication device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015201256A JP2017073737A (en) 2015-10-09 2015-10-09 Communication device, control method for communication device, and program

Publications (1)

Publication Number Publication Date
JP2017073737A true JP2017073737A (en) 2017-04-13

Family

ID=58537600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015201256A Pending JP2017073737A (en) 2015-10-09 2015-10-09 Communication device, control method for communication device, and program

Country Status (1)

Country Link
JP (1) JP2017073737A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200004318A (en) * 2017-05-05 2020-01-13 더 유니버시티 코트 오브 더 유니버시티 오브 에딘버그 Optical system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200004318A (en) * 2017-05-05 2020-01-13 더 유니버시티 코트 오브 더 유니버시티 오브 에딘버그 Optical system and method

Similar Documents

Publication Publication Date Title
JP6097507B2 (en) COMMUNICATION CONTROL DEVICE AND ITS CONTROL METHOD
JP7025198B2 (en) Communication systems, communication devices and their control methods, programs
JP6603513B2 (en) COMMUNICATION DEVICE, INFORMATION PROCESSING DEVICE, CONTROL METHOD THEREOF, AND STORAGE MEDIUM
JP2010011364A (en) Image output system and method of controlling the same, image input device and method of controlling the same, and image output device and method of controlling the same
EP3133520B1 (en) Communication apparatus, method for controlling the same, and program
JP6366386B2 (en) COMMUNICATION DEVICE, IMAGING DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
US20160065887A1 (en) Communication apparatus communicable with external apparatus, control method of communication apparatus, and storage medium
JP6383187B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6433265B2 (en) Information processing apparatus, electronic device, control method thereof, program, and storage medium
JP2019193020A (en) Electronic apparatus and control method therefor, and program
JP6463050B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2016042655A (en) Communication device, communication device control method, and program
JP6478539B2 (en) Wireless communication apparatus, control method, and program
JP2017073737A (en) Communication device, control method for communication device, and program
JP6767859B2 (en) Communication devices and their control methods, programs and storage media
CN106713705B (en) Communication apparatus and control method thereof
JP6500467B2 (en) Imaging apparatus and transmission control method
EP2786633B1 (en) Recording medium and control method thereof
JP6700821B2 (en) Communication device, imaging device, control method thereof, and program
JP6468827B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM
JP2018110341A (en) Communication device, control method and program of communication device
JP2018109892A (en) Communication device, control method of communication device, and program
JP5972085B2 (en) Data transfer control device, control method thereof, and program
US20190281615A1 (en) Communication control apparatus and communication control method
JP2020156067A (en) Communication device, control method thereof, and program thereof