JP2003179760A - Image processor and data cache method therefor - Google Patents

Image processor and data cache method therefor

Info

Publication number
JP2003179760A
JP2003179760A JP2002222021A JP2002222021A JP2003179760A JP 2003179760 A JP2003179760 A JP 2003179760A JP 2002222021 A JP2002222021 A JP 2002222021A JP 2002222021 A JP2002222021 A JP 2002222021A JP 2003179760 A JP2003179760 A JP 2003179760A
Authority
JP
Japan
Prior art keywords
data
file
dummy
packet
encoded data
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
JP2002222021A
Other languages
Japanese (ja)
Other versions
JP3768934B2 (en
Inventor
Chie Ishikawa
智恵 石川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002222021A priority Critical patent/JP3768934B2/en
Priority to US10/231,206 priority patent/US20030067627A1/en
Publication of JP2003179760A publication Critical patent/JP2003179760A/en
Application granted granted Critical
Publication of JP3768934B2 publication Critical patent/JP3768934B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor in which image data fragmented in a prescribed form are decoded and cached on the basis of that prescribed form and to provide a data cache method therefor. <P>SOLUTION: Before receiving encoded data, header data on an image are received from an external device (S602) and on the basis of these received header data, the quantity of tiles comprising the image and the quantity of encoded data required for comprising each of the tiles are calculated. Then, prescribed dummy encoded data in a quantity of the encoded data are set to each of the calculated tiles (S603) and among the set dummy encoded data, dummy encoded data corresponding to the encoded data actually received from the external device are replaced with the encoded data received from that external device (S606). <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、符号化された画像
データを送受して処理する画像処理装置及びそのデータ
キャッシュ方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for transmitting and receiving encoded image data for processing, and a data cache method thereof.

【0002】[0002]

【従来の技術】インターネットに接続可能なパーソナル
コンピュータ(以下、単にコンピュータと称する)等の
画像処理装置のユーザは、その装置が有するウエブブラ
ウザの機能を利用して、インターネット上のWWW(Wo
rld Wide Web)サーバにアクセスすることにより、各種
の文書データや画像データ等の閲覧を行なっている。
2. Description of the Related Art A user of an image processing apparatus such as a personal computer (hereinafter, simply referred to as a computer) capable of connecting to the Internet uses a function of a web browser of the apparatus to use a WWW (Wo) on the Internet.
rld Wide Web) Various document data and image data are browsed by accessing the server.

【0003】このようなウエブブラウザを利用した情報
の閲覧は、インターネット上において各種情報を公開す
るWWWサーバ(以下、単にサーバと称する場合があ
る)と、その情報を閲覧するコンピュータ(ユーザ端
末)等のクライアントとの間で行われ、クライアント側
において、ユーザは、ウエブブラウザを操作することに
よってサーバ上の情報を閲覧することができる。
To browse information using such a web browser, a WWW server (hereinafter sometimes simply referred to as a server) that publishes various information on the Internet, a computer (user terminal) that browses the information, etc. The client can browse the information on the server by operating the web browser on the client side.

【0004】このWWWサーバには、情報提供者がイン
ターネット上での公開を希望する各種の情報が、所謂、
ホームページといわれるHTML形式で記述された情報
で格納されており、その情報は、クライアント側のウエ
ブブラウザの機能により、クライアント側のコンピュー
タに表示される。またクライアント側のユーザは、ウエ
ブブラウザを操作することにより、ディスプレイに表示
されているホームページ内のリンクを辿ってユーザ所望
の情報を得ることができる。
In this WWW server, various kinds of information that the information provider desires to be disclosed on the Internet are so-called.
It is stored as information described in HTML format called a home page, and the information is displayed on the client side computer by the function of the web browser on the client side. Further, the user on the client side can obtain the information desired by the user by following the link in the home page displayed on the display by operating the web browser.

【0005】また、サーバにて管理されている各種のデ
ータファイルをクライアント側のコンピュータにダウン
ロードする方法として、File Transfer Protocol(以
下、FTPと略す)なる通信プロトコルを利用する方法
がある。このFTPは、通信ネットワークを介して、サ
ーバ上にあるファイルをクライアント側のコンピュータ
に転送する手順を規定している。
As a method of downloading various data files managed by the server to the computer on the client side, there is a method of using a communication protocol called File Transfer Protocol (hereinafter abbreviated as FTP). This FTP defines a procedure for transferring a file on a server to a computer on a client side via a communication network.

【0006】これに対して、上述したWWWサーバとウ
エブブラウザによってインターネット上で構成される情
報閲覧システムにおいては、Hyper Text Transfer Prot
ocol(以下、HTTPと略す)なる通信プロトコルを用
いて、サーバ/クライアント間の通信が行われており、
このHTTPは、以下のように動作する。
On the other hand, in the information browsing system constructed on the Internet by the above-mentioned WWW server and web browser, Hyper Text Transfer Prot.
Communication between the server / client is performed using a communication protocol called ocol (hereinafter abbreviated as HTTP),
This HTTP operates as follows.

【0007】例えば、クライアント側のユーザ端末でウ
エブブラウザを利用して、ユーザがあるホームページ内
のリンク情報が張られている部分をクリックすると、ウ
エブブラウザは、そのクリックされた部分のリンク情報
を解読すると共に、その解読結果に従って新しいURL
(Uniform Resource Locator)をオープンする。ここ
で、オープンとは、目的のサーバに対して、ドキュメン
ト情報の送信リクエストを発行することである。
For example, when the user uses a web browser on the user terminal on the client side and the user clicks on a portion of the homepage where the link information is provided, the web browser decodes the link information of the clicked portion. And a new URL according to the decryption result
Open (Uniform Resource Locator). Here, opening means issuing a document information transmission request to the target server.

【0008】この送信リクエストを受けたサーバは、そ
のリクエストに対応するドキュメント全体をクライアン
トに返す。この時、サーバから送られてくるドキュメン
トは、ヘッダ情報とドキュメント情報本体とからなり、
ウエブブラウザにてURLによって指定されたドキュメ
ント全部のデータであって、当該サーバからクライアン
ト側のコンピュータに一度に転送される文書データであ
る。
Upon receiving this transmission request, the server returns the entire document corresponding to the request to the client. At this time, the document sent from the server consists of header information and document information body,
It is the data of the entire document specified by the URL in the web browser, and is the document data that is transferred from the server to the computer on the client side at once.

【0009】この文書データを受信したクライアント側
のウエブブラウザは、まず、サーバから受信した文書デ
ータに含まれるヘッダ情報を解析する。具体的には、ヘ
ッダ情報に含まれるMIME−TYPEに従って、当該ヘッダ情
報に続くドキュメント情報を開くことが可能なアプリケ
ーションを特定する。その後、ウエブブラウザは、ユー
ザ端末に予めインストールされている、特定されたアプ
リケーションを起動し、このヘッダ情報の後に続くドキ
ュメント情報本体を、その起動したアプリケーションに
渡す。これにより、ウエブブラウザから受信した文書デ
ータ(ドキュメント)が、そのユーザ端末のディスプレ
イに表示され、ユーザによる閲覧が可能になる。
The web browser on the client side that receives the document data first analyzes the header information included in the document data received from the server. Specifically, according to the MIME-TYPE included in the header information, the application that can open the document information following the header information is specified. After that, the web browser activates the specified application preinstalled in the user terminal, and passes the document information body following this header information to the activated application. As a result, the document data (document) received from the web browser is displayed on the display of the user terminal and can be browsed by the user.

【0010】上述したようにHTTPでは、基本的にク
ライアント側からあるURLのオープン要求がサーバ側
に伝えられると、サーバ側では、そのURLで指定され
ている文書データ全体をクライアント側に送信する動作
が行われる。
As described above, in HTTP, basically, when an open request for a certain URL is transmitted from the client side to the server side, the server side sends the entire document data specified by the URL to the client side. Is done.

【0011】これに対して、上述したFTPでは、上記
のHTTPの場合と同様に、URLを利用してユーザが
所望するドキュメントが指定されるが、ここで指定され
るドキュメントは、サーバ内で管理されているファイル
である。よって、このサーバは、指定されたファイル全
体をクライアント側のコンピュータに転送し、クライア
ント側でファイルとして格納する。
On the other hand, in the above-mentioned FTP, the document desired by the user is designated by using the URL as in the case of the above-mentioned HTTP. The document designated here is managed in the server. It is a file that has been created. Therefore, this server transfers the entire designated file to the computer on the client side and stores it as a file on the client side.

【0012】[0012]

【発明が解決しようとする課題】上述したHTTPやF
TP等の通信プロトコルでは、サーバでファイルとして
管理されているドキュメントのうち、ダウンロード対象
のドキュメントを構成する全データが、ユーザ端末から
の送信リクエストに応じて、そのユーザ端末(コンピュ
ータ)に送信されることになる。このため、そのドキュ
メント内に含まれる、ある画像データファイルだけにア
クセスする等といった、あるドキュメントにおける部分
的なデータのアクセスを、ユーザ端末から行なうことが
できないという問題がある。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
In a communication protocol such as TP, among the documents managed as files by the server, all the data forming the document to be downloaded is transmitted to the user terminal (computer) in response to a transmission request from the user terminal. It will be. Therefore, there is a problem that partial data access in a document such as access to only a certain image data file contained in the document cannot be performed from the user terminal.

【0013】係る状況に対して、ユーザ端末において所
望の画像を表示するためのプロトコルとして、例えばFl
ashpix/IIPがある。このIIP(Internet Imaging Pro
tocol)は、Flashpixという画像データのファイルフォ
ーマットに最適なプロトコルになっており、画像データ
ファイルへの部分的なアクセスを実現している。但し、
このFlashpix/IIPにおいて、画像データに部分的にアク
セスできる単位は、Flashpixで定められたタイル単位で
ある。このFlashpixのタイルは、1つのタイルを構成す
る画像データ(圧縮されている場合を含む)のみで、そ
のタイルの画像データを復号(デコード)して再生でき
る構成になっている。このため、クライアント側のユー
ザ端末で起動される画像データのデコード及び表示用の
アプリケーションは、その受信したタイル画像データを
自装置内で一時的に保存(キャッシュ)しなくても、そ
のタイル単位で画像をデコードして表示できる。
For such a situation, as a protocol for displaying a desired image on the user terminal, for example, Fl
There is ashpix / IIP. This IIP (Internet Imaging Pro
tocol) is a protocol suitable for the file format of image data called Flashpix and realizes partial access to the image data file. However,
In this Flashpix / IIP, the unit that can partially access the image data is the tile unit defined in Flashpix. The tiles of this Flashpix are only the image data (including the case where they are compressed) that make up one tile, and the image data of that tile can be decoded and played back. Therefore, the application for decoding and displaying the image data activated on the user terminal on the client side does not need to temporarily store (cache) the received tile image data in its own device but in units of that tile. Images can be decoded and displayed.

【0014】また、近年においては、ISO/IEC-15444に
準拠したJPEG(Joint Photographic Experts Group)2000
方式の画像符号化の技術が提案されているが、インター
ネットを含む一般的な通信ネットワーク上に構成された
クライアント/サーバ環境において、上記のFlashpix/I
IPをJPEG2000方式に基づいて符号化された画像データ
(以下、符号化データ)にそのまま適用した場合、JPEG
2000方式における各スケイラビリティの符号化データ
は、そのスケイラビリティより1つ下のスケイラビリテ
ィのデータに基づく差分データとなる。
In recent years, JPEG (Joint Photographic Experts Group) 2000 conforming to ISO / IEC-15444
Although the image coding technology of the system has been proposed, the above Flashpix / I can be used in a client / server environment configured on a general communication network including the Internet.
If the IP is directly applied to the image data encoded based on the JPEG2000 system (hereinafter, encoded data), JPEG
The coded data of each scalability in the 2000 system is difference data based on the scalability data which is one level lower than the scalability.

【0015】従って、上述したようにFlashpixでは、1
つのタイルを構成する画像データのみで、そのタイルの
画像データをデコードできる構成になっているのに対し
て、JPEG2000方式に基づくデコードを行う場合には、ク
ライアント側のコンピュータ(ユーザ端末)では、今回
表示されるべき画像のスケイラビリティより下の符号化
データも必要になる。
Therefore, as described above, in Flashpix, 1
While the image data of the tile can be decoded only with the image data that makes up one tile, when decoding based on the JPEG2000 method, the client computer (user terminal) can Coded data below the scalability of the image to be displayed is also required.

【0016】また、JPEG2000方式に基づく符号化データ
をクライアント側のコンピュータでキャッシュする場
合、そのコンピュータは、サーバ側から部分的な符号化
データを受信することになるため、受信した複数の部分
的な符号化データを、1つの符号化データのデータファ
イルとして編成することができる。しかしながら、この
場合は、クライアント側での編集処理等が煩雑になり、
必要な機能を実現するソフトウエアのコストの低減が容
易でないという問題がある。
Further, when the computer on the client side caches the encoded data based on the JPEG2000 system, the computer receives partial encoded data from the server side. The encoded data can be organized as a data file of one encoded data. However, in this case, the editing process on the client side becomes complicated,
There is a problem in that it is not easy to reduce the cost of software that realizes the necessary functions.

【0017】また、サーバから受信した部分的な符号化
データを、クライアント側のコンピュータにおいて独自
形式のキャッシュファイルとして構成することも可能で
ある。しかしこのような場合には、クライアントにおい
て動作するJPEG2000方式のデコーダが、この独自形式の
キャッシュファイルを読み取る処理が複雑になるという
問題がある。
It is also possible to configure the partial encoded data received from the server as a cache file of a unique format in the computer on the client side. However, in such a case, there is a problem in that the JPEG2000 method decoder operating in the client complicates the process of reading the cache file of this unique format.

【0018】本発明は上記従来例に鑑みてなされたもの
で、所定形式で断片化された画像データを、その所定の
形式に基づいてデコードし、キャッシュする画像処理装
置とそのデータキャッシュ方法を提供することを目的と
する。
The present invention has been made in view of the above-mentioned conventional example, and provides an image processing apparatus and a data cache method for decoding and caching image data fragmented in a predetermined format based on the predetermined format. The purpose is to do.

【0019】[0019]

【課題を解決するための手段】上記目的を達成するため
に本発明の画像処理装置は以下のような構成を備える。
即ち、通信ネットワークを介して双方通信可能に接続さ
れた外部装置からユーザ所望の画像について所定形式で
断片化された符号化データを受信すると共にキャッシュ
する画像処理装置であって、前記符号化データの受信に
先立って、前記外部装置から前記画像に関するヘッダデ
ータを受信する受信手段と、前記受信手段により受信し
た前記ヘッダデータに基づいて、前記画像を構成するタ
イルの数量と、個々のタイルを構成するために必要な前
記符号化データの数量とを算出する算出手段と、前記算
出手段により算出されたタイルのそれぞれに対して、前
記符号化データの数量分だけ所定のダミー符号化データ
を設定するダミーデータ生成手段と、前記ダミーデータ
生成手段によって設定された前記ダミー符号化データの
うち、前記外部装置から実際に受信した前記符号化デー
タに対応するダミー符号化データを、前記外部装置から
受信した前記符号化データで置き換えるデータ置換手段
と、を有することを特徴とする。
In order to achieve the above object, the image processing apparatus of the present invention has the following configuration.
That is, an image processing device that receives and caches fragmented coded data of a user-desired image in a predetermined format from an external device that is communicably connected via a communication network. Prior to receiving, receiving means for receiving header data relating to the image from the external device, and based on the header data received by the receiving means, the number of tiles forming the image and individual tiles are formed. Calculation means for calculating the quantity of the coded data necessary for this purpose, and a dummy for setting a predetermined dummy coded data for each of the tiles calculated by the calculation means by the quantity of the coded data. Of the dummy coded data set by the data generating means and the dummy data generating means, the external device Indeed dummy coded data corresponding to the encoded data received, and having a data replacement means for replacing at the encoded data received from said external device from.

【0020】上記目的を達成するために本発明の画像処
理装置におけるデータキャッシュ方法は以下のような工
程を備える。即ち、通信ネットワークを介して双方通信
可能に接続された外部装置からユーザ所望の画像につい
て所定形式で断片化された符号化データを受信すると共
にキャッシュする画像処理装置におけるデータキャッシ
ュ方法であって、前記符号化データの受信に先立って、
前記外部装置から前記画像に関するヘッダデータを受信
する受信工程と、受信した前記ヘッダデータに基づい
て、前記画像を構成するタイルの数量と、個々のタイル
を構成するために必要な前記符号化データの数量とを算
出する算出工程と、前記算出工程で算出されたタイルの
それぞれに対して、前記符号化データの数量分だけ所定
のダミー符号化データを設定するダミーデータ生成工程
と、前記ダミーデータ生成工程で設定された前記ダミー
符号化データのうち、前記外部装置から実際に受信した
前記符号化データに対応するダミー符号化データを、前
記外部装置から受信した前記符号化データで置き換える
データ置換工程と、を有することを特徴とする。
In order to achieve the above object, the data cache method in the image processing apparatus of the present invention comprises the following steps. That is, a data cache method in an image processing apparatus for receiving and caching fragmented coded data in a predetermined format for an image desired by a user from an external apparatus connected to be able to communicate with each other via a communication network, Prior to receiving the encoded data,
A receiving step of receiving header data related to the image from the external device, the number of tiles forming the image based on the received header data, and the encoded data necessary to form each tile. A calculation step of calculating the quantity, a dummy data generation step of setting predetermined dummy coded data for each of the tiles calculated in the calculation step by the quantity of the coded data, and the dummy data generation A data replacement step of replacing dummy coded data corresponding to the coded data actually received from the external device among the dummy coded data set in the step with the coded data received from the external device; , Are included.

【0021】[0021]

【発明の実施の形態】以下、添付図面を参照して本発明
の好適な実施の形態を詳細に説明する。
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0022】<実施の形態1>図1は、本発明の実施の
形態1に係る画像処理装置としてのコンピュータ機器の
概略構成を示すブロック図である。
<First Embodiment> FIG. 1 is a block diagram showing the schematic arrangement of a computer device as an image processing apparatus according to the first embodiment of the present invention.

【0023】同図において、CPU101は、一次記憶
102に格納されたプログラムを実行して、このコンピ
ュータ機器全体の動作制御を行なう。本実施の形態にお
いて、一次記憶ユニット(以下、一次記憶と略称する)
102は、記憶媒体の一例として、主にメモリが想定さ
れ、二次記憶ユニット(以下、二次記憶と略称する)1
03に記憶されたプログラム等が読み込まれて格納され
る。この二次記憶103には、ハードディスク等の記憶
媒体を利用することができる。
In FIG. 1, a CPU 101 executes a program stored in a primary storage 102 to control the operation of the entire computer device. In this embodiment, a primary storage unit (hereinafter abbreviated as primary storage)
A memory 102 is mainly assumed as an example of a storage medium, and a secondary storage unit (hereinafter abbreviated as secondary storage) 1
The programs and the like stored in 03 are read and stored. A storage medium such as a hard disk can be used as the secondary storage 103.

