JP4845411B2 - COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM - Google Patents
COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM Download PDFInfo
- Publication number
- JP4845411B2 JP4845411B2 JP2005103818A JP2005103818A JP4845411B2 JP 4845411 B2 JP4845411 B2 JP 4845411B2 JP 2005103818 A JP2005103818 A JP 2005103818A JP 2005103818 A JP2005103818 A JP 2005103818A JP 4845411 B2 JP4845411 B2 JP 4845411B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- remaining amount
- battery
- battery remaining
- communication device
- 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.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 title claims description 99
- 238000000034 method Methods 0.000 title claims description 20
- PWPJGUXAGUPAHP-UHFFFAOYSA-N lufenuron Chemical compound C1=C(Cl)C(OC(F)(F)C(C(F)(F)F)F)=CC(Cl)=C1NC(=O)NC(=O)C1=C(F)C=CC=C1F PWPJGUXAGUPAHP-UHFFFAOYSA-N 0.000 title 1
- 230000005674 electromagnetic induction Effects 0.000 claims description 9
- 230000015654 memory Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 10
- 238000001514 detection method Methods 0.000 description 8
- 230000004044 response Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 238000007639 printing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000004913 activation Effects 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 230000001939 inductive effect Effects 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Near-Field Transmission Systems (AREA)
Description
本発明は、外部装置とデータ通信を行う通信装置、通信方法及びプログラムに関する。 The present invention, communication device for performing data communication with an external device, to communicate a method and a program.
近年、デジタルカメラや携帯電話、PDA(携帯情報端末)など、バッテリー駆動の機器が普及している。これらのバッテリーによる動作時間の延伸のため、これらの機器の消費電力は少ないことが要求されている。 In recent years, battery-powered devices such as digital cameras, mobile phones, and PDAs (personal digital assistants) have become widespread. Due to the extended operating time of these batteries, the power consumption of these devices is required to be small.
また、近年、ICカードなどにより構成された定期券による自動改札処理や、IDカードによる入退出処理を行う際に、カードとゲートとの間を非接触型の近距離無線方式により通信を行う無線システムが提案されている(例えば、特許文献1参照)。 Further, in recent years, when performing automatic ticket gate processing using a commuter pass composed of an IC card or the like, or performing entry / exit processing using an ID card, wireless communication is performed between the card and the gate using a non-contact short-range wireless method. A system has been proposed (see, for example, Patent Document 1).
当該無線システムにおいては、通信を起動する側の機器(イニシエータ)が呼ばれる側の機器(ターゲット)に対して、電力搬送波の電磁誘導により電力供給を行う。即ち上記の例では、電源を持たないカードに対し、ゲート側から電磁誘導により電力を供給する。ゲート上にカードをかざすとカード内に電力が励起され、カードが動作状態となる。
しかしながら、上記技術では、通信の起動要求側が通信相手に電力を供給する必要があるため、バッテリー駆動機器においては自己のバッテリー残量が少なく、相手に電力を供給する余裕がない場合には通信が不可能となる。 However, in the above technology, since the communication activation request side needs to supply power to the communication partner, the battery-powered device has a small amount of its own battery and communication is not possible when there is no room to supply power to the partner. It becomes impossible.
また、常に相手からの起動および電力供給を待つようにすれば、通信は可能となるが、緊急を要する通信やリアルタイム性が要求される通信ができないという問題がある。 In addition, communication is possible if it always waits for activation and power supply from the other party, but there is a problem that communication that requires urgent communication or communication that requires real-time performance cannot be performed.
本発明の目的は、このような課題に鑑み、バッテリー残量に応じた方法での通信を可能とし、例えばバッテリー残量が少ないときでも、外部装置とデータ通信を可能とすることにある。 SUMMARY OF THE INVENTION In view of the above problems, and enables communication method corresponding to the battery remaining amount, for example, even when the battery level is low, in the Turkey to allow data communication with an external device .
上記目的を達成するため、請求項1の通信装置は、一方が通信相手装置が送信する電力搬送波の電磁誘導による起電力によって通信する第1の装置として動作し、他方が前記電力搬送波を送信する第2の装置として動作することで、外部装置とデータを通信する通信装置において、前記通信装置の第1のバッテリー残量を検出する検出手段と、前記外部装置の第2のバッテリー残量の情報を取得する取得手段と、前記第1のバッテリー残量と前記第2のバッテリー残量とを比較する比較手段と、前記比較手段による比較結果、前記第2のバッテリー残量が前記第1のバッテリー残量よりも多い場合には前記通信装置が前記第1の装置として動作し、前記第1のバッテリー残量が前記第2のバッテリー残量よりも多い場合には前記通信装置が前記第2の装置として動作することで、前記外部装置と通信するように切り替える切替手段と、を備えることを特徴とする。
To achieve the above object, the communication apparatus according to
請求項6の通信方法は、一方が通信相手装置が送信する電力搬送波の電磁誘導による起電力によって通信する第1の装置として動作し、他方が前記電力搬送波を送信する第2の装置として動作することで、外部装置とデータを通信する通信装置の通信方法において、前記通信装置の第1のバッテリー残量を検出する検出ステップと、前記外部装置の第2のバッテリー残量の情報を取得する取得ステップと、前記第1のバッテリー残量と前記第2のバッテリー残量とを比較する比較ステップと、前記比較ステップによる比較結果、前記第2のバッテリー残量が前記第1のバッテリー残量よりも多い場合には前記通信装置が前記第1の装置として動作し、前記第1のバッテリー残量が前記第2のバッテリー残量よりも多い場合には前記通信装置が前記第2の装置として動作することで、前記外部装置と通信するように切り替える切替ステップと、を備えることを特徴とする。 Communication method according to claim 6, one side acts as a first device that communicates I by the electromotive force generated by electromagnetic induction power carrier wave transmitting the communication partner apparatus, the second apparatus other to transmit the power carrier wave In the communication method of the communication device that communicates data with the external device, the detection step of detecting the first battery remaining amount of the communication device and the information of the second battery remaining amount of the external device are provided. An obtaining step for obtaining, a comparing step for comparing the first battery remaining amount and the second battery remaining amount, and a comparison result by the comparing step, wherein the second battery remaining amount is the first battery remaining amount. The communication device operates as the first device when the amount is larger than the amount, and the communication device is operated when the first battery remaining amount is larger than the second battery remaining amount. By operating as serial second device, characterized in that it and a switching step of switching to communicate with the external device.
請求項7のプログラムは、一方が通信相手装置が送信する電力搬送波の電磁誘導による起電力によって通信する第1の装置として動作し、他方が前記電力搬送波を送信する第2の装置として動作することで、外部装置とデータを通信する通信装置の通信方法をコンピュータに実行させるためのプログラムにおいて、前記通信方法は、前記通信装置の第1のバッテリー残量を検出する検出ステップと、前記外部装置の第2のバッテリー残量の情報を取得する取得ステップと、前記第1のバッテリー残量と前記第2のバッテリー残量とを比較する比較ステップと、前記比較ステップによる比較結果、前記第2のバッテリー残量が前記第1のバッテリー残量よりも多い場合には前記通信装置が前記第1の装置として動作し、前記第1のバッテリー残量が前記第2のバッテリー残量よりも多い場合には前記通信装置が前記第2の装置として動作することで、前記外部装置と通信するように切り替える切替ステップと、を備えることを特徴とする。 Program of claim 7, one side acts as a first device that communicates I by the electromotive force generated by electromagnetic induction power carrier wave transmitting the communication partner apparatus, as the other second device for transmitting the power carrier wave In a program for causing a computer to execute a communication method of a communication device that communicates data with an external device by operating, the communication method includes a detection step of detecting a first remaining battery level of the communication device; An acquisition step of acquiring information on the second battery remaining amount of the external device, a comparison step of comparing the first battery remaining amount and the second battery remaining amount, a comparison result by the comparing step, the first 2 is larger than the first battery level, the communication device operates as the first device, and the first battery level remains. There By the second of the communication device when more than the battery is operating as the second device, characterized in that it and a switching step of switching to communicate with the external device.
本発明によれば、通信装置と外部装置とが通信する場合、バッテリー残量が多い方のバッテリーを利用して2装置間の通信ができる。 According to the present invention, when a communication device and an external device communicate with each other, communication between two devices can be performed using a battery with a larger remaining battery level .
以下、本発明を図面を参照して具体的に説明する。 Hereinafter, the present invention will be specifically described with reference to the drawings.
図1は、本発明の実施の形態に係る無線通信装置が適用されたデジタルカメラの構成を示す図である。 FIG. 1 is a diagram showing a configuration of a digital camera to which a wireless communication apparatus according to an embodiment of the present invention is applied.
本実施の形態に係るデジタルカメラ1は、同図に示すように、NFC(近距離無線:Near Field Communication)部と撮像部とから構成され、アンテナ回路101、整流回路102、電源切替回路103、変復調回路104、NFC_CPU105、不揮発メモリ106、RAM(Randam Access Memory)107、操作部108、バッテリー109、メインCPU110、画像メモリ111、制御バス112及び通信バス113を備えている。
As shown in the figure, the
NFC部は、アンテナ回路101、整流回路102、変復調回路104、NFC_CPU105、不揮発メモリ106、RAM107、制御バス112及び通信バス113を備えており、撮像部は、操作部108、メインCPU110、画像メモリ111及び通信バス113を備えている。
The NFC unit includes an
アンテナ回路101は、図3に示すようにコイルLとコンデンサCが並列接続された共振回路により構成されており、プリンタ2から送信される電波を受信するとともにプリンタ2側へ電波を送信する。コイルLは一般に渦巻状のプリントパターンにより構成される。
As shown in FIG. 3, the
電磁誘導によりアンテナ回路101に発生した交流電圧は整流回路102により直流電圧に変換され、不図示のスーパーキャパシタ等に蓄電される。さらに、電源切替回路103により安定化がなされる。電源切替回路103はNFC部各部へ供給する電源の供給源を、スーパーキャパシタ等に蓄電された誘導電力(図1の「A」)とバッテリー109の出力(図1の「B」)とに切り替える機能も有する。
The AC voltage generated in the
変復調回路104は、アンテナ回路101に励起したキャリア(電波)を包絡線検波し、キャリアの包絡線に重畳されているデータをNFC_CPU105へ出力する。また、NFC_CPU105から出力される送信データの「0」「1」信号に対して、データ「1」を最大振幅のデータとして変調、及び受信信号の最大振幅をデータ「1」に復調し、データ「0」を最小振幅のデータとして変調、及び受信信号の最小振幅をデータ「0」に復調し、最大振幅と最小振幅との比率が10:9となる振幅変調を施す。
The
NFC_CPU105は、NFC部各部の制御を司る。NFC部の動作を規定するプログラムはファームウエアとして不揮発メモリ106に格納されている。RAM107はNFC_CPU105の作業領域を提供する。操作部108は通信起動要求などのために用いられる。バッテリー109は、デジタルカメラ1の各部への電源を供給する。バッテリー109の出力は撮像部各部への電源として接続されており、また、電源切替部103へも接続されている。
The NFC_CPU 105 controls each part of the NFC unit. A program that defines the operation of the NFC unit is stored in the
不揮発メモリ106、RAM107、操作部108及びバッテリー109は、制御バス112によりNFC_CPU105に接続されている。
The
メインCPU110は、図示しない光学系、CCD、画像処理部、LCDなど撮像部各部の制御を司る。さらに電源切替回路103の切替動作制御も司る。撮像した画像は画像メモリ111に格納されている。メインCPU110とNFC_CPU105は通信バス113により接続されている。
The
図2は、図1のプリンタの構成を示す図である。 FIG. 2 is a diagram illustrating the configuration of the printer of FIG.
このプリンタ2は、図2に示すように、NFC(近距離無線:Near Field Communication)部と印刷部とから構成され、アンテナ回路201、整流回路202、電源切替回路203、変復調回路204、NFC_CPU205、不揮発メモリ206、RAM(Randam Access Memory)207、操作部208、バッテリー209、メインCPU210、印刷ヘッド211、制御バス212及び通信バス213を備えている。
As shown in FIG. 2, the printer 2 includes an NFC (Near Field Communication) unit and a printing unit, and includes an
プリンタ2が備える各部201〜209については、上述のデジタルカメラ1が備える各部101〜109と同様であり、詳細な説明は省略する。
The
メインCPU210は、図示しない印刷データ生成部、給紙制御部など印刷部各部の制御を司る。さらに電源切替回路203の切替動作の制御も司る。メインCPU210とNFC_CPU205は通信バス213により接続され、メインCPU210が受信したデータは印刷形式に変換された後、印刷ヘッド211により印刷される。
The
次に、図4のシーケンスに従い、デジタルカメラ1からプリンタ2へ画像を送信して印刷する場合のデジタルカメラ1及びプリンタ2の動作を説明する。
Next, operations of the
ここでは、NFC部の動作モードについて、通信相手が送信するキャリアからの誘導電力で動作するモードをパッシブモード、自らの電源により動作するモードをアクティブモードと規定する。 Here, regarding the operation mode of the NFC unit, a mode that operates with induced power from a carrier transmitted by a communication partner is defined as a passive mode, and a mode that operates with its own power source is defined as an active mode.
図4のシーケンスではデジタルカメラ1のデフォルトは待機状態であり、デジタルカメラ1及びプリンタ2では動作モードがパッシブモードに設定されている。
In the sequence of FIG. 4, the default of the
デジタルカメラ1に操作部108から画像送信の要求が入力されると、ネゴシエーションフェーズへ移行する。ネゴシエーションフェーズでは、デジタルカメラ1の動作モードはアクティブモードに設定される。このときプリンタ2の動作モードはパッシブモードのままである。アクティブモードでは、電源切替回路103が"B"側となるようにメインCPU110が制御を行い、バッテリー109の出力BがNFC部の電源として供給される。
When an image transmission request is input to the
デジタルカメラ1がバッテリ109のバッテリー残量aを検出すると、プリンタ2がバッテリ209のバッテリー残量bを検出するためのコマンドをバッテリー残量aの情報とともにプリンタ2に通知する。
When the
プリンタ2はこのコマンドを受信して、バッテリ209のバッテリー残量bを検出し、検出されたバッテリー残量bの情報をデジタルカメラ1にレスポンスとして通知する。
The printer 2 receives this command, detects the remaining battery level b of the
その後、デジタルカメラ1及びプリンタ2のそれぞれで、バッテリー残量aとバッテリー残量bの残量比較を行い、デジタルカメラ1及びプリンタ2はデータ通信フェーズに移行する。
Thereafter, the
デジタルカメラ1では、バッテリー残量aとバッテリー残量bの残量比較の結果、バッテリー残量aがバッテリー残量bより多い場合には動作モードがアクティブモードに設定され、バッテリー残量bがバッテリー残量aより多い場合には動作モードはパッシブモードに設定される。
In the
プリンタ2では、バッテリー残量aとバッテリー残量bの残量比較の結果、バッテリー残量bがバッテリー残量aより多い場合には動作モードはアクティブモードに設定され、バッテリー残量aがバッテリー残量bより多い場合には動作モードはパッシブモードに設定される。 In the printer 2, as a result of the comparison between the remaining battery level a and the remaining battery level b, if the remaining battery level b is greater than the remaining battery level a, the operation mode is set to the active mode. When the amount is larger than the amount b, the operation mode is set to the passive mode.
その後、設定されたモードにおいて、画像データがデジタルカメラ1からプリンタ2に送信され、通信が終了した旨がデジタルカメラ1からプリンタ2に通知され、その確認通知がプリンタ2からデジタルカメラ1に送信され、デジタルカメラ1及びプリンタ2は動作を終了する。
Thereafter, in the set mode, the image data is transmitted from the
次に、デジタルカメラ1及びプリンタ2の動作手順を図5のフローチャートに用いて説明する。
Next, the operation procedure of the
図5では、デジタルカメラ1のデフォルトはパッシブモードであり(ステップS501)、操作部108からの指示入力をスキャンして待機している(ステップS502)。ここで印刷開始の操作が行われるとメインCPU110が検知し(ステップS503)、アクティブモードへの遷移処理を行う(ステップS504)。
In FIG. 5, the default of the
次に、電源オン状態となったデジタルカメラ1のNFC部において、NFC_CPU105が制御バス112を介してバッテリー109の残量aを検出し保存する(ステップS505)。そして、プリンタ2に対し、バッテリー残量通知要求のコマンドを送信するとともに、ステップS505で検出し保存されたバッテリー残量aを送信する(ステップS506)。このときコマンドはプリンタ2へ電力を供給するキャリアとともに送信される。コマンド送信後は、プリンタ2からのレスポンス受信待ちとなり(ステップS507)、所定時間経過後に再送が行われるが、所定の再送回数に達した場合はエラーとなり初期状態へ戻る(ステップS508)。
Next, in the NFC unit of the
次いで、プリンタ2からのレスポンスを受信し、プリンタ2のバッテリー残量bを受信したならば、NFC_CPU105は、ステップS505で検出保存した自己のバッテリー残量aとプリンタ2のバッテリー残量bを比較する(ステップS509)。
Next, when the response from the printer 2 is received and the remaining battery level b of the printer 2 is received, the
ステップS509の比較結果がバッテリー残量a<バッテリー残量bであれば、通信バス113を介してメインCPU110へその旨を通知する。通知を受けたメインCPU110はパッシブモードへの遷移処理を行う(ステップS510)。パッシブモードでは、電源切替回路103が"A"側となるようにメインCPU110が制御を行い、誘導電力AがNFC部の電源として供給される。
If the comparison result of step S509 is battery remaining amount a <battery remaining amount b, the fact is notified to the
次に、メインCPU110は送信すべき画像を画像メモリ111から読み出し、通信バス113とのインタフェース部(図示せず)に保管する。
Next, the
その後、プリンタ2からコマンド受信時にキャリア(電波)を受信すると、誘導電力が励起されて、デジタルカメラ1のNFC部がパワーオン状態となる。NFC_CPU105は通信バスを介してメインCPU110内部のインタフェース部に保管された画像を読み出す。その後、NFC各部を制御し、変復調回路104にて所定の変調を行い、当該画像をプリンタ2へ送信する(ステップS512)。
Thereafter, when a carrier (radio wave) is received when a command is received from the printer 2, the induced power is excited and the NFC unit of the
上記ステップS509の比較結果がバッテリー残量a>バッテリー残量bであれば、アクティブモードを保持する(ステップS511)。即ち、自らのバッテリー109がNFC部の電源となる。続いて通信フェーズとなり、画像データをコマンドとしてプリンタ2へ送信する。
If the comparison result in step S509 is battery remaining amount a> battery remaining amount b, the active mode is maintained (step S511). That is, its
次いで、プリンタ2の動作を図5を用いて説明する。 Next, the operation of the printer 2 will be described with reference to FIG.
プリンタ2のデフォルトはデジタルカメラ1と同様パッシブモードである(ステップS501)。操作部208からの指示入力およびキャリアの検出をメインCPU210がスキャンして待機している(ステップS502,ステップS513)。プリンタ2としては通常、操作指示入力はない(No)である(ステップS503でNO)。キャリアが受信されない間はNFC部の電源がオフであるためキャリア有無の判定は、通常キャリア無し(No)である(ステップS514でNO)。
The default of the printer 2 is the passive mode as with the digital camera 1 (step S501). The
しかし、ステップS506でデジタルカメラ1がバッテリー残量通知要求のコマンドをプリンタ2へ送信して、プリンタ2がそのキャリアを受信すると、プリンタ2のキャリア判定が有り(Yes)となり(ステップS514でYes)、誘導電力が励起されて、NFC部がパワーオン状態となる。
However, when the
次に、電源オン状態となったNFC部において、NFC_CPU205がバッテリー残量通知要求のコマンドを受信する(ステップS515)。コマンドの受信と同時にデジタルカメラ1のバッテリー残量aも受信される。コマンド受信のアクションとして制御バス212を介してバッテリー209の残量bを検出し保存する(ステップS516)。そして、デジタルカメラ1へ対し、バッテリー残量通知要求コマンドのレスポンスとして、ステップS516で検出保存したバッテリー残量bを送信する(ステップS517)。
Next, the
次に、受信したデジタルカメラ1のバッテリー残量aとステップS516で検出保存した自己のバッテリー残量bを比較する(ステップS518)。
Next, the received battery remaining amount a of the
ステップS518の比較結果がバッテリー残量a<バッテリー残量bであれば、通信バス213を介してメインCPU210へその旨を通知する。通知を受けたメインCPU210はアクティブモードへの遷移処理を行う(ステップS519)。アクティブモードでは、電源切替回路203が"B"側となるようにメインCPU210が制御を行い、バッテリー209の出力BがNFC部の電源として供給される。
If the comparison result of step S518 is battery remaining amount a <battery remaining amount b, the fact is notified to the
その後、プリンタ2から画像取得コマンドが送信され、その応答としてデジタルカメラ1は画像をレスポンスとしてプリンタ2へ送信する。そして、プリンタ2がレスポンスを受信すると、NFC_CPU205はNFC各部を制御し、変復調回路204にて所定の復調を行い、画像データを抽出する。NFC_CPU205は抽出した画像データを通信バス213を介してメインCPU210へ転送する。メインCPU210は印刷部各部を制御して、当該画像データを印刷形式データに変換し、印刷ヘッドを経由して当該画像を印刷する(ステップS521)。
Thereafter, an image acquisition command is transmitted from the printer 2, and in response, the
ステップS518の比較結果がバッテリー残量a>バッテリー残量bであれば、プリンタ2はパッシブモードを保持する(ステップS520)。即ち、デジタルカメラ1からのキャリアによる誘導電力がNFC部の電源となる。続いて、デジタルカメラ1からコマンドとして送信された画像データを受信する。このコマンド受信時にキャリアを受信すると、誘導電力が励起されて、プリンタ2のNFC部がパワーオン状態となる。NFC_CPU205は励起された電力を利用して変復調回路204により受信画像データを復調し、通信バス213を介して復調画像をメインCPU210に送信する。メインCPU210は受信したデータを印刷形式に変換し、印刷ヘッド211により印刷する。
If the comparison result in step S518 is battery remaining amount a> battery remaining amount b, the printer 2 holds the passive mode (step S520). That is, the induced power from the carrier from the
以上説明したように、本実施の形態によれば、自己のバッテリー残量が相手のバッテリー残量よりも少ないときは、パッシブモードとなって相手からの電波に基づいて作成された誘導電力によってデータ通信が行われるので、バッテリー残量が少ないときでも、外部装置とデータ通信を可能とするという効果を奏する。 As described above, according to the present embodiment, when the battery level of the own battery is lower than the battery level of the other party, the data is obtained by the induced power generated based on the radio wave from the other party in the passive mode. Since communication is performed, there is an effect that data communication with an external device is possible even when the remaining battery level is low.
また、バッテリー残量が少ないときでもネゴシエーションフェーズの期間はアクティブモードとなる必要があるが、データ通信フェーズに比べて当該期間は短いため、一般的なバッテリーの能力を考慮すると無視できるレベルである。 Further, even when the remaining battery level is low, the negotiation phase period needs to be in the active mode. However, since the period is shorter than the data communication phase, it is negligible considering the general battery capacity.
上記実施の形態では、データ通信フェーズにおいて、デジタルカメラ1の動作モードがパッシブモードであり、画像データのサイズが所定値(例えば1MB)よりも大きく、画像データの送信に時間がかかる場合は、所定のサイズ(例えば、500Kb)に分割して送信を行う。即ち、デジタルカメラ1による分割したデータの送信終了後、プリンタ2から新たにコマンド/キャリアを受信することにより、デジタルカメラ1は誘導電力を蓄電するようにしてもよい。また、そのレスポンスとして次の分割データを送信する。このようにして、蓄電を繰り返すことで、サイズの大きいデータを送信することができるようにしてもよい。
In the above embodiment, in the data communication phase, when the operation mode of the
また、上記実施の形態では、デジタルカメラ1からプリンタ2へ送信する画像データはメインCPU110内部の通信バス113とのインタフェース部に保管した。この場合は、メインCPU110はバッテリー109により電源供給されるため、画像データの送信中にバッテリー109の残量がなくなると、画像データが読み出せず、画像データの送信ができなくなるおそれがある。
In the above embodiment, the image data transmitted from the
そこで、デジタルカメラ1からプリンタ2へ送信する画像データをNFC部の不揮発メモリ106に保管することで、バッテリー109の残量がなくなったときでも、キャリアによる誘導電力により画像通信を可能にできる。
Therefore, by storing the image data transmitted from the
また、上記実施の形態では、デジタルカメラ1及びプリンタ2のバッテリー残量の検出は両者間の通信の開始後のネゴシエーション期間に行ったが、通信開始前のデフォルト時に、周期的にバッテリー残量を検出し、結果は不揮発メモリ106,206に保管するようにしてもよい。この場合は、ネゴシエーション期間の手順を短縮することができる。
In the above-described embodiment, the remaining battery level of the
さらに、上記実施の形態では、デジタルカメラ1及びプリンタ2のバッテリー残量の検出および比較は、ネゴシエーション期間中の1回のみであったが、複数回行っても同様の効果があり、さらに、データ通信フェーズにおいて、画像データを伝送しながら周期的に行ってもよい。この場合は、デジタルカメラ1がアクティブモードでデータ送信中にバッテリー残量が低下したときでも、パッシブモードに遷移することでプリンタ2と通信を継続することが可能である。また、通信する画像データのデータ量に応じてバッテリー残量の検出および比較の回数を指定しても良い。
Further, in the above embodiment, the detection and comparison of the remaining battery power of the
また、上記実施の形態では、バッテリー残量の多い装置がアクティブモードとなったが、外部電源に接続されたほうがアクティブモードとなるような制御を行っても同様の効果を有する。この場合、図5のステップS505及びステップS516のバッテリー残量検出において、外部電源接続の検出処理が加わり、当該外部電源接続が検出されたときは、バッテリー残量a/bには、所定のオフセット値が加算される。 Further, in the above embodiment, the device with a large amount of remaining battery is in the active mode, but the same effect can be obtained by performing control such that the device connected to the external power supply enters the active mode. In this case, in the battery remaining amount detection in step S505 and step S516 in FIG. 5, when an external power supply connection detection process is added and the external power supply connection is detected, the battery remaining amount a / b has a predetermined offset. The value is added.
また、本発明の目的は、実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成される。 In addition, an object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the embodiments to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus as a storage medium. This can also be achieved by reading and executing the stored program code.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.
又、プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。または、プログラムコードをネットワークを介してダウンロードしてもよい。 Examples of the storage medium for supplying the program code include a floppy (registered trademark) disk, a hard disk, a magneto-optical disk, a CD-ROM, a CD-R, a CD-RW, a DVD-ROM, a DVD-RAM, and a DVD. -RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM, etc. can be used. Alternatively, the program code may be downloaded via a network.
また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. This includes the case where the CPU or the like provided in the board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
1 デジタルカメラ
2 プリンタ
101,201 アンテナ回路
102,202 整流回路
103,203 電源切替回路
104,204 変復調回路
105,205 NFC_CPU
106,206 不揮発メモリ
107,207 RAM
108,208 操作部
109,209 バッテリー
110,210 メインCPU
111 画像メモリ
211 印刷ヘッド
DESCRIPTION OF
106,206 Non-volatile memory 107,207 RAM
108, 208
111 Image memory 211 Print head
Claims (7)
前記通信装置の第1のバッテリー残量を検出する検出手段と、
前記外部装置の第2のバッテリー残量の情報を取得する取得手段と、
前記第1のバッテリー残量と前記第2のバッテリー残量とを比較する比較手段と、
前記比較手段による比較結果、前記第2のバッテリー残量が前記第1のバッテリー残量よりも多い場合には前記通信装置が前記第1の装置として動作し、前記第1のバッテリー残量が前記第2のバッテリー残量よりも多い場合には前記通信装置が前記第2の装置として動作することで、前記外部装置と通信するように切り替える切替手段と、
を備えることを特徴とする通信装置。 By one side acts as a first device that communicates I by the electromotive force generated by electromagnetic induction power carrier wave to be transmitted the communication partner device and the other operates as the second device for transmitting the power carrier wave, an external device In a communication device for communicating data with
Detecting means for detecting a first battery remaining amount of the communication device;
Obtaining means for obtaining second battery remaining amount information of the external device;
Comparing means for comparing the first battery remaining amount and the second battery remaining amount;
As a result of comparison by the comparison means, when the second battery remaining amount is greater than the first battery remaining amount, the communication device operates as the first device, and the first battery remaining amount is Switching means for switching to communicate with the external device by operating the communication device as the second device when the remaining amount of the battery is greater than the second battery;
A communication apparatus comprising:
前記通信装置の第1のバッテリー残量を検出する検出ステップと、
前記外部装置の第2のバッテリー残量の情報を取得する取得ステップと、
前記第1のバッテリー残量と前記第2のバッテリー残量とを比較する比較ステップと、
前記比較ステップによる比較結果、前記第2のバッテリー残量が前記第1のバッテリー残量よりも多い場合には前記通信装置が前記第1の装置として動作し、前記第1のバッテリー残量が前記第2のバッテリー残量よりも多い場合には前記通信装置が前記第2の装置として動作することで、前記外部装置と通信するように切り替える切替ステップと、
を備えることを特徴とする通信方法。 By one side acts as a first device that communicates I by the electromotive force generated by electromagnetic induction power carrier wave to be transmitted the communication partner device and the other operates as the second device for transmitting the power carrier wave, an external device In the communication method of the communication device for communicating data with
A detecting step of detecting a first battery remaining amount of the communication device;
An acquisition step of acquiring information of a second battery remaining amount of the external device;
A comparison step of comparing the first remaining battery level and the second remaining battery level;
As a result of the comparison in the comparison step, when the second battery remaining amount is higher than the first battery remaining amount, the communication device operates as the first device, and the first battery remaining amount is A switching step of switching to communicate with the external device by operating the communication device as the second device when the remaining amount of the battery is greater than the second battery;
A communication method comprising:
前記通信方法は、
前記通信装置の第1のバッテリー残量を検出する検出ステップと、
前記外部装置の第2のバッテリー残量の情報を取得する取得ステップと、
前記第1のバッテリー残量と前記第2のバッテリー残量とを比較する比較ステップと、
前記比較ステップによる比較結果、前記第2のバッテリー残量が前記第1のバッテリー残量よりも多い場合には前記通信装置が前記第1の装置として動作し、前記第1のバッテリー残量が前記第2のバッテリー残量よりも多い場合には前記通信装置が前記第2の装置として動作することで、前記外部装置と通信するように切り替える切替ステップと、
を備えることを特徴とするプログラム。 By one side acts as a first device that communicates I by the electromotive force generated by electromagnetic induction power carrier wave to be transmitted the communication partner device and the other operates as the second device for transmitting the power carrier wave, an external device In a program for causing a computer to execute a communication method of a communication device for communicating data with
The communication method is:
A detecting step of detecting a first battery remaining amount of the communication device;
An acquisition step of acquiring information of a second battery remaining amount of the external device;
A comparison step of comparing the first remaining battery level and the second remaining battery level;
As a result of the comparison in the comparison step, when the second battery remaining amount is higher than the first battery remaining amount, the communication device operates as the first device, and the first battery remaining amount is A switching step of switching to communicate with the external device by operating the communication device as the second device when the remaining amount of the battery is greater than the second battery;
A program comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005103818A JP4845411B2 (en) | 2005-03-31 | 2005-03-31 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005103818A JP4845411B2 (en) | 2005-03-31 | 2005-03-31 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2006287536A JP2006287536A (en) | 2006-10-19 |
JP2006287536A5 JP2006287536A5 (en) | 2008-05-15 |
JP4845411B2 true JP4845411B2 (en) | 2011-12-28 |
Family
ID=37408977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005103818A Expired - Fee Related JP4845411B2 (en) | 2005-03-31 | 2005-03-31 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4845411B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4835534B2 (en) * | 2007-08-07 | 2011-12-14 | 株式会社デンソーウェーブ | RF tag system, RF tag, tag reader |
JP5186971B2 (en) * | 2008-03-24 | 2013-04-24 | 富士通株式会社 | Wireless communication system and wireless communication device |
JP5195059B2 (en) * | 2008-06-13 | 2013-05-08 | 富士通株式会社 | RFID tag |
CN102511129B (en) * | 2010-07-23 | 2014-12-31 | 松下电器(美国)知识产权公司 | Nfc communication apparatus and method for controlling same |
JP2014063334A (en) * | 2012-09-21 | 2014-04-10 | Toshiba Corp | Ic card, portable electronic device, and card reader writer |
EP3346613B1 (en) * | 2015-09-04 | 2023-03-15 | Sony Group Corporation | Information processing apparatus, information processing method, and program |
JP6448566B2 (en) * | 2016-02-09 | 2019-01-09 | 東芝メモリ株式会社 | Information processing system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4528505B2 (en) * | 1995-05-31 | 2010-08-18 | 株式会社東芝 | Power supply control method and wireless terminal |
JPH10272817A (en) * | 1997-01-28 | 1998-10-13 | Matsushita Electric Works Ltd | Reading and printing apparatus for information on card |
JP3457225B2 (en) * | 1998-07-31 | 2003-10-14 | 松下電器産業株式会社 | A portable body, a communication system, a communication system, a terminal device, and a computer-readable recording medium recording a program used in two applications |
JP4088194B2 (en) * | 2003-04-25 | 2008-05-21 | オリンパス株式会社 | Wireless in-vivo information acquisition system |
JP2005045557A (en) * | 2003-07-22 | 2005-02-17 | Sony Corp | Communication device |
-
2005
- 2005-03-31 JP JP2005103818A patent/JP4845411B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006287536A (en) | 2006-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4845411B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
JP7352613B2 (en) | Power receiving device, method, and program | |
EP2263327B1 (en) | Communication device and control method therefor | |
JP4544263B2 (en) | Communication system and memory card | |
US8953198B2 (en) | Communication system, communication apparatus, and communication control method | |
JP2011044092A (en) | Communication system, information processing device, information processing method, and information processing program | |
US20060184705A1 (en) | Communication system, digital camera and docking apparatus | |
JP5508201B2 (en) | Non-contact charging system, electronic device, and charging method of electronic device | |
JP4872858B2 (en) | RF tag system and RF tag | |
JP2006339964A (en) | Non-contact ic medium and control device | |
JP2006201959A (en) | Print system, print terminal device, image storage system and image storage device | |
JP2023040059A (en) | Passive rfid tag, rfid system and method for operating passive rfid tag | |
US8031355B2 (en) | Communication device | |
JP4333449B2 (en) | Wireless transmission system and wireless transmission device | |
JP4603984B2 (en) | COMMUNICATION DEVICE AND ITS CONTROL METHOD | |
JP5994945B2 (en) | Communication system and communication apparatus | |
JP4835534B2 (en) | RF tag system, RF tag, tag reader | |
US9722461B2 (en) | Printing apparatus, method for controlling the same, and program | |
JP2005250545A (en) | Charge type radio tag | |
JP2008017248A (en) | Radio communication system and radio communication device | |
JP2003242468A (en) | Ic card system, non-contact ic card and data communication processing method | |
JP2009272769A (en) | Charger, and communication system | |
JP2006311169A (en) | Non-contact active id tag device and rfid system | |
JP6701886B2 (en) | Printer | |
JP2005094586A (en) | Radio communication apparatus, radio communications method, and radio communication medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD05 | Notification of revocation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7425 Effective date: 20070626 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080328 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080328 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100803 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100929 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110105 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110304 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110511 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110801 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20110808 |
|
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: 20111004 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111011 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141021 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141021 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |