JP2019165381A - Image processing device, relay device, and program - Google Patents

Image processing device, relay device, and program Download PDF

Info

Publication number
JP2019165381A
JP2019165381A JP2018052684A JP2018052684A JP2019165381A JP 2019165381 A JP2019165381 A JP 2019165381A JP 2018052684 A JP2018052684 A JP 2018052684A JP 2018052684 A JP2018052684 A JP 2018052684A JP 2019165381 A JP2019165381 A JP 2019165381A
Authority
JP
Japan
Prior art keywords
cloud storage
image data
user
cloud
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018052684A
Other languages
Japanese (ja)
Other versions
JP7119465B2 (en
Inventor
大悟 堀江
Daigo Horie
大悟 堀江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2018052684A priority Critical patent/JP7119465B2/en
Publication of JP2019165381A publication Critical patent/JP2019165381A/en
Application granted granted Critical
Publication of JP7119465B2 publication Critical patent/JP7119465B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To prevent errors due to insufficient cloud storage capacity as compared with a case of not checking the cloud storage capacity, when transferring and storing data from an image processing device such as a multifunction machine to a cloud storage via a relay device.SOLUTION: Image data from an image processing device 12 is transferred by a relay device 14 and stored in a cloud storage. The image processing device 12 inquires the relay device 14 of free capacity of multiple cloud storages A16, B18 available to a user, receives information about the free capacity from the relay device 14, determines a cloud storage with enough free capacity capable of storing image data, and transmits the image data to the relay device 14.SELECTED DRAWING: Figure 1

Description

本発明は、画像処理装置、中継装置及びプログラムに関する。   The present invention relates to an image processing device, a relay device, and a program.

特許文献1には、複数の機能の動作が同時に実行される状況下においても、メモリの使用状況を正確に把握でき、新たな機能を実行する前にメモリ不足が発生するか否かを知ることができる複合機が記載されている。空きメモリサイズ、使用可能メモリサイズ、予想使用メモリサイズ、および不足メモリサイズが算出されると、使用可能メモリサイズと新生成データによる予想使用メモリサイズとが比較され、新生成データによってメモリフル状態になるか否かが判定される。メモリフル状態になると判定されると、新生成データの使用可能メモリへの記憶処理が制限される。そして、現在動作中のいずれの機能によって使用されているRAMの共有エリアの一部を開放可能か判断する処理が行われる。その後、RAMに記憶された各メモリサイズと、算出された各メモリサイズと、開放可能なメモリを開放するか否かの選択をユーザに促す旨が、LCDに表示される。   Japanese Patent Application Laid-Open No. 2004-228688 can accurately grasp the memory usage status even in a situation where operations of a plurality of functions are executed simultaneously, and know whether or not a memory shortage occurs before executing a new function. A multi-function machine is described. When the free memory size, usable memory size, expected memory size used, and insufficient memory size are calculated, the available memory size is compared with the expected memory size used by the newly created data, and the newly created data brings the memory full. It is determined whether or not. If it is determined that the memory is full, the process for storing the newly generated data in the usable memory is limited. Then, a process of determining whether a part of the shared area of the RAM used by which function currently in operation can be released is performed. Thereafter, the LCD displays that each memory size stored in the RAM, each calculated memory size, and prompting the user to select whether or not to release the releasable memory are displayed.

特許文献2には、画像処理装置が読み込んだデータをクラウドに格納するにあたって、クラウドへのデータの格納に失敗した場合、利用者毎の情報に基づいた対応内容を、利用者に送信するようにした中継装置が記載されている。中継装置の記憶手段は、クラウドサービスを利用する利用者の認証情報と、利用者毎にクラウドサービスへのデータの格納が失敗した場合の対応情報とを記憶する。受信手段は、利用者の認証情報、クラウドサービスへの格納対象となるデータ及びクラウドサービスへの格納要求を受信する。送信手段は、クラウドサービスへの格納要求に応じて、利用者の認証情報と、クラウドサービスへの格納対象となるデータとをクラウドサービスに送信する。第2の送信手段は、クラウドサービスへのデータの格納に失敗した場合には、対応情報を参照して、対応方法を利用者に送信する。   In Patent Document 2, when storing data read by the image processing apparatus in the cloud, if the storage of the data in the cloud fails, the correspondence content based on the information for each user is transmitted to the user. The relay device is described. The storage unit of the relay apparatus stores authentication information of a user who uses the cloud service and correspondence information when data storage to the cloud service fails for each user. The receiving unit receives user authentication information, data to be stored in the cloud service, and a storage request to the cloud service. The transmission means transmits user authentication information and data to be stored in the cloud service to the cloud service in response to a storage request in the cloud service. When storage of data in the cloud service fails, the second transmission unit refers to the correspondence information and transmits the correspondence method to the user.

特開2007−151004号公報JP 2007-151004 A 特開2017−45099号公報JP 2017-45099 A

クラウドサービスが提供するストレージ(以下、クラウドストレージと称する)は、一般に利用できる容量が決まっており、その容量を超えてデータを格納することはできない。複合機等の画像処理装置から中継装置を介してクラウドストレージにデータを転送して格納する場合、格納しようとしたクラウドストレージの容量を超えていた場合、データの格納に失敗(エラー)してしまう。   The storage provided by the cloud service (hereinafter referred to as “cloud storage”) has a generally available capacity, and cannot store data beyond that capacity. When transferring data from an image processing device such as a multifunction peripheral to the cloud storage via a relay device and storing the data, if the capacity of the cloud storage to be stored is exceeded, the data storage fails (error). .

本発明の目的は、複合機等の画像処理装置から中継装置を介してクラウドストレージにデータを転送して格納する際に、クラウドストレージの容量を確認しない場合に比べて、クラウドストレージの容量不足によるエラーの発生を防止することにある。   The object of the present invention is due to insufficient capacity of the cloud storage when transferring data from the image processing apparatus such as a multifunction peripheral to the cloud storage via the relay apparatus and storing the data, compared with the case where the capacity of the cloud storage is not confirmed. It is to prevent the occurrence of errors.

請求項1に記載の発明は、画像処理装置から画像データを受信する受信部と、受信した画像データをクラウドストレージに転送して格納する制御部であり、前記画像処理装置のユーザが利用可能な複数のクラウドストレージに対して空き容量を問い合わせ、前記画像データを格納し得る空き容量を有するクラウドストレージに前記画像データを転送して格納する制御部とを備える中継装置である。   The invention according to claim 1 is a receiving unit that receives image data from the image processing device, and a control unit that transfers and stores the received image data to a cloud storage, and can be used by a user of the image processing device A relay apparatus comprising: a controller that inquires a plurality of cloud storages about a free space and transfers and stores the image data to a cloud storage having a free space capable of storing the image data.

請求項2に記載の発明は、前記制御部は、前記ユーザが指定したクラウドストレージに空き容量を問い合わせ、前記画像データを格納し得る空き容量がない場合に、前記ユーザが利用可能な他のクラウドストレージに空き容量を問い合わせる請求項1に記載の中継装置である。   According to the second aspect of the present invention, the control unit inquires about a free space in the cloud storage designated by the user, and when there is no free space that can store the image data, another cloud that can be used by the user The relay apparatus according to claim 1, wherein the storage device inquires about a free capacity.

請求項3に記載の発明は、前記制御部は、前記画像処理装置からの問い合わせに応じて前記ユーザが利用可能な複数のクラウドストレージの情報を前記画像処理装置に返信し、前記画像処理装置からの空き容量確認の問い合わせに応じて前記ユーザが利用可能なクラウドストレージに空き容量を問い合わせる請求項1に記載の中継装置である。   According to a third aspect of the present invention, the control unit returns information on a plurality of cloud storages available to the user to the image processing apparatus in response to an inquiry from the image processing apparatus, and the image processing apparatus The relay apparatus according to claim 1, wherein the user makes an inquiry about the available capacity to the cloud storage that can be used by the user in response to an inquiry about the available capacity confirmation.

請求項4に記載の発明は、前記制御部は、前記ユーザが指定したクラウドストレージと異なるクラウドストレージに前記画像データを転送して格納した場合に、前記画像データを格納したクラウドストレージの情報を前記画像処理装置に通知する請求項1に記載の中継装置である。   According to a fourth aspect of the present invention, when the control unit transfers and stores the image data to a cloud storage different from the cloud storage specified by the user, the control unit stores information on the cloud storage that stores the image data. The relay apparatus according to claim 1, wherein the relay apparatus notifies the image processing apparatus.

請求項5に記載の発明は、前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが複数存在する場合に、ルールに従っていずれかのクラウドストレージに前記画像データを転送して格納する請求項1に記載の中継装置である。   According to a fifth aspect of the present invention, in the case where there are a plurality of cloud storages having a free capacity that can be used by the user and in which the image data can be stored, the control unit can store the image in any cloud storage according to a rule. The relay apparatus according to claim 1, wherein the data is transferred and stored.

請求項6に記載の発明は、前記ルールは、最初に検出されたクラウドストレージ、最も空き容量の小さいクラウドストレージ、最も空き容量の大きいクラウドストレージ、前記ユーザが選択したクラウドストレージのいずれかである請求項5に記載の中継装置である。   According to a sixth aspect of the present invention, the rule is any one of a cloud storage detected first, a cloud storage with the smallest available capacity, a cloud storage with the largest available capacity, and a cloud storage selected by the user. Item 6. The relay device according to Item 5.

請求項7に記載の発明は、前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが存在しない場合に、前記画像データのデータ量を削減し得るパラメータの変更を前記画像処理装置に通知し、前記画像処理装置から送信された再処理後の画像データを格納し得る空き容量を有するクラウドストレージに転送して格納する請求項1に記載の中継装置である。   According to a seventh aspect of the present invention, the control unit is a parameter that can reduce a data amount of the image data when there is no cloud storage that is available to the user and has a free capacity capable of storing the image data. The relay apparatus according to claim 1, wherein the image processing apparatus is notified of the change, and the reprocessed image data transmitted from the image processing apparatus is transferred to and stored in a cloud storage having a free capacity. is there.

請求項8に記載の発明は、前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが存在しない場合に、前記画像データのデータ量を削減し得るパラメータを変更して再処理し、再処理後の画像データを格納し得る空き容量を有するクラウドストレージに転送して格納する請求項1に記載の中継装置である。   The invention according to claim 8 is a parameter in which the control unit can reduce the data amount of the image data when there is no cloud storage having a free capacity that can be used by the user and can store the image data. The relay apparatus according to claim 1, wherein the relay device is re-processed and transferred to a cloud storage having a free capacity capable of storing the re-processed image data.

請求項9に記載の発明は、前記パラメータは、前記画像データの解像度、フォーマット、カラーの少なくともいずれかである請求項7,8のいずれかに記載の中継装置である。   The invention according to claim 9 is the relay apparatus according to any one of claims 7 and 8, wherein the parameter is at least one of resolution, format, and color of the image data.

請求項10に記載の発明は、画像データを転送してクラウドストレージに格納する中継装置に対して、ユーザが利用可能な複数のクラウドストレージの空き容量を問い合わせる送信部と、前記中継装置からの空き容量の情報を受信し、前記画像データを格納し得る空き容量を有するクラウドストレージを決定して前記画像データを前記中継装置に送信する制御部とを備える画像処理装置である。   According to the tenth aspect of the present invention, there is provided a transmission unit that inquires about a free capacity of a plurality of cloud storages that can be used by a user with respect to a relay device that transfers image data and stores it in a cloud storage, And a control unit that receives information on the capacity, determines a cloud storage having a free capacity capable of storing the image data, and transmits the image data to the relay apparatus.

請求項11に記載の発明は、前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが複数存在する場合に、ルールに従っていずれかのクラウドストレージを決定する請求項10に記載の画像処理装置である。   In the invention according to claim 11, the control unit determines one of the cloud storages according to a rule when there are a plurality of cloud storages that are available to the user and have a free capacity capable of storing the image data. An image processing apparatus according to claim 10.

請求項12に記載の発明は、前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが存在しない場合に、前記画像データのデータ量を削減し得るパラメータを変更して再処理し、再処理後の画像データを前記中継装置に送信する請求項10に記載の画像処理装置である。   The invention according to claim 12 is a parameter in which the control unit can reduce the data amount of the image data when there is no cloud storage that is available to the user and has a free capacity capable of storing the image data. The image processing apparatus according to claim 10, wherein the image data is reprocessed and the reprocessed image data is transmitted to the relay apparatus.

請求項13に記載の発明は、前記制御部は、決定した前記クラウドストレージが、前記ユーザが指定したクラウドストレージと異なる場合に、ユーザ端末に対して決定した前記クラウドストレージの情報を送信する請求項10〜12のいずれかに記載の画像処理装置である。   The invention according to claim 13 is the control unit, when the determined cloud storage is different from the cloud storage specified by the user, transmits the determined information of the cloud storage to the user terminal. The image processing apparatus according to any one of 10 to 12.

請求項14に記載の発明は、コンピュータに、画像データを入力するステップと、前記画像データを転送してクラウドストレージに格納する中継装置に対して、ユーザが利用可能な複数のクラウドストレージの空き容量を問い合わせるステップと、前記中継装置からの空き容量の情報を受信するステップと、前記画像データを格納し得る空き容量を有するクラウドストレージを決定して前記画像データを前記中継装置に送信するステップとを実行させるプログラムである。   The invention described in claim 14 includes a step of inputting image data to a computer and a free space of a plurality of cloud storages that can be used by a user for a relay device that transfers the image data and stores it in the cloud storage. Inquiring about free space information from the relay device, determining a cloud storage having a free space capable of storing the image data, and transmitting the image data to the relay device. It is a program to be executed.

請求項1〜14に記載の発明によれば、画像処理装置から中継装置を介してクラウドストレージにデータを転送して格納する際に、クラウドストレージの容量を確認しない場合に比べて、クラウドストレージの容量不足によるエラーの発生を防止し得る。   According to the invention described in claims 1 to 14, when data is transferred from the image processing device to the cloud storage via the relay device and stored, compared with the case where the capacity of the cloud storage is not confirmed, It is possible to prevent the occurrence of errors due to insufficient capacity.

請求項4,13に記載の発明によれば、さらに、ユーザが指定したクラウドストレージと異なるクラウドストレージに画像データを転送して格納した場合に、画像データを格納したクラウドストレージの情報が通知され、ユーザが知り得る。   According to the inventions of claims 4 and 13, when image data is transferred and stored in a cloud storage different from the cloud storage designated by the user, the information of the cloud storage storing the image data is notified, User can know.

請求項5,6,11に記載の発明によれば、さらに、ユーザが利用可能で画像データを格納し得る空き容量を有するクラウドストレージが複数存在する場合に、ルールに従っていずれかのクラウドストレージに画像データが格納され得る。   According to the fifth, sixth, and eleventh aspects of the present invention, when there are a plurality of cloud storages that can be used by the user and have a free capacity for storing image data, images are stored in any one of the cloud storages according to the rules. Data can be stored.

請求項7〜9,12に記載の発明によれば、さらに、ユーザが利用可能で画像データを格納し得る空き容量を有するクラウドストレージが存在しない場合でも、いずれかのクラウドストレージに画像データが格納され得る。   According to the seventh to ninth and twelfth aspects of the present invention, the image data is stored in any one of the cloud storages even when there is no cloud storage that can be used by the user and has a free capacity for storing the image data. Can be done.

実施形態のシステム構成図である。It is a system configuration figure of an embodiment. 実施形態の画像処理装置及び中継装置の機能ブロック図である。It is a functional block diagram of an image processing device and a relay device of an embodiment. 実施形態の中継装置の構成ブロック図である。It is a block diagram of the configuration of the relay device of the embodiment. 実施形態の処理フローチャート(その1)である。It is a processing flowchart (the 1) of an embodiment. 実施形態の処理フローチャート(その2)である。It is a processing flowchart (the 2) of an embodiment. 実施形態のルールテーブル説明図である。It is a rule table explanatory drawing of an embodiment. 他の実施形態の処理フローチャートである。It is a processing flowchart of other embodiments. 他の実施形態のパラメータテーブル説明図である。It is parameter table explanatory drawing of other embodiment. 変形例1の処理フローチャートである。It is a process flowchart of the modification 1. 変形例2の処理フローチャートである。It is a processing flowchart of modification 2.

以下、図面に基づき本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<実施形態1>
図1は、本実施形態におけるシステム構成図を示す。システムは、ユーザ端末10、画像処理装置12、中継装置14、クラウドストレージA16、及びクラウドストレージB18を備え、これらはデータ送受信可能に通信ネットワーク(クラウド)20に接続される。
<Embodiment 1>
FIG. 1 shows a system configuration diagram in the present embodiment. The system includes a user terminal 10, an image processing device 12, a relay device 14, a cloud storage A16, and a cloud storage B18, which are connected to a communication network (cloud) 20 so that data can be transmitted and received.

なお、図では複数のクラウドストレージとしてクラウドストレージA16及びクラウドストレージB18を例示しているが、その数は任意であって3以上でもよい。   In addition, although the cloud storage A16 and the cloud storage B18 are illustrated as a some cloud storage in the figure, the number is arbitrary and three or more may be sufficient as it.

ユーザ端末10は、クラウドストレージへの画像データの格納を希望するユーザが操作する端末であり、スマートフォンやタブレット端末、あるいはPC等である。ユーザ端末10は、画像形成されるべき画像データをプリントジョブとして画像処理装置12に送信し得る。また、ユーザ端末10は、必要に応じ、クラウドストレージA16、クラウドストレージB18に直接アクセスし得る。   The user terminal 10 is a terminal operated by a user who desires to store image data in the cloud storage, and is a smartphone, a tablet terminal, a PC, or the like. The user terminal 10 can transmit image data to be imaged to the image processing apparatus 12 as a print job. Further, the user terminal 10 can directly access the cloud storage A16 and the cloud storage B18 as necessary.

画像処理装置12は、例えば、スキャン機能、プリント機能、コピー機能及びファクシミリ機能等を備えたいわゆる複合機等である。画像処理装置12は、ユーザ端末10から送信された画像データを受信し、例えばプリント処理を実行する。また、画像処理装置12には、ユーザ操作によってADF(オートドキュメントフィーダ)等から文書等を読み込み、その画像データをクラウドストレージに格納するための格納要求が入力される。格納要求には、ユーザを特定する情報(ユーザID)、クラウドストレージの指定情報、及び画像データが含まれる。例えば、ユーザは、画像処理装置12の表示部に表示された操作画面を操作して、画像データを特定するとともにクラウドストレージの名称あるいはアドレス情報を入力して「格納」ボタンを操作する。画像処理装置12は、ユーザID、クラウドストレージの指定情報、画像データを含む格納要求を中継装置14に送信する。   The image processing apparatus 12 is, for example, a so-called multi-function machine having a scan function, a print function, a copy function, a facsimile function, and the like. The image processing apparatus 12 receives the image data transmitted from the user terminal 10 and executes, for example, print processing. The image processing apparatus 12 receives a storage request for reading a document or the like from an ADF (auto document feeder) or the like by a user operation and storing the image data in the cloud storage. The storage request includes information for identifying the user (user ID), cloud storage designation information, and image data. For example, the user operates the operation screen displayed on the display unit of the image processing apparatus 12 to specify the image data, input the name or address information of the cloud storage, and operate the “store” button. The image processing apparatus 12 transmits a storage request including the user ID, cloud storage designation information, and image data to the relay apparatus 14.

画像処理装置12を利用する際には、ユーザが予め登録されている正規のユーザであることを確認する処理(ログイン処理)を行う。例えば、ユーザによってキーボードが操作され、ユーザIDとパスワードを受け付けて、予め登録されたものと照合してもよいし、ICカードリーダ等を用いてユーザが所持しているICカードを読み取り、ICカード内に記憶されている情報を照合してもよい。また、指紋等の生体認証を用いるようにしてもよい。格納要求に含まれるユーザIDは、ログイン時のユーザIDと同一でもよく、異なっていてもよい。   When the image processing device 12 is used, a process (login process) for confirming that the user is a registered regular user is performed. For example, the keyboard may be operated by the user, the user ID and password may be received and collated with those registered in advance, or the IC card held by the user may be read using an IC card reader or the like, You may collate the information memorize | stored in the inside. In addition, biometric authentication such as a fingerprint may be used. The user ID included in the storage request may be the same as or different from the user ID at the time of login.

中継装置14は、サーバコンピュータで構成され、画像処理装置12から送信された格納要求を受信し、ユーザから指定されたクラウドストレージに画像データを格納する。例えば、ユーザが画像データの格納先としてクラウドストレージA16を指定した場合、中継装置14は、当該ユーザのクラウドストレージA16に対する認証情報を用いてクラウドストレージA16にアクセスし、画像データをクラウドストレージA16に転送して画像データの格納を指示する。ユーザのクラウドストレージに対する認証情報は、クラウドストレージ毎に予め中継装置14に記憶され得る。   The relay device 14 is configured by a server computer, receives the storage request transmitted from the image processing device 12, and stores the image data in the cloud storage designated by the user. For example, when the user designates the cloud storage A16 as the image data storage destination, the relay device 14 accesses the cloud storage A16 using the authentication information for the user's cloud storage A16 and transfers the image data to the cloud storage A16. To instruct storage of image data. The authentication information for the user's cloud storage can be stored in advance in the relay device 14 for each cloud storage.

クラウドストレージA16、あるいはクラウドストレージB18は、中継装置14から転送された画像データを格納する。クラウドストレージA16、あるいはクラウドストレージB18は、ユーザ端末10からのアクセスに応じて格納した画像データをユーザ端末10に送信し得る。クラウドストレージA16、あるいはクラウドストレージB18は、画像データをユーザ端末10に送信(ダウンロード)する際には、画像処理装置12の読み込みを行ったユーザと、ユーザ端末10のユーザが同一であることを確認した上で送信する。   The cloud storage A16 or the cloud storage B18 stores the image data transferred from the relay device 14. The cloud storage A <b> 16 or the cloud storage B <b> 18 can transmit image data stored in response to access from the user terminal 10 to the user terminal 10. When the cloud storage A16 or the cloud storage B18 transmits (downloads) image data to the user terminal 10, it confirms that the user who read the image processing apparatus 12 and the user of the user terminal 10 are the same. Then send.

通信ネットワーク20は、LAN(Local Area Network)やWAN(Wide Area Network)等であり、有線ネットワークであっても無線ネットワークであってもよい。また、通信ネットワーク20は、専用回線でもよく、インターネット等の公衆回線でもよい。通信ネットワーク20は、複数のネットワークから構成されていてもよい。   The communication network 20 is a LAN (Local Area Network), a WAN (Wide Area Network), or the like, and may be a wired network or a wireless network. The communication network 20 may be a dedicated line or a public line such as the Internet. The communication network 20 may be composed of a plurality of networks.

中継装置14は、上記のように画像処理装置12からの画像データをユーザが指定したクラウドストレージに転送して格納するが、転送先のクラウドストレージの容量、つまりそのユーザに割り当てられた容量が十分でなく、画像データを格納することができない場合があり得、エラー(格納不可)となってしまう。   As described above, the relay device 14 transfers the image data from the image processing device 12 to the cloud storage designated by the user and stores it, but the capacity of the destination cloud storage, that is, the capacity allocated to the user is sufficient. In addition, there may be a case where image data cannot be stored, resulting in an error (cannot be stored).

このような場合、ユーザは、再度、画像処理装置12を操作して画像を読み込ませ、格納先のクラウドストレージを再指定して格納指示する操作を繰り返す必要が生じる。エラーが生じた場合に、中継装置14からユーザ端末10にエラーを通知し、ユーザがユーザ端末10を操作して当該画像データを中継装置14からユーザ端末10に一旦ダウンロードし、その後に手動で別のクラウドストレージに格納することも考えられるが、同様にユーザの操作負担が増大する。   In such a case, the user needs to repeat the operation of operating the image processing device 12 to read the image again, respecifying the storage destination cloud storage, and instructing the storage. When an error occurs, the relay device 14 notifies the user terminal 10 of the error, and the user operates the user terminal 10 to download the image data from the relay device 14 to the user terminal 10 and then manually separate it. Although it is conceivable to store it in other cloud storages, the user's operation burden increases as well.

そこで、本実施形態では、画像処理装置12は、中継装置14を介して複数のクラウドストレージ、具体的には図1におけるクラウドストレージA16、クラウドストレージB18に対してそのユーザに割り当てられた空き容量の問い合わせを行う。そして、中継装置14からの空き容量の情報を受信し、画像データを格納するのに必要な空き容量を有するクラウドストレージを決定して、中継装置14を介して画像データを送信して格納する。   Therefore, in the present embodiment, the image processing device 12 has a plurality of cloud storages via the relay device 14, specifically, the free capacity allocated to the user for the cloud storage A16 and the cloud storage B18 in FIG. Make an inquiry. Then, the information on the free space from the relay device 14 is received, the cloud storage having the free space necessary for storing the image data is determined, and the image data is transmitted and stored via the relay device 14.

図2は、画像処理装置12及び中継装置14の機能ブロック図を示す。   FIG. 2 is a functional block diagram of the image processing device 12 and the relay device 14.

画像処理装置12は、機能ブロックとして、通信部120、入出力部121、ジョブ制御部122、画像処理部123、クラウド選択制御部124、及びルール記憶部125を備える。   The image processing apparatus 12 includes a communication unit 120, an input / output unit 121, a job control unit 122, an image processing unit 123, a cloud selection control unit 124, and a rule storage unit 125 as functional blocks.

通信部120は、入出力部121と接続され、ユーザ端末10、中継装置14、クラウドストレージA16、クラウドストレージB18と通信ネットワーク20を介して通信可能に接続される。通信部120は、通信ネットワーク20を介してユーザ端末10等の他の機器と通信するためのインターフェイスであり、例えば、イーサネット(Ethernet(登録商標))やUSB(Universal Serial Bus)等が用いられ得る。   The communication unit 120 is connected to the input / output unit 121 and is communicably connected to the user terminal 10, the relay device 14, the cloud storage A 16, and the cloud storage B 18 via the communication network 20. The communication unit 120 is an interface for communicating with other devices such as the user terminal 10 via the communication network 20, and for example, Ethernet (Ethernet (registered trademark)), USB (Universal Serial Bus), or the like can be used. .

入出力部121は、通信部120、ジョブ制御部122、及びクラウド選択制御部124と接続され、ユーザからの操作に応じて通信部120を介して中継装置14に対してユーザID、クラウドストレージの指定情報、画像データを含む格納要求を送信する。   The input / output unit 121 is connected to the communication unit 120, the job control unit 122, and the cloud selection control unit 124. The user ID and the cloud storage of the cloud storage are connected to the relay device 14 via the communication unit 120 according to an operation from the user. A storage request including designation information and image data is transmitted.

ジョブ制御部122は、画像処理装置12で処理するジョブについて、処理の順番を制御する。例えば、画像データに対して所望の画像処理を行ってからクラウドストレージに送信する場合は、画像処理部123に処理を依頼し、その後、クラウド選択制御部124に処理を依頼する。   The job control unit 122 controls the processing order of jobs processed by the image processing apparatus 12. For example, when desired image processing is performed on image data and the image data is transmitted to the cloud storage, the image processing unit 123 is requested to perform processing, and then the cloud selection control unit 124 is requested to perform processing.

画像処理部123は、ジョブ制御部122と接続され、画像処理を行うプログラムによって各種画像処理を実行する。画像処理として、例えば、ノイズ除去、圧縮処理、フォーマット変換、色変換、文字認識処理等である。   The image processing unit 123 is connected to the job control unit 122 and executes various types of image processing using a program that performs image processing. Examples of image processing include noise removal, compression processing, format conversion, color conversion, and character recognition processing.

クラウド選択制御部124は、入出力部121で格納要求を送信する際に、これに先だって中継装置14に対してクラウドストレージの空き容量の問い合わせを行う。そして、中継装置14からクラウドストレージの空き容量情報を受信すると、その情報を用いて画像データを格納すべきクラウドストレージを決定し、中継装置14を介して画像データを送信する。具体的には、クラウド選択制御部124は、画像データのデータ量と空き容量を大小比較し、(データ量)<(空き容量)を満たすクラウドストレージを決定する。   When the input / output unit 121 transmits a storage request, the cloud selection control unit 124 inquires of the free space of the cloud storage to the relay device 14 prior to this. When the cloud storage free capacity information is received from the relay device 14, the cloud storage in which the image data is to be stored is determined using the information, and the image data is transmitted via the relay device 14. Specifically, the cloud selection control unit 124 compares the data amount of the image data with the free space, and determines a cloud storage that satisfies (data amount) <(free space).

クラウド選択制御部124は、ユーザからクラウドストレージA16が指定された場合に、クラウドストレージA16に加え、その他のクラウドストレージB18に対しても容量の問い合わせを行い得る。そして、クラウドストレージA16の容量が不足しているものの、クラウドストレージB18の空き容量が画像データを格納し得るのであれば、ユーザが指定したクラウドストレージA16とは異なるクラウドストレージB18を格納先に決定して画像データを送信する。クラウド選択制御部124は、画像データを格納し得るクラウドストレージが複数存在する場合に、ルール記憶部125に記憶されたルールに従っていずれかのクラウドストレージを選択し決定する。   When the cloud storage A16 is designated by the user, the cloud selection control unit 124 can make a capacity inquiry to the other cloud storage B18 in addition to the cloud storage A16. If the capacity of the cloud storage A16 is insufficient but the free capacity of the cloud storage B18 can store the image data, the cloud storage B18 different from the cloud storage A16 designated by the user is determined as the storage destination. Send image data. The cloud selection control unit 124 selects and determines one of the cloud storages according to the rules stored in the rule storage unit 125 when there are a plurality of cloud storages that can store image data.

また、クラウド選択制御部124は、ユーザから指定されたクラウドストレージ以外のクラウドストレージを選択して画像データを格納した場合には、その旨の通知をユーザ端末10に送信する。ユーザは、どのクラウドストレージに格納されたのか不知の場合もあるからである。ユーザが指定したクラウドストレージに画像データを格納した場合にはその旨の通知をユーザ端末10に送信する必要はないが、必要に応じて通知してもよい。   When the cloud selection control unit 124 selects a cloud storage other than the cloud storage designated by the user and stores the image data, the cloud selection control unit 124 transmits a notification to that effect to the user terminal 10. This is because the user may not know in which cloud storage the user is stored. When the image data is stored in the cloud storage designated by the user, it is not necessary to send a notification to that effect to the user terminal 10, but it may be notified as necessary.

ルール記憶部125は、クラウド選択制御部124でクラウドストレージを選択するためのルールを規定するルールテーブルを記憶する。   The rule storage unit 125 stores a rule table that defines rules for selecting a cloud storage by the cloud selection control unit 124.

他方、中継装置14は、機能ブロックとして、通信部140、制御部141、及びユーザ情報記憶部142を備える。   On the other hand, the relay device 14 includes a communication unit 140, a control unit 141, and a user information storage unit 142 as functional blocks.

通信部140は、通信部120は、通信ネットワーク20を介して画像処理装置12やクラウドストレージA16等の他の機器と通信するためのインターフェイスである。   The communication unit 140 is an interface for communicating with other devices such as the image processing apparatus 12 and the cloud storage A 16 via the communication network 20.

制御部141は、クラウドアクセスAPI(Application Programming Interface)を有しており、クラウドストレージとの間で情報のやり取りを行う。クラウドアクセスAPIは、画像処理装置12からの問い合わせを受信すると、ユーザが利用可能なクラウドストレージに対してそのユーザの空き容量を問い合わせ、クラウドストレージからの返信を画像処理装置12に転送する。また、クラウドアクセスAPIは、画像処理装置12からの格納要求を受信すると、クラウドストレージに画像データファイルをアップロードする。クラウドアクセスAPIは、ユーザ情報記憶部142に接続されており、容量問い合わせ、及びクラウドストレージへの格納要求に応じてユーザ情報記憶部142に記憶されているユーザ認証情報を読み出してクラウドストレージにアクセスする。制御部141は、ユーザIDに対応付けて認識情報を記憶する認証テーブルを参照し、画像処理装置12から受け取った問い合わせ、及び格納要求に含まれるユーザIDに対応する認識情報を読み出してクラウドストレージにアクセスする。   The control unit 141 has a cloud access API (Application Programming Interface), and exchanges information with the cloud storage. When the cloud access API receives an inquiry from the image processing apparatus 12, the cloud access API inquires of the cloud storage available to the user about the free capacity of the user, and transfers a reply from the cloud storage to the image processing apparatus 12. Further, when the cloud access API receives a storage request from the image processing apparatus 12, the cloud access API uploads an image data file to the cloud storage. The cloud access API is connected to the user information storage unit 142, and reads the user authentication information stored in the user information storage unit 142 in response to a capacity inquiry and a storage request to the cloud storage, and accesses the cloud storage. . The control unit 141 refers to the authentication table that stores the recognition information in association with the user ID, reads the inquiry information received from the image processing apparatus 12 and the recognition information corresponding to the user ID included in the storage request, and stores it in the cloud storage. to access.

ユーザ情報記憶部142は、ユーザが利用可能なクラウドストレージの情報、及び利用可能なクラウドストレージにアクセスするための認証テーブルを記憶する。認証テーブルは、ユーザ名やパスワード、あるいはアクセストークンを含む。例えば、あるユーザIDに対応付けて、
利用可能なクラウドストレージ:ストレージA
ログインユーザ名:aaa
パスワード:***
アクセストークン:abcdef
利用可能なクラウドストレージ:ストレージB
ログインユーザ名:aaa
パスワード:***
アクセストークン:uvwxy
・・・
等である。
The user information storage unit 142 stores cloud storage information usable by the user and an authentication table for accessing the available cloud storage. The authentication table includes a user name, a password, or an access token. For example, in association with a certain user ID,
Available cloud storage: Storage A
Login user name: aaa
password:***
Access token: abcdef
Available cloud storage: Storage B
Login user name: aaa
password:***
Access token: uvwxy
...
Etc.

図3は、中継装置14の構成ブロック図を示す。中継装置14は、サーバコンピュータとしての構成を備え、1又は複数のCPU(Central Processing Unit)14a、ROM(Read Only Memory)14b、RAM(Random Access Memory)14c、通信インターフェイス(I/F)14d、入出力I/F14e、及び記憶装置14fを備える。これらの構成ブロックは、バスに接続されており、バスを介してデータの送受信を行う。   FIG. 3 shows a configuration block diagram of the relay device 14. The relay device 14 has a configuration as a server computer, and includes one or a plurality of central processing units (CPUs) 14a, a read only memory (ROM) 14b, a random access memory (RAM) 14c, a communication interface (I / F) 14d, An input / output I / F 14e and a storage device 14f are provided. These constituent blocks are connected to a bus and transmit and receive data via the bus.

CPU14aは、OS(Operating System)やアプリケーション等の各種プログラムを実行する。また、ROM14bは、CPU14aにより実行される制御プログラムを記憶する。RAM14cは、CPU14aの作業用メモリ等として用いられる。CPU14aは、ROM14bに記憶されている制御プログラムを読み出し、RAM14cを作業エリアとして制御プログラムを実行する。CPU14aにより制御プログラムが実行されると、中継装置14における各種機能、特に画像処理装置12からの問い合わせに応じたクラウドストレージへの空き容量の問い合わせ処理、クラウドストレージからの返信を受信して画像処理装置12へ転送する処理、画像処理装置12からの格納要求に応じた画像データの転送処理が実現される。   The CPU 14a executes various programs such as an OS (Operating System) and applications. The ROM 14b stores a control program executed by the CPU 14a. The RAM 14c is used as a working memory for the CPU 14a. The CPU 14a reads the control program stored in the ROM 14b, and executes the control program using the RAM 14c as a work area. When the control program is executed by the CPU 14a, the image processing apparatus receives various functions in the relay apparatus 14, in particular, an inquiry process of free space to the cloud storage in response to an inquiry from the image processing apparatus 12, and a reply from the cloud storage. 12 and image data transfer processing in response to a storage request from the image processing apparatus 12 is realized.

入出力I/F14eは、キーボードやマウス等の入力装置、及びディスプレイ等の出力装置(表示装置)に接続される。   The input / output I / F 14e is connected to an input device such as a keyboard and a mouse, and an output device (display device) such as a display.

通信I/F14dは、通信ネットワーク20を介してユーザ端末10、画像処理装置12、クラウドストレージA16、クラウドストレージB18とデータを送受信する。通信I/F14dは、画像処理装置12から画像データを含む格納要求を受信するとともに、CPU14aで選択されたクラウドストレージに対して画像データを転送する。   The communication I / F 14d transmits / receives data to / from the user terminal 10, the image processing device 12, the cloud storage A16, and the cloud storage B18 via the communication network 20. The communication I / F 14d receives a storage request including image data from the image processing apparatus 12, and transfers the image data to the cloud storage selected by the CPU 14a.

記憶装置14fは、HDD(ハードディスクドライブ)やSSD(ソリッドステートドライブ)等の記憶領域を具備しており、画像データを一時記憶するとともに、ユーザが利用可能なクラウドストレージや、これらのクラウドストレージの認証情報を含むユーザ情報テーブルを記憶する。   The storage device 14f includes a storage area such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive), temporarily stores image data, and provides cloud storage that can be used by the user and authentication of these cloud storages. A user information table including information is stored.

なお、画像処理装置12も同様の構成を有しており、具体的には、1又は複数のCPU、ROM、RAM、通信I/F、入出力I/F、操作部、表示部、及び記憶装置を備える。CPUは、ROMに記憶されている制御プログラムを読み出し、RAMを作業エリアとして制御プログラムを実行する。CPUにより制御プログラムが実行されると、画像処理装置12における各種機能、特に中継装置14に対するクラウドストレージへの空き容量の問い合わせ処理、中継装置14からの返信を受信してクラウドストレージを決定する処理が実現される。   Note that the image processing apparatus 12 has the same configuration, specifically, one or more CPUs, ROM, RAM, communication I / F, input / output I / F, operation unit, display unit, and storage. Equipment. The CPU reads the control program stored in the ROM and executes the control program using the RAM as a work area. When the control program is executed by the CPU, various functions in the image processing device 12, in particular, processing for inquiring about free capacity to the cloud storage with respect to the relay device 14, and processing for determining the cloud storage upon receiving a reply from the relay device 14. Realized.

図4は、実施形態の処理フローチャートを示す。ユーザ端末10、画像処理装置12、中継装置14、クラウドストレージA16、クラウドストレージB18間のデータの流れを示すものである。   FIG. 4 shows a processing flowchart of the embodiment. The flow of data among the user terminal 10, the image processing device 12, the relay device 14, the cloud storage A16, and the cloud storage B18 is shown.

まず、ユーザが画像処理装置12を操作して文書等の画像をスキャナで読み込み、デジタルの画像データに変換していずれかのクラウドストレージ、例えばクラウドストレージA16を指定して画像データの格納を要求したとする。   First, the user operates the image processing device 12 to read an image such as a document with a scanner, converts the image into digital image data, specifies one of the cloud storages, for example, cloud storage A16, and requests storage of the image data. And

画像処理装置12は、変換した画像データのデータ量を確認するとともに、ユーザからの格納要求を受け付けると、中継装置14に対してユーザの利用可能なクラウドストレージを問い合わせる。この問い合わせには、格納要求したユーザIDが含まれる。   The image processing apparatus 12 confirms the data amount of the converted image data, and when receiving a storage request from the user, the image processing apparatus 12 inquires of the relay apparatus 14 about the cloud storage available to the user. This inquiry includes the user ID requested to be stored.

中継装置14は、問い合わせを受信すると、記憶装置14fに記憶されたユーザ情報テーブルを参照して、ユーザIDで特定されるユーザが利用可能なクラウドストレージを抽出し、クラウドストレージリストとして画像処理装置12に返信する。ここでは、ユーザが利用可能なクラウドストレージがクラウドストレージA16及びクラウドストレージB18であるとする。ユーザが利用可能なクラウドストレージとは、ユーザ情報テーブルで管理されている、そのユーザの認証情報でアクセス可能なクラウドストレージである。   When receiving the inquiry, the relay device 14 refers to the user information table stored in the storage device 14f, extracts cloud storages that can be used by the user identified by the user ID, and uses the image processing device 12 as a cloud storage list. Reply to Here, it is assumed that the cloud storages available to the user are cloud storage A16 and cloud storage B18. The cloud storage that can be used by the user is cloud storage that is managed by the user information table and that can be accessed by the authentication information of the user.