【0024】一般に、一次記憶102に格納可能なデー
タ容量は、二次記憶103に格納可能なデータ容量より
も小さく、一次記憶102に格納しきれないプログラム
やデータ等は二次記憶103に格納される。また、長時
間記憶しておかなければならないデータ等も二次記憶1
03に格納される。本実施の形態では、このコンピュー
タ機器の動作制御処理が記述されたソフトウエア・プロ
グラムが二次記憶103に格納されており、係るソフト
ウエア・プログラムは、CPU101による実行に先立
って、一次記憶102に読み込まれる。
Generally, the data capacity that can be stored in the primary storage 102 is smaller than the data capacity that can be stored in the secondary storage 103, and programs and data that cannot be stored in the primary storage 102 are stored in the secondary storage 103. It In addition, the data that must be stored for a long time is stored in the secondary storage 1
It is stored in 03. In the present embodiment, the software program in which the operation control processing of the computer device is described is stored in the secondary storage 103, and the software program is stored in the primary storage 102 before being executed by the CPU 101. Is read.

【0025】入力デバイス104は、例えば、マウス等
の補助入力装置やキーボード等の入力装置であり、ユー
ザの操作をコンピュータに設定するために用いられる。
出力デバイス105は、例えば、モニタやプリンタ等で
ある。そして106は、外部装置との双方向の通信が可
能な通信インターフェースである。
The input device 104 is, for example, an auxiliary input device such as a mouse or an input device such as a keyboard, and is used to set a user's operation in the computer.
The output device 105 is, for example, a monitor or a printer. Reference numeral 106 denotes a communication interface capable of bidirectional communication with an external device.

【0026】図1に示すこれら各部は、内部バス107
によって相互にデータ転送可能に接続されており、CP
U101によるコンピュータ機器全体の動作制御を実現
している。
Each of these parts shown in FIG.
Are connected to each other so that data can be transferred.
The operation control of the entire computer equipment by U101 is realized.

【0027】本実施の形態に係る画像処理装置としての
コンピュータ機器の構成には、この他にも様々な形態が
考えられるが、現在では一般的なコンピュータ機器及び
その周辺デバイスを利用可能であり、本実施形態におけ
る詳細な説明は省略する。
Various other configurations are conceivable for the configuration of the computer equipment as the image processing apparatus according to the present embodiment, but at present, general computer equipment and its peripheral devices can be used. Detailed description in this embodiment is omitted.

【0028】図2は、本発明の実施の形態における通信
ネットワークの概略を示す図であり、所謂サーバ・クラ
イアント環境を示している。
FIG. 2 is a diagram showing an outline of the communication network in the embodiment of the present invention, and shows a so-called server / client environment.

【0029】同図において、201及び202は、クラ
イアントとしてのユーザ端末であり、個々のユーザ端末
は、図1を参照して上述した画像処理装置としてのコン
ピュータ機器(コンピュータシステム)である。ユーザ
端末201及び202とサーバ204とは、インターネ
ットを含む一般的な通信ネットワーク(以下、単にネッ
トワークと称する)203を介して、互いにデータ通信
を行なうことが可能である。
In the figure, 201 and 202 are user terminals as clients, and each user terminal is a computer device (computer system) as an image processing apparatus described above with reference to FIG. The user terminals 201 and 202 and the server 204 can perform data communication with each other via a general communication network (hereinafter, simply referred to as a network) 203 including the Internet.

【0030】サーバコンピュータ(以下、単にサーバと
称する)204は、画像ファイルを蓄積するハードディ
スク等の大容量の記憶装置205を備える。本実施の形
態において、記憶装置205には、JPEG2000符号化方式
に従って予め符号化された画像データが数多く格納され
ている。
The server computer (hereinafter, simply referred to as a server) 204 includes a large-capacity storage device 205 such as a hard disk for accumulating image files. In the present embodiment, the storage device 205 stores a large amount of image data previously encoded according to the JPEG2000 encoding method.

【0031】以下の説明では、JPEG2000符号化方式に従
って符号化された符号化画像データ(符号化データ)の
データファイルを、ユーザ端末201(202)でキャ
ッシュする方法を具体的な例に従って詳述する。本実施
の形態では、具体的に、ユーザ端末201(又は20
2)のユーザが、そのユーザ端末にて動作するウエブブ
ラウザを操作しながら、ネットワーク203を介して、
所望のホームページにアクセスすると共に、そのホーム
ページに含まれるJPEG2000方式の画像データへのリンク
部分をクリック(選択操作)することにより、その画像
データをユーザが所望するサイズや解像度で取得し、当
該ユーザ端末のディスプレイに表示する場合を例にして
説明する。
In the following description, a method of caching a data file of coded image data (coded data) coded according to the JPEG2000 coding method in the user terminal 201 (202) will be described in detail according to a concrete example. . In the present embodiment, specifically, the user terminal 201 (or 20)
The user of 2) operates the web browser operating on the user terminal and, through the network 203,
While accessing the desired homepage and clicking (selecting) the link to the image data of JPEG2000 format included in the homepage, the image data is acquired in the size and resolution desired by the user, and the user terminal concerned The case of displaying on the display will be described as an example.

【0032】ここで、本実施の形態に係るキャッシュ方
法の理解を容易にすべく、一般的なJPEG2000方式の符号
化データについて概説する。
Here, in order to facilitate understanding of the cache method according to the present embodiment, general JPEG2000 encoded data will be outlined.

【0033】図3は、JPEG2000方式の符号化データの構
成を示す図であり、Layer-resolution level-component
-position progression(以下、LRCPと記す)に従
って記録されたJPEG2000ファイル(JPEG2000方式の符号
化データファイル)の構造を示す。
FIG. 3 is a diagram showing the structure of JPEG2000 encoded data, which is a Layer-resolution level-component.
-A structure of a JPEG2000 file (encoded data file of JPEG2000 system) recorded according to a position progression (hereinafter, referred to as LRCP) is shown.

【0034】このLRCPに準じた場合、一般に、JPEG
2000ファイルは、各種の記憶媒体において、レイヤ/re
solution/コンポーネント(component)/位置(posit
ion)というデータブロックの順に記録される。このよ
うなデータブロックの並び方(配列)は、progression
order と呼ばれる。上記位置(position)の概念は、JPEG
2000符号化方式では「precinct」という技術の中で考慮
されており、ウェーブレット変換を施した後に得られる
各解像度の周波数成分において、異なる周波数成分であ
っても、レイヤ/resolution/コンポーネントが同種/
同レベルであれば、オリジナル画像において分割された
同じ小領域の位置を示すデータ群として連続的に並ぶ様
に配列される様になっている。
When this LRCP is applied, generally JPEG
2000 files are layer / re
solution / component / position (posit
Ion) are recorded in the order of the data blocks. The arrangement (array) of such data blocks is progress
called order. The concept of position above is JPEG
In the 2000 encoding method, it is considered in the technology called "precinct", and in the frequency components of each resolution obtained after performing the wavelet transform, even if the frequency components are different, the layer / resolution / component is the same type /
At the same level, a data group indicating the position of the same small area divided in the original image is arranged so as to be continuously arranged.

【0035】図4は、JPEG2000の解像度スケイラビリテ
ィを説明する図であり、解像度(画像サイズ)と、reso
lution番号との関係を示している。
FIG. 4 is a diagram for explaining the resolution scalability of JPEG2000. The resolution (image size) and the resolution are shown in FIG.
It shows the relationship with the solution number.

【0036】同図に示すように、最も小さい解像度の画
像のresolution番号を「0」とし、resolution番号が1
つ大きくなると、その画像サイズは幅と高さがそれぞれ
2倍になる。
As shown in the figure, the resolution number of the image with the smallest resolution is "0" and the resolution number is 1.
As the image size increases, the image size doubles in width and height.

【0037】また、図3に示す符号化データの構造にお
いて、レイヤ(Layer)番号に対応する各レイヤ内に
は、resolution番号の小さい順にデータが格納されてい
る。レイヤ番号は、復元されるべき画像の原画(元画
像)に対するS/N比に対応しており、レイヤ番号が小
さい画像ほど原画に対するS/N比が悪化する傾向を有
している。
Further, in the structure of the encoded data shown in FIG. 3, data is stored in each layer corresponding to the layer number in ascending order of the resolution number. The layer number corresponds to the S / N ratio of the image to be restored with respect to the original image (original image), and the smaller the layer number, the worse the S / N ratio with respect to the original image.

【0038】1つのJPEG2000ファイルにおいて、resolu
tion番号とレイヤ番号、並びにコンポーネント番号の最
大値は、JPEG2000方式に準拠したエンコーダによって予
め設定されており、それらパラメータは、符号化データ
に格納されている。各パケットは、そのパケット内に格
納されているコードブロック(code-block)の情報を管
理しているパケットヘッダ(packet header)部と、各
コードブロックの符号化データとから構成されている。
In one JPEG2000 file, resolu
The maximum value of the tion number, the layer number, and the component number are preset by an encoder conforming to the JPEG2000 system, and those parameters are stored in the encoded data. Each packet is composed of a packet header section that manages information of code blocks stored in the packet and encoded data of each code block.

【0039】[キャッシュファイルの作成]図3及び図
4に示すようなJPEG2000方式の符号化データを、本実施
の形態において以下に説明するキャッシュ手順に従っ
て、ユーザ端末201(202)においてファイルとし
て記憶すれば、サーバ204に存在する所望の画像に対
応する全ての符号化データを当該ユーザ端末に取得しな
くても、ユーザが必要な部分(解像度)の符号化データ
のみを当該サーバから受信して効率的に画像を閲覧する
ことが可能になる。
[Creation of Cache File] Coded data of the JPEG2000 system as shown in FIGS. 3 and 4 is stored as a file in the user terminal 201 (202) according to the cache procedure described below in this embodiment. For example, even if all the encoded data corresponding to the desired image existing in the server 204 is not acquired by the user terminal, only the encoded data of the portion (resolution) required by the user is received from the server and the efficiency is improved. It becomes possible to browse the image.

【0040】ユーザ端末における受信データの単位とし
ては、JPEG2000のパケット(パケット)、或いはパケッ
トよりも更に小さい符号化単位であるコードブロック単
位が考えられるが、本実施の形態では、ユーザ端末がサ
ーバ204から受信するデータ単位としてパケット単位
を想定する。
As a unit of the received data at the user terminal, a JPEG2000 packet (packet) or a code block unit which is an encoding unit smaller than the packet can be considered, but in the present embodiment, the user terminal is the server 204. Packet units are assumed as the data units received from.

【0041】図5は、本発明の実施の形態におけるサー
バ/クライアント間での通信プロトコルを説明する図で
あり、パケット単位のリクエスト及びレスポンスの概念
を示している。
FIG. 5 is a diagram for explaining the communication protocol between the server and the client according to the embodiment of the present invention, and shows the concept of request and response in packet units.

【0042】同図において、ユーザ端末201,202
は、ユーザによる選択操作に応じて、画像のタイル(Ti
le)番号、resolution level、レイヤ、コンポーネント
(component)、並びに位置(position)番号を指定し
て、対応する画像データをサーバ204に要求する。サ
ーバ204は、この要求を受信すると、記憶装置205
に格納されている画像データ503(図3に示すデータ
構造と同様である)のコードストリームを解析した後、
ユーザ端末より指定されたタイル番号、resolution lev
elとレイヤ、コンポーネント、位置番号に相当するパケ
ットデータを取り出し、その取り出したパケットデータ
を、ユーザ端末に送信する。以下、この一連の動作を実
現するユーザ端末の動作について説明する。
In the figure, user terminals 201 and 202
Responds to the image tile (Ti
le) number, resolution level, layer, component, and position number are specified to request the corresponding image data from the server 204. When the server 204 receives this request, the storage device 205
After analyzing the code stream of the image data 503 (similar to the data structure shown in FIG. 3) stored in
Tile number specified by the user terminal, resolution lev
The packet data corresponding to el, the layer, the component, and the position number is extracted, and the extracted packet data is transmitted to the user terminal. The operation of the user terminal that realizes this series of operations will be described below.

【0043】図3の例では、ユーザ端末からタイル1、
resolution 0、レイヤ0、コンポーネント0,位置0の
データが要求されており、これを含むタイル1のパケッ
ト0のデータがサーバ204からユーザ端末に返送され
ている。
In the example of FIG. 3, tile 1 from the user terminal,
Data of resolution 0, layer 0, component 0, position 0 is requested, and the data of packet 0 of tile 1 including this is returned from the server 204 to the user terminal.

【0044】図6は、本発明の実施の形態1乃至6に係
るユーザ端末(201又は202)における受信データ
のキャッシュ処理を示すフローチャートで、CPU10
1が実行するソフトウエア・プログラムに記述された手
順を示している。
FIG. 6 is a flow chart showing the cache processing of received data in the user terminal (201 or 202) according to the first to sixth embodiments of the present invention.
1 shows the procedure described in the software program executed by No. 1.

【0045】同図において、まずステップS601にお
いて、ユーザ端末はネットワーク203を介して、複数
の画像が格納されているサーバ204に対して、必要な
画像の名前と、その画像データのメインヘッダとを要求
する。次にステップS602に進み、ステップS601
の要求に対してサーバ204から送信されるパケットデ
ータのメインヘッダを受信したかを調べ、受信した場合
はステップS603に進み、このユーザ端末は、その受
信したメインヘッダに基づいて、図7に示すような画像
全体の情報及びキャッシュファイルを管理するためのフ
ァイル(以下、メインファイルと記す)701を作成
し、ステップS602で取得したメインヘッダを、メイ
ンファイル701の領域703に書き込む。
In the figure, first, in step S601, the user terminal sends the required image name and the main header of the image data to the server 204 storing a plurality of images via the network 203. Request. Next, the process proceeds to step S602 and step S601.
Request, the main header of the packet data transmitted from the server 204 is checked, and if it is received, the process proceeds to step S603, and this user terminal is shown in FIG. 7 based on the received main header. A file (hereinafter referred to as a main file) 701 for managing the information of the entire image and the cache file is created, and the main header acquired in step S602 is written in the area 703 of the main file 701.

【0046】即ち、ユーザ端末は、メインヘッダを受信
すると、ステップS603にて、図7に示すようなデー
タフォーマットを有する画像全体の情報を管理するメイ
ンファイル701を、二次記憶103の所望の領域(例
えばCドライブのTempフォルダ)内に、オリジナル画像
の名前を先頭に挿入したファイル名のファイルを作成す
べく、そのファイル名の入力操作を促す。例えば、ユー
ザが「image.jp2」ファイルを要求した場合、そのユー
ザ端末は、「image.iip2k」という名前のメインファイ
ル701を二次記憶103のフォルダ内に作成する
(尚、ステップS603における処理の詳細について
は、図9を参照して後述する)。
That is, when the user terminal receives the main header, in step S603, the main file 701 for managing the information of the entire image having the data format as shown in FIG. In order to create a file with the file name in which the name of the original image is inserted at the beginning in (Temp folder of C drive, for example), the input operation of the file name is prompted. For example, when the user requests the “image.jp2” file, the user terminal creates a main file 701 named “image.iip2k” in the folder of the secondary storage 103 (note that the process in step S603 is performed). Details will be described later with reference to FIG. 9).

【0047】次にステップS604に進み、ユーザ端末
におけるユーザの選択操作に応じて必要な画像の領域及
びresolution、レイヤ、コンポーネントを、ネットワー
ク203を介してサーバ204に要求する。このステッ
プS604におけるユーザの選択操作は、本願の主たる
目的であるキャッシュ方法の本質には関係ないので、そ
の説明を省略する。
Next, in step S 604, the server 204 is requested via the network 203 for the image area, resolution, layer, and component required according to the user's selection operation on the user terminal. The user's selection operation in step S604 has no relation to the essence of the cache method, which is the main purpose of the present application, and therefore its description is omitted.

【0048】これによりサーバ204は、ユーザ端末か
ら指示された画像部分を、JPEG2000方式のパケット単位
で、そのユーザ端末に送信する。
As a result, the server 204 transmits the image portion designated by the user terminal to the user terminal in JPEG2000 packet units.

【0049】そしてステップS605に進み、そのパケ
ット(packet)データを受信するとステップS606に
進み、その受信したパケットデータをファイルとして編
成し、ステップS603で作成したメインファイル70
1の当該パケットデータに関連する情報の記述部分を書
き換える(尚、ステップS606における処理の詳細に
ついては、図12を参照して後述する)。
Then, in step S605, when the packet data is received, the process proceeds to step S606, the received packet data is organized as a file, and the main file 70 created in step S603.
The description part of the information related to the packet data of 1 is rewritten (the details of the processing in step S606 will be described later with reference to FIG. 12).

【0050】次にステップS607に進み、更なる画像
データを要求する操作がユーザによって行われたかを判
断し、要求操作が検出された場合にはステップS604
に戻り、要求操作が検出されない場合にはリターンす
る。
Next, in step S607, it is determined whether or not an operation for requesting further image data is performed by the user, and if the requested operation is detected, step S604.
If the requested operation is not detected, the process returns.

【0051】図9は、本発明の実施の形態1におけるメ
インファイルの作成処理(ステップS603)を示すフ
ローチャートである。
FIG. 9 is a flowchart showing the main file creating process (step S603) in the first embodiment of the present invention.

【0052】同図において、ステップS901で、サー
バ204から受信したメインヘッダ(main header)を
解析することにより、原画像の高さと幅、最大解像度時
のタイルの高さと幅及びresolution level数、レイヤ
数、コンポーネント数、位置(position)数、progress
ion orderを取得する。次にステップS902に進み、
原画像の高さと幅、及び最大解像度時のタイルの高さと
幅に基づいて、タイル数を計算する。次にステップS9
03に進み、ステップS901で取得したresolution l
evel数、レイヤ数、コンポーネント数、並びに位置数に
基づいて、各タイルに含まれるパケット数を計算する。
次にステップS904に進み、JPEG2000方式の符号化デ
ータにおいて「zero length packet」であることを示す
1バイトの値「0」が入っているファイル(以下、ゼロ
レングス・パケットファイルと記す)を、ステップS9
03で得られた、各タイルに含まれるパケット数と同じ
数だけ作成する。例えば前述の「image.jp2」ファイル
のタイル番号が「0」、パケット番号が「2」のパケッ
トに対して、1バイトの値「0」が入った「image_tile
00000_pkt0002.iip2k」という名前のファイルが、メイ
ンファイル「image.iip2k」と同じCドライブのTempフ
ォルダ(C:/Temp/)に作成される。即ち、このステップ
904では、各パケットに対して、JPEG2000方式のビッ
トストリーム・シンタックスで規定されているゼロレン
グス・パケットを示す値(ダミー符号化データ)を持っ
たメインファイル701が作成されることになる。
In the figure, in step S901, by analyzing the main header received from the server 204, the height and width of the original image, the height and width of the tile at the maximum resolution, the number of resolution levels, the layer Number, number of components, number of positions, progress
Get ion order. Next, in step S902,
The number of tiles is calculated based on the height and width of the original image and the height and width of the tile at the maximum resolution. Next in step S9
03, the resolution l acquired in step S901
The number of packets included in each tile is calculated based on the number of evels, the number of layers, the number of components, and the number of positions.
Next, proceeding to step S904, the file containing a 1-byte value “0” indicating “zero length packet” in the encoded data of the JPEG2000 system (hereinafter referred to as a zero length packet file) S9
The same number as the number of packets included in each tile obtained in 03 is created. For example, for the packet whose tile number is "0" and packet number is "2" in the above-mentioned "image.jp2" file, "image_tile" containing a 1-byte value "0" is entered.
A file named "00000_pkt0002.iip2k" is created in the Temp folder (C: / Temp /) of the same C drive as the main file "image.iip2k". That is, in this step 904, for each packet, a main file 701 having a value (dummy encoded data) indicating a zero-length packet specified by the bitstream syntax of the JPEG2000 system is created. become.

