JP2004038411A - Data transferring method and data transferring system - Google Patents
Data transferring method and data transferring system Download PDFInfo
- Publication number
- JP2004038411A JP2004038411A JP2002192645A JP2002192645A JP2004038411A JP 2004038411 A JP2004038411 A JP 2004038411A JP 2002192645 A JP2002192645 A JP 2002192645A JP 2002192645 A JP2002192645 A JP 2002192645A JP 2004038411 A JP2004038411 A JP 2004038411A
- Authority
- JP
- Japan
- Prior art keywords
- data
- data transfer
- power supply
- transmission means
- supply voltage
- 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.)
- Withdrawn
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、送信手段から受信側ホスト端末へのデータ転送方法およびデータ転送システムに関するものである。
【0002】
【従来の技術】
データ転送を行う機器は、データ転送中に電池切れとなってはならない。データ転送中に電池切れが生じ、または電源が不安定になると、データ転送がエラーとなって完了しないばかりか、機器に設けられた例えばフラッシュメモリなどの記憶装置が破損し、データが失われる可能性があるからである。このようにデータが破壊されると、送信手段あるいは受信側ホスト端末がその後適正な動作を行うことができなくなる可能性がある。
【0003】
かかる問題を解決するため、特開平10−307684号公報では、赤外線通信によってフロッピー(商標)ディスクドライブからホストコンピュータにデータを送信中、ドライブの充電量が少なくなった場合に、その警告メッセージをホストコンピュータに送信して表示させる。これにより、充電の必要性が分かる。特開平11−65948号公報は、携帯情報端末の電池残量が少なくなると、無線通信手段を介して端末外部へデータを送信し、確実にデータを保護することを目的とした技術である。また特開2001−86277号公報によれば、送信機から受信側へ画像データを送信する前に、バッテリの残量を検出し、データ送信の中断が回避されている。
【0004】
このように、従来技術によれば、送信手段から受信側ホスト端末へのデータ転送前には、通例、送信手段の電池残量が確認される。確認の結果、データ転送を最後まで完了することができるか、それとも途中で電池切れが生じてデータ転送を完了することができないかが判断できるからである。これによって、例えば上記の特開2001−86277号公報に記載のように、バッテリの残量が不足している場合は、最初から画像データの送信を禁止するといった対策を採る。
【0005】
【発明が解決しようとする課題】
しかし、従来技術に見られる電池残量不足への対処は、すべて、送信手段の電池残量不足時に、送信手段が一方的にデータ転送を停止してしまうことによって実行される。これでは、ホスト側で実行しているデータ受信も強制的に終了され、ホスト側に異常が生じる可能性がある。
【0006】
本発明は、このような従来技術の欠点を解消し、電源電圧が不安定な状態であっても、その状態において実行可能なデータ転送方法を可能な限り実行し、さらに、データを送信する送信手段だけでなく、データを受信する受信側ホスト端末にとっても安全なデータ転送方法およびデータ転送システムを提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明は上述の課題を解決するために、送信手段から通信回線を通して受信側ホスト端末にデータを転送するデータ転送方法において、送信手段の電源電圧の値を確認する工程と、確認した電源電圧の値に応じた識別子を所定の単位データに付与する工程と、単位データを受信側ホスト端末に転送する工程と、単位データに付与された識別子を受信側ホスト端末で識別する工程と、識別の結果に応じて送信手段の転送モードを変更する命令を受信側ホスト端末から返信する工程とを含む。
【0008】
本発明によれば、以上の工程を繰り返すことによって、受信側ホスト端末で送信手段の電源電圧の低下を検知して送信手段の転送モードを変更することができ、送信手段だけでなく、受信側ホスト端末にとっても安全なデータ転送が実現される。
【0009】
なお、本発明にいう「送信手段」とは、少なくとも送信機能を有する手段を意味し、送信機能に特化された装置、または送信機能を主たる機能とする装置である必要はない。
【0010】
【発明の実施の形態】
次に添付図面を参照して本発明によるデータ転送方法およびデータ転送システムの実施例を詳細に説明する。なお、図中、本発明に直接関係のない要素は省略し、同様の要素は同一の符号で表す。また、信号はそれが現れる信号線の符号で表すこととする。
【0011】
図1は本発明によるデータ転送システムの全体ブロック図である。本データ転送システム10は、送信手段としてのディジタルカメラ12から、受信機としてのホストPC(Personal Computer)22に画像データを転送するシステムである。カメラ12には、撮影された画像データを記録するメモリカード14が着脱可能である。メモリカード14に記録された画像データは、ISDN(Integrated Services Digital Network)、アナログ有線または無線などの通信回線16を通じて公衆電話網18に転送され、さらに、モデムやターミナルアダプタなどの通信装置20を設けたホストPC 22に転送される。
【0012】
ただし、これらの通信経路は例示にすぎない。たとえば専用線を介したり、あるいはインターネットを介して画像データを転送したり、あらゆる通信回線を使用してよく、また、有線または無線回線のいずれでも構わない。また、図示しないものの、カメラ12とホストPC 22とを直接に接続して画像データを転送する構成にも、本発明は適用できる。その場合は、シリアルケーブル、USB(UniversalSerial Bus)ケーブル、IEEE(Institute of Electrical and Electronics Engineers)1394、PCカードスロットなどの接続ケーブルによって接続が可能である。
【0013】
直接接続する場合は、とりわけ、USB規格によるケーブルで両者12、22を接続するとよい。カメラ12がUSBマスストレージクラス(USB mass storage class)に対応していれば、USBケーブルによって両者を接続するだけで、カメラ12のメモリカード14をリムーバブルディスクとして扱うことができる。なお、USB規格を用いた場合、データ転送速度は固定されているため、電源電圧の低下に対する対策は、データの大きさを変更するか、転送を停止する方策に限られるであろう。
【0014】
図2はディジタルカメラ12の構成ブロック図である。カメラ12は撮像装置であるが、本実施例では、撮影されメモリカード14に記録された画像データを通信回線16を介してホストPC 22へ転送する送信手段としての役割を果たす。
【0015】
カメラ12は画像制御部24を含み、これは、主として、画像データをホストPC 22へ転送する機能を果たす。カメラ12で撮影された画像データは、信号線26を介してメモリカード制御部28によってメモリカード14へ記録され、当該画像データを転送する場合も、制御部28によってメモリカード14から取り出される。
【0016】
一方、電気的消去型PROM(Electrically Erasable Programmable Read Only Memory; EEPROM)36は書き込みや読み出しが自由な不揮発性メモリであり、詳しくは後述するが、画像データの転送が中断された場合に転送できなかったデータ35を一時的に格納して保護するメモリである。
【0017】
画像制御部24は、上述のような画像データ転送の他、本発明に係る重要な機能として、電源30の電圧の値32を確認する。そして、画像データ26から転送用の所定の単位画像データであるパケット60を作成し、確認した電源電圧の値32に応じた識別子として、フラグ64を当該パケット60に付与する。
【0018】
カメラ12はまた、データパケット60をホストPC 22に転送し、命令パケット80をホストPC 22から受信する手段として、通信回線制御部34を含む。画像制御部24に信号線27で接続された制御部34は通信回線16に接続され、パケット60を回線16を通じて所定の転送速度で転送する。
【0019】
電源30はスイッチSW1、SW2、SW3を介してそれぞれ回線制御部34、メモリカード制御部28、EEPROM 36に接続されている。これらスイッチSW1、SW2、SW3はすべて画像制御部24の切替手段29、31、33によって開閉される。したがって、電源30は、画像制御部24のスイッチ操作によって、要素34、28、36にそれぞれ電力32を供給する。
【0020】
クロック制御部38は、画像制御部24からのクロック切替信号40によって、所定のクロックパルス42を返信する装置である。画像制御部24は、このクロックパルス42に従った転送速度で、パケット60を転送する。
【0021】
その他、カメラ12は、液晶ディスプレイ(Liquid Crystal Display; LCD)表示部44と、キー入力部46と、パワースイッチ48とを含む。画像制御部24は、パワースイッチ48のON信号52により電源30から電力供給を受ける。また、キー入力部46からの撮影指示54や画像データ転送指示割り込み50によって、クロック制御部38を制御してクロックを発振させ、LCD表示部44を信号線45を通じてONにする。
【0022】
キー入力部46から画像データ転送指示50が加えられた場合の動作を説明すると、画像制御部24は、スイッチSW2、SW3を閉じて要素28、36に電力を供給し、またクロック制御部38を制御してクロックパルスによる転送速度を転送用の高速クロックに切り替える。このようにして、カメラ12は、撮影しながら動画像をホストPC 22へ転送することができる。画像制御部24は、次いで、メモリカード制御部28を介してメモリカード14に記憶されている画像データを読み込み、送信すべき画像データが存在するか否かを検出し、存在する場合は、スイッチSW1を閉じて通信回線制御部を34に通電し、画像データの転送を行う。その際、パケット60という単位画像データにデータを分割し、パケットごとに所定のフラグ64を付与して転送を行うことは、上述した通りである。
【0023】
なお本実施例では動画転送を扱うが、静止画を転送することもできることは言うまでもない。
【0024】
図3は画像制御部24で作成される画像データパケットの構成図である。パケット60は、個々のパケットを区別するためのパケットID 62と、電源30の電圧に応じて定められる電圧フラグ64と、画像データ部分66と、パケット長などを表す検査合計68とで構成されている。フラグ64は、パケット60中に1ないし2ビット程度の領域を設けて付与すればよい。このパケット構成は例示であり、例えばサムネイル画像部分を含めてもよい。また、パケット長も可変であり、後述のように、電源電圧の状態に応じて、サムネイル画像のみを転送するという方策も採り得る。
【0025】
図4は図3に示すパケット60に付与される電圧フラグ64の状態を説明する図である。図4によれば、フラグ64はそれぞれ、電源電圧の値が、正常値の2/3以上であれば3、正常値の1/3ないし2/3に低下したときは2、正常値の1/5ないし1/3に低下したときは1、正常値の1/5以下に低下したときは0とする。ただしこのフラグ決定の方法は一例であり、フラグの種類も4種類に限られない。電源電圧を任意の境界値で複数の段階に分けてフラグ64を決定してよい。例えば正常値1.5Vの電源電圧が1.25Vに低下したらフラグを変更するなどの方法を採用してよい。後述するが、これらフラグ64の値に応じて、図4に示すように、データ転送速度は変更される。
【0026】
図5はホストPC 22の構成ブロック図である。ホストPC 22はカメラ12からの画像データを所定のアプリケーションソフトウェア92を起動して受信する装置である。ホストPC 22は通信回線制御部70を含み、これは通信装置20を介してパケット60の転送を受ける装置である。CPU(Central Processing Unit)72は本実施例で最も重要な役割を果たす要素であり、ホストPC 22の動作をすべて制御する装置である。CPU 72は、主として、パケット60の形式で受信された画像データ74を受信し、パケット60に付与された電圧フラグ64を識別し、当該フラグ64の識別の結果に応じて、カメラ12の転送モードを変更する命令を返信する装置である。これにより、受信側のホストPC 22でカメラ12の電源電圧の低下を検知し、カメラ12の転送モードを変更することができる。
【0027】
上述したカメラ12の転送モードを変更する命令には、カメラ12のデータ転送速度の変更と、カメラ12からのデータ転送の停止とが含まれる。
【0028】
CPU 72は、カメラ12の電源電圧の低下の程度に応じてデータ転送速度を低下させる命令を返信し、電源電圧が所定の値以下になると、データ転送を停止する命令を返信する。具体的には、図4に示した通り、識別された電圧フラグの値に応じてデータ転送速度を変更する。同図では、フラグ64の値が3のときは平常通りの転送速度である30フレーム/秒を保つ。一方、フラグ64の値が2のときはデータ転送速度を10フレーム/秒に落とし、さらに、フラグ64の値が0または1のときは転送速度を0フレーム/秒にする。すなわちデータ転送を停止する。
【0029】
なお、これら転送速度も例示であり、例えば30フレーム/秒を15フレーム/秒や8フレーム/秒などの速度に落とす方法を採用してもよい。また、転送速度ではなく、パケット自体の大きさを変更することによって、あるいは、画像データ全体を転送せずデータ量の小さいサムネイル画像のみを転送することによって、電圧の低下に対応することとしてもよい。
【0030】
図6は、このような転送モード切替命令を実現する命令パケットの構成図である。命令パケット80は、データパケット60のフラグ64を識別したCPU 72で作成され、同図に示すように、パケットID 82と、命令コマンド部84と、検査合計86とを含む。命令コマンド部84に、フラグ64に応じた様々な命令が記述されることとなる。
【0031】
再び図5を参照されたい。ホストPC 22はさらに、受信した画像データ90と、当該画像絵データを受信する際に起動するアプリケーションソフトウェア92とを格納したメモリ94を含む。CPU 72はメモリ94からアプリケーション92を読み込んで起動し、画像データパケット60のフラグ64を識別する。この際、フラグ64が0ないし2の値を有し、転送速度を落とす命令を発する必要が生じても、アプリケーション92の動作にとってはそれが障害になり得る。アプリケーションによっては、受信するデータの転送速度を所定の値以上に保っておく必要があるものもあるからである。したがって、転送速度を落とせばデータ転送を継続できる場合であっても、アプリケーション92が要求すれば、データ転送は中断される。これによって、ホストPC 22における異常発生が防止される。
【0032】
このような本発明の特徴を、従来技術において行われていた送信手段(本実施例にいうカメラ12に相当)が一方的にデータ転送を中断する場合と比較すると、アプリケーション92が許可しさえすれば、低い転送速度ながら、データ転送を継続できるという利点を本発明は有する。したがって、突然のデータ転送中断によるホストPC 22の異常が回避されることとなる。
【0033】
このように、本発明は、データを受信するホストPC 22が、送信手段の転送モードを決定する権限を有している点に特徴がある。これにより、ホストPC 22の事情が最大限考慮される。すなわちホストPC 22で実行されるアプリケーション92が許容する範囲で、カメラ12の転送モードを変更する命令をホストPC 22から返信することができる。これにより、カメラ12だけでなく、ホストPC 22にも不都合が生じない、安全なデータ転送が実行されることとなる。
【0034】
次に、以上のように構成された本発明の実施例の動作について、図7、図8および図9を参照しながら説明する。図7はカメラ12の動作を示すフローチャートであり、図8はホストPC 22の動作を示すフローチャートである。図9はカメラ12とホストPC 22との間を往来する信号を時系列に表した模式図である。
【0035】
まずカメラ12のパワースイッチ48がONにされると、図7のフローチャートが開始される。画像制御部24は電源30から電力供給を受け、起動される。これにより制御部24はスイッチSW1、SW2、SW3を開閉可能になる。次いでキー入力部からの撮影指示54により画像制御部24は図示しない光学系を操作して撮影を開始し、SW2を閉じて撮影画像をメモリカード14に録画する。
【0036】
キー入力部46から動画転送指示割り込み50があると、図7のデータ転送操作ステップS100が開始される。なおステップ100は、ホストPC 22からの転送要求に応じて開始してもよい。画像制御部24は、クロック制御部38を発振させ、クロックパルス42の供給を開始させる一方、LCD表示部44をONにする。またスイッチSW3を閉じてEEPROM 36にも電力を供給する。
【0037】
このようにしてデータ転送操作が完了したことは所定の信号によってホストPC22に伝えられる。するとホストPC 22のCPU 72からは、図8のステップS107および図9に示すように、初期条件として、データ転送速度を通常の30フレーム/秒にせよとの命令パケット80Aが到来する。これはカメラ12において、ステップS101で受信される。なお、以下に登場する命令パケット80A〜80Cは、図6において説明したパケット80のバリエーションであり、これと同様の構成を有する。
【0038】
次に、送信手段としてのカメラ12の電源30の電圧値32を確認するステップS102が画像制御部24によって実行される。この確認した電源電圧の値32に応じた識別子としての電圧フラグ64が、画像データから作られる所定の単位データ、すなわちパケット60に付与される。
【0039】
電圧値32が正常電圧値の2/3以上であるとする。すると、図4に従い、また図9に示すように、フラグ64の値を3としたパケット60AがステップS104において作られ、転送される。なお以下に登場するデータパケット60Aないし60Fは、図3において説明したパケット60のバリエーションであり、これと同様の構成を有する。データ転送当初のパケット転送速度は、パケット80Aによって初期条件として与えられた30フレーム/秒となる。画像制御部24は30フレーム/秒の転送速度を達成するよう、クロック制御部38を制御して高速のクロックパルス42を得、データ転送を行う。
【0040】
ホストPC 22のCPU 72は、パケット待ちステップS110においてデータパケットを常時待っている。ここでパケット60Aを受信した場合、CPU 72は、ステップS112においてパケット60Aの電圧フラグ64が、初期条件である値3から変化したか否かを識別する。この場合はフラグ64が初期条件通りの値3であるため、ステップS114に進んでパケット60Aをメモリ94に画像データ90として保存する。そしてカメラ12のステップS106に進み、全データが転送終了するまでデータパケットの転送を継続する。
【0041】
パケット60Aのように、フラグ64の値が3のデータパケットが転送されている間は、電圧値32に何ら異常がないため、初期条件通りの転送速度30フレーム/秒のパケット60Aないし60Bが転送され続ける。なおパケット60Aおよび60Bは、代表的に示したものであり、実際ははるかに多くのパケット転送がなされる。
【0042】
しかし、何らかの理由により、ステップS102において電源電圧が正常電圧から低下したと判断された場合は、画像データ転送の続行が困難になる。その場合はステップS108に進み、図4に従い、また図9に示すように、電圧低下の程度に応じて、電圧フラグ64の値が2となるパケット60Cが作成される。ただし、このように電圧値32が異常と判断されるほどに低くても、カメラ12には、転送速度を変更する権限がない。したがって、フラグが2に変更された当初のパケット60Cの転送速度は、パケット80Aによって初期条件として与えられた30フレーム/秒のままである。
【0043】
ホストPC 22では、パケット60Cのようなフラグ64の値が2のデータパケットが転送されてきた場合は、ステップS112においてフラグの値が3以外の値に変化したこと、すなわちカメラ12の電源電圧値が異常であることを検知する。したがって、ステップS118に進んでパケット60Cをメモリ94に保存するとともに、カメラ12の転送モード切替命令パケット80Bをカメラ12に送信する。命令パケット80Bの命令コマンド84は、図4に従い、また図9に示すように、フラグの値2に対応してデータ転送速度を10フレーム/秒に変更するものである。
【0044】
カメラ12の画像制御部24は、ステップS120において命令パケット80Bを受信したときは、ステップS122において切替命令を受信したことを確認するAcknowledge信号をホストPC 22に送信する。これはステップS124に示すように、ホストPC 22のCPU 72において受信される。この電源状態不良による転送モードの切替は、図示しない何らかの表示装置によって、ホストPC 22のユーザに知らしめてよい。
【0045】
一方、カメラ12の画像制御部24は、ステップS126に示すように、命令パケット80Bの命令コマンド84に応じて、カメラ12の転送モードを切り替える。具体的には、図4に従い、フラグ64の値に応じて、データ転送速度を変更するよう、クロック制御部38を制御して所定のクロックパルス42を得る。
【0046】
ステップS128では、切替後の転送モードが上述のような転送速度変更であれば、ステップS106に進んで全データ転送終了か否かを判断し、終了していなければステップS102に戻り、終了していれば処理を終了する。
【0047】
パケット60Dないし60Eに代表的に示すように、電圧の低下の程度が一定であれば、データパケットの転送速度は10フレーム/秒に維持される。しかし、さらにカメラ12の電源電圧が低下し、パケット60Fに示すように、フラグ値64の値が1になった場合、ホストPC 22では、ステップS118において転送モード切替命令パケット80Cを作成し、カメラ12に送信する。命令パケット80Cの命令コマンド84は、図4に従い、また図9に示すように、フラグの値1に対応してデータ転送速度を0フレーム/秒に変更するものである。すなわち画像転送を停止させる。
【0048】
この場合、ステップS128では、切替後の転送モードがデータ転送停止であるため、処理を終了する。その際、必要であれば電源30をOFFしてもよい。
【0049】
なお、こうしたデータ転送速度の変更やデータ転送の停止が行われた場合、画像制御部24は、転送途中のパケットをEEPROM 36に一時的に退避させ、正常な状態が回復するまでデータを保護することとしてよい。また、こうした電源状態不良による転送モードの切替は、画像制御部24によってLCD表示部44に表示され、ユーザに知らしめてよい。
【0050】
このように、本発明によるデータ転送方法の特徴は、図7および図8に示すステップを繰り返すことによって、受信側であるホストPC 22でカメラ12の電源電圧の低下を検知してカメラ12の転送モードを変更することである。データ受信側であるホストPC 22にカメラ12の転送モード変更を決定する権限があるため、ホストPC 22のCPU 72は、画像データ受信用アプリケーション92に配慮して、カメラ12の転送モードを決定できる。したがって、フラグ64の値に関係なく、アプリケーション92の要求に応じて、カメラ12の転送モードを変更することもできる。
【0051】
なお、本実施例では、監視対象をカメラ12の電源電圧としたが、監視対象はこれに限られない。例えば従来技術に見られるように、電池の残量を検出し、この残量を契機として転送モードを変更する構成としてもよい。
【0052】
以上、本発明を、送信手段をディジタルカメラとし、受信側ホスト端末をパソコンサーバとする実施例によって説明した。しかし、本発明はカメラに限られるものではない。例えばノートパソコン、携帯情報端末、携帯電話またはハンディプリンタを送信手段としてもよい。
【0053】
【発明の効果】
このように本発明によれば、データ転送時の電源不良が起こるとデータ転送を停止するため、フラッシュメモリなどの記憶装置の破損が防止される。これにより、データの破壊やそれに伴う以後の動作不良を除くことが可能になる。ここで本発明の効果として特徴的なのは、従来の電池残量に注目した技術と異なり、電源電圧に注目してデータ通信方法を変更することである。したがって、電池切れのおそれがなくとも電源電圧が不安定になっただけで生じるデータ転送のエラーが回避される。
【0054】
また本発明によれば、電源が弱くなった場合、必ずしもデータ転送を停止する必要はない。電池を大きく消耗しないような機能については、処理を可能にするものである。すなわち、低速度ながらデータ転送が続行できるという効果が得られる。
【0055】
さらに、一旦低下した電源電圧が回復した場合、再びデータ転送速度を上げ、効率的なデータ転送ができるという利点がある。
【0056】
とりわけ強調したいのは、本発明は転送速度の低下や転送停止を受信側ホスト端末が決定することを特徴としているため、受信側ホスト端末のアプリケーションに配慮した送信手段転送モードの変更が実現されることである。これにより、送信手段だけでなく、受信側ホスト端末にとっても安全なデータ転送が実現される。
【図面の簡単な説明】
【図1】本発明によるデータ転送システムの全体ブロック図である。
【図2】図1に示すディジタルカメラの構成ブロック図である。
【図3】図2に示す画像制御部で作成される画像データパケットの構成図である。
【図4】図3に示す電圧フラグの状態を説明する図である。
【図5】図1に示すホストPCの構成ブロック図である。
【図6】図5に示すCPUで作成される命令パケットの構成図である。
【図7】図1に示すディジタルカメラの動作を示すフローチャートである。
【図8】図1に示すホストPCの動作を示すフローチャートである。
【図9】図1に示すディジタルカメラとホストPCとの間を往来する信号を時系列に表した模式図である。
【符号の説明】
10 データ転送システム
12 ディジタルカメラ
14 メモリカード
22 ホストPC
24 画像制御部
30 電源
38 クロック制御部
60 データパケット
64 電圧フラグ
72 CPU
92 アプリケーションソフトウェア[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data transfer method and a data transfer system from a transmission means to a receiving host terminal.
[0002]
[Prior art]
Devices that perform data transfer must not run out of battery during data transfer. If the battery runs out during data transfer or the power supply becomes unstable, the data transfer may not be completed due to an error, or the storage device such as flash memory in the device may be damaged and data may be lost. Because there is sex. If the data is destroyed in this way, there is a possibility that the transmitting means or the receiving host terminal cannot subsequently perform an appropriate operation.
[0003]
In order to solve such a problem, Japanese Patent Laid-Open No. 10-307684 discloses a warning message when a charge amount of a drive is reduced while data is being transmitted from a floppy disk drive to the host computer by infrared communication. Send it to a computer for display. Thereby, the necessity of charge is understood. Japanese Patent Application Laid-Open No. 11-65948 is a technique for transmitting data to the outside of the terminal via wireless communication means when the battery level of the portable information terminal is low, and to protect the data with certainty. Further, according to Japanese Patent Laid-Open No. 2001-86277, the remaining battery level is detected before image data is transmitted from the transmitter to the receiving side, so that interruption of data transmission is avoided.
[0004]
Thus, according to the prior art, before the data is transferred from the transmission unit to the receiving host terminal, the remaining battery level of the transmission unit is usually confirmed. This is because, as a result of the confirmation, it can be determined whether the data transfer can be completed to the end, or whether the data transfer cannot be completed due to the battery running out along the way. As a result, for example, as described in Japanese Patent Application Laid-Open No. 2001-86277, when the remaining amount of the battery is insufficient, a measure is taken to prohibit transmission of image data from the beginning.
[0005]
[Problems to be solved by the invention]
However, all of the countermeasures against the shortage of battery power found in the prior art are executed when the transmission means unilaterally stops data transfer when the battery power of the transmission means is short. This forcibly terminates data reception being executed on the host side, and may cause an abnormality on the host side.
[0006]
The present invention eliminates such drawbacks of the prior art, and even when the power supply voltage is in an unstable state, the data transfer method that can be executed in that state is executed as much as possible, and the transmission for transmitting data is performed. It is an object of the present invention to provide a data transfer method and a data transfer system that are safe not only for the means but also for the receiving host terminal that receives data.
[0007]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, the present invention provides a data transfer method for transferring data from a transmission means to a receiving host terminal through a communication line, a step of checking the value of the power supply voltage of the transmission means, A step of assigning an identifier corresponding to the value to predetermined unit data, a step of transferring the unit data to the receiving host terminal, a step of identifying the identifier assigned to the unit data by the receiving host terminal, and a result of the identification And a step of returning from the receiving host terminal a command for changing the transfer mode of the transmitting means according to the method.
[0008]
According to the present invention, by repeating the above steps, the receiving host terminal can detect a drop in the power supply voltage of the transmitting means and change the transmission mode of the transmitting means. Safe data transfer is also realized for the host terminal.
[0009]
The “transmission means” in the present invention means means having at least a transmission function, and need not be an apparatus specialized for the transmission function or an apparatus having a transmission function as a main function.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of a data transfer method and a data transfer system according to the present invention will be described in detail with reference to the accompanying drawings. In the figure, elements not directly related to the present invention are omitted, and similar elements are denoted by the same reference numerals. Further, the signal is represented by the sign of the signal line on which it appears.
[0011]
FIG. 1 is an overall block diagram of a data transfer system according to the present invention. The
[0012]
However, these communication paths are merely examples. For example, image data may be transferred via a dedicated line or via the Internet, any communication line may be used, and either a wired or wireless line may be used. Although not shown, the present invention can also be applied to a configuration in which the
[0013]
In the case of direct connection, it is particularly preferable to connect both 12 and 22 with a USB standard cable. If the
[0014]
FIG. 2 is a block diagram showing the configuration of the
[0015]
The
[0016]
On the other hand, an electrically erasable PROM (Electrically Erasable Programmable Read Only Memory; EEPROM) 36 is a nonvolatile memory that can be freely written and read, and will be described later in detail, but cannot be transferred when image data transfer is interrupted. This is a memory for temporarily storing and protecting the
[0017]
The
[0018]
The
[0019]
The
[0020]
The
[0021]
In addition, the
[0022]
The operation when the image
[0023]
In this embodiment, moving image transfer is handled, but it goes without saying that still images can also be transferred.
[0024]
FIG. 3 is a configuration diagram of an image data packet created by the
[0025]
FIG. 4 is a diagram for explaining the state of the
[0026]
FIG. 5 is a block diagram showing the configuration of the
[0027]
The above-described command for changing the transfer mode of the
[0028]
The
[0029]
These transfer speeds are also exemplary, and a method of reducing 30 frames / second to a speed of 15 frames / second, 8 frames / second, or the like may be employed. Further, it may be possible to cope with the voltage drop by changing the size of the packet itself, not the transfer speed, or by transferring only the thumbnail image with a small data amount without transferring the entire image data. .
[0030]
FIG. 6 is a configuration diagram of an instruction packet for realizing such a transfer mode switching instruction. The
[0031]
Please refer to FIG. 5 again. The
[0032]
Compared with the case where the transmission means (corresponding to the
[0033]
Thus, the present invention is characterized in that the
[0034]
Next, the operation of the embodiment of the present invention configured as described above will be described with reference to FIGS. FIG. 7 is a flowchart showing the operation of the
[0035]
First, when the
[0036]
When there is a moving image transfer instruction interrupt 50 from the
[0037]
The completion of the data transfer operation in this way is transmitted to the
[0038]
Next, step S <b> 102 for confirming the
[0039]
It is assumed that the
[0040]
The
[0041]
While the data packet having the
[0042]
However, if for some reason it is determined in step S102 that the power supply voltage has dropped from the normal voltage, it is difficult to continue image data transfer. In that case, the process proceeds to step S108, and according to FIG. 4 and as shown in FIG. 9, a packet 60C in which the value of the
[0043]
In the
[0044]
When receiving the
[0045]
On the other hand, as shown in step S126, the
[0046]
In step S128, if the transfer mode after switching is a transfer speed change as described above, the process proceeds to step S106 to determine whether or not all data transfer is completed, and if not completed, the process returns to step S102 and ends. If so, the process ends.
[0047]
As typically shown in the packets 60D to 60E, if the degree of voltage drop is constant, the data packet transfer rate is maintained at 10 frames / second. However, when the power supply voltage of the
[0048]
In this case, in step S128, since the transfer mode after switching is the data transfer stop, the process ends. At that time, the
[0049]
When the data transfer rate is changed or the data transfer is stopped, the
[0050]
As described above, the feature of the data transfer method according to the present invention is that the
[0051]
In this embodiment, the monitoring target is the power supply voltage of the
[0052]
As described above, the present invention has been described with the embodiment in which the transmission means is a digital camera and the receiving host terminal is a personal computer server. However, the present invention is not limited to cameras. For example, a notebook computer, a portable information terminal, a mobile phone, or a handy printer may be used as the transmission means.
[0053]
【The invention's effect】
As described above, according to the present invention, data transfer is stopped when a power failure occurs during data transfer, so that damage to a storage device such as a flash memory can be prevented. As a result, it is possible to eliminate data destruction and subsequent malfunctions. Here, the characteristic of the present invention is that, unlike the conventional technique that focuses on the remaining battery level, the data communication method is changed by focusing on the power supply voltage. Therefore, an error in data transfer that occurs only when the power supply voltage becomes unstable can be avoided without fear of running out of the battery.
[0054]
Further, according to the present invention, when the power supply becomes weak, it is not always necessary to stop the data transfer. Functions that do not drain the battery significantly enable processing. That is, the effect that data transfer can be continued at a low speed is obtained.
[0055]
Further, when the lowered power supply voltage is recovered, there is an advantage that the data transfer speed is increased again and efficient data transfer can be performed.
[0056]
Of particular note is that the present invention is characterized in that the receiving host terminal determines whether the transfer rate is reduced or the transfer is stopped, so that the transmission means transfer mode can be changed in consideration of the application of the receiving host terminal. That is. This realizes safe data transfer not only for the transmission means but also for the receiving host terminal.
[Brief description of the drawings]
FIG. 1 is an overall block diagram of a data transfer system according to the present invention.
FIG. 2 is a block diagram showing the configuration of the digital camera shown in FIG.
3 is a configuration diagram of an image data packet created by the image control unit shown in FIG. 2. FIG.
4 is a diagram for explaining a state of a voltage flag shown in FIG. 3. FIG.
5 is a configuration block diagram of the host PC shown in FIG. 1. FIG.
6 is a configuration diagram of an instruction packet created by the CPU shown in FIG. 5;
7 is a flowchart showing the operation of the digital camera shown in FIG.
FIG. 8 is a flowchart showing the operation of the host PC shown in FIG.
FIG. 9 is a schematic diagram showing signals traveling between the digital camera and the host PC shown in FIG. 1 in time series.
[Explanation of symbols]
10 Data transfer system
12 Digital camera
14 Memory card
22 Host PC
24 Image control unit
30 power supply
38 Clock controller
60 data packets
64 voltage flag
72 CPU
92 Application software
Claims (8)
送信手段の電源電圧の値を確認する工程と、
該確認した電源電圧の値に応じた識別子を所定の単位データに付与する工程と、
該単位データを受信側ホスト端末に転送する工程と、
該単位データに付与された識別子を前記受信側ホスト端末で識別する工程と、
該識別の結果に応じて送信手段の転送モードを変更する命令を前記受信側ホスト端末から返信する工程と、
前記送信手段において前記命令に応じた転送モードでデータを転送する工程とを含むことを特徴とするデータ転送方法。In a data transfer method for transferring data from a transmission means to a receiving host terminal through a communication line, the method includes:
A step of confirming the value of the power supply voltage of the transmission means;
A step of assigning an identifier corresponding to the value of the confirmed power supply voltage to predetermined unit data;
Transferring the unit data to the receiving host terminal;
Identifying the identifier assigned to the unit data with the receiving host terminal;
Returning from the receiving host terminal an instruction to change the transfer mode of the transmitting means according to the identification result;
Transferring the data in the transfer mode in accordance with the command in the transmitting means.
該送信手段の電源電圧の値を確認し該確認した電源電圧の値に応じた識別子を所定の単位データに付与する手段と、
該単位データを受信側ホスト端末に転送する手段とを含み、該受信側ホスト端末は、
該単位データに付与された識別子を識別し該識別の結果に応じて送信手段の転送モードを変更する命令を返信する手段を含み、
これによって、受信側ホスト端末で送信手段の電源電圧の低下を検知して送信手段の転送モードを変更することを特徴とするデータ転送システム。In a data transfer system that includes a transmission means and a reception-side host terminal and transfers data through a communication line from the transmission means to the reception-side host terminal, the transmission means includes:
Means for confirming the value of the power supply voltage of the transmission means and giving an identifier corresponding to the confirmed power supply voltage value to predetermined unit data;
Means for transferring the unit data to a receiving host terminal, the receiving host terminal comprising:
Means for identifying an identifier given to the unit data and returning a command for changing the transfer mode of the transmission means according to the identification result;
Thus, a data transfer system characterized in that the receiving host terminal detects a drop in the power supply voltage of the transmission means and changes the transfer mode of the transmission means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002192645A JP2004038411A (en) | 2002-07-01 | 2002-07-01 | Data transferring method and data transferring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002192645A JP2004038411A (en) | 2002-07-01 | 2002-07-01 | Data transferring method and data transferring system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004038411A true JP2004038411A (en) | 2004-02-05 |
Family
ID=31701844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002192645A Withdrawn JP2004038411A (en) | 2002-07-01 | 2002-07-01 | Data transferring method and data transferring system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004038411A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010013340A1 (en) * | 2008-07-31 | 2010-02-04 | 富士通株式会社 | Data transfer device, data transmission device, data reception device, and data transfer method |
-
2002
- 2002-07-01 JP JP2002192645A patent/JP2004038411A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010013340A1 (en) * | 2008-07-31 | 2010-02-04 | 富士通株式会社 | Data transfer device, data transmission device, data reception device, and data transfer method |
US8494010B2 (en) | 2008-07-31 | 2013-07-23 | Fujitsu Limited | Data transfer device, data transmitting device, data receiving device, and data transfer method |
JP5287858B2 (en) * | 2008-07-31 | 2013-09-11 | 富士通株式会社 | Data transfer device, data transmission device, data reception device, and data transfer method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7339610B2 (en) | Image-capturing device | |
EP1156657B1 (en) | Control system and units removably attachable to the same | |
US9026175B2 (en) | Electronic device, method of controlling the same, and program | |
US7043267B1 (en) | Communication device disconnecting a communication line by detecting an abnormal state of computer equipment | |
JP2001067156A (en) | Peripheral equimenht of computer, control method therefor, image pickup device, and storage medium | |
US5838363A (en) | Image reading device and image receiving device | |
US20040210691A1 (en) | Communication apparatus and communication method for processing data sent from communication partner | |
EP2320301B1 (en) | Control apparatus and method thereof | |
JP2004038411A (en) | Data transferring method and data transferring system | |
JP4324048B2 (en) | Data processing apparatus, communication processing method, and computer program | |
JP2010068413A (en) | Imaging apparatus | |
JP4262534B2 (en) | Digital equipment | |
JP4018484B2 (en) | Camera apparatus and control method thereof | |
JP2007067916A (en) | Digital video camera | |
US20030223142A1 (en) | Method and device for data storage using wireless communication | |
US5818609A (en) | Facsimile apparatus transmitting image data received from external computer | |
JP2006340047A (en) | Electronic device | |
JPH11136555A (en) | Electronic camera | |
JP3397537B2 (en) | Information processing system | |
JP3734417B2 (en) | Portable information terminal and digital camera | |
JP4097822B2 (en) | Electronic camera | |
JP2005341617A (en) | Personal digital assistant | |
JP3276728B2 (en) | Information processing system and information processing method | |
JP2705765B2 (en) | Transfer management method of floppy disk transfer device | |
JPH1155493A (en) | Facsimile equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050906 |