画像処理装置12は、ユーザが利用可能なクラウドストレージの情報を受信すると、まずは中継装置14に対してユーザから指定されたクラウドストレージの空き容量を問い合わせる。中継装置14は、この問い合わせに応じ、ユーザが指定したクラウドストレージA16に対して空き容量を問い合わせ、クラウドストレージA16からの空き容量についての返信を受信する。クラウドストレージA16への問い合わせには、ユーザIDの認証情報の送信が含まれる。クラウドストレージA16の空き容量は例えば50MBであるとする。中継装置14は、クラウドストレージA16からの返信を画像処理装置12に転送する。   When the image processing apparatus 12 receives cloud storage information available to the user, the image processing apparatus 12 first inquires the relay apparatus 14 about the free capacity of the cloud storage designated by the user. In response to this inquiry, the relay device 14 inquires about the free capacity from the cloud storage A16 designated by the user, and receives a reply about the free capacity from the cloud storage A16. The inquiry to the cloud storage A16 includes transmission of user ID authentication information. It is assumed that the free capacity of the cloud storage A16 is, for example, 50 MB. The relay device 14 transfers the reply from the cloud storage A 16 to the image processing device 12.

画像処理装置12は、格納すべき画像データのデータ量と、クラウドストレージA16の空き容量を比較し、画像データを格納できるか否かを判定する。格納すべき画像データが100MBであるとすると、(画像データのデータ量100MB)>(クラウドストレージA16の空き容量50MB)であるため格納不可と判定し、画像処理装置12は、中継装置14に対してユーザが利用可能な他のクラウドストレージであるクラウドストレージB18の空き容量を問い合わせる。中継装置14は、この問い合わせに応じてクラウドストレージB18に対して空き容量を問い合わせ、クラウドストレージB18からの返信を受信する。クラウドストレージB18への問い合わせには、ユーザIDの認証情報の送信が含まれる。クラウドストレージB18の空き容量は、例えば150MBであるとする。中継装置14は、クラウドストレージB18からの返信を画像処理装置12に転送する。   The image processing apparatus 12 compares the data amount of the image data to be stored with the free capacity of the cloud storage A16, and determines whether the image data can be stored. If the image data to be stored is 100 MB, it is determined that storage is not possible because (the amount of image data is 100 MB)> (the free capacity of the cloud storage A 16 is 50 MB). Inquires about the free capacity of the cloud storage B18, which is another cloud storage available to the user. In response to this inquiry, the relay device 14 inquires about the free capacity of the cloud storage B18 and receives a reply from the cloud storage B18. The inquiry to the cloud storage B18 includes transmission of user ID authentication information. It is assumed that the free capacity of the cloud storage B18 is, for example, 150 MB. The relay device 14 transfers the reply from the cloud storage B 18 to the image processing device 12.

画像処理装置12は、格納すべき画像データのデータ量と、クラウドストレージB18の空き容量を比較し、画像データを格納できるか否かを判定する。格納すべき画像データが150MBであるとすると、(画像データのデータ量100MB)<(クラウドストレージB18の空き容量150MB)であるため格納可能と判定し、クラウドストレージB18を格納先のクラウドストレージとして指定し、画像データを含めた格納要求を中継装置14に送信する。中継装置14は、指定されたクラウドストレージB18に画像データを転送して格納する。また、中継装置14は、クラウドストレージB18からの格納完了を示す格納OK通知を受信すると、その格納OK通知を画像処理装置12に転送する。この際、中継装置14は、格納先がユーザ指定の格納先であるクラウドストレージA16とは異なることから、最終格納先であるクラウドストレージB18の情報を画像処理装置12に通知する。   The image processing apparatus 12 compares the data amount of the image data to be stored with the free capacity of the cloud storage B18 and determines whether the image data can be stored. If the image data to be stored is 150 MB, it is determined that it can be stored because (the amount of image data is 100 MB) <(the free capacity of the cloud storage B18 is 150 MB), and the cloud storage B18 is designated as the storage destination cloud storage. Then, the storage request including the image data is transmitted to the relay device 14. The relay device 14 transfers and stores the image data in the designated cloud storage B18. Further, when receiving the storage OK notification indicating the completion of storage from the cloud storage B 18, the relay device 14 transfers the storage OK notification to the image processing device 12. At this time, since the storage destination is different from the cloud storage A16 that is the storage location specified by the user, the relay device 14 notifies the image processing device 12 of the information of the cloud storage B18 that is the final storage location.

画像処理装置12は、中継装置14からの格納OK通知を受信すると、最終格納先であるクラウドストレージB18のURL等の情報をジョブログに記録する。具体的には、ジョブの順序を管理するジョブ制御部122が格納OK通知を受信したことを確認してジョブログを更新し、格納OK通知に含まれるクラウドストレージB18のアドレス情報(URL等)をユーザID及び画像データに関連付けてジョブログに記録する。ジョブ制御部122は、画像データの最終確認先であるクラウドストレージB18のアドレス情報のみならず、ユーザが指定した当初のクラウドストレージA16のアドレス情報と、画像データの最終確認先であるクラウドストレージB18のアドレス情報をともにジョブログに記録してもよい。例えば、(ユーザID、画像データID、当初格納先のアドレス情報、最終格納先のアドレス情報)を組としてジョブログに記録する等である。当初格納先と最終格納先が同一である場合、最終格納先のアドレス情報はヌル(null)データとしてもよい。   When the image processing apparatus 12 receives the storage OK notification from the relay apparatus 14, it records information such as the URL of the cloud storage B18 that is the final storage destination in the job log. Specifically, the job control unit 122 that manages the job order confirms that the storage OK notification has been received, updates the job log, and uses the cloud storage B18 address information (URL, etc.) included in the storage OK notification. Record in the job log in association with the user ID and image data. The job control unit 122 not only provides the address information of the cloud storage B18 that is the final confirmation destination of the image data, but also the address information of the initial cloud storage A16 specified by the user and the cloud storage B18 that is the final confirmation destination of the image data. Both address information may be recorded in the job log. For example, (user ID, image data ID, initial storage destination address information, final storage destination address information) are recorded in a job log as a set. When the initial storage destination and the final storage destination are the same, the address information of the final storage destination may be null data.

さらに、画像処理装置12は、ジョブログを参照し、画像データの最終格納先がユーザ指定の当初の格納先と異なるか否かを判定し、異なる場合には最終格納先のクラウドストレージB18の情報、具体的にはクラウドストレージ名及びそのアドレス情報をユーザ端末10に送信する。例えば、
「格納先は、クラウドストレージBです(アドレス:****)。」
等のメッセージを電子メールで送信する。
Further, the image processing apparatus 12 refers to the job log to determine whether or not the final storage destination of the image data is different from the initial storage destination designated by the user, and if so, information on the cloud storage B18 of the final storage destination Specifically, the cloud storage name and its address information are transmitted to the user terminal 10. For example,
“The storage destination is cloud storage B (address: *****).”
Etc. are sent by e-mail.