【0053】次にステップS905に進み、ステップS
901にてメインヘッダを解析して得られたタイル数、
resolution level数、レイヤ数、コンポーネント数等の
原画像の基本情報、並びにメインヘッダのデータ長を、
画像管理情報として、メインファイル701の領域70
6に書き込む。尚、このメインファイル701の領域7
03には、受信したメインヘッダのデータが書き込まれ
る。
Next, the process proceeds to step S905 and step S905.
The number of tiles obtained by analyzing the main header in 901,
The basic information of the original image such as the number of resolution levels, the number of layers, and the number of components, as well as the data length of the main header,
The area 70 of the main file 701 is used as image management information.
Write to 6. Area 7 of this main file 701
In 03, the received data of the main header is written.

【0054】次にステップS906に進み、メインファ
イル701の領域702に、図7の右側に拡大して示す
ような、各タイルの基本情報を作成する(尚、このステ
ップS906の処理の詳細については、図10を参照し
て後述する)。次にステップS907に進み、ステップ
S906で作成した各タイルの基本情報を、メインファ
イル701の領域702に書き込んで、このメインファ
イルの作成処理を終了する。
Next, in step S906, basic information for each tile is created in the area 702 of the main file 701 as shown enlarged on the right side of FIG. 7 (note that the details of the processing in step S906 will be described below). , Which will be described later with reference to FIG. 10). Next, in step S907, the basic information of each tile created in step S906 is written in the area 702 of the main file 701, and the main file creation process ends.

【0055】図10は、本実施の形態1に係るタイル基
本情報の作成処理(ステップS906)を示すフローチ
ャートである。この図10に示すフローチャートは、メ
インファイル701の作成時にのみ行われる処理を示す
フローチャートであって、この処理は初期状態にのみ実
行される。尚、ステップS906では、図10に示すフ
ローチャートの動作が、タイル番号順に、タイル数分だ
け繰り返し行われることにより、図7に示すメインファ
イル701の領域702が作成される。またこの領域7
02の詳細構成は、図8に示すような構成である。
FIG. 10 is a flowchart showing the tile basic information creation processing (step S906) according to the first embodiment. The flowchart shown in FIG. 10 is a flowchart showing a process performed only when the main file 701 is created, and this process is executed only in the initial state. In step S906, the operation of the flowchart shown in FIG. 10 is repeated by the number of tiles in the order of tile numbers, so that the area 702 of the main file 701 shown in FIG. 7 is created. Also this area 7
The detailed configuration of 02 is as shown in FIG.

【0056】図10において、まずステップS1001
で、図9のステップS903で既に計算されている、各
タイルに含まれるパケット数を取得する。この時点にお
いて、ユーザ端末は、サーバ204から未だパケットデ
ータを受け取っておらず、上述したステップS904の
処理が実行されることにより、メインファイル701の
全てのパケットはゼロレングス・パケットである。そこ
で、ステップS1002では、各タイルのデータ長を、
(タイルヘッダの長さ)+(タイルに含まれるパケット
数)×1バイトにより算出する。
In FIG. 10, first, step S1001.
Then, the number of packets included in each tile, which has already been calculated in step S903 of FIG. 9, is acquired. At this point, the user terminal has not yet received the packet data from the server 204, and the processing of step S904 described above is executed, so that all the packets in the main file 701 are zero-length packets. Therefore, in step S1002, the data length of each tile is
It is calculated by (length of tile header) + (number of packets included in tile) × 1 byte.

【0057】例えば、タイルヘッダに含まれるマーカが
SOTマーカのみで、1タイルに36パケットが含まれて
いる場合、このタイルのデータ長は、14+1×36=
50[バイト]となる。
For example, if the marker included in the tile header is
If only one SOT marker is included in one tile and 36 packets are included, the data length of this tile is 14 + 1 × 36 =
It becomes 50 [bytes].

【0058】次にステップS1003に進み、タイルの
番号及びタイルのデータ長から、JPEG2000方式において
タイルのヘッダに含まれるべきSOTマーカが作成され
る。タイル番号が「0」、含まれるパケット数が「3
6」のタイルに対して作成されるSOTマーカの構成とそ
のデータサイズを図11に示す。
Next, in step S1003, a SOT marker to be included in the tile header in the JPEG2000 system is created from the tile number and tile data length. The tile number is "0" and the number of included packets is "3".
FIG. 11 shows the configuration of the SOT marker created for the “6” tile and its data size.

【0059】次にステップS1004に進み、メインフ
ァイル701に、タイルのデータ長804、タイル番号
805及び、そのタイルに含まれるパケット数806、
タイルが含むresolution数、レイヤ数、コンポーネント
数等を、タイルデータ管理用データ704に書き込む。
次にステップS1005に進み、メインファイル701
の領域705にタイルヘッダを書き込む。次にステップ
S1006に進み、パケット番号に「0」を設定し、以
後、パケットの番号順にステップS1007以下の処理
を繰り返し実行する。
Next, proceeding to step S1004, in the main file 701, the tile data length 804, tile number 805, and the number of packets 806 included in that tile,
The number of resolutions, the number of layers, the number of components, etc. included in the tile are written in the tile data management data 704.
Next, in step S1005, the main file 701.
The tile header is written in the area 705. Next, the process proceeds to step S1006, the packet number is set to "0", and thereafter, the processes from step S1007 onward are repeatedly executed in the order of packet numbers.

【0060】まずステップS1007では、原画像のpr
ogression order に従って、パケット番号に相当するre
solution level、レイヤ、コンポーネント、並びにposi
tion番号を特定する。次にステップS1008に進み、
注目するパケットのデータ長1と、このパケットデータ
に対応するゼロレングス・パケットファイルへのポイン
タ、resolution level、レイヤ、コンポーネント、posi
tion番号等の、当該注目するパケットを管理する際に必
要になる情報を、メインファイル701の領域702の
領域802に書き込む。このとき、ゼロレングス・パケ
ットファイルへのポインタとしては、例えばファイル名
「image_tile0000_pkt0002.iip2k」等、注目するパケッ
トのデータが入っているファイルを特定する値を領域8
03に書き込む。次にステップS1009に進み、注目
すべきパケットのパケット番号を一つ進め、ステップS
1010において、ステップS1007からの一連の処
理が、そのタイルに含まれる全てのパケットに対して行
われたかどうかを判断し、全てのパケットに関して終わ
ったと判断したらこの動作を終了する。例えば、パケッ
ト数が「36」の場合には、ステップS1009の後の
パケット番号が「36」だった場合は、このフローチャ
ートを終了する。つまり、初期状態では、サーバ204
の画像ファイルに含まれるパケットの数と同数のゼロレ
ングス・パケットデータを持つデータファイルがユーザ
端末にキャッシュされる。
First, in step S1007, pr of the original image
Re corresponding to the packet number according to the ogression order
solution level, layers, components, and posi
Specify the tion number. Next, in step S1008,
The data length 1 of the packet of interest, a pointer to the zero-length packet file corresponding to this packet data, resolution level, layer, component, posi
Information necessary for managing the packet of interest, such as an option number, is written in the area 802 of the area 702 of the main file 701. At this time, as the pointer to the zero-length packet file, for example, the file name “image_tile0000_pkt0002.iip2k” or the like is set to a value that specifies the file containing the data of the packet of interest in the area 8
Write in 03. Next, the process proceeds to step S1009, the packet number of the packet to be noted is incremented by 1, and step S1009 is performed.
In 1010, it is determined whether or not the series of processes from step S1007 has been performed on all the packets included in the tile, and if it is determined that all the packets have been completed, this operation ends. For example, if the number of packets is "36" and the packet number after step S1009 is "36", this flowchart ends. That is, in the initial state, the server 204
Data files having the same number of zero-length packet data as the number of packets included in the image file are cached in the user terminal.

【0061】ここまでの処理によって作成されたキャッ
シュファイルのデータ部分が、ユーザ端末のJPEG2000の
デコーダに対してシーケンシャルに送られると、画像デ
ータの基本的な情報である画像サイズ等は、そのままの
条件の値でデコード処理できる。つまりデコーダでは、
全てのパケットは「無い」状態であると判断され、デコ
ード可能である。
When the data portion of the cache file created by the processing up to this point is sequentially sent to the JPEG2000 decoder of the user terminal, the image size, which is the basic information of the image data, remains unchanged. It can be decoded with the value of. So in the decoder,
All the packets are judged to be in the “absent” state and can be decoded.

【0062】図12は、本発明の実施の形態1に係る、
図6のステップS606におけるメインファイル701
の上書き処理を示すフローチャートである。
FIG. 12 shows the first embodiment of the present invention.
The main file 701 in step S606 of FIG.
7 is a flowchart showing the overwriting process of FIG.

【0063】同図において、ステップS1201では、
受信したパケットデータを含むタイル番号とそのパケッ
トの番号とを取得する。例えば、図13に示すようなバ
イナリ形式のレスポンスデータが、サーバ204からユ
ーザ端末に送られてきた場合、TIdx(1301)、PIdx
(1302)は、それぞれ受信したパケットデータを含
むタイル番号とそのパケット番号を表しており、ステッ
プS1201ではこれらの値が利用される。このレスポ
ンスデータはバイナリ形式に限らず、XMLのようなテ
キスト形式でも可能である。ステップS1202では、
受信したパケットデータが書き込まれたファイルを、メ
インファイル701が作成されたフォルダと同一のフォ
ルダ内に作成する。例えば、「image.jp2」ファイルの
タイル番号が「0」、パケット番号が「2」のパケット
に対しては、上述した図9のステップS904におい
て、「image_tile00000_pkt0002.iip2k」という名前の
ゼロレングス・パケットファイルがCドライブのTempフ
ォルダに作成されているので、そのファイルは新たに受
信したパケットデータに書き換えられる。
In the figure, in step S1201,
The tile number including the received packet data and the packet number are acquired. For example, when the response data in the binary format as shown in FIG. 13 is sent from the server 204 to the user terminal, TIdx (1301), PIdx
(1302) represents the tile number including the received packet data and the packet number thereof, and these values are used in step S1201. The response data is not limited to the binary format, and may be a text format such as XML. In step S1202,
The file in which the received packet data is written is created in the same folder as the folder in which the main file 701 is created. For example, for the packet with the tile number “0” and the packet number “2” of the “image.jp2” file, the zero-length packet with the name “image_tile00000_pkt0002.iip2k” in step S904 of FIG. 9 described above. Since the file is created in the Temp folder of the C drive, the file is rewritten with the newly received packet data.

【0064】次にステップS1203以下の各ステップ
において、メインファイル701のこのパケット(注目
するパケット)に関する情報が書き換えられる。ステッ
プS1203では、メインファイル701の作成時に、
注目するパケットのデータ長として「1」を書き込んで
いた領域807を、サーバ204から実際に受信したパ
ケットデータのデータ長に書き直す。次にステップS1
204に進み、注目するパケットに対応するゼロレング
ス・パケットファイルを指し示すポインタ情報803
を、当該注目するパケットデータが入っているファイル
として、ステップS1202で作成されたファイルへの
ポインタ情報に書き換える。例えば、ファイルへのポイ
ンタ情報としてファイル名が書かれており、図9のステ
ップS904において、「image.jp2」ファイルのタイ
ル番号が「0」、パケット番号が「2」のパケットに対
して「image_tile00000_pkt0002.iip2k」という名前の
ゼロレングス・パケットファイルが作成されていて、図
12のステップS1202において、受信したパケット
データがそのファイルに上書きされた場合は、書き直す
必要はない。
Next, in each step after step S1203, the information regarding this packet (packet of interest) of the main file 701 is rewritten. In step S1203, when the main file 701 is created,
The area 807 in which “1” was written as the data length of the packet of interest is rewritten to the data length of the packet data actually received from the server 204. Next step S1
Proceeding to 204, pointer information 803 pointing to the zero-length packet file corresponding to the packet of interest
Is rewritten with pointer information to the file created in step S1202 as a file containing the packet data of interest. For example, a file name is written as pointer information to a file, and in step S904 of FIG. 9, a “image_tile00000_pkt0002” is assigned to a packet having a tile number “0” and a packet number “2” in the “image.jp2” file. If a zero-length packet file named ".iip2k" is created and the received packet data is overwritten in that file in step S1202 of FIG. 12, there is no need to rewrite.

【0065】次にステップS1205に進み、注目する
パケットが含まれているタイルのデータ長を新たに計算
し直し、図8の領域801で示されるメインファイル7
01のタイルのデータ長が記述された領域804を書き
換える。例えば、一度に1つのパケットデータしか更新
されないと仮定すると、今回新たに受信したパケットデ
ータのバイト数を512バイトとした場合、図8の領域
804のタイルデータ長は、ゼロレングス・パケットの
長さ「1」を引いて、新たに受け取ったバイト数「51
2」を足せばよいので、その値は「511」(=512
−1)に更新される。次にステップS1206に進み、
パケットデータが含まれるタイルのSOTマーカ705の
タイルデータ長を記述した部分、即ち図11におけるP
sot(1101)を、領域804に上書きした値で更新
する。
Next, proceeding to step S1205, the data length of the tile containing the packet of interest is newly recalculated, and the main file 7 shown in area 801 of FIG.
The area 804 in which the data length of the tile of 01 is described is rewritten. For example, assuming that only one packet data is updated at a time, if the number of bytes of the packet data newly received this time is 512 bytes, the tile data length of the area 804 in FIG. 8 is the length of the zero length packet. Subtract "1" to newly receive the number of bytes "51
Since it is sufficient to add "2", the value is "511" (= 512
-1) is updated. Next, in step S1206,
A portion in which the tile data length of the SOT marker 705 of the tile including the packet data is described, that is, P in FIG.
The sot (1101) is updated with the value overwritten in the area 804.

【0066】従って、例えばタイル数が「4」、各タイ
ル内のパケット数が「36」の場合、本実施の形態で
は、図14に示すようなファイルがユーザ端末のCドラ
イブのTempフォルダに作成される。図6のステップS6
03において、メインファイル701とゼロレングス・
パケットファイルをユーザが作成してからは、図14に
示されたキャッシュのファイル数(1+36×4=)1
45個と、ファイル名とは変更されない。
Therefore, for example, when the number of tiles is “4” and the number of packets in each tile is “36”, in the present embodiment, the files shown in FIG. 14 are created in the Temp folder of the C drive of the user terminal. To be done. Step S6 of FIG.
03, main file 701 and zero length
Since the user created the packet file, the number of files in the cache shown in FIG. 14 (1 + 36 × 4 =) 1
The file name of 45 is not changed.

【0067】上述した本実施の形態1に係るキャッシュ
方法をユーザ端末201(又は202)で実行すれば、
サーバ204に用意された全ての画像データ(差分符号
化データ)を受信しなくても、未受信部分のパケットデ
ータは、メインファイル701において、図9のステッ
プS904の処理においてゼロレングス・パケットデー
タとして埋められるので、JPEG2000の所定フォーマット
に準拠したストリームとして格納できる。従って、ユー
ザ端末では、データの一部を受け取った場合に、サーバ
204から受信したメインヘッダを書き換えることな
く、その作成したメインファイル701に含まれるメイ
ンヘッダ部分とタイルヘッダ部分とを、それぞれのパケ
ットデータのファイルとして1つのファイルにつなぎ合
わせることにより、一般的なJPEG2000デコーダでデコー
ド可能なファイルを当該ユーザ端末において容易に編成
することができる。
If the cache method according to the first embodiment described above is executed by the user terminal 201 (or 202),
Even if all the image data (differential encoded data) prepared in the server 204 is not received, the packet data of the unreceived portion is converted into zero length packet data in the process of step S904 of FIG. 9 in the main file 701. Since it is embedded, it can be stored as a stream conforming to the JPEG2000 predetermined format. Therefore, when a part of the data is received, the user terminal does not rewrite the main header received from the server 204, but rewrites the main header portion and the tile header portion included in the created main file 701 into the respective packets. By connecting one file as a data file, a file that can be decoded by a general JPEG2000 decoder can be easily organized in the user terminal.

【0068】<実施の形態2>上述した実施の形態1で
は、ユーザ端末201(又は202)が未だ受信してい
ないパケットに対して作成されるゼロレングス・パケッ
トファイルを、各パケット毎に作成していた。しかし、
このこのゼロレングス・パケットファイルのデータは全
て同じ値である。このため、1つの画像に対しては1つ
のゼロレングス・パケットファイルを作成し、パケット
データを受け取っていない全てのパケットがそのファイ
ルを参照するように構成しても良い。この場合、上述の
実施の形態1とは、図6で示したクライアント側(ユー
ザ端末)のキャッシュ作成処理を示すフローチャートの
ステップS603のメインファイル作成処理と、パケッ
トデータ受信後のステップS606でメインファイルを
書き換える処理とが異なる。本実施の形態2では、係る
構成について説明する。
<Second Preferred Embodiment> In the first preferred embodiment described above, a zero-length packet file created for a packet that the user terminal 201 (or 202) has not yet received is created for each packet. Was there. But,
The data of this zero-length packet file all have the same value. Therefore, one zero-length packet file may be created for one image, and all packets that have not received packet data may reference the file. In this case, the first embodiment described above is different from the first embodiment in the main file creation process of step S603 of the flowchart showing the client side (user terminal) cache creation process shown in FIG. Is different from the process of rewriting. In the second embodiment, such a configuration will be described.

【0069】図15は、本発明の実施の形態2に係るメ
インファイル701の作成処理を示すフローチャートで
あり、ステップS901乃至ステップS903、並びに
ステップS905及びステップS907の処理は、図9
を参照して説明した前述の実施の形態1における同一ス
テップ番号の処理構成と同じであるため、その説明を省
略する。
FIG. 15 is a flow chart showing the process of creating the main file 701 according to the second embodiment of the present invention. The processes of steps S901 to S903, and steps S905 and S907 are shown in FIG.
Since the processing configuration is the same as that of the same step number in Embodiment 1 described above with reference to FIG.

【0070】ステップS1504では、JPEG2000方式の
符号化データにおいてゼロレングス・パケットであるこ
とを示す1バイトの値「0」が入っているファイル、即
ち、ゼロレングス・パケットファイルを1つだけ作成す
る。例えば、「image.jp2」ファイルに対しては、「ima
ge_zero.iip2k」という名前のファイルが、メインファ
イル「image.iip2k」と同じCドライブのTempフォルダ
に作成される。即ち、1画像に対して1ファイルのゼロ
レングス・パケットが作成される。
In step S1504, a file containing a 1-byte value "0" indicating a zero-length packet in the encoded data of the JPEG2000 system, that is, only one zero-length packet file is created. For example, for the "image.jp2" file, "ima.
A file named "ge_zero.iip2k" is created in the Temp folder of the same C drive as the main file "image.iip2k". That is, one file of zero-length packet is created for one image.

