JP2022049911A - Communication device and method for controlling the same - Google Patents
Communication device and method for controlling the same Download PDFInfo
- Publication number
- JP2022049911A JP2022049911A JP2020156205A JP2020156205A JP2022049911A JP 2022049911 A JP2022049911 A JP 2022049911A JP 2020156205 A JP2020156205 A JP 2020156205A JP 2020156205 A JP2020156205 A JP 2020156205A JP 2022049911 A JP2022049911 A JP 2022049911A
- Authority
- JP
- Japan
- Prior art keywords
- image
- communication device
- data
- information
- file
- 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
Abstract
Description
本発明は、通信装置およびその制御方法に関する。 The present invention relates to a communication device and a control method thereof.
MPEG(Moving Pictures ExpertsGroup)では、複数の画像等を1つのファイルに格納するための標準を開発している。本標準は、HEIF(HighEfficiency Image File Format)と呼ばれている。
また、1つのファイル内のデータをURI(Uniform Resource Identifier:RFC3896)クエリストリングによりアクセス指定する技術が知られている(例えば、特許文献1参照)。
MPEG (Moving Pictures Experts Group) is developing a standard for storing a plurality of images and the like in one file. This standard is called HEIF (High Efficiency Image File Format).
Further, there is known a technique for designating access to data in one file by a URI (Uniform Resource Identifier: RFC3896) query string (see, for example, Patent Document 1).
しかしながら、HEIF等の規格には、ネットワーク上に存在するHEIFファイルに格納された画像データや当該画像データに付随する管理データ等のリソースデータを利用する際に、リソースデータを個別に指定して取得する方法がない。また、特許文献1の技術では、コンテンツのタイムライン上の時間空間やバイトオフセットを指定するため、ファイル内にどのようなデータが存在するかを知っている必要がある。
本発明は、上記課題に鑑みなされたものであり、外部装置の画像ファイルに格納されたリソースデータを個別に指定できる通信装置を提供することを目的とする。
However, in standards such as HEIF, when using resource data such as image data stored in a HEIF file existing on the network and management data accompanying the image data, the resource data is individually specified and acquired. There is no way to do it. Further, in the technique of
The present invention has been made in view of the above problems, and an object of the present invention is to provide a communication device capable of individually designating resource data stored in an image file of an external device.
上記目的を達成するために、本発明の1つの態様による通信装置は、他の通信装置に格納された画像ファイル内または前記他の通信装置がアクセス可能な画像ファイル内のリソースデータを指定する通信装置であって、前記画像ファイルを指定する情報と、前記画像ファイル内の前記リソースデータを指定する情報とを含むURI(Uniform Resource Identifier)を生成する生成手段と、前記URIを前記他の装置に送信する送信手段と、を備え、前記リソースデータは、前記画像データ又は前記画像データに付随する管理データを含む。 In order to achieve the above object, the communication device according to one aspect of the present invention is a communication that specifies resource data in an image file stored in another communication device or in an image file accessible to the other communication device. An apparatus, which is a generation means for generating a URI (Uniform Resource Idea) including information for designating the image file and information for designating the resource data in the image file, and the URI to the other apparatus. The resource data includes a transmission means for transmitting, and the resource data includes the image data or management data accompanying the image data.
本発明の通信装置によれば、外部装置の画像ファイルに格納されたリソースデータを個別に指定できる。 According to the communication device of the present invention, the resource data stored in the image file of the external device can be individually specified.
以下、添付図面を参照して本発明の実施形態を詳細に説明する。なお、以下の実施形態は本発明を限定するものではなく、また、実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。実施形態の構成は、本発明が適用されるシステムおよび装置の仕様および各種条件(使用条件、使用環境等)によって適宜修正又は変更され得る。本発明の技術的範囲は、特許請求の範囲によって確定されるのであって、以下の個別の実施形態によって確定されない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the following embodiments do not limit the present invention, and not all combinations of features described in the embodiments are essential for the means for solving the present invention. The configuration of the embodiment may be appropriately modified or changed depending on the specifications of the system and the apparatus to which the present invention is applied and various conditions (use conditions, use environment, etc.). The technical scope of the present invention is determined by the scope of claims, not by the following individual embodiments.
[実施形態1]
図1は、本実施形態のシステム10の構成の一例を示している。システム10は、ネットワーク100、クライアント装置200、サーバ装置300および印刷装置400からなる。本実施形態のシステム10では、クライアント装置200が、サーバ装置300がアクセス可能なHEIFファイルに格納された複数の画像データから一部の画像データを指定して印刷装置400で印刷させる。よって、システム10は印刷システムである。
HEIFは、ISOベースメディアファイルフォーマット(ISOBMFF:ISO BaseMedia File Format)で定められるツールを基に拡張された格納フォーマットである。HEIFファイル(画像ファイル)のファイルフォーマットは、ISO/IEC23008Part12で定義されるファイルフォーマットである。HEIFでは、管理データを含む規範的な構造を定めており、管理データと画像データを関連付けする方法や特定の形式の管理データの構成について定めている。管理データの中にはファイルに含まれる画像を表示する際の画像位置情報や、複数の画像が含まれる際に第一優先で表示する画像を指定する情報等が定義されている。
[Embodiment 1]
FIG. 1 shows an example of the configuration of the
HEIF is an extended storage format based on the tools defined by the ISO Base Media File Format (ISOBMFF: ISO BaseMedia File Format). The file format of the HEIF file (image file) is the file format defined by ISO / IEC2608Part12. HEIF defines a normative structure that includes management data, and defines how to associate management data with image data and the structure of management data in a specific format. In the management data, image position information when displaying an image included in a file, information for designating an image to be displayed with first priority when a plurality of images are included, and the like are defined.
クライアント装置200、サーバ装置300および印刷装置400は、ネットワーク100に接続される。ネットワーク100は、LAN(Local Area Network)、WAN(Wide Area Network)、LTE(Long Term Evolution)等の公衆移動体通信でもよいし、これらを複数組み合わせたものでもよい。
クライアント装置200は、サーバ装置300に対しURI(Uniform Resource Identifier)リクエストを送信する装置である。クライアント装置200は、例えば、スマートフォン、PC(Personal Computer)、タブレット端末、デジタルカメラ、スマートウオッチ等である。後述するように、クライアント装置200は、他の通信装置であるサーバ装置300に格納された画像ファイル内のリソースデータを指定し、当該画像ファイル内の画像データを印刷装置400で印刷させる通信装置である。
The
The
サーバ装置300は、クライアント装置200からURIリクエストを受信する装置でる。サーバ装置300は、例えば、Webサーバ、ファイルサーバ、アプリケーションサーバ、又はこれらを複数組み合わせた装置である。
印刷装置400は、画像データを印刷するプリンタ、コピー機、複合機等である。本実施形態ではクライアント装置200と印刷装置400は有線で接続されてもよいし、無線で接続されてもよい。例えば、クライアント装置200と印刷装置400はUSB(Universal Serial Bus)やLAN等で直接接続される。あるいは、クライアント装置200と印刷装置400は、無線LANで接続される。
The
The
図2は、クライアント装置200のハードウェア構成の一例を示している。クライアント装置200は、システムバス201、CPU(Central Processing Unit)202、ROM(Read Only Memory)203およびRAM(Random Access Memory)204を有する。クライアント装置200は、さらに、通信インタフェース205、入力部206および表示部207を有する。インタフェースは図2ではI/Fと記されている。
システムバス201は、CPU202、ROM203、RAM204、通信インタフェース205、入力部206、表示部207を接続し、各種データの転送経路となる。
FIG. 2 shows an example of the hardware configuration of the
The
CPU202は、各ハードウェア構成部(203~207)を統括的に制御し、クライアント装置200を制御する。
ROM203は、CPU202で実行される制御プログラム、アプリケーション等を格納している。
RAM204は、CPU202の主メモリ、ワークエリア等として機能し、プログラムやデータを一時記憶する。
通信インタフェース205は、ネットワーク100を介して通信パケットの送受信を行うインタフェースである。通信インタフェース205は、例えば、無線LANインタフェース、有線LANインタフェース、公衆移動体通信インタフェース等である。クライアント装置200は、ネットワーク100を介してサーバ装置300と通信できるので、通信装置であると言える。
The
The
The
The
入力部206は、クライアント装置200内のハードウェア構成部(203~205、207)やCPU202内部で動作するソフトウェアに対する入力インタフェースである。入力部206は、例えば、キーボード、タッチパッド(タッチパネル)、ボタン等を含む。
表示部207は、入力部206で入力した情報や処理した結果等を表示するディスプレイである。表示部207は、例えば、液晶ディスプレイやLED(発光ダイオード)を有する。なお、入力部206がタッチパネルの場合、入力部206と表示部207は一体となっていてもよい。また、表示部207は音声出力部(スピーカ)を備えてもよい。
The
The
図3は、サーバ装置300のハードウェア構成の一例を示す図である。サーバ装置300は、システムバス301、CPU302、ROM303、RAM304、通信インタフェース305および記憶部306を有する。
システムバス301、CPU302、ROM303、RAM304、通信インタフェース305はクライアント装置200と同様のため説明は省略する。サーバ装置300は、ネットワーク100を介してクライアント装置200と通信できるので、通信装置であると言える。
記憶部306は、HEIFファイル等の画像ファイルを記憶する。つまり、記憶部306は画像ファイルを格納する格納部である。記憶部306は、例えば、HDD(Hard Disk Drive)やSSD(Solid State Drive)等のストレージ装置を含む。クライアント装置200から見た場合、サーバ装置300は、ネットワーク100の後方にあるので、記憶部306に記憶された画像ファイルまたは画像はネットワーク上の画像ファイルまたは画像と表現することができる。サーバ装置300がクラウドであると考えた場合も、記憶部306に記憶された記憶された画像ファイルまたは画像はネットワーク上の画像ファイルまたは画像と表現することができる。
なお、本実施形態では、記憶部306がサーバ装置300に内蔵されているが、記憶部306はサーバ装置300に有線または無線により外付けされてもよい。あるいは、記憶部306はファイルサーバとして設けられ、サーバ装置300がネットワーク100経由でファイルサーバ(記憶部306)にアクセスできるようにしてもよい。つまり、画像ファイルは、クライアント装置200から見て他の通信装置であるサーバ装置300に格納された画像ファイルでもよいし、サーバ装置300がアクセス可能な画像ファイルでもよい。HEIFファイルについては、その保存場所(記憶部306)に関する上記のような種々の態様をまとめて、「ネットワーク上に存在するHEIFファイル」または「外部装置のHEIFファイル」と表現してもよい。
FIG. 3 is a diagram showing an example of the hardware configuration of the
Since the
The
In the present embodiment, the
図4は、印刷装置400のハードウェア構成の一例を示す図である。印刷装置400は、システムバス401、CPU402、ROM403、RAM405、通信インタフェース406および出力部407を有する。
システムバス401、CPU402、ROM403、RAM405、通信インタフェース406はクライアント装置200と同様のため説明は省略する。
出力部407は、画像データを印刷した印刷媒体(例えば、紙)を出力する。印刷装置400は、画像データを印刷出力するので、画像出力装置と称してもよい。なお、本実施形態の印刷装置400は、プロジェクタやディスプレイ等の画像出力装置に置き換えてもよい。この場合、出力部407は、画像出力部となる。
FIG. 4 is a diagram showing an example of the hardware configuration of the
Since the
The
図5は、システム10内におけるクライアント装置200、サーバ装置300および印刷装置400の動作および処理の例を示すシーケンス図である。図5は、クライアント装置200が、サーバ装置300の記憶部306に記憶されているHEIFファイルの画像を指定して、印刷装置400によって印刷させる場合を示している。なお、クライアント装置200とサーバ装置300は、各々、画像に関する情報を処理することができるので、情報処理装置と称してもよい。
図5においてクライアント装置200により実行される動作および処理として説明されるものは、ROM203に記憶されたプログラムをCPU202が実行することにより行われる。また、サーバ装置300により実行される動作および処理として説明されるものは、ROM303に記憶されたプログラムをCPU302が実行することにより行われる。同様に、印刷装置400により実行される動作および処理として説明されるものは、ROM403に記憶されたプログラムをCPU402が実行することにより行われる。
FIG. 5 is a sequence diagram showing an example of the operation and processing of the
The operation and processing described as the operation and processing executed by the
図5のシーケンスは、クライアント装置200のユーザが入力部206を用いて、ファイル一覧を取得するリクエストを作成すると開始される。
まず、クライアント装置200はサーバ装置300へファイル一覧取得リクエストを送信する(501)。リクエスト501には、ネットワーク上のファイル保管場所やファイル保管フォルダ等を指定する情報が含まれる。
サーバ装置300は、リクエスト501に対するレスポンスをクライアント装置200に送信する(502)。レスポンスは、リクエスト501で指定されたネットワーク上のファイル保管場所やフォルダに格納・保管されているファイルの一覧情報を含む。
The sequence of FIG. 5 is started when the user of the
First, the
The
クライアント装置200は、レスポンス502に含まれるファイル一覧情報を表示部207に表示する(503)。図5では、ファイル一覧情報をアプリケーション画面503として示している。本アプリケーションは、ネットワーク100上にある画像ファイルを印刷装置400で印刷するためのソフトウェアであり、アプリケーション画面503は印刷したい画像ファイルを選択する画面である。アプリケーション画面503には、ファイル一覧情報として、aaa.gif、bbb.heic、ccc.jpgの3つの画像ファイルが表示されている。本実施形態では、その中からHEIFファイルであるbbb.heicを選択するとする。bbb.heicの選択は、クライアント装置200のユーザが入力部206を操作して行う。HEIFファイルが選択されると、プルダウンメニューに3つのリソースタイプ(プライマリ画像、サムネイル画像、管理データ)が表示される。本実施形態では、クライアント装置200のユーザは、プルダウンメニューからサムネイル画像を選択するとする。サムネイル画像を選択すると、プルダウンメニューの右横に、別のプルダウンメニュー(符号化形式を選択するためのプルダウンメニュー)が表示される。本実施形態では、クライアント装置200のユーザは、符号化形式としてJPEGを選択するとする。最後に、クライアント装置200のユーザはOKボタンを選択する。OKボタンが選択されると、アプリケーションが、選択したメニューに応じてリクエストURI504を生成する。
The
リクエストURI504において、“http://xxx/bbb.heic”までがファイル名(画像ファイル名)までを特定する情報である。ファイル名特定情報に続くクエスチョンマーク“?”からのクエリストリングがリソースタイプと符号化変換形式を特定する情報となる。“rsc=thmb”はリソースタイプがサムネイル画像であることを示す。それに続くアンパサンド“&”はクエリストリング内の区切り文字として機能する。“cdc=jpeg”は符号化形式としてJPEGを指定する。“opt=org”はサムネイル画像に対応するオリジナル画像を取得するURIの生成を指示する。“opt=org”は追加オプション情報である。本実施形態では、サムネイル画像を選択すると自動的にオリジナル画像取得URIの生成を指示するというオプションを付けるが、当該オプションを付けるかはユーザが選択できるようにしてもよい。リクエストURIの生成方法については後述する。リクエストURI504は、サムネイル画像取得リクエストURIであると言える。
In the request URI504, up to "http://xxx/bbb.heic" is information for specifying up to the file name (image file name). The query string from the question mark "?" Following the file name specific information is the information that identifies the resource type and the coding conversion format. “Rsc = thmb” indicates that the resource type is a thumbnail image. The ampersand "&" that follows acts as a delimiter in the query string. "Cdc = jpg" specifies JPEG as the encoding format. “Opt = org” indicates the generation of a URI that acquires the original image corresponding to the thumbnail image. “Opt = org” is additional option information. In the present embodiment, when a thumbnail image is selected, an option to automatically instruct the generation of the original image acquisition URI is added, but the user may select whether to add the option. The method of generating the request URI will be described later. It can be said that the
クライアント装置200は、生成したURI504を用いて、サーバ装置300へリクエストを送信する(505)。リクエスト505を送信する際、クライアント装置200の通信インタフェース206は、URI504をサーバ装置300に送信する送信部として機能する。サーバ装置300はリクエスト505を受け取ると、URIを解析し、bbb.heicに含まれるサムネイル画像を全てJPEG画像に変換する。HEIFファイルにおけるサムネイル画像とは、マスターとなるオリジナル画像の解像度を下げた画像で、ItemReferenceBoxのタイプ“thmb”が設定された画像アイテムである。サムネイル画像には、同じItemReferenceBox内で対応するオリジナル画像アイテムがリンクされる。HEIFファイルの構成は公知であり、且つ、本発明の技術的範囲外であるため説明は省略する。
符号506は、bbb.heicファイル内に3つのサムネイル画像thmb1~thmb3が含まれており、それぞれHEVC(High Efficiency Video Codec)で符号化されている画像データをJPEG画像に変換している様子を示している。
The
符号507は、3つのサムネイル画像thmb1~thmb3に対応するオリジナル画像データを取得するためのURIを示す。サーバ装置300は、JPEG画像に変換したサムネイル画像とそれに対応するオリジナル画像データを取得するためのURIを埋め込んだHTML(Hyper Text Markup Language)ファイルを生成する。そして、サーバ装置300は、生成したHTMLファイルをレスポンス508としてクライアント装置200に送信する。本実施形態のサーバ装置300は、HTMLファイルを生成してクライアント装置200に送信するが、サーバ装置300はサムネイル画像だけをクライアント装置200に送信してもよい。あるいは、サーバ装置300は、HTMLファイル以外のファイル形式(例えば、XMLファイル)でサムネイル画像等をクライアント装置200に送信してもよい。どのようなファイル形式でサムネイル画像等を送信させるかをクライアント装置200が指定できてもよい。XMLはExtensible Markup Languageの略である。
符号509は、レスポンス508によりクライアント装置200が受信したHTMLファイルを表示したアプリケーション画面を示す。アプリケーション画面509には、3つのサムネイル画像とそれぞれに対応するオリジナル画像データを取得するためのURIとが表示される。クライアント装置200のユーザは、アプリケーション画面509を用いて、印刷したい画像をサムネイル画像で選択する。本実施形態では、一例として、クライアント装置200のユーザが、サムネイル画像thmb3を選択して印刷ボタンを選択するとする。印刷ボタンが選択されると、アプリケーションが、選択したサムネイル画像に対応するオリジナル画像データを取得するためのURI507に基づいて新たなURI(第2のURI)510を生成する。URI510では、“rsc=item3”で画像アイテムを指定し、“cdc=jpeg”でJPEGへの変換を指示する。クライアント装置200が、印刷装置400が対応できる画像符号化形式を知らなければ変換形式情報(例えば、JPEGへ変換するという情報)を印刷装置400で生成させてもよい。
クライアント装置200は、生成したURI510を印刷装置400に入力する(511)。クライアント装置200は、URI510に加えて、印刷部数、用紙設定、印刷設定情報等を印刷装置400に入力してもよい。
印刷装置400は、入力されたURI510をリクエスト512としてサーバ装置300に送信し、画像データを要求する。サーバ装置300はリクエスト512を受信すると、URIを解析する。符号513は、URIを解析した結果、bbb.heic内のアイテムIDが3のHEVCで符号化された画像データをJPEG画像(ID=3(JPG))に変換する様子を示す。JPEG画像に変換された画像データは、サーバ装置300から印刷装置400に送信される(514)。印刷装置400は、受信した画像データを印刷・出力する(515)。
The
The
図6は、クライアント装置200がURIを生成するフローを示すフローチャートである。このフローチャートでは、クライアント装置200は、接続しているサーバ装置300との通信状態やアプリケーションでユーザが選択した情報等に基づいて、URIを生成する。図中、SはStepの略である。図6の各処理は、ROM203に記憶されたプログラムをCPU202が実行することにより行われる。
最初に、S601でクライアント装置200は、プロトコル情報を生成する。プロトコル情報とは、“http:”や“https:”、“ftp:”等のプロトコル毎のスキーム文字列を指す。
S602でクライアント装置200は、サーバ装置位置を生成する。サーバ装置位置とは、サーバ装置のドメイン名、IPアドレス、ポート番号等の組み合わせで構成されるもので、例えば、“//www.example.org:8080”や“//10.0.0.1”のようなもので表現される。
FIG. 6 is a flowchart showing a flow in which the
First, in S601, the
In S602, the
S603でクライアント装置200は、ファイル位置/名を生成する。ファイル位置/名はサーバ装置位置におけるドライブ名やパス名に続くファイル名(画像ファイル名)で構成されるもので、例えば、“/pictures/abc.heic”のようなもので表現される。ファイル名は一部だけ入力し、ワイルドカードや正規表現等を用いて条件に合致する複数のファイルを表現してもよい。例えば、アスタリスク“*”をワイルドカードとして用いる場合、“/pictures/*.heic”とすることで“/pictures/”以下の全てのHEIFファイルを対象とするような表現ができてもよい。
In S603, the
S604で、クライアント装置200は、ファイルがHEIFファイルであるか否かを判定する。ファイルがHEIFファイル以外(S604がNo)であれば、図6のフローチャート処理は終了する。なお、S604の判定結果がNoの場合、クライアント装置200は、ファイル名まででURI生成を完了としてもよいし、別のファイルタイプ毎の処理でURI生成を継続してもよい。
ファイルがHEIFファイルである場合(S604がYes)は、S605に進む。S605で、クライアント装置200は、クエリストリングの生成を開始する。クエリストリングはクエスチョンマーク“?”の生成により開始する。
In S604, the
If the file is a HEIF file (S604 is Yes), the process proceeds to S605. At S605, the
続いて、S606でクライアント装置200は、リソース指定情報を生成する。リソース指定情報は、HEIFファイルに格納された画像アイテムのタイプ(リソースタイプ)、画像アイテムID、管理データ等を示す識別子で構成される。例えば、“rsc=thmb”という識別子でサムネイル画像(リソースタイプ)を表現し、“rsc=pitm”という識別子でプライマリ画像を表現し、“rsc=meta”という識別子で管理データを表現する。このように、リソースデータを指定する情報は、サムネイル画像を示す識別子である場合もあるし、プライマリ画像を示す識別子である場合もあるし、管理データを示す識別子である場合もある。画像アイテムIDのようにタイプ名(リソースタイプ)だけでは表現できないものについては、“rsc=item3”のように、具体的なIDを入力する。つまり、リソースデータを指定する情報は、管理データ内に記載されたアイテム識別子である場合もある。
なお、リソースの指定は、リソースタイプや具体的なIDだけでなく、画像に含まれるタグ情報やHEIFで規定されるプロパティ識別子等で行ってもよい。例えば、リソースデータを指定する情報は、管理データ内に記載されたプロパティ情報であってもよい。
Subsequently, in S606, the
The resource may be specified not only by the resource type and the specific ID, but also by the tag information included in the image, the property identifier defined by HEIF, and the like. For example, the information that specifies the resource data may be the property information described in the management data.
S607で、クライアント装置200は、リソースデータの変換指定の有無を判定する。S607で変換指定が有ると判定された場合、S608に進む。S607で変換指定が無いと判定された場合、S609に進む。
S608において、クライアント装置200は、変換形式情報を生成する。変換形式情報は、リソースデータが画像データである場合、符号化形式を示す情報(例えば、識別子)で構成され、例えば、“cdc=jpeg”でJPEG変換を表現し、“cdc=h264”でH.264変換を表現する。つまり、符号化形式(変換形式)を指定する情報は、画像データの符号化を示す識別子であってよい。
また、変換形式情報は画像データの変換後の解像度を指定してもよい。例えば、“wdt=1920、hgt=1080”で横1920ドット、縦1080ドットのサイズ(所定のサイズ)で画像データの変換(リサイズ)を指定する。つまり、変換形式を指定する情報は、画像データのサイズを示す識別子であってもよい。あるいは、変換形式情報は解像度ではなく拡大や縮小の割合(比率)を指定してもよい。
リソースデータが管理データである場合、変換形式情報は管理データのファイル形式を示す情報(例えば、識別子)で構成され、例えば、“fmt=xml”でXMLファイル変換を表現し、“fmt=json”でJSONファイル変換を表現する。S608の後、S609に進む。
In S607, the
In S608, the
Further, the conversion format information may specify the resolution after conversion of the image data. For example, "wdt = 1920, hgt = 1080" specifies conversion (resizing) of image data with a size of 1920 dots in the horizontal direction and 1080 dots in the vertical direction (predetermined size). That is, the information that specifies the conversion format may be an identifier indicating the size of the image data. Alternatively, the conversion format information may specify the enlargement / reduction ratio (ratio) instead of the resolution.
When the resource data is management data, the conversion format information is composed of information (for example, an identifier) indicating the file format of the management data. For example, "fmt = xml" represents the XML file conversion, and "fmt = json". Expresses JSON file conversion with. After S608, proceed to S609.
S609で、クライアント装置200は追加オプションの有無を判定する。追加オプションが有ると判定された場合、S610に進む。追加オプションが無いと判定された場合、処理を終了する。
S610で、クライアント装置200は追加オプション情報を生成する。追加オプション情報は、例えば、“opt=org”で、リソースデータとしてサムネイル画像を要求する場合にサムネイル画像に対応するオリジナル画像の取得URIを一緒に要求することを表現する。S610の後、S609に戻る。
追加オプションが無くなるまで、S609→S610→S609を繰り返す。追加オプションが無くなると、S609の判定結果がNoになり、クライアント装置200は、図6の処理を終了する。
In S609, the
At S610, the
Repeat S609 → S610 → S609 until there are no additional options. When there are no additional options, the determination result of S609 becomes No, and the
図7は、サーバ装置300がURIを解析するフローを示すフローチャートである。図7の各処理は、ROM303に記憶されたプログラムをCPU302が実行することにより行われる。
S701で、サーバ装置300はファイル位置/名を抽出する。
S702で、サーバ装置300は抽出したファイル位置/名に合致するファイルの有無を判定する。ファイル位置/名に合致するファイルが有ると判定された場合はS703に進む。
S703で、サーバ装置300は該当するファイルを取得する。なお、図6のS603で説明したように複数のファイルが該当してもよく、その場合、サーバ装置300は複数のファイルを取得する。
FIG. 7 is a flowchart showing a flow in which the
In S701, the
In S702, the
In S703, the
S702でファイル位置/名に合致するファイルが無いと判定された場合は、サーバ装置300は処理を終了し、HTTPであればステータスコード404(Not Found)をクライアント装置200に送信する。
S704で、サーバ装置300は、取得したファイルがHEIFファイルか否かを判定する。HEIFファイルでなければサーバ装置300は処理を終了する。この場合、サーバ装置300は、取得したファイルをレスポンスとしてそのままクライアント装置200に送信に送信してもよいし、別のファイルタイプ別処理を実行してもよい。取得したファイルがHEIFファイルであれば、S705に進む。
S705で、サーバ装置300はリソース指定情報を抽出する。
S706で、サーバ装置300はリソースタイプ別処理を実行する。リソースタイプ別処理とは、リソースタイプ毎に行われる処理を意味する。本実施形態では、リソースタイプ別処理として、3つの異なる処理を実行する(図8~図10)。
If it is determined in S702 that there is no file matching the file position / name, the
In S704, the
In S705, the
In S706, the
図8は、図7のリソースタイプ別処理でリソースタイプがサムネイル画像である場合の処理を示すフローチャートである。
S801でサーバ装置300は、リソースタイプがサムネイル画像であるか否かを判定する。S801の判定結果がNoの場合、サーバ装置300は処理を終了する。S801の判定結果がYesの場合、S802に進む。
S802でサーバ装置300は、当該HEIFファイル内にサムネイル画像が有るか否かを判定する。サムネイル画像が有ると判定された場合は、S803に進む。
S803でサーバ装置300はHEIFファイルから全てのサムネイル画像を取得する。S803の後、S806に進む。
FIG. 8 is a flowchart showing a process when the resource type is a thumbnail image in the resource type-specific process of FIG. 7.
In S801, the
In S802, the
In S803, the
S802でサムネイル画像が無いと判定された場合は、S804に進む。
S804でサーバ装置300は、HEIFファイル内の画像、例えば、非表示画像以外の全ての画像アイテムを取得する。ここで、HEIFファイルにおける非表示画像とは、ItemInfoEntryBox内のFlagsについて、(Flags&1)が真となる画像アイテムである。なお、本実施形態では、非表示画像以外の全ての画像アイテムを取得するが、プライマリ画像だけを取得してもよいし、非表示画像を含めて取得してもよい。あるいは、サムネイル画像がなければ(S802がNo)、処理を終了してもよい。
If it is determined in S802 that there is no thumbnail image, the process proceeds to S804.
In S804, the
S805で、サーバ装置300は、取得した画像アイテムを予め定めた解像度又は比率で縮小したサムネイル画像を生成する。S805の後、S806に進む。
S806でサーバ装置300はURIクエリストリングから変換形式情報を抽出(特定)する。
S807でサーバ装置300はサムネイル画像の変換符号化指定情報の有無を判定する。変換符号化指定情報が有ると判定された場合、S808に進む。変換符号化指定情報が無いと判定された場合、S809に進む。
S808でサーバ装置300は、S807で特定された変換形式に従って、符号化変換を行う。例えば、サーバ装置300は、HEVCで符号化されていたサムネイル画像を一度デコードし、指定された符号化形式、例えばJPEGで再符号化する。なお、変換符号化指定情報が無い場合でも、サーバ装置300はデフォルトで変換する符号化形式を決めていてもよい。
In S805, the
In S806, the
In S807, the
In S808, the
S809で、サーバ装置300はサムネイル画像を埋め込んだHTMLファイルを生成する。
S810でサーバ装置300はURIクエリストリングからオプション情報を抽出する。
S811で、サーバ装置300は、図6のS610で説明したオリジナル画像取得オプションの有無を判定する。オリジナル画像取得オプションが有ると判定された場合、S812に進む。オリジナル画像取得オプションが無いと判定された場合、処理を終了する。
S812で、サーバ装置300は、取得した全サムネイル画像について、対応するオリジナル画像の取得URIを発行する。
S813で、サーバ装置300は、発行したオリジナル画面取得URIをHTMLファイルに埋め込む。
In S809, the
In S810, the
In S811, the
In S812, the
In S813, the
図9は、図7のリソースタイプ別処理でリソースタイプがプライマリ画像又は画像アイテムである場合の処理を示すフローチャートである。
S901でサーバ装置300はリソースタイプがプライマリ画像であるか否かを判定する。HEIFファイルにおけるプライマリ画像とは、PrimaryItemBoxで指定された画像アイテムである。リソースタイプがプライマリ画像であると判定された場合、S902に進む。
S902でサーバ装置300はHEIFファイル内にプライマリ画像が有るか否かを判定する。プライマリ画像が無いと判定された場合、処理を終了する。プライマリ画像が有ると判定された場合、S903に進む。
S903でサーバ装置300はHEIFファイルからプライマリ画像を取得する。S903の後、S907に進む。
FIG. 9 is a flowchart showing a process in the resource type-specific process of FIG. 7 when the resource type is a primary image or an image item.
In S901, the
In S902, the
In S903, the
一方、リソースタイプがプライマリ画像でないと判定された場合(S901がNo)、S904に進む。
S904でサーバ装置300はリソースタイプが画像アイテムであるか否かを判定する。リソースタイプが画像アイテムでないと判定された場合、処理を終了する。リソースタイプが画像アイテムであると判定された場合、S905に進む。
S905でサーバ装置300は、指定された画像アイテムIDの画像アイテムがHEIFファイル内に有るか否かを判定する。指定された画像アイテムIDの画像アイテムが無いと判定された場合、処理を終了する。なお、画面アイテムIDを指定せずに画像内タグ情報やHEIFのプロパティ識別子でリソース指定がされている場合は、サーバ装置300は条件に一致する画像アイテムの有無を判定する。
On the other hand, if it is determined that the resource type is not the primary image (S901 is No), the process proceeds to S904.
In S904, the
In S905, the
指定された画像アイテムIDや指定された条件に一致する画像アイテムがHEIFファイル内に有る場合(S905がYes)、S906に進む。
S906でサーバ装置300は画像アイテムを取得する。
S907でサーバ装置300はURIクエリストリングから変換形式情報を抽出する。
S908でサーバ装置300は変換形式情報の解像度の指定の有無を判定する。解像度の指定が有ると判定された場合、S909に進む。解像度の指定が無いと判定された場合、S910に進む。
S909でサーバ装置300は画面アイテムを指定されたサイズにリサイズ(サイズ変更)する。
S910でサーバ装置300は変換形式情報の符号化変換の指定の有無を判定する。符号化変換指定が有ると判定された場合、S911に進む。符号化変換指定が無いと判定された場合、処理を終了する。
S911でサーバ装置300は符号化変換を行う。
If there is an image item that matches the specified image item ID or the specified condition in the HEIF file (S905 is Yes), the process proceeds to S906.
In S906, the
In S907, the
In S908, the
In S909, the
In S910, the
In S911, the
図10は、図7のリソースタイプ別処理でリソースタイプが管理データである場合の処理フローを示すフローチャートである。
S1001でサーバ装置300はリソースタイプが管理データであるか否かを判定する。S1001の判定結果がNoの場合、処理を終了する。S1001の判定結果がYesの場合、S1002に進む。
FIG. 10 is a flowchart showing a processing flow when the resource type is management data in the resource type-specific processing of FIG. 7.
In S1001, the
S1002でサーバ装置300はHEIFファイルから管理データを取得する。本実施形態では、HEIFファイルにおける管理データとは、MetaBoxで表現されるメタデータ全体を指す。なお、管理データ全体を取得するのではなく、MetaBox内の特定のBoxを指定して管理データの一部を取得してもよい。
S1003でサーバ装置300はURIクエリストリングから変換形式情報を抽出する。
S1004でサーバ装置300は変換形式情報の中にファイル形式指定が有るか否かを判定する。ファイル形式指定が有ると判定された場合、S1005に進む。ファイル形式指定が無いと判定された場合、S1006に進む。
S1005でサーバ装置300は管理データを指定ファイル形式に変換する。
S1006でサーバ装置300は管理データをデフォルトのファイル形式(例えばXML形式)に変換する。
In S1002, the
In S1003, the
In S1004, the
In S1005, the
In S1006, the
以上、本実施形態によればネットワーク上に存在するHEIFファイルおよびHEIFファイルに格納されたリソースデータを指定する情報をURIのクエリストリングに付与することで、リソースデータを個別に指定して取得(利用)することができる。つまり、クライアント装置200は、自装置から離間した位置にある画像ファイル(306)に格納されたリソースデータを個別に指定できる。
HEIFファイルに格納された画像データの閲覧や印刷をする際に、クライアント装置200が画像データを個別に指定して取得(利用)することができないと、次のような問題が生ずる。すなわち、HEIFファイルのリソースデータを利用する(画像出力装置で表示させたり印刷させる)クライアント装置は、HEIFファイル全体を取得し、HEIFファイルを解析し、リソースデータを抽出する必要がある。そして、HEIFファイル全体を取得すると、利用しないリソースデータもネットワークトラフィックとしてネットワーク上に流れてしまう。また、HEIFファイル取得後、HEIFファイル内部のリソースデータを抽出するには、クライアント装置にHEIFファイルの解析能力が必要となる。本実施形態によれば、このような問題は生じない。
また、本実施形態では、リソースタイプの指定により、HEIFファイル内にどのようなデータが格納されているかを知らなくてもクライアント装置200が自らリクエストを生成してリソースデータを個別に指定して取得することができる。
As described above, according to the present embodiment, the HEIF file existing on the network and the information for specifying the resource data stored in the HEIF file are added to the query string of the URI, so that the resource data can be individually specified and acquired (used). )can do. That is, the
When the
Further, in the present embodiment, by specifying the resource type, the
なお、本実施形態では、クライアント装置200が、印刷したい画像データの取得URIを印刷装置400に送信して(図5の符号511)印刷装置400に印刷させたが、サーバ装置300から印刷装置400に印刷リクエストを送信させてもよい。例えば、印刷装置400がIPP(Internet Printing Protocol)等に対応していて、印刷リクエストを受けることができる場合を想定する。この場合、クライアント装置200がサーバ装置300に対し、印刷したい画像データのリクエスト情報と印刷装置400のIPアドレスやドメイン名の情報とを送信する。後者の情報は、例えば、リクエスト情報の付随情報とする。サーバ装置300はリクエスト情報と付随情報を受けると、通知された印刷装置400のIPアドレス又はドメイン名に対して画像データと印刷リクエストを送信する。これにより、クライアント装置200は、印刷装置400に直接リクエストURIを入力(送信)することなく、印刷装置400により画像データを印刷させることができる。これを図5で説明すると、符号511の矢印がクライアント装置200からサーバ装置300に向かい、符号512の矢印が無くなり、符号514の矢印により、印刷装置400が印刷(515)を行うことになる。
In the present embodiment, the
上記した実施形態では、図5のリクエストURI504を生成する際に、リソースデータを指定する情報は、サムネイル画像を示す識別子である(“rsc=thmb”)としたが、リソースデータを指定する情報は、プライマリ画像を示す識別子であってもよい。この場合、リクエストURI504の“rsc=thmb”は“rsc=pitm”になる。
上記した実施形態では、印刷装置400がクライアント装置200に外付けされているが、印刷装置400とクライアント装置200は一体化してもよい。
In the above-described embodiment, when the request URI504 of FIG. 5 is generated, the information for specifying the resource data is an identifier indicating a thumbnail image (“rsc = thmb”), but the information for specifying the resource data is , May be an identifier indicating the primary image. In this case, "rsc = thmb" of request URI504 becomes "rsc = pitm".
In the above embodiment, the
[実施形態2]
本発明の実施形態2を図11に基づいて説明する。
実施形態1では、クライアント装置200が、サムネイル画像に対応するオリジナル画像を取得するURIをサーバ装置300に生成させた。実施形態2では、クライアント装置200が管理データを取得し、取得した管理データからオリジナル画像を取得するURIをクライアン装置200自身で生成する場合を説明する。なお、以下の記載において、実施形態1と同様な構成や処理については、同じ参照番号を付ける。
本実施形態におけるシステム10の構成は実施形態1と同様であるので、説明は省略する。また、クライアント装置200、サーバ装置300および印刷装置400のハードウェア構成は実施形態1と同様であるので、説明は省略する。
[Embodiment 2]
In the first embodiment, the
Since the configuration of the
図11は、実施形態1の図5に対応する図であり、システム10内におけるクライアント装置200、サーバ装置300および印刷装置400の動作および処理の例を示すシーケンス図である。
まず、クライアント装置200は、サーバ装置300へファイル一覧取得リクエストを送信する(1101)。リクエスト1101には、ネットワーク上のファイル保管場所やファイル保管フォルダ等を指定する情報が含まれる。
サーバ装置300は、リクエスト1101に対するレスポンスをクライアント装置200に送信する(1102)。レスポンスは、リクエスト1101で指定されたネットワーク上のファイル保管場所やフォルダに格納・保管されているファイルの一覧情報を含む。
FIG. 11 is a diagram corresponding to FIG. 5 of the first embodiment, and is a sequence diagram showing an example of the operation and processing of the
First, the
The
クライアント装置200は、レスポンス1102に含まれるファイル一覧情報を表示部207に表示する(1103)。図11では、ファイル一覧情報をアプリケーション画面1103として示している。本アプリケーションは、ネットワーク100上にある画像ファイルを印刷装置400で印刷するためのソフトウェアであり、アプリケーション画面1103は印刷したい画像ファイルや取得したいデータを選択する画面である。アプリケーション画面1103には、ファイル一覧情報として、aaa.gif、bbb.heic、ccc.jpgの3つの画像ファイルが表示されている。本実施形態では、その中からHEIFファイルであるbbb.heicを選択するとする。HEIFファイルがクライアント装置200のユーザにより選択されると、プルダウンメニューに3つのリソースタイプ(プライマリ画像、サムネイル画像、管理データ)が表示される。本実施形態では、クライアント装置200のユーザは、プルダウンメニューから管理データを選択するとする。管理データを選択すると、プルダウンメニューの右横に別のプルダウンメニュー(ファイル形式を選択するためのプルダウンメニュー)が表示される。本実施形態では、クライアント装置200のユーザは、ファイル形式として、XMLを選択するとする。最後に、クライアント装置200のユーザは、OKボタンを選択する。OKボタンが選択されると、アプリケーションが、選択したメニューに応じてリクエストURI1104を生成する。
The
リクエストURI1104内のファイル名までを特定する情報については実施形態1と同様であるので説明は省略する。ファイル名特定情報に続くクエスチョンマーク“?”からのクエリストリングがリソースタイプとファイル形式を特定する情報となる。“rsc=meta”はリソースタイプが管理データであることを示す。つまり、リソースデータを指定する情報は、管理データを示す識別子である。それに続くアンパサンド“&”はクエリストリング内の区切り文字として機能する。“fmt=xml”はファイル形式としてXMLを指定する。リクエストURIの生成方法については実施形態1と同様のため説明は省略する。 Since the information for specifying the file name in the request URI1104 is the same as that in the first embodiment, the description thereof will be omitted. The query string from the question mark "?" Following the file name specific information is the information that identifies the resource type and file format. “Rsc = meta” indicates that the resource type is management data. That is, the information that specifies the resource data is an identifier that indicates the management data. The ampersand "&" that follows acts as a delimiter in the query string. "Fmt = xml" specifies XML as the file format. Since the method of generating the request URI is the same as that of the first embodiment, the description thereof will be omitted.
クライアント装置200は、生成したURI1104を用いてサーバ装置300へリクエストを送信する(1105)。サーバ装置300はリクエスト1105を受信すると、URIを解析し、bbb.heicの管理データ(MetaBox)をXMLに変換する。
符号1106は、bbb.heicファイルの管理データをmeta.xmlというXMLファイルに変換している様子を示す。サーバ装置300は変換したXMLファイルをレスポンス1107としてクライアント装置200に送信する。
The
符号1108は、クライアント装置200が受信したXMLファイル(レスポンス1107)を解析し、bbb.heicファイル内の画像アイテムを把握(認識)し、一覧として表示したアプリケーション画面を示す。つまり、クライアント装置200のCPU202は、管理データ(XMLファイル)に基づいて、画像ファイル(bbb.heicファイル)内の画像データを認識して、表示部207にアプリケーション画面1108を表示している。
アプリケーション画面1108には、一例として、3つの画像アイテム(アイテムID1~アイテムID3)と、そのうちのアイテムID1がプライマリ画像であることが表示されている。クライアント装置200のユーザは、印刷プレビューを見る画像アイテムを選択する。本実施形態では、一例として、クライアント装置200のユーザは、アイテムID1を選択し、符号化形式としてJPEGを選択し、解像度として960×540を選択するとする。当該選択が行われると、アプリケーションが第2のURI1109を生成する。URI1109では、“rsc=item1”で画像アイテムを指定し、“cdc=jpeg”でJPEGへの変換を指示し、“wdt=960,hgt=540”で解像度を指示する。なお、アイテムID1はプライマリ画像でもあるため、リソースデータを指定する情報は“rsc=pitm”でもよい。
As an example, the
クライアント装置200は、生成したURI1109をリクエストとしてサーバ装置300に送信し(1110)、画像データを要求する。URI1109は、画像アイテム取得リクエストURIであると言える。
サーバ装置300はリクエスト1110を受信すると、URI1109を解析する。符号1111は、URIを解析した結果、bbb.heic内のアイテムIDが1のHEVCで符号化された画像データをJPEG画像に変換すると共に解像度を960×540に変換する様子を示している。リサイズしてJPEG画像に変換された画像データは、サーバ装置300からクライアント装置200に送信される(1112)。
符号1113は、クライアント装置200が受信した画像データを印刷プレビュー画面として表示しているアプリケーション画面を示す。クライアント装置200のユーザが印刷ボタンを選択すると、クライアント装置200から画像データが印刷装置400に入力される(1114)。印刷装置400は、入力された画像データを印刷・出力する(1115)。
The
Upon receiving the
以上、本実施形態によれば、クライアント装置200は、ネットワーク上に存在するHEIFファイルおよびHEIFファイルに格納されたリソースデータを指定する情報をURIのクエリストリングに付与している(1104)。当該付与により、クライアント装置200は、リソースデータを個別に指定して取得することができる(1107)。また、クライアント装置200が管理データを解析できるので、クライアント装置200は、HEIFファイル内にどのようなデータが格納されているかを知ることができる(1108)。よって、クライアント装置200が自らリクエスト1110を生成してリソースデータを個別に指定して取得することができる(1112)。
As described above, according to the present embodiment, the
[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。この場合のプログラムとは、コンピュータ読取可能であり、実施形態において図示したフローチャートに対応したプログラムである。ASICは、Application Specific Integrated Circuit(特定用途向け集積回路)の略である。
[Other embodiments]
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions. The program in this case is a computer-readable program corresponding to the flowchart illustrated in the embodiment. ASIC is an abbreviation for Application Specific Integrated Circuit (Integrated Circuit for Specific Applications).
10…システム、100…ネットワーク、200…クライアント装置、300…サーバ装置、202…CPU、205…通信I/F、302…CPU、305…通信I/F、400…印刷装置、504…サムネイル画像取得リクエストURI、510…画像アイテム取得リクエストURI 10 ... System, 100 ... Network, 200 ... Client device, 300 ... Server device, 202 ... CPU, 205 ... Communication I / F, 302 ... CPU, 305 ... Communication I / F, 400 ... Printing device, 504 ... Thumbnail image acquisition Request URI, 510 ... Image item acquisition request URI
Claims (17)
前記画像ファイルを指定する情報と、前記画像ファイル内の前記リソースデータを指定する情報とを含むURI(Uniform Resource Identifier)を生成する生成手段と、
前記URIを前記他の装置に送信する送信手段と、を備え、
前記リソースデータは、前記画像データ又は前記画像データに付随する管理データを含むことを特徴とする通信装置。 A communication device that specifies resource data in an image file stored in another communication device or in an image file accessible to the other communication device.
A generation means for generating a URI (Uniform Resource Identifier) including information for designating the image file and information for designating the resource data in the image file.
A transmission means for transmitting the URI to the other device.
The resource data is a communication device including the image data or management data accompanying the image data.
前記通信装置は、前記管理データに基づいて、前記画像ファイル内に格納されている前記少なくとも1つの画像データを認識する認識手段をさらに備え、
前記生成手段は、前記認識手段によって認識した前記少なくとも1つの画像データの中から1つの画像データを指定する第2のURIを生成し、
前記送信手段は前記第2のURIを前記他の通信装置に送信することを特徴とする請求項2に記載の通信装置。 At least one image data is stored in the image file, and the image file contains at least one image data.
The communication device further includes a recognition means for recognizing at least one image data stored in the image file based on the management data.
The generation means generates a second URI that specifies one image data from the at least one image data recognized by the recognition means.
The communication device according to claim 2, wherein the transmission means transmits the second URI to the other communication device.
前記URIに含まれる前記画像ファイルを指定する情報から前記画像ファイルを特定し、前記リソースデータを指定する情報から当該画像ファイル内のリソースデータを特定する特定手段と、
前記特定手段によって特定された前記リソースデータを、前記特定手段によって特定された前記画像ファイルから抽出する抽出手段と、
抽出された前記リソースデータを前記他の通信装置に送信する送信手段と、
を備え、
前記リソースデータは、画像データ又は前記画像データに付随する管理データであり、前記画像ファイルは、自装置に格納されているか、自装置がアクセス可能な画像ファイルであることを特徴とする通信装置。 A receiving means for receiving a URI including information for designating an image file and information for specifying resource data in the image file from another communication device.
A specific means for specifying the image file from the information for specifying the image file included in the URI and specifying the resource data in the image file from the information for specifying the resource data.
An extraction means for extracting the resource data specified by the specific means from the image file specified by the specific means, and an extraction means.
A transmission means for transmitting the extracted resource data to the other communication device, and
Equipped with
The resource data is image data or management data accompanying the image data, and the image file is a communication device stored in the own device or an image file accessible by the own device.
前記特定手段は、前記URIに含まれるリソースデータの変換形式を指定する情報から変換形式を特定し、
前記変換手段は、前記抽出手段によって抽出したリソースデータを前記特定手段によって特定された変換形式に従って変換することを特徴とする請求項6に記載の通信装置。 Further provided with a conversion means for converting the resource data,
The specific means identifies the conversion format from the information that specifies the conversion format of the resource data included in the URI.
The communication device according to claim 6, wherein the conversion means converts the resource data extracted by the extraction means according to the conversion format specified by the specific means.
前記送信手段は、前記リソースデータを指定する情報がサムネイル画像を示す識別子である場合、前記サムネイル画像の画像データと、前記生成手段により生成したURIの情報とを前記他の通信装置に送信することを特徴とする請求項8に記載の通信装置。 The communication device further includes a generation means for generating a URI for acquiring the original image data corresponding to the thumbnail image when the information specifying the resource data is an identifier indicating a thumbnail image.
When the information specifying the resource data is an identifier indicating a thumbnail image, the transmission means transmits the image data of the thumbnail image and the information of the URI generated by the generation means to the other communication device. 8. The communication device according to claim 8.
前記送信手段は、前記リソースデータを指定する情報がサムネイル画像を示す識別子で且つ前記特定手段により特定された画像ファイル内にサムネイル画像が存在しない場合に、前記画像ファイル内に含まれる画像データを所定のサイズ又は比率でリサイズした画像データを前記他の通信装置に送信することを特徴とする請求項8または9に記載の通信装置。 The communication device further comprises resizing means for resizing the image data.
When the information for designating the resource data is an identifier indicating a thumbnail image and the thumbnail image does not exist in the image file specified by the specific means, the transmission means determines the image data included in the image file. The communication device according to claim 8 or 9, wherein the image data resized at the size or ratio of the above is transmitted to the other communication device.
前記管理データ内に記載されたアイテム識別子、
前記管理データ内に記載されたプロパティ情報、又は、
前記管理データを示す識別子であることを特徴とする請求項1~4、6、7のいずれか1項に記載の通信装置。 The information that specifies the resource data is
The item identifier described in the management data,
Property information described in the management data, or
The communication device according to any one of claims 1 to 4, 6 and 7, characterized in that it is an identifier indicating the management data.
画像データの符号化形式を示す識別子、
管理データのファイル形式を示す識別子、又は、
画像データのサイズを示す識別子であることを特徴とする請求項2、3、7又は8に記載の通信装置。 The information that specifies the conversion format is
An identifier indicating the encoding format of image data,
An identifier indicating the file format of management data, or
The communication device according to claim 2, 3, 7 or 8, which is an identifier indicating the size of image data.
前記画像ファイルを指定する情報と、前記画像ファイル内の前記リソースデータを指定する情報とを含むURIを生成するステップと、
前記URIを前記他の装置に送信するステップと、を有し、
前記リソースデータは、前記画像データ又は前記画像データに付随する管理データを含むことを特徴とする制御方法。 A method of controlling a communication device that specifies resource data in an image file stored in another communication device or in an image file accessible to the other communication device.
A step of generating a URI including information that specifies the image file and information that specifies the resource data in the image file.
With a step of transmitting the URI to the other device.
The control method, wherein the resource data includes the image data or management data accompanying the image data.
画像ファイルを指定する情報と、前記画像ファイル内のリソースデータを指定する情報とを含むURIを、他の通信装置から受信するステップと、
前記URIに含まれる前記画像ファイルを指定する情報から前記画像ファイルを特定し、前記リソースデータを指定する情報から当該画像ファイル内のリソースデータを特定するステップと、
前記特定するステップによって特定された前記リソースデータを、前記特定するステップによって特定された前記画像ファイルから抽出するステップと、
抽出された前記リソースデータを前記他の通信装置に送信するステップと、
を有し、
前記リソースデータは、画像データ又は前記画像データに付随する管理データであり、前記画像ファイルは、前記通信装置に格納されているか、前記通信装置がアクセス可能な画像ファイルであることを特徴とする制御方法。 It is a control method for communication devices.
A step of receiving a URI including information for designating an image file and information for specifying resource data in the image file from another communication device, and
A step of specifying the image file from the information for specifying the image file included in the URI and specifying the resource data in the image file from the information for specifying the resource data.
A step of extracting the resource data specified by the specific step from the image file specified by the specific step, and a step of extracting the resource data.
A step of transmitting the extracted resource data to the other communication device, and
Have,
The resource data is image data or management data accompanying the image data, and the control is characterized in that the image file is stored in the communication device or is an image file accessible to the communication device. Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020156205A JP2022049911A (en) | 2020-09-17 | 2020-09-17 | Communication device and method for controlling the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020156205A JP2022049911A (en) | 2020-09-17 | 2020-09-17 | Communication device and method for controlling the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022049911A true JP2022049911A (en) | 2022-03-30 |
Family
ID=80854140
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020156205A Pending JP2022049911A (en) | 2020-09-17 | 2020-09-17 | Communication device and method for controlling the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022049911A (en) |
-
2020
- 2020-09-17 JP JP2020156205A patent/JP2022049911A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9134932B2 (en) | User selection of a file format prior to a print preview | |
US9916117B2 (en) | Remote data access for image output apparatus via a control device | |
US9501246B2 (en) | Computer readable recording medium, information processing apparatus, and information processing method for displaying converted image data | |
KR101377468B1 (en) | Image processing apparatus, control method of image processing apparatus, and recording medium storing computer program | |
JP4576442B2 (en) | Image processing apparatus and user interface providing method | |
US10375267B2 (en) | Mediation server | |
JP2005149320A (en) | Image processing apparatus, control method therefor, and program | |
JP2011118627A (en) | Printing apparatus, printing method and printing program | |
JP5949098B2 (en) | Information processing apparatus, information processing program, and information processing method | |
JP2016200934A (en) | Image output system, image processing device, image output device and method and program thereof | |
JP5804749B2 (en) | Data processing apparatus, data processing method and program | |
JP6415202B2 (en) | Information processing apparatus, program, and control method | |
EP3012753A1 (en) | Acquisition of folder information from external services | |
JP2013168129A (en) | Information processing system, data providing device, electronic apparatus, information processing method, data providing method, data acquiring method, and program | |
JP5686129B2 (en) | Image forming apparatus, image forming system, control method thereof, and program | |
CN109246325B (en) | Printing apparatus, control method thereof, and storage medium | |
US9001366B2 (en) | Control device | |
JP2006135692A (en) | Image processing system, image processing apparatus, server, and program | |
JP2015064760A (en) | Image processing system, image processing method, and program | |
JP2008035224A (en) | Log information management system, log information management device, log information management method, log information management program, and storage medium | |
JP2022049911A (en) | Communication device and method for controlling the same | |
JP5800529B2 (en) | Image processing apparatus, image forming apparatus control method, and program | |
US10298686B2 (en) | Intermediate server, communication apparatus and computer program | |
JP2017136780A (en) | Image forming apparatus and method of controlling the same, support system for image forming apparatus and method of controlling the same, and program | |
JP2014029633A (en) | Information processing device and printing system |