このように、画像処理装置12は、ユーザから指定されたクラウドストレージの空き容量が不足している場合に、ユーザからの指示を受けることなく当該ユーザが利用可能なクラウドストレージに対して空き容量を問い合わせ、画像データを格納するに必要な空き容量のあるクラウドストレージを検出して画像データを格納するので、容量不足によるエラー発生が未然に防止される。また、画像処理装置12は、ユーザが利用可能なクラウドストレージの情報を中継装置14に問い合わせて取得し、この情報を用いて空き容量を確認するので、ユーザは、利用可能なクラウドストレージを画像処理装置12から別途入力する手間が省かれる。   In this way, the image processing apparatus 12 can provide free space for the cloud storage that can be used by the user without receiving an instruction from the user when the free space of the cloud storage specified by the user is insufficient. Inquiries and cloud data with sufficient free space required to store image data are detected and image data is stored, so that errors due to insufficient capacity can be prevented. In addition, the image processing apparatus 12 inquires and acquires information about cloud storage that can be used by the user from the relay apparatus 14, and uses this information to check the free space. The trouble of inputting separately from the apparatus 12 is saved.

なお、図4の処理フローチャートでは、クラウドストレージA16、クラウドストレージB18のうち、クラウドストレージB18のみが画像データを格納するのに必要な空き容量を有するため、ルール記憶部125に記憶されているルールを適用する必要はないが、複数のクラウドストレージが画像データを格納するのに必要な空き容量を有する場合には、画像処理装置12は、当該ルールに従っていずれかのクラウドストレージを選択し決定する。次に、このような場合の処理について説明する。   In the processing flowchart of FIG. 4, since only the cloud storage B18 has a free space necessary for storing image data among the cloud storage A16 and the cloud storage B18, the rules stored in the rule storage unit 125 are displayed. Although it is not necessary to apply, when a plurality of cloud storages have a free capacity necessary for storing image data, the image processing apparatus 12 selects and determines one of the cloud storages according to the rule. Next, processing in such a case will be described.

図5は、本実施形態における他の処理フローチャートを示す。   FIG. 5 shows another processing flowchart in the present embodiment.

まず、ユーザが画像処理装置12を操作して文書等の画像をスキャナで読み込み、デジタルの画像データに変換していずれかのクラウドストレージ、例えばクラウドストレージB18を指定して画像データの格納を要求したとする。   First, the user operates the image processing device 12 to read an image such as a document with a scanner, converts it into digital image data, and designates one of the cloud storages, for example, the cloud storage B18 to request storage of the image data. And

画像処理装置12は、変換した画像データのデータ量を確認するとともに、ユーザからの格納要求を受け付けると、中継装置14に対してユーザの利用可能なクラウドストレージのうち、画像データを格納し得る空き容量を有するクラウドストレージを問い合わせる。この問い合わせには、格納要求したユーザID及び画像データのデータ量が含まれる。   When the image processing device 12 confirms the data amount of the converted image data and accepts a storage request from the user, the image processing device 12 can store image data in the cloud storage available to the user with respect to the relay device 14. Queries cloud storage with capacity. This inquiry includes the user ID requested to be stored and the data amount of the image data.

中継装置14は、画像処理装置12からの問い合わせを受信すると、記憶装置14fに記憶されたユーザ情報テーブルを参照して、ユーザIDで特定されるユーザが利用可能なクラウドストレージを抽出し、抽出したクラウドストレージに対して空き容量を問い合わせる。利用可能なクラウドストレージがクラウドストレージA16、クラウドストレージB18とすると、中継装置14はこれらのクラウドストレージに空き容量を問い合わせ、それぞれの空き容量として例えば150MB、200MBの返信を受信する。中継装置14は、格納すべき画像データのデータ量と、これらのクラウドストレージの空き容量を比較し、画像データを格納できるか否かを判定する。格納すべき画像データが100MBであるとすると、(画像データのデータ量)<(クラウドストレージA16)、及び(画像データのデータ量)<(クラウドストレージB18の空き容量)であるためいずれも格納可能と判定し、格納可能と判定されたクラウドストレージの空き容量を画像処理装置12に返信する。   When receiving the inquiry from the image processing device 12, the relay device 14 refers to the user information table stored in the storage device 14f, extracts the cloud storage that can be used by the user specified by the user ID, and extracts the cloud storage Queries the free space for cloud storage. Assuming that the cloud storages that can be used are cloud storage A16 and cloud storage B18, the relay device 14 inquires of these cloud storages about the free capacities, and receives, for example, a reply of 150 MB and 200 MB as the respective free capacities. The relay device 14 compares the data amount of the image data to be stored with the free capacity of these cloud storages, and determines whether the image data can be stored. Assuming that the image data to be stored is 100 MB, since (image data amount) <(cloud storage A16) and (image data amount) <(free capacity of cloud storage B18), both can be stored. And the free space of the cloud storage determined to be storable is returned to the image processing apparatus 12.

画像処理装置12は、中継装置14から返信された、利用可能でかつ画像データを格納し得るクラウドストレージの空き容量を受信すると、ルール記憶部125に記憶されたルールテーブルを参照し、いずれかのクラウドストレージを選択して格納先に決定する。ルールテーブルのルールは任意であるが、例えば、「効率重視で空き容量が最小のクラウドストレージを選択する」というルールであるとする。画像処理装置12は、このルールに従い、
クラウドストレージA16:150MB
クラウドストレージB18:200MB
であることから、クラウドストレージA16を選択して格納先として決定し、クラウドストレージA16を格納先のクラウドストレージとして指定して画像データを含めた格納要求を中継装置14に送信する。中継装置14は、指定されたクラウドストレージA16に画像データを転送して格納する。また、中継装置14は、クラウドストレージA16からの格納完了を示す格納OK通知を受信すると、その格納OK通知を画像処理装置12に転送する。
When the image processing apparatus 12 receives the free space of the cloud storage that can be used and can store the image data returned from the relay apparatus 14, the image processing apparatus 12 refers to the rule table stored in the rule storage unit 125, and Select cloud storage and determine the storage location. The rule in the rule table is arbitrary. For example, it is assumed that the rule is “select a cloud storage with an emphasis on efficiency and a minimum free space”. The image processing apparatus 12 follows this rule.
Cloud storage A16: 150MB
Cloud storage B18: 200MB
Therefore, the cloud storage A16 is selected and determined as the storage destination, the cloud storage A16 is designated as the storage destination cloud storage, and a storage request including the image data is transmitted to the relay device 14. The relay device 14 transfers and stores the image data in the designated cloud storage A16. Further, when receiving the storage OK notification indicating the completion of storage from the cloud storage A 16, the relay device 14 transfers the storage OK notification to the image processing device 12.

画像処理装置12は、中継装置14からの格納OK通知を受信すると、最終格納先であるクラウドストレージA16のURL等の格納先情報をジョブログに記録する。ジョブ制御部122は、ユーザが指定した当初のクラウドストレージB18のアドレス情報と、画像データの最終確認先であるクラウドストレージA16のアドレス情報をともにジョブログに記録してもよい。   Upon receiving the storage OK notification from the relay apparatus 14, the image processing apparatus 12 records storage destination information such as the URL of the cloud storage A16 that is the final storage destination in the job log. The job control unit 122 may record both the address information of the initial cloud storage B18 designated by the user and the address information of the cloud storage A16 that is the final confirmation destination of the image data in the job log.

さらに、画像処理装置12は、ジョブログを参照し、画像データの最終格納先がユーザ指定の当初の格納先と異なるか否かを判定し、異なる場合には最終格納先のクラウドストレージA16の情報、具体的にはクラウドストレージ名及びそのアドレス情報をユーザ端末10に送信する。   Further, the image processing apparatus 12 refers to the job log to determine whether or not the final storage destination of the image data is different from the initial storage destination designated by the user, and if so, information on the cloud storage A16 of the final storage destination Specifically, the cloud storage name and its address information are transmitted to the user terminal 10.

図5の処理フローチャートにおいて、中継装置14は、画像処理装置12からの問い合わせに応じて、ユーザが利用可能であり、かつ、画像データを格納し得る空き容量を有するクラウドストレージの情報を画像処理装置12に返信しているが、例えば、
・中継装置14からクラウドストレージ間で通信障害が発生した場合
・画像データがクラウドストレージ側でサポートしていないファイルフォーマットの場合
・クラウドストレージがサービスを停止している場合
等の場合には、画像データを格納できないので、中継装置14は、当該クラウドストレージについては画像処理装置12に返信しなくてもよい(利用可能なクラウドストレージの一覧リストから除外する)。
In the processing flowchart of FIG. 5, in response to an inquiry from the image processing device 12, the relay device 14 uses the information of the cloud storage that is available to the user and has a free capacity for storing image data. Replies to 12, but for example,
-When a communication failure occurs between the relay device 14 and the cloud storage-When the image data is in a file format that is not supported on the cloud storage side-When the cloud storage is out of service, etc. Can not be stored, the relay device 14 does not need to return the cloud storage to the image processing device 12 (excluded from the list of available cloud storages).

図6は、ルール記憶部125に記憶されるルールテーブルの一例を示す。ルールとして、例えば、
・最初に検出したクラウドストレージ
・空き容量重視
・効率重視
・ユーザ選択
等が規定される。最初に検出したクラウドストレージとは、利用可能で画像データを格納し得るクラウドストレージのうち、最初に検出されたクラウドストレージを意味する。空き容量重視とは、利用可能で画像データを格納し得るクラウドストレージのうち、最も空き容量の大きいクラウドストレージを意味する。この場合、各クラウドストレージの容量を均等にする効果がある。効率重視とは、利用可能で画像データを格納し得るクラウドストレージのうち、最も空き容量の小さいクラウドストレージを意味する。ユーザ選択とは、利用可能で画像データを格納し得るクラウドストレージのうち、ユーザが選択したクラウドストレージを意味する。この場合、画像処理装置12は、利用可能で画像データを格納し得るクラウドストレージの一覧をユーザが選択可能に表示部に表示する。ユーザがクラウドストレージを選択した場合、画像処理装置12は、たとえ当初の指定格納先と異なっていても最終格納先をユーザ端末10に送信しなくてもよい。
FIG. 6 shows an example of a rule table stored in the rule storage unit 125. As a rule, for example,
・ The cloud storage that was detected first ・ Employment of free space ・ Efficiency ・ Easy user selection The cloud storage detected first means the cloud storage detected first among the cloud storages which can be used and can store image data. The emphasis on free space means the cloud storage with the largest free space among the cloud storages that can be used and store image data. In this case, there is an effect of equalizing the capacity of each cloud storage. Emphasis on efficiency means the cloud storage with the smallest free space among the cloud storages that can be used and store image data. The user selection means a cloud storage selected by a user among cloud storages that can be used and store image data. In this case, the image processing apparatus 12 displays a list of cloud storages that can be used and can store image data on the display unit so that the user can select them. When the user selects the cloud storage, the image processing apparatus 12 may not transmit the final storage destination to the user terminal 10 even if it is different from the initial designated storage destination.

ルールテーブルは、予めシステム管理者が作成してルール記憶部125に記憶しておけばよく、適宜ルールを追加、削除、変更してもよい。ルールテーブルに規定された複数のルールに優先順位を設定しておき、優先順位に従ってクラウドストレージを選択してもよい。ユーザに応じ、あるいは格納すべき画像データの属性に応じ、優先順位を適応的に変化させてもよい。ある種類の画像データについては効率重視を最優先し、別の種類の画像データについてはユーザ選択を最優先とする等である。   The rule table may be created in advance by the system administrator and stored in the rule storage unit 125, and rules may be added, deleted, or changed as appropriate. Priorities may be set for a plurality of rules defined in the rule table, and the cloud storage may be selected according to the priorities. The priority order may be adaptively changed according to the user or according to the attribute of the image data to be stored. For some types of image data, priority is given to efficiency, and for other types of image data, user selection is given top priority.

<実施形態2>
実施形態1では、利用可能で画像データを格納し得るクラウドストレージが存在することを前提とした処理であるが、利用可能な全てのクラウドストレージの空き容量が不足している場合もあり得る。本実施形態では、このような場合の処理について説明する。
<Embodiment 2>
In the first embodiment, the processing is based on the premise that there is a cloud storage that can be used and can store image data. However, there may be a case where the available capacity of all the cloud storages is insufficient. In the present embodiment, processing in such a case will be described.

図7は、本実施形態における処理フローチャートを示す。   FIG. 7 shows a processing flowchart in the present embodiment.