【0071】そしてステップS1506では、図7に領
域702で示すような各タイルの基本情報を作成する
が、前述の実施の形態1において作成されたタイルの基
本情報の構成とは少々異なるので、図16を参照して説
明する。
Then, in step S1506, the basic information of each tile as shown by the area 702 in FIG. 7 is created. However, since it is a little different from the structure of the basic information of the tile created in the first embodiment, the figure This will be described with reference to 16.

【0072】図16は、本実施の形態2に係るタイル基
本情報の作成処理(ステップS1506)を示すフロー
チャートであり、ステップS1001乃至ステップS1
007、並びにステップS1009及びステップS10
10の処理は、図10を参照して説明した実施の形態1
における同一ステップ番号の処理構成と同じであるた
め、その説明を省略する。
FIG. 16 is a flowchart showing the tile basic information creation processing (step S1506) according to the second embodiment, and steps S1001 to S1.
007, and steps S1009 and S10
The process of 10 is the same as that of the first embodiment described with reference to FIG.
Since the processing configuration is the same as that of the same step number in step 1, description thereof will be omitted.

【0073】図16に示すフローチャートは、前述の実
施の形態1の場合と同様に、メインファイル701の作
成時にのみ実行される処理を示すフローチャートであっ
て、初期状態にのみ行われるフローチャートである。
The flowchart shown in FIG. 16 is a flowchart showing the processing executed only when the main file 701 is created, as in the case of the first embodiment, and is a flowchart executed only in the initial state.

【0074】図15のステップS1506では、図16
に示すフローチャートの動作が、タイル番号順に、タイ
ル数分だけ繰り返し行われることにより、図7に示すメ
インファイル701の領域702が作成される。また、
この領域702は、その内部において、図8に示すよう
な詳細な構成を有する。
In step S1506 of FIG. 15, FIG.
The operation of the flowchart shown in FIG. 7 is repeated for the number of tiles in the order of the tile numbers, so that the area 702 of the main file 701 shown in FIG. 7 is created. Also,
The area 702 has a detailed structure inside as shown in FIG.

【0075】ステップS1608では、注目するパケッ
トのデータ長1と、ゼロレングス・パケットファイルへ
のポインタ、resolution level、レイヤ、コンポーネン
ト、position番号等の、当該注目するパケットを管理す
る際に必要になる情報を、メインファイル701の領域
802に書き込む。このとき、ゼロレングス・パケット
ファイルへのポインタとして、例えば「image_zero.iip
2k」のようなファイル名等、そのパケットのデータが入
っているファイルを特定する値を領域803に書き込
む。
In step S1608, information necessary for managing the packet of interest, such as the data length 1 of the packet of interest, the pointer to the zero-length packet file, the resolution level, the layer, the component, and the position number. Is written in the area 802 of the main file 701. At this time, as a pointer to the zero length packet file, for example, "image_zero.iip
A value such as a file name such as “2k” that specifies the file containing the data of the packet is written in the area 803.

【0076】本実施の形態2では、上述したように、ゼ
ロレングス・パケットファイルを1つしか作成していな
いので、初期状態においては、メインファイル701に
書かれている全てのパケットデータファイルへのポイン
タ、即ち図8の領域803が指す示す先は「image_zer
o.iip2k」となる。
In the second embodiment, as described above, since only one zero length packet file is created, in the initial state, all the packet data files written in the main file 701 are written. The pointer, that is, the destination pointed to by the area 803 in FIG. 8 is “image_zer
o.iip2k ”.

【0077】次に、本実施の形態2におけるメインファ
イル701の上書き処理(図6のステップS606)に
ついて、図17を参照して説明する。
Next, the overwriting process (step S606 in FIG. 6) of the main file 701 in the second embodiment will be described with reference to FIG.

【0078】図17は、本発明の実施の形態2に係るメ
インファイルの上書き処理を示すフローチャートであ
り、ステップS1201乃至ステップS1203、並び
にステップS1205及びステップS1206の処理
は、図12を参照して説明した実施の形態1における同
一ステップ番号の処理構成と同じであるため、そのステ
ップの説明を省略する。
FIG. 17 is a flowchart showing the main file overwrite processing according to the second embodiment of the present invention. The processing of steps S1201 to S1203, and steps S1205 and S1206 will be described with reference to FIG. Since the processing configuration is the same as that of the same step number in Embodiment 1, the description of the step is omitted.

【0079】ステップS1704では、注目するパケッ
トのデータが入っているファイルとして、ゼロレングス
・パケットファイルを指し示していたポインタ803の
情報を、ステップS1202で作成されたファイルへの
ポインタ情報に書き換える。例えば、ポインタ803に
書き込まれていたファイル名「image_zero.iip2k」は、
新たに作成した「image_tile00000_pkt0002.iip2k」と
いうファイル名に書き換えられる。
In step S1704, the information of the pointer 803 pointing to the zero-length packet file as the file containing the data of the packet of interest is rewritten to the pointer information to the file created in step S1202. For example, the file name “image_zero.iip2k” written in the pointer 803 is
It is rewritten to the newly created file name "image_tile00000_pkt0002.iip2k".

【0080】本実施の形態2によって、ユーザ端末で作
成されるキャッシュファイルの構成を図18に示す。こ
のようなキャッシュファイルの構成を採ることにより、
初期状態ではメインファイル1801とゼロレングス・
パケットファイル1802の2つのファイルのみが作成
される。初期状態においては、メインファイル701の
パケットデータファイルを指し示すポインタ803に
は、全てのパケットにおいてゼロレングス・パケットフ
ァイル1802へのポインタ情報が書かれており、その
後、パケットデータをサーバ204から受信する度にフ
ァイルが増えていく。これにより、前述の実施の形態1
の手順と比較して、作成すべきファイルの数を削減する
ことができる。
FIG. 18 shows the structure of the cache file created by the user terminal according to the second embodiment. By adopting such a cache file configuration,
In the initial state, the main file 1801 and zero length
Only two files, packet file 1802, are created. In the initial state, the pointer 803 that points to the packet data file of the main file 701 has pointer information to the zero-length packet file 1802 written in all packets, and thereafter, every time packet data is received from the server 204. The number of files increases. As a result, the first embodiment described above
It is possible to reduce the number of files to be created as compared with the procedure of.

【0081】<実施の形態3>上述した実施の形態1及
び2では、ユーザ端末201(又は202)に未だ受信
していないパケットに対して作成される1バイトのゼロ
レングス・パケットファイルを作成していた。しかし、
まだ受信していないパケットデータであることを示す値
を、メインファイル701のパケットデータ管理部分8
02に明記しておき、ファイルを読み出す際に、1バイ
トの値「0」を返してもよい。従って本実施の形態3で
は、前述の実施の形態1及び2とは異なり、ゼロレング
ス・パケットファイルを作成しない方法について説明す
る。
<Third Embodiment> In the first and second embodiments described above, a 1-byte zero-length packet file created for a packet that has not yet been received by the user terminal 201 (or 202) is created. Was there. But,
The packet data management portion 8 of the main file 701 indicates the value indicating that the packet data has not been received yet.
02, the 1-byte value “0” may be returned when the file is read. Therefore, in the third embodiment, unlike the above-described first and second embodiments, a method of not creating a zero-length packet file will be described.

【0082】本実施の形態3に係る処理構成において、
実施の形態1及び2とは、図6に示すキャッシュ作成処
理を示すフローチャートのステップS603で行われる
メインファイル作成処理と、ステップS606で行われ
る受信パケットに関するデータを上書き処理とが異なる
構成となる。
In the processing configuration according to the third embodiment,
The first and second embodiments are different from each other in the main file creation process performed in step S603 of the flowchart showing the cache creation process shown in FIG. 6 and the data overwrite process of the received packet performed in step S606.

【0083】図19は、本発明の実施の形態3に係るメ
インファイル701の作成処理(図6のS603に相
当)を示すフローチャートであり、ステップS901乃
至ステップS903、並びにステップS905及びステ
ップS907の処理は、図9を参照して前述した実施の
形態1における同一ステップ番号の処理構成と同じであ
るため、その説明を省略する。
FIG. 19 is a flow chart showing the process of creating the main file 701 (corresponding to S603 in FIG. 6) according to the third embodiment of the present invention. The process of steps S901 to S903, and steps S905 and S907. 9 is the same as the processing configuration of the same step number in the first embodiment described above with reference to FIG. 9, and therefore description thereof will be omitted.

【0084】つまり、本実施の形態3におけるメインフ
ァイルの作成処理では、図9のステップS904、即
ち、受信していないパケットに関するゼロレングス・パ
ケットファイルを作成するステップを行う必要がない。
また、この処理構成に対応して、本実施の形態3では、
図19のステップS1906において作成されるタイル
基本情報は、前述の実施の形態1や2の場合と異なる。
そこで、本実施の形態3におけるタイル基本情報の作成
処理について、図20を参照して説明する。
That is, in the main file creating process according to the third embodiment, there is no need to perform step S904 in FIG. 9, that is, the step of creating a zero-length packet file for a packet that has not been received.
Further, in response to this processing configuration, in the third embodiment,
The tile basic information created in step S1906 in FIG. 19 is different from that in the above-described first and second embodiments.
Therefore, a process of creating tile basic information according to the third embodiment will be described with reference to FIG.

【0085】図20は、本実施の形態3に係るタイル基
本情報の作成処理(S1906)を示すフローチャート
であり、ステップS101乃至ステップS1007、並
びにステップS1009及びステップS1010の処理
は、図10を参照して説明した前述の実施の形態1にお
ける同一ステップ番号の処理構成と同じであるため、そ
の説明を省略する。
FIG. 20 is a flow chart showing the tile basic information creation processing (S1906) according to the third embodiment. For the processing of steps S101 to S1007 and steps S1009 and S1010, refer to FIG. Since it is the same as the processing configuration of the same step number in the above-described first embodiment described above, the description thereof will be omitted.

【0086】ステップS2008では、注目するパケッ
トのデータ長1と、このパケットがゼロレングス・パケ
ットであることを示す値、resolution level、レイヤ、
コンポーネント、position番号等の、当該注目するパケ
ットを管理する際に必要になる情報を、メインファイル
701の領域802に書き込む。このゼロレングス・パ
ケットファイルであることを指し示す値としては、例え
ば、NULL等の値を803に書き込めばよい。
In step S2008, the data length 1 of the packet of interest, a value indicating that this packet is a zero-length packet, resolution level, layer,
Information necessary for managing the packet of interest, such as the component and the position number, is written in the area 802 of the main file 701. As a value indicating that this is a zero-length packet file, for example, a value such as NULL may be written in 803.

【0087】本実施の形態3では、ゼロレングス・パケ
ットに対するファイルが作成されないので、図20に示
すフローチャートの処理を終了するに際して、初期状態
においては、メインファイル701だけがユーザ端末で
作成される。
In the third embodiment, since no file is created for the zero length packet, only the main file 701 is created in the user terminal in the initial state when the processing of the flowchart shown in FIG. 20 is finished.

【0088】ここまでの処理によって作成されたキャッ
シュファイル中のデータ部分と、各パケットに対応する
値「0」とが、メインファイル701の記述に従って、
JPEG2000のデコーダに対してシーケンシャルに送られる
と、画像データの基本的な情報である画像サイズ等は、
そのままの条件でデコード処理できる。つまり、デコー
ダでは、全てのパケットは「無い」状態であると判断さ
れ、デコード可能である。
According to the description of the main file 701, the data portion in the cache file created by the processing up to this point and the value “0” corresponding to each packet are
When sent sequentially to the JPEG2000 decoder, the image size, which is the basic information of the image data,
Decoding can be performed under the same conditions. That is, in the decoder, all the packets are judged to be in the “absent” state and can be decoded.

【0089】図21は、本実施の形態3に係るメインフ
ァイルの上書き処理(S606)を示すフローチャート
であり、ステップS1201乃至ステップS1203、
並びにステップS1205及びステップS1206の処
理は、図12を参照して説明した前述の実施の形態1に
おける同一ステップ番号の処理と同じであるため、その
説明を省略する。
FIG. 21 is a flowchart showing the main file overwrite processing (S606) according to the third embodiment. Steps S1201 to S1203,
Also, since the processes of steps S1205 and S1206 are the same as the processes of the same step numbers in the above-described first embodiment described with reference to FIG. 12, the description thereof will be omitted.

【0090】ステップS2104では、注目するパケッ
トがゼロレングス・パケットであることを示す値が入っ
ていた領域803を、ステップS1202で作成された
ファイルへのポインタ情報に書き換える。例えば、ゼロ
レングス・パケットであることを示す値NULLが書か
れていた領域803は、「image_tile00000_pkt0002.ii
p2k」という名前に書き換えられる。
In step S2104, the area 803 containing the value indicating that the packet of interest is a zero-length packet is rewritten with the pointer information to the file created in step S1202. For example, the area 803 in which the value NULL indicating that the packet is a zero-length packet is written is “image_tile00000_pkt0002.ii.
It is rewritten as the name "p2k".

【0091】このようなキャッシュ方法がユーザ端末に
おいて行なわれる本実施の形態3によれば、メインファ
イル701と、受信したパケットデータのファイルとだ
けが作成されるので、前述の実施の形態1及び2と比較
して、作成すべきファイル数を削減することができる。
According to the third embodiment in which such a caching method is performed in the user terminal, only the main file 701 and the file of the received packet data are created, so that the first and second embodiments described above are performed. It is possible to reduce the number of files to be created compared to.

【0092】<実施の形態4>上述した実施の形態1乃
至3では、全てのファイルを、同一フォルダの下に作成
していた。しかしながら、サーバ204から受信するパ
ケット数が多い場合には、それらパケットを、複数のフ
ォルダに分散して管理しても良い。
<Fourth Embodiment> In the first to third embodiments described above, all files are created under the same folder. However, when the number of packets received from the server 204 is large, those packets may be distributed and managed in a plurality of folders.

【0093】図22は、本発明の実施の形態4に係る、
パケットデータをタイル毎にフォルダに保存する例を説
明する図であり、この例では、同一タイルに含まれるパ
ケットデータのファイルが、同じフォルダ内に保存され
る。
FIG. 22 shows the fourth embodiment of the present invention.
It is a figure explaining the example which saves packet data in a folder for every tile. In this example, the file of the packet data contained in the same tile is saved in the same folder.

【0094】図22において、オリジナル(原画像)で
ある画像2201が4つのタイルに分割されている。サ
ーバ204は、ユーザ端末から受信した要求に応じて、
画像データからパケットデータ2202だけを抜き出
し、そのパケットデータ2202を当該ユーザ端末に送
る。そして、このユーザ端末は、各タイルのために4つ
のフォルダ2203,2204,2205,2206を
用意し、サーバ204から受信したパケットデータに対
応するフォルダに、そのパケットデータから作成された
パケットデータファイルを保存する。
In FIG. 22, the original image 2201 is divided into four tiles. The server 204 responds to the request received from the user terminal by
Only the packet data 2202 is extracted from the image data and the packet data 2202 is sent to the user terminal. Then, this user terminal prepares four folders 2203, 2204, 2205, and 2206 for each tile, and stores the packet data file created from the packet data in the folder corresponding to the packet data received from the server 204. save.

【0095】本実施の形態4が上述した実施の形態1乃
至3と異なるのは、ユーザ端末がサーバ204から受信
したデータをキャッシュする動作処理(図6)における
ステップS603の処理である。
The difference of the fourth embodiment from the above-described first to third embodiments is the process of step S603 in the operation process (FIG. 6) of caching the data received from the server 204 by the user terminal.

【0096】図23は、本実施の形態4に係る、メイン
ファイル701の作成処理(S603)を示すフローチ
ャートで、ステップS901乃至ステップS903、並
びにステップS904乃至ステップS907の処理は、
図9を参照して説明した前述の実施の形態1における同
一ステップ番号の処理構成と同じであるため、その説明
を省略する。
FIG. 23 is a flow chart showing the main file 701 creation processing (S603) according to the fourth embodiment. The processing of steps S901 to S903 and steps S904 to S907 is as follows.
Since the processing configuration is the same as that of the same step number in the first embodiment described with reference to FIG. 9, description thereof will be omitted.

【0097】ステップS2301では、ステップS90
3で得られたパケット数が所定数を超えているかを判断
することにより、タイル毎にフォルダを作成するか否か
を判断する。この判断は、必ずタイル毎のフォルダを作
るというシステムならば必要ないが、例えば、ユーザ端
末のCPU101の処理能力を表わす情報に基づいて、
1つのフォルダで無理なく扱えるファイル数(閾値)を
判断し、その閾値以上のパケット数がある場合にはタイ
ル毎にフォルダを作る。この閾値を得る方法としては様
々な方法が考えられるが、本願の特徴ではないので説明
を省略する。
In step S2301, step S90
By determining whether the number of packets obtained in 3 exceeds a predetermined number, it is determined whether or not to create a folder for each tile. This determination is not necessary if the system always creates a folder for each tile, but for example, based on the information indicating the processing capacity of the CPU 101 of the user terminal,
The number of files (threshold value) that can be handled with ease in one folder is determined, and if there are more packets than the threshold value, a folder is created for each tile. Various methods are conceivable as a method of obtaining this threshold value, but the description thereof is omitted because it is not a feature of the present application.

【0098】ステップS2301においてタイル毎のフ
ォルダは作らないと判断した場合はステップS904に
進む。一方、ステップS2301でタイル毎にフォルダ
を作成すると判断した場合はステップS2302に進
み、ユーザ端末は、タイル数だけフォルダを作成する。
例えば、「image.jp2」ファイルが50個のタイルに分
割されている場合、「image_tile0000」から「image_ti
le0049」という名前のフォルダが、メインファイル「im
age.iip2k」と同じ、CドライブのTempフォルダに作成
される。
If it is determined in step S2301 that a folder for each tile is not created, the process advances to step S904. On the other hand, if it is determined in step S2301 that a folder is created for each tile, the process advances to step S2302, and the user terminal creates folders by the number of tiles.
For example, if the "image.jp2" file is divided into 50 tiles, "image_tile0000" to "image_ti"
The folder named "le0049" is the main file "im
It is created in the Temp folder of C drive, the same as "age.iip2k".

【0099】本実施の形態4では、各パケットに対応す
るゼロレングス・パケットファイルがそれぞれのフォル
ダ内に作成される。このため、図23のステップS90
6において作成されるタイル基本情報の詳細な手順は、
前述の実施の形態1におけるタイル基本情報の作成処理
(図10)と同様である。この場合、各パケットファイ
ルを指し示すポインタ情報、即ちメインファイル701
の領域803には、ファイル名、例えば「image_tile00
00_pkt0002.iip2k」というファイル名が書き込まれても
良いし、パスも含めて「C:/Temp/image_tile0000/image
_tile0000_pkt0002.iip2k」が書き込まれても良い。
In the fourth embodiment, a zero length packet file corresponding to each packet is created in each folder. Therefore, step S90 in FIG.
The detailed procedure of the tile basic information created in 6 is
This is the same as the tile basic information creation process (FIG. 10) in the first embodiment. In this case, pointer information indicating each packet file, that is, the main file 701
In the area 803 of, a file name, for example, “image_tile00
The file name "00_pkt0002.iip2k" may be written, and the path including "C: / Temp / image_tile0000 / image"
"_tile0000_pkt0002.iip2k" may be written.

