JP2014106895A - Data shared system, server device, and client device - Google Patents
Data shared system, server device, and client device Download PDFInfo
- Publication number
- JP2014106895A JP2014106895A JP2012261435A JP2012261435A JP2014106895A JP 2014106895 A JP2014106895 A JP 2014106895A JP 2012261435 A JP2012261435 A JP 2012261435A JP 2012261435 A JP2012261435 A JP 2012261435A JP 2014106895 A JP2014106895 A JP 2014106895A
- Authority
- JP
- Japan
- Prior art keywords
- data
- server device
- list
- client device
- image
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、デジタルカメラ等のデータ処理装置からサーバ装置にアップロードされたデータを、パーソナルコンピュータ等のクライアント装置がダウンロードするのに利用して好適な技術に関する。 The present invention relates to a technique suitable for use by a client device such as a personal computer to download data uploaded from a data processing device such as a digital camera to a server device.
近年、デジタルカメラに無線機能が搭載され、デジタルカメラが直接ネットワークに接続して、デジタルカメラでの撮影により生成された画像データをネットワーク上のサーバ装置にアップロードすることが行われている。そして、サーバ装置にアップロードされた画像データを、ネットワーク上のパーソナルコンピュータ等のクライアント装置がダウンロードすることが行われている。
また、デジタルカメラがいつ画像データをサーバ装置にアップロードしようとも、ユーザがそれを確認したり、特別な操作をしたりすることなく、クライアント装置が一定の時間間隔毎にサーバ装置に対して新着画像の有無の問合せを自動的に通信して、新着画像があればそれをダウンロードすることが行われている(特許文献1参照)。
In recent years, a wireless function is installed in a digital camera, the digital camera is directly connected to a network, and image data generated by photographing with the digital camera is uploaded to a server device on the network. Then, a client device such as a personal computer on the network downloads the image data uploaded to the server device.
In addition, when the digital camera uploads image data to the server device, the client device checks the server device for new images at regular time intervals without confirming it or performing a special operation. Inquiries about whether or not there is an automatic communication, and if there is a newly arrived image, it is downloaded (see Patent Document 1).
ところで、画像データをサーバ装置にアップロードしたり、クライアント装置が画像データをダウンロードしたりする場合、一般的な家庭用のネットワークでは、ダウンロード(下り)に比べ、アップロード(上り)の通信速度の方が遅いことが多い。そのため、画像データのアップロードが行われている間にダウンロードも同時に行われる場合、サーバ装置に複数の画像データが一括してアップロードされている間にクライアント装置からダウンロードのリクエストがあったときに、サーバ装置にはアップロードが完了した一部の画像データしか存在していないことがある。このような場合、サーバ装置はクライアント装置からのダウンロードのリクエストに対して一部の画像データの情報しか通知できない。よって、クライアント装置はダウンロードを開始する際に残りの画像データが存在することを知ることができず、その後に連続してアップロードされた残りの画像データをダウンロードし損なうという問題があった。そして、残りの画像データをダウンロードするには、一定の時間間隔が経過した次のリクエストを行うまで待つ必要があるという問題点があった。 By the way, when image data is uploaded to a server device or a client device downloads image data, the upload (upstream) communication speed is higher than the download (downstream) in a general home network. Often slow. Therefore, when downloading is performed at the same time while image data is being uploaded, when a download request is received from the client device while a plurality of image data is being uploaded to the server device at the same time, the server In some cases, only a part of the image data that has been uploaded exists in the apparatus. In such a case, the server apparatus can notify only part of image data information in response to a download request from the client apparatus. Therefore, there is a problem that the client device cannot know that there is the remaining image data when starting the download, and fails to download the remaining image data that has been continuously uploaded. In order to download the remaining image data, there is a problem in that it is necessary to wait until the next request after a certain time interval has elapsed.
本発明は上記のような点に鑑みてなされたものであり、データ処理装置からデータをサーバ装置にアップロード中でも、クライアント装置が速やかに全てのデータをサーバ装置からダウンロードできるようにすることを目的とする。 The present invention has been made in view of the above points, and an object of the present invention is to enable a client device to quickly download all data from a server device even when data is uploaded from the data processing device to the server device. To do.
本発明のデータ共有システムは、データ処理装置と、サーバ装置と、クライアント装置とを有し、前記データ処理装置から前記サーバ装置にデータを送信可能で、前記サーバ装置から前記クライアント装置にデータを送信可能なデータ共有システムであって、前記サーバ装置は、前記データ処理装置からデータを受信する手段と、前記データ処理装置から受信したデータを記録手段に保存する手段と、前記記録手段に保存したデータのリストを生成する手段と、前記クライアント装置からのリストリクエストに応じて前記リストを前記クライアント装置に送信する手段とを備え、前記クライアント装置は、第一の時間間隔で前記サーバ装置にリストリクエストを送信する手段と、前記送信したリストリクエストに応じて前記サーバ装置から受信したリストに基づいて、前記サーバ装置からデータを受信し、受信完了通知を前記サーバ装置に送信することを繰り返す手段とを備え、前記サーバ装置は、前記クライアント装置からの受信完了通知に応じて該当するデータを前記リストから削除する手段を備えたことを特徴とする。 The data sharing system according to the present invention includes a data processing device, a server device, and a client device, and is capable of transmitting data from the data processing device to the server device, and transmitting data from the server device to the client device. A possible data sharing system, wherein the server device receives data from the data processing device, means for storing data received from the data processing device in a recording device, and data stored in the recording device And a means for transmitting the list to the client device in response to a list request from the client device, wherein the client device sends a list request to the server device at a first time interval. Means for transmitting and receiving from the server device in response to the transmitted list request. Means for receiving data from the server device based on the received list and repeatedly transmitting a reception completion notification to the server device, the server device corresponding to the reception completion notification from the client device. Means for deleting data to be deleted from the list.
本発明によれば、データ処理装置からデータをサーバ装置にアップロード中でも、クライアント装置が速やかに全てのデータをサーバ装置からダウンロードすることができる。 According to the present invention, even when data is uploaded from the data processing device to the server device, the client device can quickly download all the data from the server device.
以下、添付図面を参照して、本発明の好適な実施形態について説明する。
図1を参照して、本発明の実施形態に係るデータ共有システムについて説明する。
本実施形態に係るデータ共有システムは、データ処理装置としての通信機能を備えたデジタルカメラ等の撮像装置100、通信機器であるクライアント装置200、画像管理サーバ装置300を含み、これら装置がネットワーク400を介して通信可能となっている。データ共有システムで共有するデータとしては、撮像装置100での撮影により生成された画像データを例とする。
撮像装置100は、画像管理サーバ装置300にネットワーク400を介してアクセスし、画像データを送信可能(アップロード可能)である。画像管理サーバ装置300は、アップロードされた画像データを保存する。クライアント装置200は、画像管理サーバ装置300にネットワーク400を介してアクセスし、画像管理サーバ装置300に保存されている画像データをダウンロードする。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
A data sharing system according to an embodiment of the present invention will be described with reference to FIG.
The data sharing system according to the present embodiment includes an
The
<撮像装置100の構成>
図2に、撮像装置100の構成を示す。なお、図2に示すブロック図では、実施形態の構成を理解する上で、直接、必要とされない要素は省略してある。
撮像装置100は、撮像部101と、中央制御部103と、RAM104と、フラッシュメモリ105と、記録メディア106と、表示部107と、操作部108と、USB通信部109と、WiFi通信部110とを備える。
撮像部101は、レンズ、シャッタ、絞り、撮像素子等から構成され、被写体からの光を適切な量とタイミングで撮像素子に結像させる。
中央制御部103は、入力された信号やプログラムに従って、各種の演算や、撮像装置100を構成する各部分の制御を行う。具体的には、撮像制御、表示制御、記録制御、通信制御等を行う。
RAM104は、一時的なデータを記録し、中央制御部103の作業用に使われる。
フラッシュメモリ105は、撮像装置100を制御するためのプログラム(ファームウェア)や各種の設定情報を記録する。
記録メディア106は、撮影した画像データ(ファイル)等を記録する。なお、本実施形態における記録メディア106は、着脱可能ないわゆるメモリーカードであり、コンピュータ等に装着して画像データを読み出すことが可能である。つまり、撮像装置100は記録メディア106へのアクセス手段を有し、記録メディア106への画像データの読み書きを行うことができる。
表示部107は、撮影時のビューファインダー画像の表示、撮影画像の表示、対話的な操作のための文字表示等を行う。なお、表示部107は撮像装置100が備える必要はなく、撮像装置100は表示部107の表示を制御する表示制御機能を有していればよい。
操作部108は、使用者の操作を受け付けるためのものであり、例えばボタンやレバー、タッチパネル等を用いることが可能である。
USB通信部109は、外部装置とUSB(Universal Serial Bus)インタフェースで接続し、制御コマンドや画像データの送受信を行う。接続を確立し、データ通信するためのプロトコルとしては、例えばPTP(Picture Transfer Protocol)が用いられる。
WiFi通信部110は、無線通信によりネットワークに接続するためのものであり、ネットワーク上のサーバに画像データを送信する。なお、本実施形態では、無線通信によりネットワークに接続するが、これに限定されることは無く、有線での接続でもかまわない。
なお、撮像装置100の制御は、1つのハードウエアで行ってもよいし、複数のハードウエアが処理を分担しながら、撮像装置100における処理を実行する手段として機能してもよい。
本実施形態では、データ処理装置の一例としてデジタルカメラ等の撮像装置100を挙げたが、データ処理装置はこれに限られない。例えばデータ処理装置は、スマートフォン等のいわゆるタブレットデバイス、パーソナルコンピュータ等の情報処理装置であってもよい。
<Configuration of
FIG. 2 shows the configuration of the
The
The
The
The
The
The
A
The
A
The
Note that the control of the
In the present embodiment, the
<クライアント装置200、画像管理サーバ装置300の構成>
図3に、クライアント装置200、画像管理サーバ装置300を実現するコンピュータ装置(情報処理装置)の構成を示す。なお、図3に示すブロック図では、実施形態の構成を理解する上で、直接、必要とされない要素は省略してある。
コンピュータ装置は、中央制御部203と、RAM204と、記録メディア206と、表示部207と、操作部208と、通信部209とを備える。コンピュータ装置では、周知の通り、ハードウエア内にオペレーティングシステム(OS)があり、その上にアプリケーションソフトウェアが存在して様々な処理を行うことができる。
中央制御部203は、入力された信号やプログラムに従って、各種の演算やデータの再生、コンピュータ各部の制御を行う。
RAM204は、一時的なデータを記録し、中央制御部203の作業用に使われる。
記録メディア206は、補助記憶装置としてのハードディスクドライブ(HDD)であり、各種データやプログラム等が格納される。
表示部207は、本実施形態ではディスプレイであり、画像やプログラムの画面を表示したりする。
操作部208は、キーボードやマウス等であり、アプリケーション等に対してユーザからの入力を行うためのものである。
通信部209は、ネットワークを介して他の通信機器と接続し、制御コマンドやデータの送受信を行う。
クライアント装置200、画像管理サーバ装置300は、それぞれ一つ又は複数のコンピュータ装置から構成される。
<Configuration of
FIG. 3 shows a configuration of a computer device (information processing device) that implements the
The computer device includes a
The
The
The
In the present embodiment, the
The
The
Each of the
<撮像装置100の処理>
図4のフローチャートを参照して、撮像装置100が画像データを画像管理サーバ装置300にアップロードする動作について説明する。図4のフローチャートに示す動作は、撮像装置100の中央制御部103が所定のプログラム(アプリケーション)を実行することにより実現される。
中央制御部103は、操作部108のアップロードボタンを介したユーザからのアップロードの指示を待ち、アップロードボタンが押されることに応答して、図4のフローチャートに示す動作を開始する。なお、本実施形態では、動作を開始するタイミングをアップロードボタンが押されるタイミングとしたが、これに限られるものではない。例えば撮影された画像データが所定の枚数や容量に達したときや、一定時間ごとのタイミング、或いは撮像装置100と画像管理サーバ装置300の接続が確立したタイミング等であっても良い。
<Processing of
With reference to the flowchart of FIG. 4, an operation in which the
The
ステップS401で、中央制御部103は、記録メディア106に保存されている全ての画像データに対して、ステップS402〜S404の処理が行われたか否かを判断する。ステップS402〜S404の処理は、記録メディア106に保存されている画像データを一つずつ順に全ての画像データに対して行うものである。全ての画像データの処理が完了すると、ステップS405に処理を移す。
ステップS402で、中央制御部103は、記録メディア106に保存されている画像データのうち1画像の送信フラグを解析する。送信フラグとは、本システムにおいて、撮像装置100から画像管理サーバ装置300に送信済みの画像データであるか否かを記録するものであり、送信済みと未送信の2つの状態がある。送信フラグは、画像データに付随して記録されるもので、画像データ中に記録されていても良いし、画像データを管理するデータベースにより管理されても良いし、ファイルシステムにより管理されても良い。
ステップS403で、中央制御部103は、ステップS402において解析した送信フラグの状態により処理を分岐する。送信済みの場合、ステップS401に処理を戻し、次の画像データの処理を行う。未送信の場合、ステップS404に処理を移す。
ステップS404で、中央制御部103は、後述する更新情報リスト500に、ステップS402において解析した画像データの情報をセットする。更新情報リスト500とは、図5に示すように、画像データのファイル名501、データサイズ502、記録メディア106に保存されている画像データ(ファイル)の場所を示すパス503の項目を持つリストである。
In step S401, the
In step S <b> 402, the
In step S403, the
In step S404, the
ステップS405で、中央制御部103は、更新情報リスト500にリストされている画像データの数に応じて処理を分岐する。画像データの数が0の場合、送信フラグが未送信の状態の画像データが存在しなかったことになるので、ステップS411で、表示部107に、送信する画像が無いことを表示して、処理を終了する。画像データの数が1以上の場合、ステップS406に処理を移す。
ステップS406で、中央制御部103は、画像送信許可リクエストを更新情報リスト500とともに画像管理サーバ装置300に送信する。
ステップS407で、中央制御部103は、画像管理サーバ装置300からの応答を受け取り、その内容により処理を分岐する。画像管理サーバ装置300からの応答がOKの場合、ステップS408以降に処理を分岐し、NGの場合、ステップS412で、表示部107に送信できないことを表示して、処理を終了する。
ステップS408で、中央制御部103は、更新情報リスト500にリストされている全ての画像データの処理が完了したか否かを判断し、完了していない場合、ステップS409に処理を移す。つまり、ステップS409、S410の処理は、更新情報リスト500にリストされている全ての画像データに対して行う。
ステップS409で、中央制御部103は、画像送信リクエストとして、1画像の画像データを画像管理サーバ装置300に送信する。このとき、更新情報リスト500にリストされている送信する画像データの情報も合わせて送信する。画像管理サーバ装置300からの完了メッセージを受け取った後、ステップS410に処理を移し、送信した画像データの送信フラグを送信済みに設定する。その後、更新情報リスト500にリストされている次の画像データの処理を行うために、ステップS408に処理を戻す。
ステップS408において更新情報リスト500にリストされている全ての画像データの処理が完了していれば、ステップS413で、表示部107に送信完了メッセージを表示して、処理を終了する。
In step S405, the
In step S <b> 406, the
In step S407, the
In step S408, the
In step S409, the
If processing of all the image data listed in the
<画像管理サーバ装置300の処理>
図6、図7のフローチャートを参照して、画像管理サーバ装置300の動作について説明する。図6、図7のフローチャートに示す動作は、画像管理サーバ装置300として機能するコンピュータ装置の中央制御部203が所定のプログラム(アプリケーション)を実行することにより実現される。画像管理サーバ装置300内では、内部で動作するアプリケーションにより様々な処理が実行されるため、いずれの図も、そのアプリケーションの処理を説明するフローチャートとなる。
<Processing of Image
The operation of the image
図6は、画像管理サーバ装置300が撮像装置100からのメッセージを処理する動作を示すフローチャートである。
ステップS601で、中央制御部203は、撮像装置100からのメッセージの種類が画像送信許可リクエストであるか否かを判断する。画像送信許可リクエストである場合、中央制御部203は、ステップS602に処理を移し、撮像装置100から受け取った更新情報リスト500の中身をチェックする。具体的には、更新情報リスト500の形式等が、画像管理サーバ装置300が対応しているものであるか否か等をチェックする。そして、ステップS603で、画像データの受信可能であるか否かを判断し、受信可能である場合、ステップS604に処理を移し、受信OKレスポンスを撮像装置100に返す。一方、受信可能でない場合、ステップS605に処理を移し、受信NGレスポンスを撮像装置100に返す。
FIG. 6 is a flowchart illustrating an operation in which the image
In step S601, the
ステップS601においてメッセージの種類が画像送信許可リクエストでない場合、中央制御部203は、ステップS606に処理を移す。ステップS606で、中央制御部203は、撮像装置100からのメッセージの種類が画像送信リクエストであるか否かを判断する。画像送信リクエストである場合、中央制御部203は、ステップS607に処理を移す。ステップS607で、中央制御部203は、撮像装置100から画像データを受信し、記録メディア206に保存する。ステップS608で、中央制御部203は、ステップS607において受信した画像データの情報を後述する新着画像リスト800に記録する。ステップS609で、中央制御部203は、完了メッセージを撮像装置100に送信する。
If the message type is not an image transmission permission request in step S601, the
なお、図6では、撮像装置100からのメッセージのうち、画像送信許可リクエスト、画像送信リクエストについて説明したが、その他のメッセージも存在し、それらはステップS610で処理される。なお、他のメッセージの処理は本発明とは直接関係しないため、説明は省略する。
In FIG. 6, the image transmission permission request and the image transmission request among the messages from the
図8に、新着画像リスト800の一例を示す。新着画像リスト800は、撮像装置100から画像管理サーバ装置300にアップロードされて保存された画像データの情報を管理するものである。新着画像リスト800の要素としては、各画像データ個々にユニークに付けられたID801、撮像装置100の記録メディア106に記録されていたときのファイル名802、データサイズ803、撮像装置100からアップロードされた日時804、画像管理サーバ装置300の記録メディア206に記録された各データを指し示すURI805の項目を持つ。
FIG. 8 shows an example of the new
図7は、画像管理サーバ装置300がクライアント装置200からのメッセージを処理する動作を示すフローチャートである。
ステップS701、ステップS705、ステップS707で、中央制御部203は、クライアント装置200からのメッセージの種類を判断する。新着画像リストリクエストである場合、ステップS702に処理を移し、画像リクエストである場合、ステップS706に処理を移し、受信完了メッセージの場合、ステップS708に処理を移す。
FIG. 7 is a flowchart illustrating an operation in which the image
In step S701, step S705, and step S707, the
クライアント装置200からのメッセージが新着画像リストリクエストである場合、ステップS702で、中央制御部203は、新着画像リスト800に画像データの情報がリストされているか否かを確認する。一つでもリストされている場合、ステップS703に処理を移し、中央制御部203は、新着画像リスト800をクライアント装置200に送信する。一方、一つもリストされていない場合、ステップS704に処理を移し、新着画像は無いという情報をクライアント装置200に送信する。
If the message from the
クライアント装置200からのメッセージが画像リクエストである場合、ステップS706で、中央制御部203は、メッセージに付随して送られてくるURIで特定される画像データをクライアント装置200に送信する。
If the message from the
クライアント装置200からのメッセージが受信完了メッセージである場合、ステップS708で、中央制御部203は、メッセージとともに送られてくるURIと一致するURIを新着画像リスト800のURI805から探し、URIが一致した画像データの情報を新着画像リスト800から削除する。そして、ステップS709で、中央制御部203は、URIで指定された画像データを記録メディア206から削除する。
If the message from the
なお、図7では、クライアント装置200からのメッセージのうち、新着画像リストリクエスト、画像リクエスト、受信完了メッセージについて説明したが、その他のメッセージも存在し、それらはステップS710で処理される。なお、他のメッセージの処理は本発明とは直接関係しないため、説明は省略する。
In FIG. 7, the newly arrived image list request, the image request, and the reception completion message among the messages from the
<クライアント装置200の処理>
図9のフローチャートを参照して、クライアント装置200が画像管理サーバ装置300から画像データをダウンロードする動作について説明する。図9のフローチャートに示す動作は、クライアント装置200として機能するコンピュータ装置の中央制御部203が所定のプログラム(アプリケーション)を実行することにより実現される。本実施形態でのアプリケーションは、クライアント装置の起動と同時に自動的に実行(常駐)されるものであり、適切なタイミングで、画像管理サーバ装置300から画像をダウンロードして記録メディア206に保存するものである。
<Processing of
With reference to the flowchart of FIG. 9, an operation in which the
アプリケーション起動後に、ステップS901で、中央制御部203は、初期化処理の一つとして、画像管理サーバ装置300への問い合わせ間隔を表す変数Intervalに300秒を設定する。また、後に使用する変数Repeatに0を設定する。
ステップS902で、中央制御部203は、新着画像リストリクエストを画像管理サーバ装置300に送信する。
ステップS903で、中央制御部203は、新着画像リストリクエストに対するレスポンスの有無を判断する。新着画像リストリクエストに対するレスポンスとしては、図7のステップS703、S704で述べたように、新着画像リスト800が送信されるか、新着画像は無いという情報が送信される。
After starting the application, in step S901, the
In step S <b> 902, the
In step S903, the
新着画像リスト800を受け取った場合、中央制御部203は、ステップS904に処理を移し、新着画像リスト800にリストされている画像データのうち一つを画像管理サーバ装置300から受信し、記録メディア206に保存する。このときのファイル名は、新着画像リスト800のファイル名802を基にしたものとなる。画像データの保存が完了すると、ステップS905で、受信完了メッセージを画像管理サーバ装置300に送信する。ステップS906で、新着画像リスト800にリストされている全ての画像データについて受信及び保存、その受信完了通知の送信を行ったか否かを判断し、全ての画像データについて受信及び保存、その受信完了通知の送信を繰り返す。
When the
全ての画像データについて受信及び保存、その受信完了通知の送信を終えると、ステップS907に処理を移す。
ステップS907で、中央制御部203は、画像管理サーバ装置300への問い合わせ間隔を表す変数Intervalに30秒を設定する。また、変数Repeatに2を設定する。その後、再度ステップS902に処理を戻す。
When the reception and storage of all the image data and the transmission of the reception completion notification are completed, the process proceeds to step S907.
In step S907, the
ステップS908で、中央制御部203は、変数Intervalに設定されている時間だけ処理を止める。この処理により、画像管理サーバ装置300への新着画像リクエストの時間間隔が設けられることになる。
ステップS909で、中央制御部203は、変数Repeatが0より大きいか否かを判断する。大きい場合、ステップS910に処理を移し、変数Repeatを1減算する。大きくない場合、ステップS911に処理を移し、変数Intervalを300秒に設定する。ステップS910、S911の後は、ステップS902に処理を戻す。
In step S908, the
In step S909, the
<画像管理サーバ装置300とクライアント装置200とのやり取り>
以上により、図10に示す画像管理サーバ装置300とクライアント装置200とのやり取りが実現できる。
画像待機期間1001:画像管理サーバ装置300に新着画像が存在していない状態では、クライアント装置200は、300秒間隔で定期的に画像管理サーバ装置300に新着画像リストリクエストを送信する。
<Interaction between Image
As described above, the exchange between the image
Image standby period 1001: In a state in which no new image exists in the image
画像受信期間1002:クライアント装置200は、画像管理サーバ装置300から新着画像リスト800を受信した場合(1005)、新着画像リスト800に基づいて、画像管理サーバ装置300から画像データを受信し、その受信完了通知を画像管理サーバ装置300に送信することを繰り返す。
Image reception period 1002: When the
画像再確認期間1003:クライアント装置200は、新着画像リスト800にある全ての画像データについて受信及び保存、その受信完了通知の送信を終えると、30秒間隔で、3回、定期的に画像管理サーバ装置300に新着画像リストリクエストを送信する。3回の問い合わせを行った結果、新着画像が存在しない場合、通常の画像待機期間1001に遷移し、300秒間隔の新着画像リストリクエストに戻る。
Image reconfirmation period 1003: The
つまり、通常時は、画像管理サーバ装置300、クライアント装置200、ネットワーク400に負荷をかけない程度の間隔で、クライアント装置200から画像管理サーバ装置300をポーリングする。そして、一旦、新着画像が存在した場合には、ポーリング間隔とは関係なく、直ぐに新着画像をリクエストする。新着画像が無くなった場合でも、画像管理サーバ装置300に更なる新着画像が存在する可能性があるので、より短い期間で数回新着画像を問い合わせる。
これにより、撮像装置100から画像データを画像管理サーバ装置300にアップロード中でも、クライアント装置200が速やかに全ての画像データを画像管理サーバ装置300からダウンロードすることができる。
That is, during normal times, the image
Thereby, even when image data is uploaded from the
なお、本実施形態では、通常時の新着画像リストリクエストを第一の時間間隔である300秒、新着画像転送後の新着画像リストリクエストを第二の時間間隔である30秒間隔で3回としたが、この秒数、回数に限定されるものではない。また、第二の時間間隔で問い合わせるのを回数でなく、所定の期間だけ繰り返すようにしても良い。また、固定値である必要もなく、転送されてきた画像データの容量や画像データの形式、ネットワークの負荷状況等に応じてリクエスト間隔や回数を動的に変えても良い。 In the present embodiment, the new image list request in the normal time is set to 300 seconds as the first time interval, and the new image list request after the transfer of the new image is set to three times at the second time interval of 30 seconds. However, it is not limited to the number of seconds and the number of times. The inquiry at the second time interval may be repeated for a predetermined period instead of the number of times. Further, the request interval need not be a fixed value, and the request interval and the number of times may be dynamically changed according to the capacity of the transferred image data, the format of the image data, the load state of the network, and the like.
以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。
(その他の実施形態)
また、本発明は、以下の処理を実行することによっても実現される。すなわち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.
(Other embodiments)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.
100:撮像装置、101:撮像部、203:中央制御部、104:RAM、105:フラッシュメモリ、106:記録メディア、107:表示部、108:操作部、109:USB通信部、110:WiFi通信部、200:クライアント装置、203:中央制御部、204:RAM、206:記録メディア、207:表示部、208:操作部、209:通信部、300:画像管理サーバ装置、400:ネットワーク 100: Imaging device 101: Imaging unit 203: Central control unit 104: RAM 105: Flash memory 106: Recording medium 107: Display unit 108: Operation unit 109: USB communication unit 110: WiFi communication Unit: 200: client device, 203: central control unit, 204: RAM, 206: recording medium, 207: display unit, 208: operation unit, 209: communication unit, 300: image management server device, 400: network
Claims (8)
前記サーバ装置は、
前記データ処理装置からデータを受信する手段と、
前記データ処理装置から受信したデータを記録手段に保存する手段と、
前記記録手段に保存したデータのリストを生成する手段と、
前記クライアント装置からのリストリクエストに応じて前記リストを前記クライアント装置に送信する手段とを備え、
前記クライアント装置は、
第一の時間間隔で前記サーバ装置にリストリクエストを送信する手段と、
前記送信したリストリクエストに応じて前記サーバ装置から受信したリストに基づいて、前記サーバ装置からデータを受信し、受信完了通知を前記サーバ装置に送信することを繰り返す手段とを備え、
前記サーバ装置は、
前記クライアント装置からの受信完了通知に応じて該当するデータを前記リストから削除する手段を備えたことを特徴とするデータ共有システム。 A data sharing system having a data processing device, a server device, and a client device, capable of transmitting data from the data processing device to the server device, and capable of transmitting data from the server device to the client device. ,
The server device
Means for receiving data from the data processing device;
Means for storing data received from the data processing device in a recording means;
Means for generating a list of data stored in the recording means;
Means for transmitting the list to the client device in response to a list request from the client device,
The client device is
Means for transmitting a list request to the server device at a first time interval;
Means for receiving data from the server device based on the list received from the server device in response to the transmitted list request, and repeating sending a reception completion notification to the server device;
The server device
A data sharing system comprising means for deleting corresponding data from the list in response to a reception completion notification from the client device.
前記リストリクエストに応じて前記サーバ装置から受信したリストに基づいて、前記サーバ装置からデータを受信し、受信完了通知を前記サーバ装置に送信することを繰り返した後、前記第一の時間間隔よりも短い第二の時間間隔で前記サーバ装置にリストリクエストを送信する手段を備えたことを特徴とする請求項1に記載のデータ共有システム。 The client device is
Based on the list received from the server device in response to the list request, after receiving data from the server device and repeatedly transmitting a reception completion notification to the server device, than the first time interval The data sharing system according to claim 1, further comprising means for transmitting a list request to the server device at a short second time interval.
前記データ処理装置からデータを受信する手段と、
前記データ処理装置から受信したデータを記録手段に保存する手段と、
前記記録手段に保存したデータのリストを生成する手段と、
前記クライアント装置からのリストリクエストに応じて前記リストを前記クライアント装置に送信する手段とを備えたことを特徴とするサーバ装置。 A server device capable of receiving data from a data processing device and capable of transmitting data to a client device,
Means for receiving data from the data processing device;
Means for storing data received from the data processing device in a recording means;
Means for generating a list of data stored in the recording means;
A server device comprising: means for transmitting the list to the client device in response to a list request from the client device.
前記サーバ装置にリストリクエストを送信する手段と、
前記送信したリストリクエストに応じて前記サーバ装置から受信したリストに基づいて、前記サーバ装置からデータを受信し、受信完了通知を前記サーバ装置に送信することを繰り返す手段とを備えたことを特徴とするクライアント装置。 Means for receiving data from a data processing device; means for storing data received from the data processing device in a recording means; means for generating a list of data stored in the recording means; and the list in response to a list request A client device capable of receiving data from a server device comprising a means for transmitting
Means for sending a list request to the server device;
Means for receiving data from the server device based on a list received from the server device in response to the transmitted list request, and repeatedly transmitting a reception completion notification to the server device. Client device to perform.
前記サーバ装置が、
前記データ処理装置からデータを受信するステップと、
前記データ処理装置から受信したデータを記録手段に保存するステップと、
前記記録手段に保存したデータのリストを生成するステップと、
前記クライアント装置からのリストリクエストに応じて前記リストを前記クライアント装置に送信するステップとを実行し、
前記クライアント装置が、
第一の時間間隔で前記サーバ装置にリストリクエストを送信するステップと、
前記送信したリストリクエストに応じて前記サーバ装置から受信したリストに基づいて、前記サーバ装置からデータを受信し、受信完了通知を前記サーバ装置に送信することを繰り返すステップとを実行し、
前記サーバ装置が、
前記クライアント装置からの受信完了通知に応じて該当するデータを前記リストから削除するステップを更に実行することを特徴とするデータ共有システムの制御方法。 A data sharing system control method comprising a data processing device, a server device, and a client device, capable of transmitting data from the data processing device to the server device, and capable of transmitting data from the server device to the client device Because
The server device is
Receiving data from the data processing device;
Storing the data received from the data processing device in a recording means;
Generating a list of data stored in the recording means;
Performing the step of transmitting the list to the client device in response to a list request from the client device;
The client device is
Sending a list request to the server device at a first time interval;
Repetitively receiving data from the server device based on the list received from the server device in response to the transmitted list request and transmitting a reception completion notification to the server device;
The server device is
A method for controlling a data sharing system, further comprising: deleting corresponding data from the list in response to a reception completion notification from the client device.
前記データ処理装置からデータを受信する手段と、
前記データ処理装置から受信したデータを記録手段に保存する手段と、
前記記録手段に保存したデータのリストを生成する手段と、
前記クライアント装置からのリストリクエストに応じて前記リストを前記クライアント装置に送信する手段としてコンピュータを機能させるためのプログラム。 A program for controlling a server device capable of receiving data from a data processing device and capable of transmitting data to a client device,
Means for receiving data from the data processing device;
Means for storing data received from the data processing device in a recording means;
Means for generating a list of data stored in the recording means;
A program for causing a computer to function as means for transmitting the list to the client device in response to a list request from the client device.
前記サーバ装置にリストリクエストを送信する手段と、
前記送信したリストリクエストに応じて前記サーバ装置から受信したリストに基づいて、前記サーバ装置からデータを受信し、受信完了通知を前記サーバ装置に送信することを繰り返す手段としてコンピュータを機能させるためのプログラム。 Means for receiving data from a data processing device; means for storing data received from the data processing device in a recording means; means for generating a list of data stored in the recording means; and the list in response to a list request A program for controlling a client device capable of receiving data from a server device comprising means for transmitting
Means for sending a list request to the server device;
A program for causing a computer to function as means for repeatedly receiving data from the server device and transmitting a reception completion notification to the server device based on a list received from the server device in response to the transmitted list request .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012261435A JP2014106895A (en) | 2012-11-29 | 2012-11-29 | Data shared system, server device, and client device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012261435A JP2014106895A (en) | 2012-11-29 | 2012-11-29 | Data shared system, server device, and client device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014106895A true JP2014106895A (en) | 2014-06-09 |
Family
ID=51028284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012261435A Pending JP2014106895A (en) | 2012-11-29 | 2012-11-29 | Data shared system, server device, and client device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014106895A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107036256A (en) * | 2017-05-31 | 2017-08-11 | 广东美的制冷设备有限公司 | The control method of delivery temperature, the control device of delivery temperature and air conditioner |
-
2012
- 2012-11-29 JP JP2012261435A patent/JP2014106895A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107036256A (en) * | 2017-05-31 | 2017-08-11 | 广东美的制冷设备有限公司 | The control method of delivery temperature, the control device of delivery temperature and air conditioner |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5731088B2 (en) | Device control method and program | |
US9338481B2 (en) | Communication apparatus that performs streaming distribution, method of controlling communication apparatus, reproduction apparatus, method of controlling reproduction apparatus, and storage medium | |
JP2014164697A (en) | Image processing apparatus, image processing method, program, and storage medium | |
US20140289288A1 (en) | Relay apparatus, system, and non-transitory computer readable medium | |
JP6381426B2 (en) | Information processing apparatus, control method, and program | |
JP2016031593A (en) | Server device, information processing device, information processing system, control method of server device, control method of information processing device, and program thereof | |
JP2014106895A (en) | Data shared system, server device, and client device | |
JP2021086486A (en) | Information processing system, server, method, program, and information processing apparatus | |
JP6347636B2 (en) | Image processing system, data management method, and program | |
JP6442915B2 (en) | Communication terminal, communication system, and program | |
JP7279416B2 (en) | Intermediary terminal, communication system, input system, intermediary control method, and program | |
JP2013219506A (en) | Imaging device, control method therefor and program | |
JP7030561B2 (en) | Information processing equipment, information processing methods and programs | |
JP2022053356A (en) | Communication device, control method thereof, and program | |
JP2011087072A (en) | Image providing server device, control method thereof, and program | |
JP2007207027A (en) | Information management device, terminal equipment, information management system and information management method | |
JP2019160082A (en) | System and method in system | |
US11570329B2 (en) | Transmission device, communication system, and display device | |
JP6966615B2 (en) | Terminal device control program, terminal device control method and terminal device | |
JP2017130892A (en) | Information processing apparatus, information processing method, information processing system, and computer program | |
JP2017157956A (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP2018180812A (en) | Image providing system and control method thereof, and program | |
JP6957847B2 (en) | Information processing equipment and programs | |
JP6552318B2 (en) | INFORMATION PROCESSING APPARATUS AND ITS CONTROL METHOD AND PROGRAM | |
JP2018136609A (en) | Information processing system, information processing device, information processing method and program |