まず、ユーザが画像処理装置12を操作して文書等の画像をスキャナで読み込み、デジタルの画像データに変換していずれかのクラウドストレージ、例えばクラウドストレージB18を指定して画像データの格納を要求したとする。   First, the user operates the image processing device 12 to read an image such as a document with a scanner, converts it into digital image data, and designates one of the cloud storages, for example, the cloud storage B18 to request storage of the image data. And

画像処理装置12は、変換した画像データのデータ量を確認するとともに、ユーザからの格納要求を受け付けると、中継装置14に対してユーザの利用可能なクラウドストレージのうち、画像データのデータ量を格納し得る空き容量を有するクラウドストレージを問い合わせる。この問い合わせには、格納要求したユーザID及び画像データのデータ量が含まれる。   When the image processing device 12 confirms the data amount of the converted image data and receives a storage request from the user, the image processing device 12 stores the data amount of the image data in the cloud storage available to the user to the relay device 14. Queries cloud storage with available free space. This inquiry includes the user ID requested to be stored and the data amount of the image data.

中継装置14は、画像処理装置12からの問い合わせを受信すると、記憶装置14fに記憶されたユーザ情報テーブルを参照して、ユーザIDで特定されるユーザが利用可能なクラウドストレージを抽出し、抽出したクラウドストレージに対して空き容量を問い合わせる。利用可能なクラウドストレージがクラウドストレージA16、クラウドストレージB18とすると、中継装置14はこれらのクラウドストレージに空き容量を問い合わせ、それぞれの空き容量として例えば80MB、20MBの返信を受信する。中継装置14は、格納すべき画像データのデータ量と、これらのクラウドストレージの空き容量を比較し、画像データを格納できるか否かを判定する。格納すべき画像データが100MBであるとすると、(画像データのデータ量)>(クラウドストレージA16の空き容量)、及び(画像データのデータ量)>(クラウドストレージB18の空き容量)であるためいずれも格納不可と判定する。この場合、中継装置14は、格納可能と判定されたクラウドストレージの空き容量を画像処理装置12に返信するのではなく、画像データを処理する際のパラメータを変更すべき旨の通知を画像処理装置12に返信する。なお、パラメータの変更通知とともに、利用可能で画像データを格納し得る空き容量を有するクラウドストレージが検出できない旨、及びクラウドストレージの空き容量も併せて返信してもよい。   When receiving the inquiry from the image processing device 12, the relay device 14 refers to the user information table stored in the storage device 14f, extracts the cloud storage that can be used by the user specified by the user ID, and extracts the cloud storage Queries the free space for cloud storage. If the available cloud storages are cloud storage A16 and cloud storage B18, the relay device 14 inquires of these cloud storages about the free capacity, and receives a reply of, for example, 80 MB and 20 MB as the free capacity. The relay device 14 compares the data amount of the image data to be stored with the free capacity of these cloud storages, and determines whether the image data can be stored. If the image data to be stored is 100 MB, since (image data amount)> (free space of cloud storage A16) and (data amount of image data)> (free space of cloud storage B18) Is also determined to be unstorable. In this case, the relay device 14 does not return the free space of the cloud storage determined to be storable to the image processing device 12, but notifies the image processing device that the parameter for processing the image data should be changed. Reply to 12. In addition to the parameter change notification, a cloud storage having a free capacity that can be used and can store image data cannot be detected, and the free capacity of the cloud storage may be returned together.

画像処理装置12は、中継装置14からパラメータを変更すべき旨の通知を受信すると、この通知に応じて画像データを処理する際のパラメータを変更して再処理する。具体的には、画像処理部123は、パラメータを変更すべき旨の通知に従い、パラメータを変更して画像データを再処理し、画像データのデータ量を削減する。画像処理のパラメータは、データ量を削減し得るパラメータであって、例えば解像度であり、当初の解像度よりも小さな解像度となるように再処理する。中継装置14からクラウドストレージの空き容量が返信された場合、画像処理部123は、この空き容量に応じて解像度を調整し得る。すなわち、クラウドストレージの空き容量でも格納し得る程度のデータ量となるように解像度を調整する。例えば、当初のデータ量が100MBであり、クラウドストレージA16の空き容量が80MBであるので、画像処理部123は、画像データのデータ量が80MB以下となるように解像度を調整して再処理する。   When the image processing apparatus 12 receives a notification that the parameter should be changed from the relay apparatus 14, the image processing apparatus 12 changes the parameter when processing the image data in accordance with this notification and reprocesses the parameter. Specifically, in accordance with the notification that the parameter should be changed, the image processing unit 123 changes the parameter, reprocesses the image data, and reduces the data amount of the image data. The image processing parameter is a parameter that can reduce the amount of data, and is, for example, a resolution, and is reprocessed so as to have a resolution smaller than the initial resolution. When the free space of the cloud storage is returned from the relay device 14, the image processing unit 123 can adjust the resolution according to the free space. That is, the resolution is adjusted so that the amount of data can be stored even with the free capacity of the cloud storage. For example, since the initial data amount is 100 MB and the free capacity of the cloud storage A16 is 80 MB, the image processing unit 123 adjusts the resolution so that the data amount of the image data is 80 MB or less, and performs reprocessing.

画像処理装置12は、パラメータを変更して画像データを再処理した後、クラウドストレージA16を格納先として決定し、クラウドストレージA16を格納先のクラウドストレージとして指定し、再処理後の画像データを含めた格納要求を中継装置14に送信する。中継装置14は、指定されたクラウドストレージA16に再処理後の画像データを転送して格納する。また、中継装置14は、クラウドストレージA16からの格納完了を示す格納OK通知を受信すると、その格納OK通知を画像処理装置12に転送する。   After changing the parameters and reprocessing the image data, the image processing apparatus 12 determines the cloud storage A16 as the storage destination, designates the cloud storage A16 as the storage destination cloud storage, and includes the reprocessed image data The stored request is transmitted to the relay device 14. The relay device 14 transfers and stores the reprocessed image data in the designated cloud storage A16. Further, when receiving the storage OK notification indicating the completion of storage from the cloud storage A 16, the relay device 14 transfers the storage OK notification to the image processing device 12.

画像処理装置12は、中継装置14からの格納OK通知を受信すると、最終格納先であるクラウドストレージA16のURL等の格納先情報をジョブログに記録する。ジョブ制御部122は、ユーザが指定した当初のクラウドストレージB18のアドレス情報と、画像データの最終確認先であるクラウドストレージA16のアドレス情報をともにジョブログに記録してもよい。   Upon receiving the storage OK notification from the relay apparatus 14, the image processing apparatus 12 records storage destination information such as the URL of the cloud storage A16 that is the final storage destination in the job log. The job control unit 122 may record both the address information of the initial cloud storage B18 designated by the user and the address information of the cloud storage A16 that is the final confirmation destination of the image data in the job log.

さらに、画像処理装置12は、ジョブログを参照し、画像データの最終格納先がユーザ指定の当初の格納先と異なるか否かを判定し、異なる場合には最終格納先のクラウドストレージA16の情報、具体的にはクラウドストレージ名及びそのアドレス情報をユーザ端末10に送信する。また、どのようなパラメータを変更したのかを送信してもよい。例えば、
「格納先は、クラウドストレージAです(アドレス:****)
解像度をXXXdpiからYYYdpiに変更して格納しています。」
等のメッセージを電子メールで送信する。
Further, the image processing apparatus 12 refers to the job log to determine whether or not the final storage destination of the image data is different from the initial storage destination designated by the user, and if so, information on the cloud storage A16 of the final storage destination Specifically, the cloud storage name and its address information are transmitted to the user terminal 10. Further, what parameters are changed may be transmitted. For example,
“The storage location is Cloud Storage A (Address: *****)
The resolution is changed from XXXdpi to YYYdpi and stored. "
Etc. are sent by e-mail.

このように、ユーザが利用可能で、かつ画像データを格納し得るクラウドストレージが存在しない場合に、中継装置14からの通知を受けて画像処理装置12で画像データを再処理してデータ量を削減して中継装置14に送信し、中継装置14が再処理後の画像データをクラウドストレージに転送して格納するので、容量不足によるエラー発生が未然に防止される。   In this way, when there is no cloud storage that can be used by the user and that can store image data, the image processing apparatus 12 receives the notification from the relay apparatus 14 and reprocesses the image data to reduce the amount of data. Then, the data is transmitted to the relay device 14 and the relay device 14 transfers the reprocessed image data to the cloud storage for storage, so that an error due to insufficient capacity is prevented in advance.

図8は、画像処理部123で実行される画像処理のパラメータテーブルの一例を示す。パラメータとしては、例えば、解像度、フォーマット、カラー/グレー/白黒、その他が規定される。設定値は、ユーザが適宜設定し得る値であり、ONは有効、OFFは無効であることを意味する。例えば、図8では、
解像度:ON
フォーマット:OFF
カラー/グレー/白黒:OFF
その他:OFF
となっているが、これは、解像度の調整は許容するが、フォーマットやカラー/グレー/白黒、その他の調整は許容しないことを意味する。画像処理部123は、このパラメータテーブルを参照することで、どのパラメータを変更するかを決定して画像データを再処理する。圧縮率の高いフォーマットに変更することでデータ量は削減され、カラーからグレー、さらには白黒に変更することでデータ量は削減される。
FIG. 8 shows an example of a parameter table for image processing executed by the image processing unit 123. As the parameters, for example, resolution, format, color / gray / black and white, and the like are defined. The set value is a value that can be appropriately set by the user, and ON means that it is valid and OFF means that it is invalid. For example, in FIG.
Resolution: ON
Format: OFF
Color / Gray / B & W: OFF
Other: OFF
This means that resolution adjustment is allowed, but format, color / gray / black and white, and other adjustments are not allowed. The image processing unit 123 refers to the parameter table, determines which parameter is to be changed, and reprocesses the image data. The data amount is reduced by changing to a format with a high compression rate, and the data amount is reduced by changing from color to gray or even black and white.

削減すべきデータ量に応じてこれらのパラメータのうち、複数のパラメータを変更してもよい。例えば、最も空き容量の大きいクラウドストレージに格納すべく、解像度とフォーマットをともに変更する等である。   Among these parameters, a plurality of parameters may be changed according to the amount of data to be reduced. For example, both the resolution and the format are changed to store in the cloud storage with the largest free space.

パラメータテーブルは、予めシステム管理者あるいはユーザが設定して画像処理部123のメモリに記憶させてもよく、中継装置14からパラメータを変更すべき旨の通知を受信したときに表示部に表示してユーザが設定し得るようにしてもよい。   The parameter table may be set in advance by a system administrator or a user and stored in the memory of the image processing unit 123. The parameter table is displayed on the display unit when a notification that the parameter should be changed is received from the relay device 14. The user may be able to set.

以上、本発明の実施形態について説明したが、本発明はこれらの実施形態に限定されるものではなく、種々の変形が可能である。以下、変形例について説明する。   As mentioned above, although embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation is possible. Hereinafter, modified examples will be described.

<変形例1>
実施形態では、画像処理装置12のルール記憶部125にルールテーブルを記憶し、画像処理装置12がルールテーブルを参照することにより、利用可能で画像データを格納し得るクラウドストレージの中からいずれかのクラウドストレージを選択して格納先として決定しているが、中継装置14の記憶部にルールテーブルを記憶し、中継装置14がルールテーブルを参照することにより、利用可能で画像データを格納し得るクラウドストレージの中からいずれかのクラウドストレージを選択して格納先として決定してもよい。
<Modification 1>
In the embodiment, a rule table is stored in the rule storage unit 125 of the image processing device 12, and the image processing device 12 refers to the rule table, so that any one of cloud storages that can be used and can store image data is selected. Cloud storage is selected and determined as a storage destination, but a cloud that can be used and stores image data by storing the rule table in the storage unit of the relay device 14 and referring to the rule table by the relay device 14 Any cloud storage may be selected from the storages and determined as the storage destination.

図9は、この場合の処理フローチャートを示す。   FIG. 9 shows a processing flowchart in this case.

まず、ユーザが画像処理装置12を操作して文書等の画像をスキャナで読み込み、デジタルの画像データに変換していずれかのクラウドストレージ、例えばクラウドストレージB18を指定して画像データの格納を要求したとする。   First, the user operates the image processing device 12 to read an image such as a document with a scanner, converts it into digital image data, and designates one of the cloud storages, for example, the cloud storage B18 to request storage of the image data. And

画像処理装置12は、変換した画像データのデータ量を確認するとともに、ユーザからの格納要求を受け付けると、中継装置14に対してユーザの利用可能なクラウドストレージのうち、画像データのデータ量を格納し得る空き容量を有するクラウドストレージを問い合わせる。この問い合わせには、格納要求したユーザID、画像データ及び画像データのデータ量が含まれる。   When the image processing device 12 confirms the data amount of the converted image data and receives a storage request from the user, the image processing device 12 stores the data amount of the image data in the cloud storage available to the user to the relay device 14. Queries cloud storage with available free space. This inquiry includes the user ID requested to be stored, the image data, and the data amount of the image data.

中継装置14は、画像処理装置12からの問い合わせを受信すると、記憶装置14fに記憶されたユーザ情報テーブルを参照して、ユーザIDで特定されるユーザが利用可能なクラウドストレージを抽出し、抽出したクラウドストレージに対して空き容量を問い合わせる。利用可能なクラウドストレージがクラウドストレージA16、クラウドストレージB18とすると、中継装置14はこれらのクラウドストレージに空き容量を問い合わせ、それぞれの空き容量として例えば150MB、200MBの返信を受信する。中継装置14は、格納すべき画像データのデータ量と、これらのクラウドストレージの空き容量を比較し、画像データを格納できるか否かを判定する。格納すべき画像データが100MBであるとすると、(画像データのデータ量)<(クラウドストレージA16)、及び(画像データのデータ量)<(クラウドストレージB18の空き容量)であるためいずれも格納可能と判定する。次に、中継装置14は、記憶部に記憶されたルールテーブルを参照し、いずれかのクラウドストレージを選択して格納先に決定する。ルールテーブルのルールは任意であるが、例えば、「効率重視で空き容量が最小のクラウドストレージを選択する」というルールであるとする。中継装置14は、このルールに従い、
クラウドストレージA16:150MB
クラウドストレージB18:200MB
であることから、クラウドストレージA16を選択して格納先として決定し、クラウドストレージA16に画像データを転送して格納する。また、中継装置14は、クラウドストレージA16からの格納完了を示す格納OK通知を受信すると、その格納OK通知を画像処理装置12に転送する。
When receiving the inquiry from the image processing device 12, the relay device 14 refers to the user information table stored in the storage device 14f, extracts the cloud storage that can be used by the user specified by the user ID, and extracts the cloud storage Queries the free space for cloud storage. Assuming that the cloud storages that can be used are cloud storage A16 and cloud storage B18, the relay device 14 inquires of these cloud storages about the free capacities, and receives, for example, a reply of 150 MB and 200 MB as the respective free capacities. The relay device 14 compares the data amount of the image data to be stored with the free capacity of these cloud storages, and determines whether the image data can be stored. Assuming that the image data to be stored is 100 MB, since (image data amount) <(cloud storage A16) and (image data amount) <(free capacity of cloud storage B18), both can be stored. Is determined. Next, the relay device 14 refers to the rule table stored in the storage unit, selects one of the cloud storages, and determines the storage destination. The rule in the rule table is arbitrary. For example, it is assumed that the rule is “select a cloud storage with an emphasis on efficiency and a minimum free space”. The relay device 14 follows this rule,
Cloud storage A16: 150MB
Cloud storage B18: 200MB
Therefore, the cloud storage A16 is selected and determined as a storage destination, and the image data is transferred and stored in the cloud storage A16. Further, when receiving the storage OK notification indicating the completion of storage from the cloud storage A 16, the relay device 14 transfers the storage OK notification to the image processing device 12.

画像処理装置12は、中継装置14からの格納OK通知を受信すると、最終格納先であるクラウドストレージA16のURL等の格納先情報をジョブログに記録する。ジョブ制御部122は、ユーザが指定した当初のクラウドストレージB18のアドレス情報と、画像データの最終確認先であるクラウドストレージA16のアドレス情報をともにジョブログに記録してもよい。   Upon receiving the storage OK notification from the relay apparatus 14, the image processing apparatus 12 records storage destination information such as the URL of the cloud storage A16 that is the final storage destination in the job log. The job control unit 122 may record both the address information of the initial cloud storage B18 designated by the user and the address information of the cloud storage A16 that is the final confirmation destination of the image data in the job log.

さらに、画像処理装置12は、ジョブログを参照し、画像データの最終格納先がユーザ指定の当初の格納先と異なるか否かを判定し、異なる場合には最終格納先のクラウドストレージA16の情報、具体的にはクラウドストレージ名及びそのアドレス情報をユーザ端末10に送信する。   Further, the image processing apparatus 12 refers to the job log to determine whether or not the final storage destination of the image data is different from the initial storage destination designated by the user, and if so, information on the cloud storage A16 of the final storage destination Specifically, the cloud storage name and its address information are transmitted to the user terminal 10.

<変形例2>
実施形態2では、中継装置14からの通知に応じ、画像処理装置12で画像処理のパラメータを変更して画像データを再処理してデータ量を削減しているが、中継装置14が画像処理部123と同様の処理機能を備え、中継装置14がパラメータを変更して画像データを再処理してデータ量を削減した上でクラウドストレージに格納してもよい。
<Modification 2>
In the second embodiment, the image processing device 12 changes the image processing parameters and reprocesses the image data in response to the notification from the relay device 14 to reduce the data amount. 123, the relay device 14 may change the parameters, reprocess the image data to reduce the data amount, and store the data in the cloud storage.

図10は、この場合の処理フローチャートを示す。   FIG. 10 shows a processing flowchart in this case.

まず、ユーザが画像処理装置12を操作して文書等の画像をスキャナで読み込み、デジタルの画像データに変換していずれかのクラウドストレージ、例えばクラウドストレージB18を指定して画像データの格納を要求したとする。   First, the user operates the image processing device 12 to read an image such as a document with a scanner, converts it into digital image data, and designates one of the cloud storages, for example, the cloud storage B18 to request storage of the image data. And

画像処理装置12は、変換した画像データのデータ量を確認するとともに、ユーザからの格納要求を受け付けると、中継装置14に対してユーザの利用可能なクラウドストレージのうち、画像データのデータ量を格納し得る空き容量を有するクラウドストレージを問い合わせる。この問い合わせには、格納要求したユーザID、画像データ及び画像データのデータ量が含まれる。   When the image processing device 12 confirms the data amount of the converted image data and receives a storage request from the user, the image processing device 12 stores the data amount of the image data in the cloud storage available to the user to the relay device 14. Queries cloud storage with available free space. This inquiry includes the user ID requested to be stored, the image data, and the data amount of the image data.

中継装置14は、画像処理装置12からの問い合わせを受信すると、記憶装置14fに記憶されたユーザ情報テーブルを参照して、ユーザIDで特定されるユーザが利用可能なクラウドストレージを抽出し、抽出したクラウドストレージに対して空き容量を問い合わせる。利用可能なクラウドストレージがクラウドストレージA16、クラウドストレージB18とすると、中継装置14はこれらのクラウドストレージに空き容量を問い合わせ、それぞれの空き容量として例えば80MB、20MBの返信を受信する。中継装置14は、格納すべき画像データのデータ量と、これらのクラウドストレージの空き容量を比較し、画像データを格納できるか否かを判定する。格納すべき画像データが100MBであるとすると、(画像データのデータ量)>(クラウドストレージA16の空き容量)、及び(画像データのデータ量)>(クラウドストレージB18の空き容量)であるためいずれも格納不可と判定する。   When receiving the inquiry from the image processing device 12, the relay device 14 refers to the user information table stored in the storage device 14f, extracts the cloud storage that can be used by the user specified by the user ID, and extracts the cloud storage Queries the free space for cloud storage. If the available cloud storages are cloud storage A16 and cloud storage B18, the relay device 14 inquires of these cloud storages about the free capacity, and receives a reply of, for example, 80 MB and 20 MB as the free capacity. The relay device 14 compares the data amount of the image data to be stored with the free capacity of these cloud storages, and determines whether the image data can be stored. If the image data to be stored is 100 MB, since (image data amount)> (free space of cloud storage A16) and (data amount of image data)> (free space of cloud storage B18) Is also determined to be unstorable.

次に、中継装置14は、パラメータを変更して既に画像処理装置12から受信して一時記憶している画像データを再処理し、画像データのデータ量を削減する。画像処理のパラメータは、例えば解像度であり、当初の解像度よりも小さな解像度となるように再処理する。すなわち、クラウドストレージの空き容量でも格納し得る程度のデータ量となるように解像度を調整する。例えば、当初のデータ量が100MBであり、クラウドストレージA16の空き容量が80MBであるので、画像データのデータ量が80MB以下となるように解像度を調整して再処理する。   Next, the relay device 14 changes the parameters and reprocesses the image data that has already been received and temporarily stored from the image processing device 12 to reduce the data amount of the image data. The parameter of the image processing is, for example, resolution, and reprocessing is performed so that the resolution becomes smaller than the initial resolution. That is, the resolution is adjusted so that the amount of data can be stored even with the free capacity of the cloud storage. For example, since the initial data amount is 100 MB and the free capacity of the cloud storage A 16 is 80 MB, the resolution is adjusted so that the data amount of the image data is 80 MB or less, and reprocessing is performed.

なお、画像データを再処理するに先立って、中継装置14は画像処理装置12に問い合わせて画像処理装置12に記憶されているパラメータテーブルを取得し、取得したパラメータテーブルを用いて画像データを再処理してもよい。   Prior to reprocessing the image data, the relay device 14 inquires of the image processing device 12 to acquire the parameter table stored in the image processing device 12, and reprocesses the image data using the acquired parameter table. May be.

中継装置14は、パラメータを変更して画像データを再処理した後、クラウドストレージA16を格納先として決定し、クラウドストレージA16を格納先のクラウドストレージとして決定し、クラウドストレージA16に再処理後の画像データを転送して格納する。また、中継装置14は、クラウドストレージA16からの格納完了を示す格納OK通知を受信すると、その格納OK通知を画像処理装置12に転送する。また、中継装置14は、パラメータを変更して格納した旨を画像処理装置12に通知する。   The relay device 14 changes the parameters and reprocesses the image data, determines the cloud storage A16 as the storage destination, determines the cloud storage A16 as the storage destination cloud storage, and reprocesses the image to the cloud storage A16. Transfer and store data. Further, when receiving the storage OK notification indicating the completion of storage from the cloud storage A 16, the relay device 14 transfers the storage OK notification to the image processing device 12. Further, the relay device 14 notifies the image processing device 12 that the parameter has been changed and stored.

画像処理装置12は、中継装置14からの格納OK通知及びパラメータ変更通知を受信すると、最終格納先であるクラウドストレージA16のURL等の格納先情報をジョブログに記録する。ジョブ制御部122は、ユーザが指定した当初のクラウドストレージB18のアドレス情報と、画像データの最終確認先であるクラウドストレージA16のアドレス情報をともにジョブログに記録してもよい。   When the image processing apparatus 12 receives the storage OK notification and the parameter change notification from the relay apparatus 14, the image processing apparatus 12 records storage destination information such as the URL of the cloud storage A16 that is the final storage destination in the job log. The job control unit 122 may record both the address information of the initial cloud storage B18 designated by the user and the address information of the cloud storage A16 that is the final confirmation destination of the image data in the job log.

さらに、画像処理装置12は、ジョブログを参照し、画像データの最終格納先がユーザ指定の当初の格納先と異なるか否かを判定し、異なる場合には最終格納先のクラウドストレージA16の情報、具体的にはクラウドストレージ名及びそのアドレス情報をユーザ端末10に送信する。また、どのようなパラメータを変更したのかを送信してもよい。例えば、
「格納先は、クラウドストレージAです(アドレス:****)
解像度をXXXdpiからYYYdpiに変更して格納しています。」
等のメッセージを電子メールで送信する。
Further, the image processing apparatus 12 refers to the job log to determine whether or not the final storage destination of the image data is different from the initial storage destination designated by the user, and if so, information on the cloud storage A16 of the final storage destination Specifically, the cloud storage name and its address information are transmitted to the user terminal 10. Further, what parameters are changed may be transmitted. For example,
“The storage location is Cloud Storage A (Address: *****)
The resolution is changed from XXXdpi to YYYdpi and stored. "
Etc. are sent by e-mail.