【0100】図24は、本実施の形態4に係るキャッシ
ュファイルの構成を示す概念図である。
FIG. 24 is a conceptual diagram showing the structure of the cache file according to the fourth embodiment.

【0101】また本実施の形態4では、各パケットに1
つのゼロレングス・パケットファイルが作成される実施
の形態1と同様の方法のみを記述したが、前述の実施の
形態2のように1つのゼロレングス・パケットファイル
を作成する方法、或いは実施の形態3のように、ゼロレ
ングス・パケットファイルを一切作らずに、ゼロレング
ス・パケットであることを示す値、例えばNULLを、
メインファイル701の領域803に書き込む方法によ
っても実現できる。また前述の実施の形態2と同様に、
1つのゼロレングス・パケットファイルを作成する場
合、そのファイルは、メインファイル701と同じフォ
ルダ内、例えばCドライブのTempフォルダに作成すれば
よい。
In the fourth embodiment, 1 is set for each packet.
Although only the method similar to that of the first embodiment in which one zero-length packet file is created is described, the method of creating one zero-length packet file as in the above-described second embodiment, or the third embodiment. , A value indicating that the packet is a zero-length packet, such as NULL, is created without creating a zero-length packet file at all.
It can also be realized by a method of writing in the area 803 of the main file 701. Further, as in the second embodiment described above,
When creating one zero-length packet file, the file may be created in the same folder as the main file 701, for example, in the Temp folder of the C drive.

【0102】更に、ユーザ端末において複数画像を扱う
可能性がある場合には、画像毎にフォルダを作成しても
良い。例えば、図25に示すようにCドライブのTempフ
ォルダに画像別のフォルダを作り、更に、そのフォルダ
をタイル毎のフォルダに分けてもよい。画像別のフォル
ダの下は、上述した実施の形態1乃至4で説明したキャ
ッシュファイルの作り方が可能である。
Further, when there is a possibility that a user terminal handles a plurality of images, a folder may be created for each image. For example, as shown in FIG. 25, a folder for each image may be created in the Temp folder of the C drive, and the folder may be further divided into folders for each tile. Under the image-specific folder, it is possible to create the cache file described in the first to fourth embodiments.

【0103】このように本実施の形態4によれば、キャ
ッシュファイルは複数のパケットデータファイルから構
成されるが、タイル毎にフォルダに分割することによ
り、1つのフォルダ内で作成されるファイル数を制限す
ることができるため、ファイルの作成、削除等のユーザ
端末のOS(オペレーションシステム)に依存する処理
を、上述した他の実施の形態と比較して迅速に行うこと
ができるという利点がある。
As described above, according to the fourth embodiment, the cache file is composed of a plurality of packet data files. However, by dividing each tile into folders, the number of files created in one folder can be reduced. Since it can be restricted, there is an advantage that processing depending on the OS (operating system) of the user terminal, such as file creation and deletion, can be performed more quickly than in the other embodiments described above.

【0104】<実施の形態5>本実施の形態では、上述
した実施の形態1,2,4において作成されたキャッシ
ュファイルを読み出す方法について、図面を用いて具体
的に説明する。
<Fifth Embodiment> In the present embodiment, a method of reading the cache file created in the above-described first, second, and fourth embodiments will be specifically described with reference to the drawings.

【0105】図26は、ユーザ端末においてキャッシュ
ファイルを読み出す処理を示すフローチャートであり、
上述した実施の形態1,2,4において、ユーザ端末に
作成されたキャッシュファイルを読み出す処理の詳細を
示す。
FIG. 26 is a flow chart showing the process of reading a cache file in the user terminal.
The details of the processing for reading the cache file created in the user terminal in the above-described first, second, and fourth embodiments will be described.

【0106】まずステップS2601で、図6のステッ
プS603で作成されたメインファイル701をオープ
ンする。例えば、「image.jp2」に対して、Cドライブ
のTempフォルダに「image.iip2k」というファイル名の
メインファイルが作成された場合には、「C:/Temp/imag
e.iip2k」が開かれる。次にステップS2602に進
み、読み出し対象のデータがメインヘッダのデータであ
るかどうかを判断する。ここでメインヘッダを読まない
と判断した時はステップS2604に進むが、メインヘ
ッダを読むと判断した場合はステップS2603に進
み、メインファイル701の、サーバ204から取得し
たメインヘッダのデータがそのまま書き込まれた領域7
03にファイルポインタを移動すると共に、そのメイン
ヘッダのデータを読み出す。そしてステップS2604
では、読み出し対象のデータがタイルヘッダのデータな
のかを判断する。ここでタイルヘッダのデータを読み出
すと判断した場合は、ステップS2605に進む。タイ
ルヘッダのデータは読み出さないと判断した場合は、ス
テップS2606に進む。
First, in step S2601, the main file 701 created in step S603 of FIG. 6 is opened. For example, if a main file with the file name "image.iip2k" is created in the Temp folder of the C drive for "image.jp2", "C: / Temp / imag
e.iip2k "is opened. Next, proceeding to step S2602, it is determined whether the data to be read is main header data. If it is determined that the main header is not read here, the process proceeds to step S2604, but if it is determined that the main header is read, the process proceeds to step S2603, and the main header data of the main file 701 acquired from the server 204 is written as it is. Area 7
The file pointer is moved to 03 and the data of the main header is read. And step S2604
Then, it is determined whether the data to be read is tile header data. If it is determined that the tile header data is read out, the process advances to step S2605. If it is determined that the tile header data is not read, the process advances to step S2606.

【0107】ステップS2605では、メインファイル
701の、読み出し対象のタイルヘッダ705が記述さ
れている部分にファイルポインタを移動させて、そのタ
イルヘッダのデータを読む。
In step S2605, the file pointer is moved to the portion of the main file 701 where the tile header 705 to be read is described, and the tile header data is read.

【0108】ここで例えば、ステップS2605におい
て、タイル番号が「0」から始まっていて、読み出し対
象のタイルヘッダがタイル番号1のヘッダの場合には、
図7に示すメインファイル701の先頭から、画像情報
706及びメインヘッダデータ703、及びタイル番号
0に関するデータ702を読み飛ばした先に格納されて
いるところの、タイル番号1のタイルに関するデータ7
02の先頭にファイルポインタを移動し、更に、その中
のタイルデータの管理用データ704の次にあるタイル
ヘッダデータ705の先頭にファイルポインタを移動さ
せ、その後、そのタイルヘッダ705のデータを読み出
す。
Here, for example, in step S2605, when the tile number starts from “0” and the tile header to be read is the header of tile number 1,
Data 7 regarding the tile of tile number 1 that is stored after the image information 706, main header data 703, and data 702 regarding tile number 0 are skipped from the beginning of the main file 701 shown in FIG.
02, the file pointer is moved to the beginning of the tile header data 705 next to the management data 704 of the tile data therein, and then the data of the tile header 705 is read.

【0109】次にステップS2606に進み、読み出し
対象のデータがパケットデータであるかを判断する。こ
こでパケットデータを読み出すと判断した場合にはステ
ップS2607に進み、パケットデータを読み出さない
と判断した場合はステップS2608へ進む。ステップ
S2607では、読み出し対象のパケットのデータが格
納されているパケットファイルからデータを読み出す
(尚、ステップS2607の詳細については、図27を
参照して後述する)。
Next, in step S2606, it is determined whether the data to be read is packet data. Here, if it is determined that the packet data is read, the process proceeds to step S2607, and if it is determined that the packet data is not read, the process proceeds to step S2608. In step S2607, the data is read from the packet file in which the data of the packet to be read is stored (the details of step S2607 will be described later with reference to FIG. 27).

【0110】次にステップS2608に進み、読み出し
対象のデータがあるかを判断し、読み出し対象のデータ
があればステップS2602へ戻って前述の処理を繰り
返す。一方、ステップS2608で、読み出し対象のデ
ータを全て読んだと判断した場合にはステップS260
9へ進み、オープンしていたメインファイル701をク
ローズして、この読み出し処理を終了する。
Next, in step S2608, it is determined whether or not there is data to be read, and if there is data to be read, the process returns to step S2602 and the above processing is repeated. On the other hand, if it is determined in step S2608 that all the data to be read has been read, step S260
9, the main file 701 that has been opened is closed, and this read processing ends.

【0111】図27は、本発明の実施の形態5に係るパ
ケットデータの読み出し処理(ステップS2607)を
示すフローチャートである。
FIG. 27 is a flowchart showing the packet data read processing (step S2607) according to the fifth embodiment of the present invention.

【0112】同図において、まずステップS2701
で、読み出し対象のパケットのデータが入っているファ
イルへのポインタ803の情報に従ってファイル名を取
得する。例えば、タイル番号1のパケット番号0のデー
タを読み出す場合には、メインファイル701からタイ
ル番号1に関するタイル情報が書かれている領域702
を求め、その中からパケット番号が「0」のパケットデ
ータ管理用データ802を検索する。そして、そのパケ
ット管理用データ802の、そのパケットデータが記述
されているファイルへのポインタ803の情報に基づい
て、そのファイル名を取得する。
In the figure, first, step S2701.
Then, the file name is acquired according to the information of the pointer 803 to the file containing the data of the packet to be read. For example, when reading the data of the packet number 0 of the tile number 1, the area 702 where the tile information related to the tile number 1 is written from the main file 701.
And the packet data management data 802 with the packet number “0” is searched from among them. Then, the file name of the packet management data 802 is acquired based on the information of the pointer 803 to the file in which the packet data is described.

【0113】次にステップS2702に進み、ステップ
S2701で取得したファイル名のファイルを開く。例
えば、ステップS2702で取得したファイル名が、C
ドライブのTempフォルダのファイル「image_zero.iip2
k」であれば、このフォルダのファイル「image_zero.ii
p2k」が開かれる。またステップS2702で取得した
ファイル名が「C:/Temp/Tile0001/image_tile0000_pkt0
000.iip2k」であれば、CドライブのTempフォルダのTil
e0001フォルダにあるファイル「image_tile0000_pkt000
0.iip2k」をオープンする。
Next, proceeding to step S2702, the file with the file name obtained in step S2701 is opened. For example, the file name acquired in step S2702 is C
The file "image_zero.iip2" in the Temp folder of the drive
If it is "k", the file "image_zero.ii" in this folder
p2k "is opened. Also, the file name acquired in step S2702 is "C: / Temp / Tile0001 / image_tile0000_pkt0".
000.iip2k ”, Til in the Temp folder on the C drive
The file "image_tile0000_pkt000" in the e0001 folder
0.iip2k ”is opened.

【0114】次にステップS2703に進み、ステップ
S2702でオープンされたファイル中のデータを読み
出す。次にステップS2704に進み、ステップS27
02でオープンされたファイルをクローズし、パケット
データの読み出し処理を終了する。
Next, proceeding to step S2703, the data in the file opened in step S2702 is read. Next, the process proceeds to step S2704, and step S27
The file opened in 02 is closed, and the packet data read processing ends.

【0115】このように本発明の実施の形態5に係る上
述した読み出し方法では、パケットデータをユーザ端末
が読み出す場合に、メインファイル701に記述されて
いる、そのパケットファイルへのポインタ803の情報
が指し示すファイルをオープンしてから、そのファイル
のデータを読み出している。
As described above, in the above-mentioned reading method according to the fifth embodiment of the present invention, when the user terminal reads the packet data, the information of the pointer 803 to the packet file described in the main file 701 is stored. The data in that file has been read since the file that it points to has been opened.

【0116】このような本実施の形態5によれば、上述
した実施の形態1,2,4において作成されたキャッシ
ュファイルを効率良く読み出すことができる。
According to the fifth embodiment, the cache files created in the above-described first, second, and fourth embodiments can be efficiently read.

【0117】<実施の形態6>上述した実施の形態1,
2,4では、ユーザ端末に未だ受信していないパケット
データに対しても、ゼロレングス・パケットデータが作
成されるので、全てのパケットデータは、ファイル中に
書き込まれている。
<Sixth Preferred Embodiment> The first and second preferred embodiments described above.
In Nos. 2 and 4, zero-length packet data is created even for packet data that has not yet been received by the user terminal, so all packet data is written in the file.

【0118】しかしながら前述の実施の形態3では、受
信したパケットのみに対してファイルが作成されるの
で、未受信のパケットに対応するファイルは、当該ユー
ザ端末には存在しない。このため、上述した実施の形態
5に係る読み出し方法では、読み出すことのできないパ
ケットデータが存在する。そこで、本実施の形態6で
は、係る実施の形態3において作成されたキャッシュフ
ァイルの読み出し方法について説明する。
However, in the above-described third embodiment, since the file is created only for the received packet, the file corresponding to the unreceived packet does not exist in the user terminal. Therefore, in the reading method according to the fifth embodiment described above, there is packet data that cannot be read. Therefore, in the sixth embodiment, a method of reading the cache file created in the third embodiment will be described.

【0119】本実施の形態6において、前述の実施の形
態5で説明したキャッシュファイルの読み出し処理(図
26)とはステップS2607の処理構成が異なるの
で、以下の説明では、この点を中心に説明する。
In the sixth embodiment, since the processing configuration of step S2607 is different from the cache file reading processing (FIG. 26) described in the fifth embodiment, the following description will be focused on this point. To do.

【0120】図28は、本発明の実施の形態6に係る、
パケットデータの読み出し処理を示すフローチャートで
あり、ステップS2702乃至ステップS2704の処
理は、図27を参照して説明した実施の形態5における
同一ステップ番号の処理構成と同じであるため、その説
明を省略する。
FIG. 28 shows the sixth embodiment of the present invention.
28 is a flowchart showing a read process of packet data, and since the processes of steps S2702 to S2704 are the same as the process configuration of the same step numbers in the fifth embodiment described with reference to FIG. 27, the description thereof will be omitted. .

【0121】同図において、まずステップS2801
で、メインファイル701の読み出し対象のパケットに
対するポインタ803の情報を取得する。次にステップ
S2802に進み、ステップS2801で取得したポイ
ンタ803の情報がパケットデータファイルへのポイン
タかどうか判断する。例えば、取得した情報が「C:/Tem
p/image_tile0000_pkt2.iip2k」というファイル名であ
れば、ファイルへのポインタ情報である判断し、取得し
た情報がNULLだった場合には、ファイルを指し示し
ていないと判断できる。そして、ステップS2802に
おいて、ポインタ情報803がファイルを指し示す情報
であると判断した場合はステップS2702に進み、そ
の後の処理は、実施の形態5と同様である。
In the figure, first, step S2801.
Then, the information of the pointer 803 for the packet to be read from the main file 701 is acquired. Next, proceeding to step S2802, it is determined whether the information of the pointer 803 acquired in step S2801 is a pointer to a packet data file. For example, the acquired information is "C: / Tem
If the file name is “p / image_tile0000_pkt2.iip2k”, it is determined that it is pointer information to the file, and if the acquired information is NULL, it can be determined that the file is not pointed. If it is determined in step S2802 that the pointer information 803 is information indicating a file, the process proceeds to step S2702, and the subsequent processing is the same as that in the fifth embodiment.

【0122】一方、ポインタ803がファイルを指し示
していないと判断された場合には、ステップS2803
に進み、パケットに対するファイルが存在しないので、
未受信データであると判断し、ゼロレングス・パケット
を示す1バイトの値「0」を読み出した情報として返
す。
On the other hand, if it is determined that the pointer 803 does not point to the file, step S2803.
And there is no file for the packet, so
It is determined that the data is unreceived data, and a 1-byte value “0” indicating a zero-length packet is returned as read information.

【0123】このような本実施の形態6によれば、上述
した実施の形態3において作成されたキャッシュファイ
ルを効率良く読み出すことができる。
According to the sixth embodiment, the cache file created in the above-described third embodiment can be efficiently read.

【0124】尚、上述した本実施の形態6は、未受信デ
ータに対してゼロレングス・パケットファイルを作成し
ない場合の読み出し方法であるので、前述の実施の形態
4で説明したように、タイル毎または画像毎にフォルダ
が作成される場合であっても、未受信データにゼロレン
グス・パケットファイルを作成しない場合には、同様の
読み出し方法を適用できる。
Since the sixth embodiment described above is a read method when a zero-length packet file is not created for unreceived data, as described in the fourth embodiment, each tile is read. Alternatively, even when a folder is created for each image, the same reading method can be applied when a zero-length packet file is not created for unreceived data.

【0125】<実施の形態7>上述した実施の形態1乃
至6では、それぞれのパケットデータを一つのキャッシ
ュファイルに保存して管理していたが、複数パケットを
一つのファイルの中に保存して管理することも可能であ
る。つまり、1つの画像に付き1つのキャッシュファイ
ルで保存管理を行うことができる。
<Seventh Embodiment> In the first to sixth embodiments described above, each packet data is stored and managed in one cache file. However, a plurality of packets are stored in one file. It is also possible to manage. That is, it is possible to perform storage management with one cache file for one image.

【0126】図29は、本発明の実施の形態7に係るユ
ーザ端末(画像処理装置:201又は202)における
受信データのキャッシュ処理を示すフローチャートであ
る。尚、この図において、前述の図6と同様の動作をす
るステップには同じ番号を付している。
FIG. 29 is a flow chart showing the cache processing of received data in the user terminal (image processing apparatus: 201 or 202) according to the seventh embodiment of the present invention. In this figure, the steps that perform the same operations as in FIG. 6 described above are given the same numbers.

【0127】まずステップS601において、ネットワ
ーク203を介して、複数の画像が格納されているサー
バ204に対して、ユーザ端末から必要な画像の名前と
画像のメインヘッダとを要求する。これによりサーバ2
04から送られてくるパケットデータを受信し、ステッ
プS602で、メインヘッダを受信したかを判断し、メ
インヘッダを受信するとステップS2903に進み、そ
の受信したメインヘッダに基づいて、図7に示すような
画像全体の情報及びキャッシュデータを管理するための
情報、そしてキャッシュデータそのものを保存するファ
イル(以下、一括キャッシュファイル)を作成し、ステ
ップS602で取得したメインヘッダを、一括キャッシ
ュファイルの領域703に書き込む。ここで作成される
一括キャッシュファイルは、前述の実施の形態1乃至4
で作成されたメインファイル701と同様のデータ形式
ではあるが(そのデータ構成は図7参照)、次の2点が
異なる。 (1)実際のキャッシュデータそのものも書き込む (2)図8のパケットデータの管理用データ802に含
まれるポインタ803がオフセット値3002(図3
0)に変更されている。
First, in step S601, the server 204 storing a plurality of images is requested via the network 203 from the user terminal for the required image name and image main header. This allows the server 2
The packet data sent from 04 is received, and in step S602, it is determined whether the main header has been received. If the main header is received, the process proceeds to step S2903, and based on the received main header, as shown in FIG. A file (hereinafter referred to as a collective cache file) for storing the entire image information and information for managing the cache data, and the cache data itself is created, and the main header acquired in step S602 is stored in the collective cache file area 703. Write. The batch cache file created here is the same as in the first to fourth embodiments described above.
Although the data format is the same as that of the main file 701 created in (see FIG. 7 for the data structure), the following two points are different. (1) The actual cache data itself is also written (2) The pointer 803 included in the management data 802 of the packet data in FIG. 8 has an offset value 3002 (see FIG. 3).
Has been changed to 0).

【0128】図30は、本実施の形態7に係る一括キャ
ッシュファイル701a(図31)の領域702a(図
8の領域702に対応)のパケット管理用データ802
aの構成を示す図である。
FIG. 30 shows packet management data 802 in area 702a (corresponding to area 702 in FIG. 8) of batch cache file 701a (FIG. 31) according to the seventh embodiment.
It is a figure which shows the structure of a.

【0129】つまりユーザ端末は、ステップS602で
メインヘッダを受信するとステップS603に進み、一
括キャッシュファイル701aを、二次記憶103の所
望の領域(例えばCドライブのTempフォルダ)に、オリ
ジナル画像の名前を先頭に挿入したファイル名のファイ
ルとして作成する。例えば、ユーザが「image.jp2」フ
ァイルを要求した場合、ユーザ端末は、「image.iip2
k」というような名前の一括キャッシュファイルを二次
記憶103のフォルダ内に作成する。
That is, when the user terminal receives the main header in step S602, the user terminal proceeds to step S603, and sets the batch cache file 701a in the desired area of the secondary storage 103 (for example, the Temp folder of the C drive) and the name of the original image. Create as a file with the file name inserted at the beginning. For example, when the user requests the "image.jp2" file, the user terminal displays "image.iip2".
A batch cache file with a name such as “k” is created in the folder of the secondary storage 103.

【0130】次にステップS604に進み、ユーザの選
択操作に応じて、必要な画像の領域及びresolution、レ
イヤ、コンポーネントを、ネットワーク203を介し
て、サーバ204に要求する。ここで、ステップS60
4におけるユーザの選択操作は、本願の主たる目的であ
るキャッシュ方法の本質には関らないので詳しい説明は
省略する。
Next, in step S604, the server 204 is requested via the network 203 for the necessary image area, resolution, layer, and component in accordance with the user's selection operation. Here, step S60
Since the user's selection operation in 4 is not related to the essence of the cache method, which is the main purpose of the present application, detailed description thereof will be omitted.

【0131】これによりサーバ204は、ユーザ端末か
ら指示された画像部分をJPEG2000方式のパケット単位
で、そのユーザ端末に送信する。これによりステップS
605で、そのパケットデータを受信するとステップS
2906に進み、その受信したパケットデータに関する
キャッシュデータを管理するための情報を書き換え、図
31に示すように、一括キャッシュファイル701aの
後ろにアペンドするような形式で、領域3101にパケ
ットデータを書き込む。次にステップS607に進み、
更なる画像データを要求する操作がユーザによって行な
われたかを判断し、要求操作が検出された場合にはステ
ップS604に戻って前述の動作を実行するが、要求操
作が検出されない場合にはリターンする。
As a result, the server 204 transmits the image portion instructed by the user terminal to the user terminal in JPEG2000 packet units. By this, step S
When the packet data is received at 605, step S
In step 2906, the information for managing the cache data relating to the received packet data is rewritten, and as shown in FIG. 31, the packet data is written in the area 3101 in a format of appending after the batch cache file 701a. Next, in step S607,
It is determined whether or not an operation requesting further image data is performed by the user, and if the requested operation is detected, the process returns to step S604 to execute the above-described operation, but if the requested operation is not detected, the process returns. .

【0132】図32は、図29のステップS2903に
おける一括キャッシュファイル701aの作成処理を説
明するフローチャートである。尚、図9に示すメインフ
ァイルの作成処理を示すフローチャートと同様の動作に
は同じ番号を付している。
FIG. 32 is a flow chart for explaining the creation processing of the collective cache file 701a in step S2903 of FIG. Note that the same operations as those in the flowchart showing the main file creation processing shown in FIG.

【0133】まずステップS901で、サーバ204か
ら受信したメインヘッダを解析することにより、原画像
の高さと幅、最大解像度時のタイルの高さと幅及びreso
lution level数、レイヤ数、コンポーネント数、positi
on数、progression orderを取得する。次にステップS
902に進み、原画像の高さと幅、及び最大解像度での
タイルの高さと幅に基づいてタイル数を計算する。次に
ステップS903に進み、ステップS901で取得した
resolution level数、レイヤ数、コンポーネント数、並
びにposition数に基づいて、各タイルに含まれるパケッ
ト数を計算する。
First, in step S901, by analyzing the main header received from the server 204, the height and width of the original image, the height and width of the tile at the maximum resolution, and the reso
Number of solution levels, layers, components, positi
Get on number and progress order. Then step S
Proceeding to 902, the number of tiles is calculated based on the height and width of the original image and the height and width of the tile at the maximum resolution. Next, the procedure proceeds to step S903, and the information acquired in step S901
The number of packets included in each tile is calculated based on the number of resolution levels, the number of layers, the number of components, and the number of positions.

【0134】次にステップS3204に進み、ステップ
S901にてメインヘッダを解析して得られたタイル
数、resolution level数、レイヤ数、コンポーネント数
等の原画像の基本情報、ゼロレングス・パケットのデー
タ、並びにメインヘッダのデータ長を、画像管理情報と
して、一括キャッシュファイル701aの領域706a
(図31)に書き込む。この一括キャッシュファイル7
01aの領域703aには、受信したメインヘッダのデ
ータが書き込まれる。次にステップS3205に進み、
一括キャッシュファイル701aの領域702aに、図
30の右側に拡大して示すような、各タイルの基本情報
を作成する。そしてステップS3206に進み、ステッ
プS3205で作成された各タイルの基本情報を一括キ
ャッシュファイル701aに書き込んで、この一括キャ
ッシュファイルの作成処理を終了する。
Next, proceeding to step S3204, basic information of the original image such as the number of tiles, the number of resolution levels, the number of layers and the number of components obtained by analyzing the main header in step S901, the zero length packet data, In addition, the data length of the main header is used as image management information in the area 706a of the batch cache file 701a.
(Fig. 31). This batch cache file 7
The data of the received main header is written in the area 703a of 01a. Next, in step S3205,
Basic information of each tile is created in the area 702a of the collective cache file 701a as shown enlarged on the right side of FIG. Then, the process proceeds to step S3206, the basic information of each tile created in step S3205 is written to the batch cache file 701a, and the batch cache file creation process ends.

【0135】図33は、本実施の形態7に係る図32の
ステップS3205におけるタイルの基本情報の作成処
理を示すフローチャートで、前述の図10に示すフロー
チャートと共通するステップには同じ番号を付してい
る。尚、このステップS3205では、図33のフロー
チャートで示された動作が、タイル番号順に、タイル数
分だけ繰り返し行われることにより、図30に示す一括
キャッシュファイル701aの領域702aが作成され
る。
FIG. 33 is a flowchart showing the process of creating the basic information of tiles in step S3205 of FIG. 32 according to the seventh embodiment, and the steps common to the flowchart shown in FIG. ing. In this step S3205, the operation shown in the flowchart of FIG. 33 is repeated for the number of tiles in the order of tile numbers, so that the area 702a of the collective cache file 701a shown in FIG. 30 is created.

【0136】図33において、まずステップS1001
で、図32のステップS903で既に計算されている、
各タイルに含まれるパケット数を取得する。この時点に
おいて、ユーザ端末はサーバ204からパケットデータ
を受け取っておらず、それらの未受信パケットは、全て
ゼロレングス・パケットとして処理されることが想定さ
れているので、次のステップS1002では、各タイル
のデータ長を、(タイルヘッダの長さ)+(タイルに含
まれるパケット数)×1バイトにより算出する。
In FIG. 33, first, step S1001.
Then, already calculated in step S903 of FIG. 32,
Get the number of packets contained in each tile. At this point, the user terminal has not received the packet data from the server 204, and it is assumed that all the unreceived packets are processed as zero-length packets. Therefore, in the next step S1002, each tile is processed. Data length is calculated by (length of tile header) + (number of packets included in tile) × 1 byte.

【0137】例えば、タイルヘッダに含まれるマーカが
SOTマーカのみで、1タイルに36パケットが含まれて
いる場合、タイルのデータ長は、14+1×36=50
[バイト]となる。
For example, if the marker included in the tile header is
When 36 packets are included in one tile with only the SOT marker, the data length of the tile is 14 + 1 × 36 = 50.
It becomes [byte].

【0138】次にステップS1003に進み、タイルの
番号及びタイルのデータ長から、JPEG2000方式において
タイルのヘッダに含まれるべきSOTマーカを作成する。
ここでタイル番号が「0」、含まれるパケット数が「3
6」のタイルに対して作成されるSOTマーカの構成と、
そのデータサイズ及び具体的な値を図11に示す。
Next, proceeding to step S1003, an SOT marker to be included in the tile header in the JPEG2000 system is created from the tile number and tile data length.
Here, the tile number is "0" and the number of included packets is "3".
The configuration of the SOT marker created for the 6 ”tile,
The data size and specific values are shown in FIG.

【0139】次にステップS3304に進み、タイルの
データ長804a、タイルの番号805a及び含まれる
パケット数806a、タイルが含むresolution数、レイ
ヤ数、コンポーネント数等を、一括キャッシュファイル
701aのタイルデータ管理用データ704aに書き込
む。次にステップS3305に進み、一括キャッシュフ
ァイル701aの領域705aにタイルヘッダを書き込
む。次にステップS1006に進み、パケット番号に
「0」を設定し、それ以後、パケットの番号順にステッ
プS1007以下の処理を繰り返す。
Next, proceeding to step S3304, the tile data length 804a, the tile number 805a and the number of packets included 806a, the number of resolutions included in the tile, the number of layers, the number of components, etc. are used for tile data management of the batch cache file 701a. Write to the data 704a. Next, proceeding to step S3305, the tile header is written in the area 705a of the batch cache file 701a. Next, proceeding to step S1006, "0" is set to the packet number, and thereafter, the processing from step S1007 onward is repeated in the order of packet numbers.

【0140】ステップS1007では、原画像のprogre
ssion order に従って、パケット番号に相当するresolu
tion level、レイヤ、コンポーネント、並びにposition
番号を特定する。次にステップS3308に進み、注目
するパケットのデータ長1と、このパケットデータのオ
フセット値としてステップS3204で一括キャッシュ
ファイル701aの領域706aに書き込まれたゼロレ
ングス・パケットデータまでのオフセット値、resoluti
on level、レイヤ、コンポーネント、position番号等
の、現在注目しているパケットを管理する際に必要にな
る情報を、一括キャッシュファイル701aの領域80
2aに書き込む。
In step S1007, the original image progre
According to ssion order, resolu corresponding to packet number
tion level, layers, components, and position
Identify the number. Next, proceeding to step S3308, the data length 1 of the packet of interest and the offset value up to the zero-length packet data written in the area 706a of the batch cache file 701a as the offset value of this packet data at step S3204, resoluti.
Area 80 of the batch cache file 701a stores information necessary for managing currently focused packets such as on level, layer, component, and position number.
Write to 2a.

【0141】次にステップS1009に進み、注目すべ
きパケットのパケット番号を一つ進め、ステップS10
10において、ステップS1007からの一連の処理が
タイルに含まれる全てのパケットに対して行われたかど
うかを判断し、全てのパケットに関して終わったと判断
したらこの動作を終了する。例えば、パケット数が「3
6」の場合には、ステップS1009の後のパケット番
号が「36」だった場合はこの処理を終了する。
Next, the processing proceeds to step S1009, the packet number of the packet to be noted is incremented by 1, and step S10
In step 10, it is determined whether or not the series of processes from step S1007 has been performed on all the packets included in the tile, and if it is determined that all the packets have been completed, this operation ends. For example, if the number of packets is "3
In the case of "6", if the packet number after step S1009 is "36", this processing ends.

【0142】図34は、図29のステップS2906に
おける一括キャッシュファイル701aの上書きの処理
を示すフローチャートで、前述の図12に示す処理と共
通する処理ステップには同じ番号を付している。
FIG. 34 is a flow chart showing the process of overwriting the collective cache file 701a in step S2906 of FIG. 29, and the process steps common to the process shown in FIG. 12 are given the same numbers.

【0143】まずステップS1201では、キャッシュ
に書き込むパケットが含まれるタイル番号とパケット番
号を特定する情報を取得する。次にステップS3402
に進み、一括キャッシュファイル701aのファイル長
(last_byte)を取得する。次にステップS3403に
進み、一括キャッシュファイル701aに書かれていた
このパケットデータの長さを、受信したパケット、つま
り、これからキャッシュに書き込むパケットのデータ長
に書き換える。次にステップS3404に進み、一括キ
ャッシュファイル701aで、このパケットのデータの
オフセット値3002に、ステップS3402で取得し
たlast_byteの値を上書きする。そしてステップS34
05に進み、このパケットに含まれるタイルの情報とし
て、一括キャッシュファイル701aに書かれていた図
30の領域801aのタイルのデータ長804aを再度
計算して上書きをする。例えば、キャッシュに書きこむ
パケットのデータ長が128バイトであった場合、この
一括キャッシュファイル701aでは、未受信パケット
のデータ長をゼロレングス/パケットの長さである1バ
イトとして計算している。よって、ここで再計算されタ
イルのデータ長は(128−1)=127[バイト]とな
る。この値を既に書かれていたタイルのデータ長804
aに足すことで、新たなタイルのデータ長を求める。次
にステップS1206に進み、前述の図12と同様に、
タイルヘッダ内のタイル長を示す部分を、ステップS3
405で再計算された値で書き換える。次にステップS
3407に進み、一括キャッシュファイル701aにパ
ケットデータ3101をアペンドする。つまり、一括キ
ャッシュファイル701aの最後尾に、このパケットデ
ータを書き込み、このルーチンを終了する。
First, in step S1201, information for identifying a tile number and a packet number including a packet to be written in the cache is acquired. Next, step S3402.
Then, the file length (last_byte) of the batch cache file 701a is acquired. Next, proceeding to step S3403, the length of this packet data written in the batch cache file 701a is rewritten to the data length of the received packet, that is, the packet to be written in the cache. Next, proceeding to step S3404, the offset value 3002 of the data of this packet is overwritten with the value of last_byte acquired at step S3402 in the batch cache file 701a. And step S34
In step 05, the data length 804a of the tile of the area 801a in FIG. 30 written in the batch cache file 701a is recalculated and overwritten as the information of the tile included in this packet. For example, if the data length of the packet to be written in the cache is 128 bytes, the batch cache file 701a calculates the data length of the unreceived packet as 1 byte, which is zero length / packet length. Therefore, the data length of the tile recalculated here is (128-1) = 127 [bytes]. This value is the data length of the tile that has already been written 804
The data length of a new tile is obtained by adding it to a. Next, proceeding to step S1206, in the same manner as in FIG.
The portion indicating the tile length in the tile header is calculated in step S3.
It is rewritten with the value recalculated in 405. Then step S
Proceeding to 3407, the packet data 3101 is appended to the batch cache file 701a. That is, this packet data is written at the end of the batch cache file 701a, and this routine ends.

【0144】以上説明した本実施の形態7に係るキャッ
シュ方法を用いれば、一つの画像について一つのキャッ
シュファイルを管理すればよいので、データの管理が煩
雑になることを避けることができる。
When the cache method according to the seventh embodiment described above is used, one cache file has only to be managed for one image, so that the management of data can be prevented from becoming complicated.

【0145】<実施の形態8>本実施の形態8では、上
述した実施の形態7において作成された一括キャッシュ
ファイル701aを読み出す方法を、図面を用いて具体
的に説明する。
<Embodiment 8> In Embodiment 8, a method of reading the batch cache file 701a created in Embodiment 7 described above will be specifically described with reference to the drawings.

【0146】図35は、本発明の実施の形態8に係るユ
ーザ端末において、一括キャッシュファイル701aを
読み出す処理を示すフローチャートであり、上述した実
施の形態7においてユーザ端末に作成されたキャッシュ
ファイルを読み出す処理の詳細を示している。尚、前述
の図26と同様の動作をするステップには同じ番号を付
している。この図26と異なる点は、図26でメインフ
ァイルと呼ばれていたテーブルだけを格納していたキャ
ッシュファイルを読むのではなく、実施の形態7で一括
キャッシュファイルと呼んでいた、テーブルデータと共
にパケットデータもキャッシュしているキャッシュファ
イル701aを読む点にある。従って、図35のステッ
プS3507では、ステップS2601でオープンした
ファイルからパケットデータを読み出す点が異なる。
FIG. 35 is a flow chart showing the process of reading the batch cache file 701a in the user terminal according to the eighth embodiment of the present invention. The cache file created in the user terminal in the above-described seventh embodiment is read out. The details of the processing are shown. Incidentally, the steps having the same operations as those in FIG. 26 are given the same numbers. The difference from this FIG. 26 is that instead of reading the cache file that stores only the table called the main file in FIG. 26, the packet with the table data called the collective cache file in the seventh embodiment is read. The point is to read the cache file 701a that also caches data. Therefore, step S3507 in FIG. 35 is different in that packet data is read from the file opened in step S2601.

【0147】図36は、この実施の形態8に係る図35
のステップS3507におけるパケットデータ読み出し
処理を示すフローチャートである。
FIG. 36 shows FIG. 35 according to the eighth embodiment.
14 is a flowchart showing a packet data reading process in step S3507 of FIG.

【0148】まずステップS3601で、このルーチン
で読み出すパケットデータに関して、図30に示すキャ
ッシュ管理用データ802aのデータ長807a及びオ
フセット値3002から、パケットデータのデータ長
(p_length)と一括キャッシュファイル701aの先頭
から実際にキャッシュされているパケットデータの先頭
までのオフセット値(p_offset)をそれぞれ取得する。
次にステップS3602に進み、ステップS3601で
取得したオフセット値(p_offset)とデータ長(p_leng
th)とを基に、目的のパケットデータを読み出して、こ
の読み出し処理を終了する。
First, in step S3601, regarding the packet data read by this routine, from the data length 807a and offset value 3002 of the cache management data 802a shown in FIG. 30, the data length (p_length) of the packet data and the head of the batch cache file 701a are calculated. To the start value of the actually cached packet data (p_offset), respectively.
Next, proceeding to step S3602, the offset value (p_offset) and data length (p_leng) acquired at step S3601.
th)), the target packet data is read out, and this read processing is terminated.

【0149】つまり、一括キャッシュファイル701a
の先頭からオフセット値(p_offset)が示すバイトの位
置までポインタを移動し、そのポインタ位置からデータ
長(p_length)が示すバイト数のデータを読み出すこと
により、目的のパケットデータを取得することができ
る。
That is, the batch cache file 701a
The target packet data can be obtained by moving the pointer from the beginning of the to the position of the byte indicated by the offset value (p_offset) and reading the number of bytes of data indicated by the data length (p_length) from the pointer position.