10 ユーザ端末、12 画像処理装置、14 中継装置、16 クラウドストレージA、18 クラウドストレージB、20 通信ネットワーク。
10 user terminal, 12 image processing device, 14 relay device, 16 cloud storage A, 18 cloud storage B, 20 communication network.

Claims (14)

画像処理装置から画像データを受信する受信部と、
受信した画像データをクラウドストレージに転送して格納する制御部であり、前記画像処理装置のユーザが利用可能な複数のクラウドストレージに対して空き容量を問い合わせ、前記画像データを格納し得る空き容量を有するクラウドストレージに前記画像データを転送して格納する制御部と、
を備える中継装置。
A receiving unit for receiving image data from the image processing apparatus;
It is a control unit that transfers received image data to a cloud storage and stores it, inquires about a free capacity from a plurality of cloud storages that can be used by a user of the image processing apparatus, and determines a free capacity that can store the image data. A control unit for transferring and storing the image data in a cloud storage,
A relay device comprising:
前記制御部は、前記ユーザが指定したクラウドストレージに空き容量を問い合わせ、前記画像データを格納し得る空き容量がない場合に、前記ユーザが利用可能な他のクラウドストレージに空き容量を問い合わせる
請求項1に記載の中継装置。
The control unit inquires about a free capacity in a cloud storage designated by the user, and inquires about a free capacity in another cloud storage that can be used by the user when there is no free capacity capable of storing the image data. The relay device described in 1.
前記制御部は、前記画像処理装置からの問い合わせに応じて前記ユーザが利用可能な複数のクラウドストレージの情報を前記画像処理装置に返信し、前記画像処理装置からの空き容量確認の問い合わせに応じて前記ユーザが利用可能なクラウドストレージに空き容量を問い合わせる
請求項1に記載の中継装置。
The control unit returns information on a plurality of cloud storages available to the user to the image processing apparatus in response to an inquiry from the image processing apparatus, and responds to an inquiry about free space confirmation from the image processing apparatus. The relay apparatus according to claim 1, wherein the user makes an inquiry about available capacity to a cloud storage that can be used by the user.
前記制御部は、前記ユーザが指定したクラウドストレージと異なるクラウドストレージに前記画像データを転送して格納した場合に、前記画像データを格納したクラウドストレージの情報を前記画像処理装置に通知する
請求項1に記載の中継装置。
The control unit notifies the image processing apparatus of information on the cloud storage storing the image data when the image data is transferred and stored in a cloud storage different from the cloud storage specified by the user. The relay device described in 1.
前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが複数存在する場合に、ルールに従っていずれかのクラウドストレージに前記画像データを転送して格納する
請求項1に記載の中継装置。
The control unit transfers and stores the image data to any one of the cloud storages according to a rule when there are a plurality of cloud storages that can be used by the user and have a free capacity capable of storing the image data. The relay device according to 1.
前記ルールは、最初に検出されたクラウドストレージ、最も空き容量の小さいクラウドストレージ、最も空き容量の大きいクラウドストレージ、前記ユーザが選択したクラウドストレージのいずれかである
請求項5に記載の中継装置。
The relay device according to claim 5, wherein the rule is one of a cloud storage detected first, a cloud storage with the smallest available capacity, a cloud storage with the largest available capacity, and a cloud storage selected by the user.
前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが存在しない場合に、前記画像データのデータ量を削減し得るパラメータの変更を前記画像処理装置に通知し、前記画像処理装置から送信された再処理後の画像データを格納し得る空き容量を有するクラウドストレージに転送して格納する
請求項1に記載の中継装置。
The control unit notifies the image processing apparatus of a parameter change that can reduce the data amount of the image data when there is no cloud storage that can be used by the user and has a free capacity for storing the image data. The relay apparatus according to claim 1, wherein the reprocessed image data transmitted from the image processing apparatus is transferred to and stored in a cloud storage having an available capacity.
前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが存在しない場合に、前記画像データのデータ量を削減し得るパラメータを変更して再処理し、再処理後の画像データを格納し得る空き容量を有するクラウドストレージに転送して格納する
請求項1に記載の中継装置。
When there is no cloud storage having a free capacity that can be used by the user and capable of storing the image data, the control unit changes a parameter that can reduce the data amount of the image data, performs reprocessing, and performs reprocessing. The relay device according to claim 1, wherein the image data after processing is transferred to and stored in a cloud storage having a free capacity capable of storing the image data.
前記パラメータは、前記画像データの解像度、フォーマット、カラーの少なくともいずれかである
請求項7,8のいずれかに記載の中継装置。
The relay device according to claim 7, wherein the parameter is at least one of resolution, format, and color of the image data.
画像データを転送してクラウドストレージに格納する中継装置に対して、ユーザが利用可能な複数のクラウドストレージの空き容量を問い合わせる送信部と、
前記中継装置からの空き容量の情報を受信し、前記画像データを格納し得る空き容量を有するクラウドストレージを決定して前記画像データを前記中継装置に送信する制御部と、
を備える画像処理装置。
A transmission unit that inquires about the free capacity of a plurality of cloud storages that can be used by a user with respect to a relay device that transfers image data and stores it in the cloud storage,
A control unit that receives information on the free space from the relay device, determines a cloud storage having a free space capable of storing the image data, and transmits the image data to the relay device;
An image processing apparatus comprising:
前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが複数存在する場合に、ルールに従っていずれかのクラウドストレージを決定する
請求項10に記載の画像処理装置。
The image processing apparatus according to claim 10, wherein the control unit determines one of the cloud storages according to a rule when there are a plurality of cloud storages that are available to the user and have a free capacity in which the image data can be stored. .
前記制御部は、前記ユーザが利用可能で前記画像データを格納し得る空き容量を有するクラウドストレージが存在しない場合に、前記画像データのデータ量を削減し得るパラメータを変更して再処理し、再処理後の画像データを前記中継装置に送信する
請求項10に記載の画像処理装置。
When there is no cloud storage having a free capacity that can be used by the user and capable of storing the image data, the control unit changes a parameter that can reduce the data amount of the image data, performs reprocessing, and performs reprocessing. The image processing device according to claim 10, wherein the processed image data is transmitted to the relay device.
前記制御部は、決定した前記クラウドストレージが、前記ユーザが指定したクラウドストレージと異なる場合に、ユーザ端末に対して決定した前記クラウドストレージの情報を送信する
請求項10〜12のいずれかに記載の画像処理装置。
The said control part transmits the information of the said cloud storage determined with respect to the user terminal, when the determined cloud storage is different from the cloud storage designated by the user. Image processing device.
コンピュータに、
画像データを入力するステップと、
前記画像データを転送してクラウドストレージに格納する中継装置に対して、ユーザが利用可能な複数のクラウドストレージの空き容量を問い合わせるステップと、
前記中継装置からの空き容量の情報を受信するステップと、
前記画像データを格納し得る空き容量を有するクラウドストレージを決定して前記画像データを前記中継装置に送信するステップと、
を実行させるプログラム。
On the computer,
Inputting image data;
Inquiring about the free capacity of a plurality of cloud storages that can be used by a user to a relay device that transfers the image data and stores it in the cloud storage;
Receiving free space information from the relay device;
Determining a cloud storage having a free capacity capable of storing the image data and transmitting the image data to the relay device;
A program that executes
JP2018052684A 2018-03-20 2018-03-20 Relay device and program Active JP7119465B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018052684A JP7119465B2 (en) 2018-03-20 2018-03-20 Relay device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018052684A JP7119465B2 (en) 2018-03-20 2018-03-20 Relay device and program

Publications (2)

Publication Number Publication Date
JP2019165381A true JP2019165381A (en) 2019-09-26
JP7119465B2 JP7119465B2 (en) 2022-08-17

Family

ID=68064355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018052684A Active JP7119465B2 (en) 2018-03-20 2018-03-20 Relay device and program

Country Status (1)

Country Link
JP (1) JP7119465B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366308A (en) * 2001-06-05 2002-12-20 Sharp Corp Information device
JP2003296179A (en) * 2002-03-29 2003-10-17 Mitsubishi Electric Corp Information processor and network file method
JP2009238316A (en) * 2008-03-27 2009-10-15 Fujitsu Microelectronics Ltd Stream recording control device, method, and program
JP2010178283A (en) * 2009-02-02 2010-08-12 Seiko Epson Corp Image reading device
JP2014238824A (en) * 2013-05-10 2014-12-18 株式会社リコー Information processing apparatus, program, information management method, and information processing system
JP2015228194A (en) * 2014-06-03 2015-12-17 コニカミノルタ株式会社 Cloud service relay device and program
US20160156616A1 (en) * 2014-12-02 2016-06-02 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Cloud agent device, cloud storage and file transferring method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366308A (en) * 2001-06-05 2002-12-20 Sharp Corp Information device
JP2003296179A (en) * 2002-03-29 2003-10-17 Mitsubishi Electric Corp Information processor and network file method
JP2009238316A (en) * 2008-03-27 2009-10-15 Fujitsu Microelectronics Ltd Stream recording control device, method, and program
JP2010178283A (en) * 2009-02-02 2010-08-12 Seiko Epson Corp Image reading device
JP2014238824A (en) * 2013-05-10 2014-12-18 株式会社リコー Information processing apparatus, program, information management method, and information processing system
JP2015228194A (en) * 2014-06-03 2015-12-17 コニカミノルタ株式会社 Cloud service relay device and program
US20160156616A1 (en) * 2014-12-02 2016-06-02 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Cloud agent device, cloud storage and file transferring method

Also Published As

Publication number Publication date
JP7119465B2 (en) 2022-08-17

Similar Documents

Publication Publication Date Title
JP6870311B2 (en) Information processing systems, equipment, information processing methods and programs
US10656892B2 (en) Printer registration apparatus, display apparatus, and method for printer registration
US20190265929A1 (en) Print processing system and method
US9323482B2 (en) Print control system, method of controlling printing, and recording medium
US20160080588A1 (en) Information processing system, information processing method, and recording medium storing an information processing program
JP2013164836A (en) Information processing system, network system and information processing method
US20100179965A1 (en) Image processing apparatus and image processing method
US7782473B2 (en) Apparatus for transforming image data for another and method
JP2015133614A (en) Information processing system, information processing device, information processing method, and program
US9432448B2 (en) Load dispersion system, control method for load dispersion system, and storage medium
JP6060573B2 (en) OUTPUT SYSTEM, OUTPUT CONTROL DEVICE, OUTPUT DEVICE, AND PROGRAM
US11079985B2 (en) Information processing system, and control method for printing downloaded print data
JP2019185657A (en) Image forming system and image forming method
US10409528B2 (en) Printing system that performs easily printing of unprinted pages when printing is interrupted, and printing method
US20110063687A1 (en) Controlling image processing for data transmission
JP2019165381A (en) Image processing device, relay device, and program
US11405483B2 (en) Relay device and non-transitory computer readable medium storing program
US9571677B2 (en) Image processing apparatus and non-transitory computer readable medium
US8760703B2 (en) Job control system and job control method
US10552092B2 (en) Image forming apparatus and image processing system
US10394505B2 (en) Image forming apparatus that controls an execution order of jobs, control method thereof, storage medium, and image forming system
JP4715312B2 (en) Image forming apparatus, image forming system, file management program, and recording medium recording the program
JP6248594B2 (en) Image processing system, image processing apparatus, processing method, and control program
US9813568B2 (en) Image processing apparatus and non-transitory computer readable medium for more uniformly distributing documents
US10581725B2 (en) Information processing apparatus having a multi-connection communication function for transmitting and receiving data blocks by using a plurality of connections, method for controlling the same, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220203

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: 20220705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220718

R150 Certificate of patent or registration of utility model

Ref document number: 7119465

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150