【0150】前述の実施の形態7で説明したキャッシュ
の書き込み方法と、本実施の形態8に係るキャッシュ読
み込み方法を用いれば、未受信パケットデータに対応す
るデータが実際にキャッシュファイル701に書き込ま
れていれば、データ読み出しの際に未受信パケットデー
タか否かの条件分岐を設けることなく、全て同じ操作
で、そのパケットデータを読み出すことができる <実施の形態9>前述の実施の形態7では、未受信パケ
ットデータの位置にゼロレングス・パケットを挿入し
て、一括キャッシュファイル701aの領域706aに
ゼロレングス・パケットを書き込んだ。これに対して本
実施の形態9では、未受信パケットデータに対応したゼ
ロレングス・パケットのデータを実際に一括キャッシュ
ファイル701aに書き込むのではなく、未受信である
ことを示す値を図30のパケットデータ管理用データ8
02aのオフセット値を書き込む領域3002に「NUL
L」を書き込む。
By using the cache write method described in the seventh embodiment and the cache read method according to the eighth embodiment, the data corresponding to the unreceived packet data is actually written in the cache file 701. In this case, it is possible to read the packet data by the same operation without providing a conditional branch for whether or not the packet data is unreceived when reading the data. <Embodiment 9> In the above-described Embodiment 7, A zero-length packet was inserted at the position of unreceived packet data, and the zero-length packet was written in the area 706a of the batch cache file 701a. On the other hand, in the ninth embodiment, the value of the zero-length packet data corresponding to the unreceived packet data is not actually written in the batch cache file 701a, but a value indicating that the packet has not been received is set in the packet of FIG. Data for data management 8
In the area 3002 where the offset value of 02a is written, “NUL
Write "L".

【0151】このように作成したキャッシュファイル7
01aを読み出す際に、前述の実施の形態8と異なるの
は、図35のステップS3507で示されるパケットデ
ータの読み出し方法である。
The cache file 7 created in this way
When reading 01a, the difference from Embodiment 8 described above resides in the packet data reading method shown in step S3507 in FIG.

【0152】図37は、本発明の実施の形態9に係る、
パケットデータの読み出し処理を示すフローチャート
で、前述の図36と共通するステップには同じ番号を付
している。この図37のフローチャートが図36のフロ
ーチャートと異なる点は、図37におけるステップS3
702の条件分岐以降である。
FIG. 37 shows the ninth embodiment of the present invention.
In the flowchart showing the packet data reading process, the same steps as those in FIG. 36 described above are denoted by the same reference numerals. The flowchart of FIG. 37 differs from the flowchart of FIG. 36 in that step S3 in FIG.
This is after the conditional branch of 702.

【0153】ステップS3702では、ステップS36
01で取得したオフセット値(p_offset)が「NULL」か
どうかを判断し、そうであればステップS3704に進
み、NULLでなければステップS3602に進む。つまり
オフセット値(p_offset)がNULLであればこのパケット
は未受信であると判断されてステップS3704に進
み、NULL以外の値であれば、受信されキャッシュされて
いるパケットであると判断してステップS3602に進
む。このステップS3602の処理は、前述の図36と
同様の動作によりパケットデータを読み出す処理であ
る。
In step S3702, step S36.
It is determined whether the offset value (p_offset) acquired in 01 is "NULL", and if so, the process proceeds to step S3704, and if not, the process proceeds to step S3602. That is, if the offset value (p_offset) is NULL, it is determined that this packet has not been received and the process proceeds to step S3704, and if it is a value other than NULL, it is determined that the packet is a received and cached packet and step S3602. Proceed to. The process of step S3602 is a process of reading packet data by the same operation as that of FIG. 36 described above.

【0154】一方、ステップS3704では、未受信デ
ータであるのでキャッシュファイル701aの中にはデ
ータが存在しないため、未受信データの代わりとなるゼ
ロレングス・パケットデータの読み出し用バッファに書
き出す。
On the other hand, in step S3704, since the data is not received in the cache file 701a because it is unreceived data, it is written in the read buffer of the zero-length packet data which replaces the unreceived data.

【0155】本実施の形態9によれば、未受信データの
読み出しのためのファイルのシークが削減されるため、
データ読み出しの高速化が図れる。
According to the ninth embodiment, since the seek of the file for reading the unreceived data is reduced,
The data reading speed can be increased.

【0156】上述した説明では、便宜上、全てのキャッ
シュファイルまたは、キャッシュファイル用フォルダ
を、CドライブのTempフォルダに作成したが、キャッシ
ュファイルやキャッシュ用のフォルダが作成される場所
は、これに限定されるものではなく、環境変数に応じて
キャッシュファイルを作成する場所を適宜変えることも
可能である。
In the above description, for convenience, all cache files or cache file folders are created in the Temp folder of the C drive, but the location where the cache files and cache folders are created is not limited to this. It is also possible to change the place where the cache file is created as appropriate according to the environment variable.

【0157】以上説明した画像データのキャッシュ・リ
ード・ライト方法(即ち、実施の形態1乃至4のキャッ
シュファイルの作成方法、実施の形態5,6に係るキャ
ッシュファイルの読み出し方法、実施の形態7,9に係
るキャッシュファイルの作成方法、及び実施の形態8,
9に係るキャッシュファイル読み出し方法)によれば、
断片的な符号化データを、ユーザ端末201(又は20
2)において容易に管理することができ、作成したキャ
ッシュファイルをシーケンシャルにリードすることによ
り、表示すべき画像の断片的な符号化データを実際には
全て受信していない場合であっても、JPEG2000符号化デ
ータの形式に準拠した1つの符号化データとして読み出
すことが可能になる。このため、一般的な仕様のJPEG20
00デコーダを当該ユーザ端末に用意しておけば、当該ユ
ーザ端末は、ユーザ所望の解像度の画像を表示すること
ができる。
The image data cache read / write method described above (that is, the cache file creation method according to the first to fourth embodiments, the cache file read method according to the fifth and sixth embodiments, and the seventh embodiment). Cache file creation method according to Embodiment 9 and Embodiment 8;
According to the cache file reading method according to No. 9,
The fragmented encoded data is converted into the user terminal 201 (or 20
It can be easily managed in 2), and by sequentially reading the created cache file, even if not all fragmentary encoded data of the image to be displayed is actually received, JPEG2000 It becomes possible to read out as one encoded data conforming to the format of the encoded data. For this reason, the general specification JPEG20
If the 00 decoder is prepared for the user terminal, the user terminal can display an image with the resolution desired by the user.

【0158】また、キャッシュファイルに1枚の画像の
符号化データが完全に充填されていない状態であって
も、上述した如くシーケンシャルにリードした結果、ユ
ーザ端末の一次記憶102に読み込まれる符号化データ
は、JPEG2000符号化データ形式に完全に準拠した符号化
データであり、このキャッシュファイル用の特別なJPEG
2000デコーダは必要ないという利点がある。
Even if the cache file is not completely filled with the encoded data of one image, the sequential reading as described above results in the encoded data read into the primary storage 102 of the user terminal. Is encoded data that is fully compliant with the JPEG2000 encoded data format and is a special JPEG for this cache file.
The advantage is that no 2000 decoder is needed.

【0159】更に、サーバ204から断片的に送られて
くる途中に符号化データを追加する場合であっても、該
当するパケットデータのファイルを置きかえることで高
速に追加できるという利点がある。
Further, even when the encoded data is added during the fragmentary transmission from the server 204, there is an advantage that the file can be added at a high speed by replacing the corresponding packet data file.

【0160】[他の実施形態]尚、本発明の目的は、前
述した実施形態の機能を実現するソフトウェアのプログ
ラムコードを記録した記憶媒体(または記録媒体)を、
上述した画像処理装置として動作する装置に供給し、そ
れらシステム或いは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを読
み出し実行することによっても達成される。或いは、処
理対象の画像データを外部より入手可能であって、且つ
ディスプレイへの圧縮画像の表示までの処理であれば、
パーソナル・コンピュータ等の一般的な情報処理装置に
おいても、前述した実施形態の機能を実現するソフトウ
ェアのプログラムコードを実行することにより、同目的
は達成される。これらの場合、記憶媒体から読み出され
たプログラムコード自体が前述した実施形態の機能を実
現することになり、そのプログラムコードを記憶した記
憶媒体、並びに電気通信回線等を介してコンピュータプ
ログラム製品として取得した当該プログラムコードは、
本発明を構成することになる。
[Other Embodiments] The object of the present invention is to provide a storage medium (or recording medium) recording a program code of software for realizing the functions of the above-described embodiments.
The computer (or CPU) of the system or the device is supplied to the device that operates as the image processing device described above.
Or MPU) reads and executes the program code stored in the storage medium. Alternatively, if the image data to be processed is available from the outside and the processing is up to the display of the compressed image on the display,
Even in a general information processing device such as a personal computer, the same object can be achieved by executing the program code of software that realizes the functions of the above-described embodiments. In these cases, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and is acquired as a computer program product via the storage medium storing the program code, the telecommunication line, or the like. The program code
It constitutes the present invention.

【0161】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているオペレーテ
ィングシステム(OS)等が実際の処理の一部または全部を
行い、その処理によって前述した実施形態の機能が実現
される場合も含まれる。
Further, by executing the program code read by the computer, not only the functions of the above-described embodiment are realized, but also the operating system (OS) running on the computer is executed based on the instruction of the program code. ) And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0162】更に、記憶媒体から読み出されたプログラ
ムコードが、コンピュータに挿入された機能拡張カード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張カードや機能拡張ユニットに備わ
るCPU等が実際の処理の一部または全部を行い、その
処理によって前述した実施形態の機能が実現される場合
も含まれる。
Furthermore, after the program code read from the storage medium is written in the memory provided in the function expansion card inserted in the computer or the function expansion unit connected to the computer, based on the instruction of the program code. The case where the CPU or the like included in the function expansion card or the function expansion unit performs a part or all of the actual processing and the processing realizes the functions of the above-described embodiments is also included.

【0163】[0163]

【発明の効果】以上説明したように本発明によれば、所
定形式で断片化された画像データを、その所定の形式に
基づいてデコードし、容易にキャッシュすることができ
る。
As described above, according to the present invention, image data fragmented in a predetermined format can be decoded based on the predetermined format and easily cached.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施の形態に係る画像処理装置である
コンピュータ機器の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a computer device which is an image processing apparatus according to an embodiment of the present invention.

【図2】本実施の形態に係る通信ネットワークの概略を
示す図である。
FIG. 2 is a diagram showing an outline of a communication network according to the present embodiment.

【図3】JPEG2000方式の符号化データの構成を示す図で
ある。
FIG. 3 is a diagram showing a configuration of JPEG2000 encoded data.

【図4】JPEG2000の解像度スケイラビリティを説明する
図である。
FIG. 4 is a diagram illustrating the resolution scalability of JPEG2000.

【図5】本実施の形態におけるサーバ/クライアント間
での通信プロトコルを説明する図である。
FIG. 5 is a diagram illustrating a communication protocol between a server and a client according to the present embodiment.

【図6】本発明の実施の形態1乃至6に係るユーザ端末
における受信データのキャッシュ処理を示すフローチャ
ートである。
FIG. 6 is a flowchart showing received data cache processing in the user terminal according to the first to sixth embodiments of the present invention.

【図7】本実施の形態において画像情報全体を管理する
メインファイルのデータ構成を説明する図である。
FIG. 7 is a diagram illustrating a data structure of a main file that manages the entire image information according to the present embodiment.

【図8】図7に示すメインファイルに含まれるタイルデ
ータの管理用データの構成図である。
8 is a configuration diagram of management data of tile data included in the main file shown in FIG. 7. FIG.

【図9】図6のステップS603におけるメインファイ
ルの作成処理を示すフローチャートである。
9 is a flowchart showing a main file creation process in step S603 of FIG.

【図10】図9のステップS906におけるタイル基本
情報の作成処理を示すフローチャートである。
FIG. 10 is a flowchart showing a tile basic information creation process in step S906 of FIG.

【図11】SOTマーカの構成を説明する図である。FIG. 11 is a diagram illustrating the configuration of an SOT marker.

【図12】図6のステップS606におけるメインファ
イルの上書き処理を示すフローチャートである。
FIG. 12 is a flowchart showing the main file overwrite processing in step S606 of FIG.

【図13】サーバからのレスポンスデータの構成例を示
す図である。
FIG. 13 is a diagram showing a configuration example of response data from a server.

【図14】本実施の形態1におけるユーザ端末における
キャッシュファイルの構成例を示す図である。
FIG. 14 is a diagram showing a configuration example of a cache file in a user terminal according to the first embodiment.

【図15】本発明の実施の形態2におけるメインファイ
ルの作成処理を示すフローチャートである。
FIG. 15 is a flowchart showing a main file creating process according to the second embodiment of the present invention.

【図16】図15のステップS1506におけるタイル
基本情報の作成処理を示すフローチャートである。
16 is a flowchart showing a tile basic information creation process in step S1506 of FIG.

【図17】実施の形態2に係る、メインファイルの上書
き処理を示すフローチャートである。
FIG. 17 is a flowchart showing main file overwrite processing according to the second embodiment.

【図18】実施の形態2に係るユーザ端末におけるキャ
ッシュファイルのデータ構成を示す図である。
FIG. 18 is a diagram showing a data structure of a cache file in the user terminal according to the second embodiment.

【図19】本発明の実施の形態3に係るメインファイル
の作成処理を示すフローチャートである。
FIG. 19 is a flowchart showing a main file creating process according to the third embodiment of the present invention.

【図20】図19のステップS1906で示すタイル基
本情報の作成処理を示すフローチャートである。
20 is a flowchart showing the tile basic information creation processing shown in step S1906 of FIG.

【図21】実施の形態3におけるメインファイルの上書
き処理(S606)を示すフローチャートである。
FIG. 21 is a flowchart showing main file overwrite processing (S606) according to the third embodiment.

【図22】本発明の実施の形態4に係るパケットデータ
をタイル毎にフォルダに保存する例を説明する図であ
る。
FIG. 22 is a diagram illustrating an example in which packet data according to the fourth embodiment of the present invention is stored in a folder for each tile.

【図23】実施の形態4におけるメインファイルの作成
処理を示すフローチャートである。
FIG. 23 is a flowchart showing a main file creating process according to the fourth embodiment.

【図24】実施の形態4におけるキャッシュファイル構
成の概念図である。
FIG. 24 is a conceptual diagram of a cache file configuration according to the fourth embodiment.

【図25】実施の形態4に係る、画像毎のキャッシュ用
フォルダを示す概念図である。
FIG. 25 is a conceptual diagram showing a cache folder for each image according to the fourth embodiment.

【図26】本発明の実施の形態5に係る、ユーザ端末に
おいてキャッシュファイルを読み出す処理を示すフロー
チャートである。
FIG. 26 is a flowchart showing a process of reading a cache file in a user terminal according to the fifth embodiment of the present invention.

【図27】図26のステップS2607におけるパケッ
トデータの読み出し処理を示すフローチャートである。
FIG. 27 is a flowchart showing a packet data read process in step S2607 of FIG.

【図28】本発明の実施の形態6に係るパケットデータ
の読み出し処理を示すフローチャートである。
FIG. 28 is a flowchart showing a packet data reading process according to the sixth embodiment of the present invention.

【図29】本発明の実施の形態7に係るユーザ端末にお
ける受信データのキャッシュ処理を示すフローチャート
である。
FIG. 29 is a flowchart showing a cache process of received data in the user terminal according to the seventh embodiment of the present invention.

【図30】本実施の形態7に係る一括キャッシュファイ
ル内のパケットデータの管理用データを説明する図であ
る。
FIG. 30 is a diagram illustrating packet data management data in a batch cache file according to the seventh embodiment.

【図31】実施の形態7に係る一括キャッシュファイル
内へのパケットデータの書込み後の様子を説明する図で
ある。
FIG. 31 is a diagram illustrating a state after writing packet data in the batch cache file according to the seventh embodiment.

【図32】図29のステップS2903における一括キ
ャッシュファイルの作成処理を示すフローチャートであ
る。
32 is a flowchart showing the batch cache file creation processing in step S2903 of FIG. 29. FIG.

【図33】図32のステップS3205におけるタイル
基本情報の作成処理を示すフローである。
FIG. 33 is a flowchart showing a tile basic information creation process in step S3205 of FIG. 32.

【図34】図29のステップS2906におけるキャッ
シュファイルの上書きを処理を示すフローである。
FIG. 34 is a flowchart showing a process of overwriting a cache file in step S2906 of FIG.

【図35】本発明の実施の形態8に係るユーザ端末にお
いて、実施の形態7で作成された一括キャッシュファイ
ルを読み出す処理を示すフローチャートである。
FIG. 35 is a flowchart showing a process of reading the batch cache file created in the seventh embodiment in the user terminal according to the eighth embodiment of the present invention.

【図36】実施の形態8に係る図35のステップS35
07におけるパケットデータ読み出し処理を示すフロー
チャートである。
FIG. 36 is a step S35 in FIG. 35 according to the eighth embodiment.
It is a flowchart which shows the packet data reading process in 07.

【図37】本発明の実施の形態9におけるパケットデー
タの読み出し処理を示すフローチャートである。
FIG. 37 is a flowchart showing a packet data read process according to the ninth embodiment of the present invention.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 7/173 640 H04N 7/173 640A 7/24 7/13 Z ─────────────────────────────────────────────────── ─── Continued Front Page (51) Int.Cl. 7 Identification Code FI Theme Coat (Reference) H04N 7/173 640 H04N 7/173 640A 7/24 7/13 Z

Claims (26)

【特許請求の範囲】[Claims] 【請求項1】 通信ネットワークを介して双方通信可能
に接続された外部装置からユーザ所望の画像について所
定形式で断片化された符号化データを受信すると共にキ
ャッシュする画像処理装置であって、 前記符号化データの受信に先立って、前記外部装置から
前記画像に関するヘッダデータを受信する受信手段と、 前記受信手段により受信した前記ヘッダデータに基づい
て、前記画像を構成するタイルの数量と、個々のタイル
を構成するために必要な前記符号化データの数量とを算
出する算出手段と、 前記算出手段により算出されたタイルのそれぞれに対し
て、前記符号化データの数量分だけ所定のダミー符号化
データを設定するダミーデータ生成手段と、 前記ダミーデータ生成手段によって設定された前記ダミ
ー符号化データのうち、前記外部装置から実際に受信し
た前記符号化データに対応するダミー符号化データを、
前記外部装置から受信した前記符号化データで置き換え
るデータ置換手段と、を有することを特徴とする画像処
理装置。
1. An image processing device for receiving coded data fragmented in a predetermined format for an image desired by a user from an external device connected so as to be able to communicate with each other via a communication network and caching the coded data. Receiving means for receiving header data relating to the image from the external device prior to reception of the encoded data; the number of tiles constituting the image based on the header data received by the receiving means; And a calculation means for calculating the quantity of the coded data necessary to configure the above, and for each of the tiles calculated by the calculation means, a predetermined number of dummy coded data corresponding to the quantity of the coded data are provided. Of the dummy data generation means to be set and the dummy encoded data set by the dummy data generation means, Dummy coded data corresponding to the encoded data actually received from the Kigaibu device,
An image processing device, comprising: a data replacement unit that replaces the encoded data received from the external device.
【請求項2】 前記ダミーデータ生成手段による前記ダ
ミー符号化データの設定に先立って、前記ヘッダデータ
に含まれる属性情報に基づいて、前記符号化データの管
理ファイルを作成する管理ファイル作成手段を更に備
え、 前記データ置換手段は、前記ダミー符号化データと前記
符号化データとを、前記管理ファイルを用いて記憶媒体
の内部で別々の領域参照情報に基づいて管理すると共
に、前記領域参照情報を書き換えることにより前記ダミ
ー符号化データを、前記外部装置から実際に受信した前
記符号化データで置き換えることを特徴とする請求項1
に記載の画像処理装置。
2. A management file creating means for creating a management file of the encoded data based on attribute information included in the header data prior to setting the dummy encoded data by the dummy data generating means. The data replacement unit manages the dummy coded data and the coded data based on different area reference information inside the storage medium using the management file, and rewrites the area reference information. The dummy encoded data is thereby replaced with the encoded data actually received from the external device.
The image processing device according to item 1.
【請求項3】 前記所定形式で断片化された符号化デー
タは、JPEG2000方式に基づくパケット単位の符号化デー
タであることを特徴とする請求項1又は2に記載の画像
処理装置。
3. The image processing device according to claim 1, wherein the encoded data fragmented in the predetermined format is encoded data in packet units based on the JPEG2000 system.
【請求項4】 前記ダミー符号化データは、前記JPEG20
00方式に準拠したビットストリーム・シンタックスで規
定されているzero length packetのデータであることを
特徴とする請求項3に記載の画像処理装置。
4. The dummy encoded data is the JPEG20.
The image processing apparatus according to claim 3, wherein the data is zero length packet data defined by a bitstream syntax conforming to the 00 system.
【請求項5】 前記ダミーデータ生成手段は、前記zero
length packetのデータを前記パケット毎にそれぞれ設
定することを特徴とする請求項4に記載の画像処理装
置。
5. The dummy data generating means is configured to perform the zero operation.
The image processing apparatus according to claim 4, wherein the data of length packet is set for each of the packets.
【請求項6】 前記所定形式で断片化された符号化デー
タは、JPEG2000方式に基づくパケット単位の符号化デー
タであって、前記ダミーデータ生成手段は、前記zero l
ength packetのデータを、1つのキャッシュ中では1つ
のファイルで構成しており、前記データ置換手段は、前
記パケット単位の前記符号化データを管理する前記管理
ファイルのファイル名に従って前記1つのファイルを参
照することを特徴とする請求項2に記載の画像処理装
置。
6. The fragmented coded data in the predetermined format is coded data in packet units based on the JPEG2000 system, and the dummy data generation means is configured to perform the zero l
The data of the ength packet is composed of one file in one cache, and the data replacing means refers to the one file according to the file name of the management file that manages the encoded data in packet units. The image processing apparatus according to claim 2, wherein:
【請求項7】 前記所定形式で断片化された符号化デー
タは、JPEG2000方式に基づくパケット単位の符号化デー
タであって、前記ダミーデータ生成手段は、前記zero l
ength packetのデータとしてNULLを設定することを
特徴とする請求項2又は6に記載の画像処理装置。
7. The fragmented coded data in the predetermined format is coded data in packet units based on the JPEG2000 system, and the dummy data generation means is configured to perform the zero l
7. The image processing device according to claim 2, wherein NULL is set as the data of the ength packet.
【請求項8】 前記ダミーデータ生成手段は、前記符号
化データの数量としての前記パケットの個数に応じて、
それらパケットを複数のフォルダに分散して格納するこ
とを特徴とする請求項3に記載の画像処理装置。
8. The dummy data generation means, according to the number of the packets as the quantity of the encoded data,
The image processing apparatus according to claim 3, wherein the packets are distributed and stored in a plurality of folders.
【請求項9】 前記ダミーデータ生成手段は、前記符号
化データ毎にフォルダを生成することを特徴とする請求
項3に記載の画像処理装置。
9. The image processing apparatus according to claim 3, wherein the dummy data generation unit generates a folder for each of the encoded data.
【請求項10】 更に、前記データ置換手段によって置
き換えがなされたキャッシュファイルをシーケンシャル
に読み出すと共に、読み出したデータを前記所定形式に
準拠したデコード手順に基づいてデコードするデコード
手段を備えることを特徴とする請求項1乃至9のいずれ
か1項に記載の画像処理装置。
10. The cache file replaced by the data replacement unit is sequentially read, and a decoding unit is provided for decoding the read data based on a decoding procedure conforming to the predetermined format. The image processing apparatus according to claim 1.
【請求項11】 前記ダミーデータ生成手段による前記
ダミー符号化データの設定に先立って、前記ヘッダデー
タに含まれる属性情報に基づいて、前記符号化データの
管理ファイルを作成する管理ファイル作成手段を更に備
え、 前記データ置換手段は、前記ダミー符号化データと前記
符号化データとを、前記管理ファイルと同一のファイル
内で保存すると共に、前記管理ファイル内の領域参照情
報を書き換えることにより、前記ダミー符号化データ
を、前記外部装置から実際に受信した前記符号化データ
で置き換えることを特徴とする請求項1に記載の画像処
理装置。
11. A management file creating means for creating a management file of the encoded data based on attribute information included in the header data, prior to setting the dummy encoded data by the dummy data generating means. The data replacement unit stores the dummy coded data and the coded data in the same file as the management file, and rewrites the area reference information in the management file to thereby write the dummy code. The image processing apparatus according to claim 1, wherein the encoded data is replaced with the encoded data actually received from the external device.
【請求項12】 前記所定形式で断片化された符号化デ
ータは、JPEG2000方式に基づくパケット単位の符号化デ
ータであって、前記ダミーデータ生成手段は1つのキャ
ッシュ中では1つのzero length packetデータを生成
し、 前記データ置換手段は、パケット単位の前記符号化デー
タの保存場所を指し示すオフセット情報に従って前記ze
ro length packetのデータを参照することを特徴とする
請求項11に記載の画像処理装置。
12. The fragmented coded data in the predetermined format is coded data in units of packets based on the JPEG2000 system, and the dummy data generating means stores one zero length packet data in one cache. The data replacement means generates the ze according to offset information indicating a storage location of the encoded data in packet units.
The image processing apparatus according to claim 11, wherein the data of ro length packet is referred to.
【請求項13】 通信ネットワークを介して双方通信可
能に接続された外部装置からユーザ所望の画像について
所定形式で断片化された符号化データを受信すると共に
キャッシュする画像処理装置におけるデータキャッシュ
方法であって、 前記符号化データの受信に先立って、前記外部装置から
前記画像に関するヘッダデータを受信する受信工程と、 受信した前記ヘッダデータに基づいて、前記画像を構成
するタイルの数量と、個々のタイルを構成するために必
要な前記符号化データの数量とを算出する算出工程と、 前記算出工程で算出されたタイルのそれぞれに対して、
前記符号化データの数量分だけ所定のダミー符号化デー
タを設定するダミーデータ生成工程と、 前記ダミーデータ生成工程で設定された前記ダミー符号
化データのうち、前記外部装置から実際に受信した前記
符号化データに対応するダミー符号化データを、前記外
部装置から受信した前記符号化データで置き換えるデー
タ置換工程と、を有することを特徴とする画像処理装置
におけるデータキャッシュ方法。
13. A data cache method in an image processing apparatus, which receives fragmented coded data in a predetermined format for an image desired by a user from an external apparatus connected so as to be able to communicate with each other via a communication network and caches the coded data. A receiving step of receiving header data related to the image from the external device prior to receiving the encoded data; the number of tiles forming the image based on the received header data; For each of the tiles calculated in the calculation step, and a calculation step for calculating the number of the coded data necessary for configuring
A dummy data generating step of setting predetermined dummy encoded data by the number of the encoded data; and the code actually received from the external device among the dummy encoded data set in the dummy data generating step. A data replacement step of replacing dummy coded data corresponding to the coded data with the coded data received from the external device, the data cache method in the image processing apparatus.
【請求項14】 前記ダミーデータ生成工程での前記ダ
ミー符号化データの設定に先立って、前記ヘッダデータ
に含まれる属性情報に基づいて、前記符号化データの管
理ファイルを作成する管理ファイル作成工程を更に備
え、 前記データ置換工程では、前記ダミー符号化データと前
記符号化データとを、前記管理ファイルを用いて記憶媒
体の内部で別々の領域参照情報に基づいて管理すると共
に、前記領域参照情報を書き換えることにより前記ダミ
ー符号化データを、前記外部装置から実際に受信した前
記符号化データで置き換えることを特徴とする請求項1
3に記載のデータキャッシュ方法。
14. A management file creating step of creating a management file of the encoded data based on attribute information included in the header data prior to setting the dummy encoded data in the dummy data generating step. Further, in the data replacing step, the dummy coded data and the coded data are managed based on different area reference information inside the storage medium using the management file, and the area reference information is stored. 2. The dummy encoded data is replaced by the encoded data actually received from the external device by rewriting.
3. The data cache method described in 3.
【請求項15】 前記所定形式で断片化された符号化デ
ータは、JPEG2000方式に基づくパケット単位の符号化デ
ータであることを特徴とする請求項13又は14に記載
のデータキャッシュ方法。
15. The data cache method according to claim 13, wherein the encoded data fragmented in the predetermined format is encoded data in packet units based on the JPEG2000 system.
【請求項16】 前記ダミー符号化データは、前記JPEG
2000方式に準拠したビットストリーム・シンタックスで
規定されているzero length packetのデータであること
を特徴とする請求項15に記載のデータキャッシュ方
法。
16. The dummy encoded data is the JPEG
The data cache method according to claim 15, wherein the data is zero length packet data defined by a bitstream syntax conforming to the 2000 system.
【請求項17】 前記ダミーデータ生成工程では、前記
zero length packetのデータを前記パケット毎にそれぞ
れ設定することを特徴とする請求項16に記載のデータ
キャッシュ方法。
17. The dummy data generating step comprises:
The data cache method according to claim 16, wherein zero length packet data is set for each packet.
【請求項18】 前記所定形式で断片化された符号化デ
ータは、JPEG2000方式に基づくパケット単位の符号化デ
ータであって、前記ダミーデータ生成工程では、前記ze
ro length packetのデータを、1つのキャッシュ中で1
つのファイルで構成しており、前記データ置換工程で
は、前記パケット単位の前記符号化データを管理する前
記管理ファイルのファイル名に従って前記1つのファイ
ルを参照することを特徴とする請求項14に記載のデー
タキャッシュ方法。
18. The fragmented encoded data in the predetermined format is encoded data in packet units based on the JPEG2000 system, and in the dummy data generating step, the ze
The data of ro length packet is 1 in one cache
15. The file is configured with one file, and in the data replacing step, the one file is referred to according to a file name of the management file that manages the encoded data in the packet unit. Data cache method.
【請求項19】 前記所定形式で断片化された符号化デ
ータは、JPEG2000方式に基づくパケット単位の符号化デ
ータであって、前記ダミーデータ生成工程では、前記ze
ro length packetのデータとしてNULLを設定するこ
とを特徴とする請求項14又は18に記載のデータキャ
ッシュ方法。
19. The fragmented coded data in the predetermined format is coded data in packet units based on the JPEG2000 system, and in the dummy data generating step, the ze
19. The data cache method according to claim 14, wherein NULL is set as the data of the ro length packet.
【請求項20】 前記ダミーデータ生成工程では、前記
符号化データの数量としての前記パケットの個数に応じ
て、それらパケットを複数のフォルダに分散して格納す
ることを特徴とする請求項15に記載のデータキャッシ
ュ方法。
20. The dummy data generating step according to claim 15, wherein the packets are distributed and stored in a plurality of folders according to the number of the packets as the quantity of the encoded data. Data caching method.
【請求項21】 前記ダミーデータ生成工程では前記符
号化データ毎にフォルダを生成することを特徴とする請
求項15に記載のデータキャッシュ方法。
21. The data cache method according to claim 15, wherein a folder is generated for each of the encoded data in the dummy data generating step.
【請求項22】 更に、前記データ置換工程で置き換え
がなされたキャッシュファイルをシーケンシャルに読み
出すと共に、読み出したデータを前記所定形式に準拠し
たデコード手順に基づいてデコードする工程を備えるこ
とを特徴とする請求項13乃至21のいずれか1項に記
載のデータキャッシュ方法。
22. The method further comprises a step of sequentially reading out the cache file replaced in the data replacing step and decoding the read data based on a decoding procedure conforming to the predetermined format. 22. The data cache method according to any one of items 13 to 21.
【請求項23】 前記ダミーデータ生成工程における前
記ダミー符号化データの設定に先立って、前記ヘッダデ
ータに含まれる属性情報に基づいて、前記符号化データ
の管理ファイルを作成する管理ファイル作成工程を更に
備え、 前記データ置換工程では、前記ダミー符号化データと前
記符号化データとを、前記管理ファイルと同一のファイ
ル内で保存すると共に、前記管理ファイル内の領域参照
情報を書き換えることにより、前記ダミー符号化データ
を、前記外部装置から実際に受信した前記符号化データ
で置き換えることを特徴とする請求項13に記載のデー
タキャッシュ方法。
23. Prior to the setting of the dummy encoded data in the dummy data generating step, a management file creating step of creating a management file of the encoded data based on attribute information included in the header data is further included. In the data replacing step, the dummy coded data and the coded data are stored in the same file as the management file, and the dummy code is rewritten by rewriting area reference information in the management file. 14. The data cache method according to claim 13, wherein the encoded data is replaced with the encoded data actually received from the external device.
【請求項24】 前記所定形式で断片化された符号化デ
ータは、JPEG2000方式に基づくパケット単位の符号化デ
ータであって、前記ダミーデータ生成工程は1つのキャ
ッシュ中では1つのzero length packetデータを生成
し、 前記データ置換工程は、パケット単位の前記符号化デー
タの保存場所を指し示すオフセット情報に従って前記ze
ro length packetのデータを参照することを特徴とする
請求項23に記載のデータキャッシュ方法。
24. The fragmented coded data in the predetermined format is coded data in units of packets based on the JPEG2000 system, and the dummy data generating step generates one zero length packet data in one cache. And generating the data in the data replacement step according to offset information indicating a storage location of the encoded data in packet units.
The data cache method according to claim 23, wherein the data of the ro length packet is referred to.
【請求項25】 請求項13乃至24の何れか1項に記
載のデータキャッシュ方法を実行させるようにコンピュ
ータを動作させることを特徴とするコンピュータプログ
ラム。
25. A computer program for causing a computer to operate so as to execute the data cache method according to any one of claims 13 to 24.
【請求項26】 請求項25に記載のコンピュータプロ
グラムを格納したことを特徴とする、コンピュータによ
り読み取り可能な記憶媒体。
26. A computer-readable storage medium having the computer program according to claim 25 stored therein.
JP2002222021A 2001-08-30 2002-07-30 Image processing apparatus and data cache method thereof Expired - Fee Related JP3768934B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002222021A JP3768934B2 (en) 2001-08-30 2002-07-30 Image processing apparatus and data cache method thereof
US10/231,206 US20030067627A1 (en) 2001-08-30 2002-08-30 Image processing method and its data cache method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-261799 2001-08-30
JP2001261799 2001-08-30
JP2002222021A JP3768934B2 (en) 2001-08-30 2002-07-30 Image processing apparatus and data cache method thereof

Publications (2)

Publication Number Publication Date
JP2003179760A true JP2003179760A (en) 2003-06-27
JP3768934B2 JP3768934B2 (en) 2006-04-19

Family

ID=26621313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002222021A Expired - Fee Related JP3768934B2 (en) 2001-08-30 2002-07-30 Image processing apparatus and data cache method thereof

Country Status (1)

Country Link
JP (1) JP3768934B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007142614A (en) * 2005-11-16 2007-06-07 Ricoh Co Ltd Image processing apparatus and method, program, and information recording medium
US7660476B2 (en) 2004-12-28 2010-02-09 Canon Kabushiki Kaisha Image processing method and image processing apparatus
US7711834B2 (en) 2002-12-13 2010-05-04 Ricoh Co., Ltd. Network access to partial document images
US7729549B2 (en) 2005-09-02 2010-06-01 Ricoh Company, Ltd. Image processing apparatus and image processing method
US8732218B2 (en) 2007-11-13 2014-05-20 Ricoh Company, Ltd. File access system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7711834B2 (en) 2002-12-13 2010-05-04 Ricoh Co., Ltd. Network access to partial document images
US7660476B2 (en) 2004-12-28 2010-02-09 Canon Kabushiki Kaisha Image processing method and image processing apparatus
US7729549B2 (en) 2005-09-02 2010-06-01 Ricoh Company, Ltd. Image processing apparatus and image processing method
JP2007142614A (en) * 2005-11-16 2007-06-07 Ricoh Co Ltd Image processing apparatus and method, program, and information recording medium
US8732218B2 (en) 2007-11-13 2014-05-20 Ricoh Company, Ltd. File access system

Also Published As

Publication number Publication date
JP3768934B2 (en) 2006-04-19

Similar Documents

Publication Publication Date Title
JP4165668B2 (en) Method and apparatus for compressing continuous, non-separated data streams
AU2021232817A1 (en) Methods, systems, apparatus, products, articles and data structures for cross-platform digital content
US20030067627A1 (en) Image processing method and its data cache method
US9098526B1 (en) System and method for wireless device access to external storage
US7181468B2 (en) Content management for rich media publishing system
JP3560758B2 (en) Data management method and data management device using the same
JP4934462B2 (en) Method, server and computer program for accessing partial document images
US20040003117A1 (en) Method and apparatus for dynamic optimization and network delivery of multimedia content
WO2001097071A2 (en) File system for distributing content in a data network and related method
JP2002524791A (en) Apparatus and method for specifying information to be read via a computer network
KR20020007945A (en) Enlarged Digital Image Providing Method and Apparatus Using Data Communication Networks
US7809814B2 (en) Method and device for managing requests in an architecture of the client-server type
US20170010824A1 (en) Previewing File Information Over a Network
JP2004348268A (en) Data upload method to data storing system
KR20030060899A (en) Configurable transformation of electronic documents
JP2003179760A (en) Image processor and data cache method therefor
JP2000113203A (en) Image processor and method
JP4065535B2 (en) Code data creation method and apparatus
JP3768866B2 (en) Method and apparatus for creating encoded data
JP3897691B2 (en) Scroll display method and apparatus
JP3309316B2 (en) Service introduction information transfer method and system
JP2011087072A (en) Image providing server device, control method thereof, and program
JP2009176085A (en) Content viewing apparats and content viewing program
JP3958198B2 (en) Image processing method
KR20050109848A (en) System for transmitting and converting image

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040611

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051122

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060202

R150 Certificate of patent or registration of utility model

Ref document number: 3768934

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140210

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees