JP2014030209A - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP2014030209A
JP2014030209A JP2013182666A JP2013182666A JP2014030209A JP 2014030209 A JP2014030209 A JP 2014030209A JP 2013182666 A JP2013182666 A JP 2013182666A JP 2013182666 A JP2013182666 A JP 2013182666A JP 2014030209 A JP2014030209 A JP 2014030209A
Authority
JP
Japan
Prior art keywords
screen information
cache
compressed
unit
compression
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
JP2013182666A
Other languages
Japanese (ja)
Other versions
JP5655915B2 (en
Inventor
Mitsuyasu Nakajima
光康 中嶋
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2013182666A priority Critical patent/JP5655915B2/en
Publication of JP2014030209A publication Critical patent/JP2014030209A/en
Application granted granted Critical
Publication of JP5655915B2 publication Critical patent/JP5655915B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a client device of a server-based computing system which can give a quick display response to an operation even in the client device in which a cache area is not sufficiently secured, and to provide a program.SOLUTION: In an image processing apparatus, screen information generated by a server device is received, the received screen information is compressed, the compressed screen information is stored in a cache area, the stored compressed screen information is output to a display section of the client device, the screen information corresponding to the compressed screen information is received from the server device, and the received screen information is output to the display section of the client device. In addition, a storage method for storing the compressed screen information in the cache area is stored by automatically compressing the screen information after a predetermined time elapses after receiving the screen information from the server device.

Description

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

サーバベース・コンピューティング・システム(Server Based Computing System)とは、全てのアプリケーションの実行等の各種処理をサーバ装置上で行い、クライアント装置を入力及び出力の端末として使用するコンピューティング・システムである。このサーバベース・コンピューティング・システムでは、クライアント装置からサーバ装置に対してキーボードやマウス等の入力情報を送信し、この入力情報に基づいてサーバ装置からクライアント装置に対してはクライアント装置で表示される画面情報を生成し、送信する(例えば、特許文献1参照)。   A server-based computing system is a computing system that performs various processes such as execution of all applications on a server device and uses a client device as an input / output terminal. In this server-based computing system, input information such as a keyboard and a mouse is transmitted from the client device to the server device, and displayed on the client device from the server device to the client device based on this input information. Screen information is generated and transmitted (see, for example, Patent Document 1).

特開2004−171063号公報JP 2004-171063 A

画面情報が送信されるネットワーク・トラフィックを減らし、クライアント装置での操作レスポンスの向上のために、サーバ装置から送信された画面情報は、必要に応じてサーバ装置及びクライアント装置のキャッシュ領域に記憶管理され、キャッシュ領域に記憶される画面情報と同一の画面情報はサーバ装置から再度クライアント装置に送信せず、クライアント装置のキャッシュ領域に記憶される画面情報がクライアント装置では表示される。なお一般的には、キャッシュ領域に記憶管理される画面情報とは、文字フォントや初期画面等の画像データ(画面情報)である。   The screen information transmitted from the server device is stored and managed in the cache area of the server device and the client device as necessary in order to reduce the network traffic to which the screen information is transmitted and improve the operation response in the client device. The same screen information as the screen information stored in the cache area is not transmitted again from the server apparatus to the client apparatus, and the screen information stored in the cache area of the client apparatus is displayed on the client apparatus. In general, the screen information stored and managed in the cache area is image data (screen information) such as a character font and an initial screen.

しかし、従来のサーバベース・コンピューティング・システムでは、キャッシュ領域が十分確保されていないクライアント装置を用いた場合に、サーバ装置からクライアント装置への画面情報の送信回数が多くなっていた。このため、サーバ装置及びクライアント装置の間のネットワーク・トラフィックが混雑している場合に、クライアント装置の操作に対する表示レスポンスが遅くなり、操作性が低下してしまうという問題があった。   However, in a conventional server-based computing system, when a client device that does not have a sufficient cache area is used, the number of times screen information is transmitted from the server device to the client device increases. For this reason, when the network traffic between the server device and the client device is congested, there is a problem that the display response to the operation of the client device is delayed and the operability is lowered.

本発明の課題は、表示レスポンスが早い画像処理装置、及びプログラムを提供することである。   An object of the present invention is to provide an image processing apparatus and a program having a quick display response.

上記課題を解決するために、請求項1に記載の発明は、画像処理装置であって、画面情報を取得する画面情報取得手段と、この画面情報取得手段により取得された画面情報を圧縮する圧縮手段と、この圧縮手段により圧縮された圧縮画面情報をキャッシュ領域に記憶する圧縮画面情報記憶手段と、この圧縮画面情報記憶手段により記憶される圧縮画面情報を表示部へ出力すると共に、前記圧縮画面情報に対応する画面情報を取得し、この取得した画面情報を前記表示部へ出力するように制御する制御手段と、を有することを特徴とする。   In order to solve the above-mentioned problem, the invention described in claim 1 is an image processing apparatus, and includes screen information acquisition means for acquiring screen information, and compression for compressing screen information acquired by the screen information acquisition means. Means, a compressed screen information storage means for storing the compressed screen information compressed by the compression means in a cache area, and output the compressed screen information stored by the compressed screen information storage means to a display unit, and the compressed screen information Control means for acquiring screen information corresponding to the information and controlling the acquired screen information to be output to the display unit.

本発明によれば、表示レスポンスが早い画像処理装置、及びプログラムを提供できる。   According to the present invention, it is possible to provide an image processing apparatus and a program that have a quick display response.

本発明に係る第1の実施の形態のサーバベース・コンピューティング・システムの構成を示す図である。1 is a diagram showing a configuration of a server-based computing system according to a first embodiment of the present invention. サーバ装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a server apparatus. クライアント装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a client apparatus. サーバ装置に記憶される管理テーブルの構成を示す図である。It is a figure which shows the structure of the management table memorize | stored in a server apparatus. クライアント装置に記憶される管理テーブルの構成を示す図である。It is a figure which shows the structure of the management table memorize | stored in a client apparatus. サーバ装置で実行されるサーバ処理を示すフローチャートである。It is a flowchart which shows the server process performed with a server apparatus. クライアント装置で実行されるクライアント処理を示すフローチャートである。It is a flowchart which shows the client process performed with a client apparatus. クライアント処理における第1の再描画要求処理を示すフローチャートである。It is a flowchart which shows the 1st redrawing request process in a client process. クライアント処理における第1のキャッシュ格納処理を示すフローチャートである。It is a flowchart which shows the 1st cache storage process in a client process. クライアント装置で実行されるTIMERタスク処理を示すフローチャートである。It is a flowchart which shows the TIMER task process performed with a client apparatus. 本発明に係る第2の実施の形態のクライアント処理における第2の再描画要求処理を示すフローチャートである。It is a flowchart which shows the 2nd redrawing request process in the client process of 2nd Embodiment which concerns on this invention. クライアント処理における第2のキャッシュ格納処理を示すフローチャートである。It is a flowchart which shows the 2nd cache storage process in a client process. 第2のキャッシュ格納処理における第1のキャッシュJPEG化処理を示すフローチャートである。It is a flowchart which shows the 1st cache JPEG process in a 2nd cache storage process. 本発明に係る第3の実施の形態のクライアント処理における第3の再描画要求処理を示すフローチャートである。It is a flowchart which shows the 3rd redrawing request process in the client process of 3rd Embodiment which concerns on this invention. クライアント処理における第3のキャッシュ格納処理を示すフローチャートである。It is a flowchart which shows the 3rd cache storage process in a client process. 第3のキャッシュ格納処理における第2のキャッシュJPEG化処理を示すフローチャートである。It is a flowchart which shows the 2nd cache JPEG conversion process in a 3rd cache storage process. 第1の変形例の第3のキャッシュJPEG化処理を示すフローチャートである。It is a flowchart which shows the 3rd cache JPEG conversion process of a 1st modification. 第2の変形例の第4のキャッシュJPEG化処理を示すフローチャートである。It is a flowchart which shows the 4th cache JPEG conversion process of a 2nd modification.

以下、添付図面を参照して本発明に係る好適な第1〜第3の実施の形態及び第1、第2の変形例を順に詳細に説明する。なお本発明は、図示例に限定されるものではない。   Hereinafter, preferred first to third embodiments and first and second modifications according to the present invention will be described in detail with reference to the accompanying drawings. The present invention is not limited to the illustrated example.

(第1の実施の形態)
先ず図1〜図10を参照して、本発明に係る第1実施の形態を説明する。図1〜図3は、本実施の形態の装置構成である。図1に、本実施の形態のサーバベース・コンピューティング・システム1の全体構成を示す。図2に、サーバ装置10の内部構成を示す。図3にクライアント装置20Aの内部構成を示す。
(First embodiment)
First, a first embodiment according to the present invention will be described with reference to FIGS. 1 to 3 show an apparatus configuration of the present embodiment. FIG. 1 shows an overall configuration of a server-based computing system 1 according to the present embodiment. FIG. 2 shows the internal configuration of the server device 10. FIG. 3 shows the internal configuration of the client device 20A.

図1に示すように、本実施の形態のシンクライアントシステムとしてのサーバベース・コンピューティング・システム1は、サーバ装置10と、複数のクライアント装置20(20A,20B)とを備えて構成され、各部が通信ネットワークnを介して接続される。通信ネットワークnには、アクセスポイント40が接続されている。   As shown in FIG. 1, a server-based computing system 1 as a thin client system according to the present embodiment includes a server device 10 and a plurality of client devices 20 (20A, 20B). Are connected via a communication network n. An access point 40 is connected to the communication network n.

サーバ装置10は、シンクライアントシステムにおけるサーバ装置である。クライアント装置20(20A,20B)は、シンクライアント装置である。クライアント装置20は、例えば、PC(Personal Computer)であり、通信ネットワークnに有線で接続される。クライアント装置20A,20Bは、例えばそれぞれラップトップPC、携帯電話機であり、通信ネットワークnとアクセスポイント40を介して無線LAN(Local Area Network)方式で接続される。   The server device 10 is a server device in a thin client system. The client device 20 (20A, 20B) is a thin client device. The client device 20 is, for example, a PC (Personal Computer), and is connected to the communication network n by wire. The client apparatuses 20A and 20B are, for example, a laptop PC and a mobile phone, respectively, and are connected to the communication network n and the access point 40 by a wireless LAN (Local Area Network) system.

通信ネットワークnは、例えば、LANであるとするが、WAN(Wide Area Network)等を含めてもよく、電話回線、専用線、移動体通信網、通信衛星網、CATV(Cable Television)回線、インターネットプロバイダ等を含めてもよい。また、クライアント装置20等の種類、台数等は、図1のサーバベース・コンピューティング・システム1の例に限定されるものではない。   The communication network n is, for example, a LAN, but may include a WAN (Wide Area Network) or the like, such as a telephone line, a dedicated line, a mobile communication network, a communication satellite network, a CATV (Cable Television) line, or the Internet. Providers may be included. In addition, the type, the number, and the like of the client device 20 are not limited to the example of the server-based computing system 1 in FIG.

図2に示すように、サーバ装置10は、CPU(Central Processing Unit)11と、入力部12と、RAM(Random Access Memory)13と、表示部14と、記憶部15と、送受信制御部16と、を備えて構成され、各部がバス17を介して接続される。   As shown in FIG. 2, the server device 10 includes a CPU (Central Processing Unit) 11, an input unit 12, a RAM (Random Access Memory) 13, a display unit 14, a storage unit 15, and a transmission / reception control unit 16. The components are connected via a bus 17.

CPU11は、サーバ装置10の各部を中央制御する。CPU11は、記憶部15に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM13に展開し、RAM13に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 11 centrally controls each unit of the server device 10. The CPU 11 expands a program designated from the system program and various application programs stored in the storage unit 15 in the RAM 13 and executes various processes in cooperation with the program expanded in the RAM 13.

CPU11は、後述するサーバ処理プログラムとの協働で、クライアント装置20と通信接続を確立し、通信接続確立中のクライアント装置の操作入力に応じて、画面情報の描画をそのクライアント装置20に指示する。また、CPU11は、通信接続確立中のクライアント装置20からキャッシュ再描画の要求がある場合に、要求対象の画面情報を要求元のクライアント装置20に送信する。ここでキャッシュ再描画の要求とは、クライアント装置20のキャッシュ領域261に格納される画面情報がJPEG等の非可逆圧縮がなされていた場合に、クライアント装置20がJPEG等の非可逆圧縮がなされていない画面情報の再送信をサーバ装置10に要求することである。   The CPU 11 establishes a communication connection with the client device 20 in cooperation with a server processing program to be described later, and instructs the client device 20 to draw screen information in response to an operation input of the client device that is establishing the communication connection. . In addition, when there is a cache redrawing request from the client device 20 that is establishing a communication connection, the CPU 11 transmits the requested screen information to the requesting client device 20. Here, the cache redrawing request means that when the screen information stored in the cache area 261 of the client device 20 has been subjected to lossy compression such as JPEG, the client device 20 has been subjected to lossy compression such as JPEG. This is to request the server apparatus 10 to retransmit screen information that is not present.

入力部12は、カーソルキー、文字、数字入力キー及び各種機能キーなどを備えたキーボードを含む構成とし、操作者により各キーが押下された操作信号をCPU11に出力する。また、入力部12は、マウス等のポインティングデバイスを含み、位置入力信号を受け付けてCPU11に送信することとしてもよい。   The input unit 12 includes a keyboard having cursor keys, characters, numeric input keys, various function keys, and the like, and outputs an operation signal indicating that each key is pressed by the operator to the CPU 11. The input unit 12 may include a pointing device such as a mouse, and may receive a position input signal and transmit it to the CPU 11.

RAM13は、揮発性のメモリであり、実行される各種プログラムやこれら各種プログラムに係るデータ等を格納するワークエリアを有する。   The RAM 13 is a volatile memory and has a work area for storing various programs to be executed and data related to these various programs.

表示部14は、LCD(Liquid Crystal Display)、CRT(Cathode Ray Tube)等で構成され、CPU11からの表示制御信号に従って画面表示を行う。   The display unit 14 includes an LCD (Liquid Crystal Display), a CRT (Cathode Ray Tube), and the like, and performs screen display according to a display control signal from the CPU 11.

記憶部15は、磁気記録媒体を有するHDD(Hard Disk Drive)等により構成され、各種プログラム及び各種データを記録媒体から読み出し及び書き込み可能に記憶する。記憶部15は、クライアント装置20の画面表示に関するデータを含むキャッシュ領域151を含む。キャッシュ領域151は、後述する管理テーブル1510及びそのキャッシュデータ(クライアント装置20側でキャッシュ中の画面情報(表示データ))を含む。また、記憶部15は、サーバ処理プログラムを記憶する。なお、本実施の形態では、キャッシュ領域は記憶部15に含ませているが、RAM13に含ませてもよい。   The storage unit 15 is configured by an HDD (Hard Disk Drive) having a magnetic recording medium, and stores various programs and various data so that they can be read and written from the recording medium. The storage unit 15 includes a cache area 151 that includes data related to the screen display of the client device 20. The cache area 151 includes a management table 1510 to be described later and its cache data (screen information (display data) being cached on the client device 20 side). The storage unit 15 stores a server processing program. In the present embodiment, the cache area is included in the storage unit 15, but may be included in the RAM 13.

送受信制御部16は、モデム、TA(Terminal Adapter)、ルータ、ネットワークカード等により構成される。送受信制御部16は、接続される通信ネットワークn上のクライアント装置20(20A,20B)等の外部機器と情報を送受信する。   The transmission / reception control unit 16 includes a modem, a TA (Terminal Adapter), a router, a network card, and the like. The transmission / reception control unit 16 transmits / receives information to / from an external device such as the client device 20 (20A, 20B) on the connected communication network n.

図3を参照して、クライアント装置20Aの内部構成を説明する。クライアント装置20は、クライアント装置20Aを有線通信接続にしたものと同様の構成を有する。クライアント装置20Bは、クライアント装置20Aと同様の構成を有し、さらに、通話部等を備える。   The internal configuration of the client device 20A will be described with reference to FIG. The client device 20 has the same configuration as that in which the client device 20A is connected by wired communication. The client device 20B has a configuration similar to that of the client device 20A, and further includes a call unit and the like.

クライアント装置20Aは、CPU21と、記憶部22と、表示コントローラ23と、FB(Flame Buffer)メモリ24と、表示部25と、圧縮画面情報記憶手段、画面情報記憶手段としてのRAM26と、圧縮手段としてのJPEG(Joint Photographic Coding Experts Group)部27と、UART(Universal Asynchronous Receiver Transmitter)28と、画像情報受信手段としてのWiFi(Wireless Fidelity)部29と、キーボード30と、ポインタ31と、計時手段としてのRTC(Real Time Clock)32と、を備えて構成される。   The client device 20A includes a CPU 21, a storage unit 22, a display controller 23, an FB (Flame Buffer) memory 24, a display unit 25, a compressed screen information storage unit, a RAM 26 as a screen information storage unit, and a compression unit. JPEG (Joint Photographic Coding Experts Group) section 27, UART (Universal Asynchronous Receiver Transmitter) 28, WiFi (Wireless Fidelity) section 29 as image information receiving means, keyboard 30, pointer 31, and clocking means And an RTC (Real Time Clock) 32.

記憶部22、表示コントローラ23、RAM26、JPEG部27、UART28、RTC32は、バス33を介して接続される。FBメモリ24及び表示部25は、表示コントローラ23に接続される。WiFi部29、キーボード30、ポインタ31は、UART28に接続される。   The storage unit 22, display controller 23, RAM 26, JPEG unit 27, UART 28, and RTC 32 are connected via a bus 33. The FB memory 24 and the display unit 25 are connected to the display controller 23. The WiFi unit 29, the keyboard 30, and the pointer 31 are connected to the UART 28.

CPU21は、クライアント装置20Aの各部を中央制御する。CPU21は、記憶部22に記憶された後述するクライアント処理プログラムとの協働で、サーバ装置から受信したキャッシュ格納コマンドに応じて、サーバ装置10から受信した画面情報をキャッシュデータとしてRAM26のキャッシュ領域に格納する。また、CPU21は、サーバ装置10から受信したキャッシュ描画コマンドに応じて、RAM26のキャッシュ領域に格納されたキャッシュデータ(画面情報)を表示部25に表示し、そのキャッシュデータがJPEG部27により圧縮されていると、キャッシュ再描画要求をサーバ装置10へ送信する。   The CPU 21 centrally controls each unit of the client device 20A. The CPU 21 cooperates with a later-described client processing program stored in the storage unit 22 in accordance with a cache storage command received from the server device, and stores the screen information received from the server device 10 as cache data in the cache area of the RAM 26. Store. Further, the CPU 21 displays the cache data (screen information) stored in the cache area of the RAM 26 on the display unit 25 in accordance with the cache drawing command received from the server device 10, and the cache data is compressed by the JPEG unit 27. If so, a cache redraw request is transmitted to the server device 10.

また、CPU21は、記憶部22に記憶された後述するTIMERタスクプログラムとの協働で、RAM26のキャッシュ領域に格納されてから所定時間経過したキャッシュデータをJPEG方式で圧縮して格納する。CPU21とプログラムとの協働の構成は、制御手段、出力回数計算手段として機能する。   Further, the CPU 21 stores the cache data compressed in the JPEG format after a predetermined time has elapsed since being stored in the cache area of the RAM 26 in cooperation with a later-described TIMER task program stored in the storage unit 22. The cooperative configuration of the CPU 21 and the program functions as a control unit and an output number calculation unit.

記憶部22は、フラッシュメモリ等により構成され、各種プログラム及び各種データを書き込み及び読み出し可能に記憶する。記憶部22は、クライアント処理プログラム及びTIMERタスクプログラムを記憶する。   The storage unit 22 is configured by a flash memory or the like, and stores various programs and various data in a writable and readable manner. The storage unit 22 stores a client processing program and a TIMER task program.

表示コントローラ23は、RAM26等から入力される画面情報をFBメモリ24に格納し、表示部25へ出力して表示させる。また、表示コントローラ23は、表示内容を変更する場合に、RAM26等から入力される変更後の画面情報で、FBメモリ24に格納された画面情報を更新する。この更新後の画面情報は、JPEG方式で圧縮済の又は未圧縮の表示用の画面情報である。   The display controller 23 stores the screen information input from the RAM 26 or the like in the FB memory 24 and outputs it to the display unit 25 for display. Further, when the display content is changed, the display controller 23 updates the screen information stored in the FB memory 24 with the changed screen information input from the RAM 26 or the like. The updated screen information is screen information for display that is compressed or uncompressed in the JPEG format.

FBメモリ24は、画面情報を一時的に格納するRAM等のメモリである。表示部25は、LCD、ELD(ElectroLuminescent Display)等から構成され、表示コントローラ23から入力される画面情報に基づいて画面表示を行う。   The FB memory 24 is a memory such as a RAM that temporarily stores screen information. The display unit 25 includes an LCD, an ELD (ElectroLuminescent Display), and the like, and performs screen display based on screen information input from the display controller 23.

RAM26は、RAM13と同様の構成であり、キャッシュ領域261を有する。キャッシュ領域261は、後述する管理テーブル2610と、キャッシュ中の画面情報としてのキャッシュデータとを含む。   The RAM 26 has the same configuration as the RAM 13 and has a cache area 261. The cache area 261 includes a management table 2610, which will be described later, and cache data as screen information in the cache.

JPEG部27は、CPU21の指示により、サーバ装置10から受信した画面情報をJPEG方式で圧縮するハードウエアアクセラレータである。なお本発明の課題を解決するための圧縮方式はJPEG方式に限定されず、他の圧縮方式であってもよいいが、本実施の形態では、キャッシュ領域の有効活用の観点から、lossy圧縮(非可逆圧縮)方式であって、比較的圧縮率が高いJPEG方式とする。   The JPEG unit 27 is a hardware accelerator that compresses the screen information received from the server device 10 by the JPEG method in accordance with an instruction from the CPU 21. Note that the compression method for solving the problem of the present invention is not limited to the JPEG method, and other compression methods may be used. However, in this embodiment, lossy compression (from the viewpoint of effective use of the cache area) The JPEG method is a irreversible compression method and has a relatively high compression rate.

UART28は、バス33を介してCPU21等から入力される各種データとしてのパラレル信号をシリアル信号に変換してWiFi部29、キーボード30、ポインタ31に出力する。また、UART28は、WiFi部29、キーボード30、ポインタ31から入力されたシリアルデータをパラレルデータに変換してバス33を介してCPU21等に出力する。   The UART 28 converts parallel signals as various data input from the CPU 21 or the like via the bus 33 into serial signals and outputs them to the WiFi unit 29, the keyboard 30, and the pointer 31. The UART 28 converts serial data input from the WiFi unit 29, the keyboard 30, and the pointer 31 into parallel data, and outputs the parallel data to the CPU 21 and the like via the bus 33.

WiFi部29は、無線LAN通信用のアンテナ291を備え、アンテナ291を介して外部機器と無線LAN通信を行う。本実施の形態において、WiFi部29は、アクセスポイント40を介してサーバ装置10と通信を行う。   The WiFi unit 29 includes an antenna 291 for wireless LAN communication, and performs wireless LAN communication with an external device via the antenna 291. In the present embodiment, the WiFi unit 29 communicates with the server device 10 via the access point 40.

キーボード30は、各種文字の入力キー及び各種機能キー等を備え、ユーザのキー入力を受け付けてUART28を介してCPU21に出力する。ポインタ31は、位置入力を受け付けるデバイスであり、例えば、タッチパッドや、表示部25と一体的に構成されるタッチパネルである。ポインタ31は、ユーザからのタッチ入力を受け付けて位置情報としてUART28を介してCPU21に出力する。RTC32は、現在の日時情報を計時して出力する計時回路を有する。   The keyboard 30 includes input keys for various characters, various function keys, and the like. The keyboard 30 receives user key inputs and outputs them to the CPU 21 via the UART 28. The pointer 31 is a device that receives a position input, and is, for example, a touch pad or a touch panel configured integrally with the display unit 25. The pointer 31 receives a touch input from the user and outputs it as position information to the CPU 21 via the UART 28. The RTC 32 has a clock circuit that clocks and outputs the current date and time information.

次に、図4及び図5を参照して、サーバ装置10及びクライアント装置20(20A,20B)に記憶される情報を説明する。図4に、サーバ装置10に記憶される管理テーブル1510の構成を示す。図5に、クライアント装置20に記憶される管理テーブル2610の構成を示す。   Next, information stored in the server device 10 and the client device 20 (20A, 20B) will be described with reference to FIGS. FIG. 4 shows the configuration of the management table 1510 stored in the server device 10. FIG. 5 shows the configuration of the management table 2610 stored in the client device 20.

サーバ装置10の記憶部15のキャッシュ領域151には、管理テーブル1510と、管理テーブル1510に記載されるキャッシュデータ(画面情報)と、が格納される。管理テーブル1510は、サーバ装置10に接続されるクライアント装置20に格納されるキャッシュデータを管理するための管理テーブルである。このため、クライアント装置20におけるキャッシュデータの格納状態に応じてキャッシュ領域151が適宜更新される。   The cache area 151 of the storage unit 15 of the server device 10 stores a management table 1510 and cache data (screen information) described in the management table 1510. The management table 1510 is a management table for managing cache data stored in the client device 20 connected to the server device 10. Therefore, the cache area 151 is updated as appropriate according to the storage state of the cache data in the client device 20.

図4に示すように、管理テーブル1510は、クライアント識別子1511と、キャッシュ番号1512と、縦幅(H)1513と、横幅(W)1514と、キャッシュデータ1515との項目を含む。クライアント識別子1511は、クライアント装置20(20A,20B)の識別情報である。クライアント識別子1511は、例えば、クライアント装置20A,20Bを順に、A,Bで表す。   As shown in FIG. 4, the management table 1510 includes items of a client identifier 1511, a cache number 1512, a vertical width (H) 1513, a horizontal width (W) 1514, and cache data 1515. The client identifier 1511 is identification information of the client device 20 (20A, 20B). For example, the client identifier 1511 represents the client devices 20A and 20B in order by A and B, respectively.

キャッシュ番号1512は、クライアント装置20毎に順に付与される各キャッシュデータを示す番号である。縦幅1513は、キャッシュ番号1512のキャッシュデータの縦幅を示すデータである。横幅1514は、キャッシュ番号1512のキャッシュデータの横幅を示すデータである。つまり、縦幅1513及び横幅1514がキャッシュ番号1512のキャッシュデータの縦横の二次元の大きさを示す。また、縦幅1513及び横幅1514の単位は、ドット等である。キャッシュデータ1515は、キャッシュ番号1512のキャッシュデータを示すファイル名等の識別情報である。   The cache number 1512 is a number indicating each cache data given in order for each client device 20. The vertical width 1513 is data indicating the vertical width of the cache data having the cache number 1512. The horizontal width 1514 is data indicating the horizontal width of the cache data having the cache number 1512. That is, the vertical width 1513 and the horizontal width 1514 indicate the vertical and horizontal two-dimensional sizes of the cache data having the cache number 1512. The unit of the vertical width 1513 and the horizontal width 1514 is a dot or the like. The cache data 1515 is identification information such as a file name indicating the cache data with the cache number 1512.

クライアント装置20のRAM26のキャッシュ領域261には、管理テーブル2610と、管理テーブル2610に記載されるキャッシュデータ(画面情報)と、が格納される。管理テーブル2610は、自機のクライアント装置20に格納されるキャッシュデータを管理するための管理テーブルである。   In the cache area 261 of the RAM 26 of the client device 20, a management table 2610 and cache data (screen information) described in the management table 2610 are stored. The management table 2610 is a management table for managing cache data stored in the client device 20 of the own device.

図5に示すように、管理テーブル2610は、キャッシュ番号2611と、縦幅(H)2612と、横幅(W)2613と、状態2614と、時間(sec)2615と、キャッシュデータ2616との項目を含む。キャッシュ番号2611は、自機のキャッシュ領域261に順に付与される各キャッシュデータの番号である。また、キャッシュ番号2611と、管理テーブル1510の自機のクライアント識別子1511におけるキャッシュ番号1512とは、同期が取られる。   As shown in FIG. 5, the management table 2610 includes items of a cache number 2611, a vertical width (H) 2612, a horizontal width (W) 2613, a state 2614, a time (sec) 2615, and cache data 2616. Including. The cache number 2611 is the number of each cache data assigned in order to the cache area 261 of the own device. The cache number 2611 and the cache number 1512 in the client identifier 1511 of the own device in the management table 1510 are synchronized.

縦幅2612は、キャッシュ番号2611のキャッシュデータの縦幅を示すデータである。横幅2613は、キャッシュ番号2611のキャッシュデータの横幅を示すデータである。縦幅2612及び横幅2613の単位は、ドット等である。状態2614は、キャッシュ番号2611のキャッシュデータがJPEG方式により圧縮されているか否かの状態を示す情報である。状態2614では、JPEG方式により圧縮されていない状態を “lossless”と表し、JPEG方式により圧縮されている状態を “lossy”と表すものとする。   The vertical width 2612 is data indicating the vertical width of the cache data having the cache number 2611. The horizontal width 2613 is data indicating the horizontal width of the cache data having the cache number 2611. The unit of the vertical width 2612 and the horizontal width 2613 is a dot or the like. The state 2614 is information indicating whether or not the cache data of the cache number 2611 is compressed by the JPEG method. In the state 2614, a state that is not compressed by the JPEG method is expressed as “lossless”, and a state that is compressed by the JPEG method is expressed as “lossy”.

時間2615は、キャッシュ番号2611のキャッシュデータがキャッシュされてからの経過時間の情報であり、その単位がsecであるものとする。キャッシュデータ2616は、キャッシュ番号2611のキャッシュデータを示すファイル名等の識別情報である。但し、本実施の形態では、時間2615を使用しないものとして説明する。   The time 2615 is information on the elapsed time since the cache data of the cache number 2611 is cached, and the unit is sec. The cache data 2616 is identification information such as a file name indicating the cache data of the cache number 2611. However, in this embodiment, description is made assuming that the time 2615 is not used.

次に、図6〜図10を参照して、本第1の実施の形態におけるサーバベース・コンピューティング・システム1の動作を説明する。図6に、サーバ装置10で実行されるサーバ処理の流れを示す。図7〜図10に、クライアント装置20で実行されるクライアント処理の流れを示す。図8に、クライアント処理における第1の再描画要求処理の流れを示す。図9に、クライアント処理における第1のキャッシュ格納処理の流れを示す。図10に、クライアント処理におけるTIMERタスク処理の流れを示す。本第一の実施の形態のクライアント装置20では、サーバ装置10から画面情報を受信してから所定時間経過後に画面情報を圧縮する。   Next, operations of the server-based computing system 1 in the first embodiment will be described with reference to FIGS. FIG. 6 shows a flow of server processing executed by the server device 10. 7 to 10 show the flow of client processing executed by the client device 20. FIG. 8 shows the flow of the first redrawing request process in the client process. FIG. 9 shows the flow of the first cache storage process in the client process. FIG. 10 shows the flow of the TIMER task process in the client process. In the client device 20 of the first embodiment, the screen information is compressed after a predetermined time has elapsed since the screen information was received from the server device 10.

図6を参照して、サーバ装置10で実行されるサーバ処理を説明する。サーバ処理は、クライアント装置20のキャッシュデータの管理を行うとともに、クライアント装置20にキャッシュデータの表示に関する指示を行う(コマンドを送信する)処理である。サーバ装置10において、例えば、入力部12を介してユーザからサーバ処理の実行開始指示が入力されたことをトリガとして、記憶部15から読み出されて適宜RAM13に展開されたサーバ処理プログラムと、CPU11との協働でサーバ処理が実行される。   With reference to FIG. 6, server processing executed by the server device 10 will be described. The server process is a process of managing cache data of the client device 20 and instructing the client device 20 to display the cache data (transmitting a command). In the server device 10, for example, a server processing program that is read from the storage unit 15 and appropriately expanded in the RAM 13 triggered by the input of a server process execution start instruction from the user via the input unit 12, and the CPU 11 Server processing is executed in cooperation with.

先ず、サーバ装置10とクライアント装置20との間の通信を確立するための接続要求信号を、送受信制御部16を介してクライアント装置20から受信したか否かが判別される(ステップS11)。接続要求信号が受信されていない場合(ステップS11;NO)、ステップS11に移行される。   First, it is determined whether or not a connection request signal for establishing communication between the server device 10 and the client device 20 is received from the client device 20 via the transmission / reception control unit 16 (step S11). When the connection request signal has not been received (step S11; NO), the process proceeds to step S11.

接続要求信号が受信された場合(ステップS11;YES)、接続要求元のクライアント装置20との間の通信接続を確立する通信接続確立処理が実行される(ステップS12)。そして、送受信制御部16を介して通信接続確立中のクライアント装置20から情報が受信され、その受信された情報が、通信接続確立中のクライアント装置20との通信接続終了を要求する接続終了信号であるか否かが判別される(ステップS13)。接続終了信号が受信された場合(ステップS13;YES)、通信接続確立中のクライアント装置20との間の通信接続を終了する接続終了処理が実行され(ステップS14)、サーバ処理が終了する。   When the connection request signal is received (step S11; YES), a communication connection establishment process for establishing a communication connection with the client device 20 that is the connection request source is executed (step S12). Then, information is received from the client device 20 that has established the communication connection via the transmission / reception control unit 16, and the received information is a connection end signal that requests the end of the communication connection with the client device 20 that has established the communication connection. It is determined whether or not there is (step S13). When the connection end signal is received (step S13; YES), a connection end process for ending the communication connection with the client apparatus 20 that has established the communication connection is executed (step S14), and the server process ends.

接続終了信号が受信されていない場合(ステップS13;NO)、ステップS13で受信された情報が、通信接続確立中のクライアント装置20のキーボード30のキー操作又はポインタ31の位置入力操作がなされたことを示す情報であるか否かが判別される(ステップS15)。キー操作又は位置入力操作の情報である場合(ステップS15;YES)、キー操作又は位置入力操作の情報に応じたサーバ装置10側の処理が実行される(ステップS16)。   When the connection end signal has not been received (step S13; NO), the information received in step S13 indicates that the key operation of the keyboard 30 or the position input operation of the pointer 31 of the client device 20 that has established the communication connection has been performed. It is determined whether or not the information indicates (step S15). If the information is key operation or position input operation information (step S15; YES), processing on the server device 10 side according to the key operation or position input operation information is executed (step S16).

そして、ステップS16の処理において、通信接続確立中のクライアント装置20のFBメモリ24の更新があるか(表示部25の表示画像を更新するか)否かが判別される(ステップS17)。FBメモリ24の更新がない場合(ステップS17;NO)、ステップS13に移行される。FBメモリ24の更新がある場合(ステップS17;YES)、記憶部15のキャッシュ領域151に記憶された管理テーブル1510が参照され、FBメモリ24の更新後に対応する画面情報がキャッシュ(済)データとしてキャッシュ領域151にあるか否かが判別される(ステップS18)。なお、管理テーブル1510において、FBメモリ24の更新があるクライアント装置20は、クライアント識別子1511により特定される。   Then, in the process of step S16, it is determined whether or not there is an update of the FB memory 24 of the client device 20 that is establishing a communication connection (a display image of the display unit 25 is updated) (step S17). If the FB memory 24 has not been updated (step S17; NO), the process proceeds to step S13. When the FB memory 24 is updated (step S17; YES), the management table 1510 stored in the cache area 151 of the storage unit 15 is referred to, and the corresponding screen information is updated as cache (completed) data after the FB memory 24 is updated. It is determined whether or not it is in the cache area 151 (step S18). In the management table 1510, the client device 20 with the update of the FB memory 24 is specified by the client identifier 1511.

キャッシュ済データがキャッシュ領域151にある場合(ステップS18;YES)、キャッシュ済データのキャッシュ描画コマンドが生成され、そのキャッシュ描画コマンドが送受信制御部16を介してFBメモリ24の更新があるクライアント装置20へ送信され(ステップS19)、ステップS13に移行される。   If the cached data is in the cache area 151 (step S18; YES), a cache drawing command for the cached data is generated, and the cache drawing command is updated by the client device 20 in which the FB memory 24 is updated via the transmission / reception control unit 16. (Step S19), the process proceeds to step S13.

キャッシュ描画コマンドとは、FBメモリ24の更新があるクライアント装置20に、キャッシュ領域261からキャッシュ(済)データを読み出してFBメモリ24に格納して表示部25に表示させるコマンドであり、描画する画面情報の表示位置情報(表示部25のX座標及びY座標)と、描画指定するキャッシュデータのキャッシュ番号N(N:任意のキャッシュ番号)とを含む。   The cache drawing command is a command that causes the client device 20 that has updated the FB memory 24 to read the cache (completed) data from the cache area 261, store it in the FB memory 24, and display it on the display unit 25. Information display position information (X coordinate and Y coordinate of the display unit 25) and cache number N (N: arbitrary cache number) of cache data to be rendered are included.

キャッシュ済データがキャッシュ領域151にない場合(ステップS18;NO)、FBメモリ24の更新後に対応する画面情報をキャッシュ化するか否かが判別される(ステップS20)。画面情報をキャッシュ化する場合(ステップS20;YES)、FBメモリ24の更新後に対応する画面情報が生成又は記憶部15から読み出され、その画面情報がキャッシュ番号Nでキャッシュ領域151に追加格納されるとともに、その画面情報の追加に応じて管理テーブル1510のレコードが追加更新される。また、そのキャッシュ番号Nと、その画面情報とを含むキャッシュ格納コマンドが生成され、そのキャッシュ格納コマンドが送受信制御部16を介してFBメモリ24の更新があるクライアント装置20へ送信される(ステップS21)。   If the cached data is not in the cache area 151 (step S18; NO), it is determined whether or not the corresponding screen information is to be cached after the update of the FB memory 24 (step S20). When the screen information is cached (step S20; YES), the corresponding screen information is generated or read from the storage unit 15 after the update of the FB memory 24, and the screen information is additionally stored in the cache area 151 with the cache number N. At the same time, the record of the management table 1510 is additionally updated according to the addition of the screen information. Further, a cache storage command including the cache number N and the screen information is generated, and the cache storage command is transmitted to the client device 20 having the update of the FB memory 24 via the transmission / reception control unit 16 (step S21). ).

ステップS21におけるキャッシュ番号Nは、管理テーブル1510において、通信接続確立中のクライアント装置20のクライアント識別子1511のレコードのうち、キャッシュ番号1512に使われていない番号とする。また、ステップS21におけるキャッシュ格納コマンドは、画面情報とキャッシュ番号とを含み、その画面情報を、その指定されたキャッシュ番号でキャッシュ領域261に格納させるコマンドである。また、キャッシュ格納コマンドは、格納する画面情報の縦幅、横幅及び画面情報名(ファイル名)を含む。   The cache number N in step S21 is a number that is not used as the cache number 1512 in the record of the client identifier 1511 of the client device 20 that is establishing communication connection in the management table 1510. The cache storage command in step S21 is a command that includes screen information and a cache number, and stores the screen information in the cache area 261 with the designated cache number. The cache storage command includes the vertical and horizontal widths of the screen information to be stored and the screen information name (file name).

そして、キャッシュ番号Nを含むキャッシュ描画コマンドが送受信制御部16を介してFBメモリ24の更新があるクライアント装置20へ送信され(ステップS22)、ステップS13に移行される。   Then, the cache drawing command including the cache number N is transmitted to the client device 20 having the update of the FB memory 24 via the transmission / reception control unit 16 (step S22), and the process proceeds to step S13.

画面情報をキャッシュ化しない場合(ステップS20;NO)、FBメモリ24の更新後に対応する画面情報が生成又は記憶部15から読み出され、その画面情報のFB描画コマンドが生成され、そのFB描画コマンドが送受信制御部16を介してFBメモリ24の更新があるクライアント装置20へ送信され(ステップS23)、ステップS13に移行される。FB描画コマンドは、画面情報を含み、FBメモリ24の更新があるクライアント装置20に、その画面情報をキャッシュ領域261にキャッシュすることなくFBメモリ24に格納して表示部25に表示させるコマンドである。   When the screen information is not cached (step S20; NO), the corresponding screen information is read from the generation or storage unit 15 after the update of the FB memory 24, the FB drawing command of the screen information is generated, and the FB drawing command Is transmitted to the client device 20 with the update of the FB memory 24 via the transmission / reception control unit 16 (step S23), and the process proceeds to step S13. The FB drawing command is a command that includes screen information and stores the screen information in the FB memory 24 without displaying it in the cache area 261 and displays it on the display unit 25 in the client device 20 that has the FB memory 24 updated. .

キー操作又は位置入力操作の情報でない場合(ステップS15;NO)、ステップS13で受信された情報がキャッシュ再描画要求であるか否かが判別される(ステップS24)。キャッシュ再描画要求である場合(ステップS24;YES)、管理テーブル1510が参照され、キャッシュ再描画要求で指定されたキャッシュ番号N(N:任意の番号)のキャッシュデータがJPEG方式で圧縮されていない画面情報として読み出され、そのキャッシュ番号Nと、画面情報とを含むキャッシュ格納コマンドが生成され、そのキャッシュ格納コマンドが送受信制御部16を介してキャッシュ再描画要求元のクライアント装置20へ送信される(ステップS25)。   If the information is not key operation or position input operation information (step S15; NO), it is determined whether the information received in step S13 is a cache redrawing request (step S24). When it is a cache redrawing request (step S24; YES), the management table 1510 is referred to, and the cache data of the cache number N (N: any number) designated by the cache redrawing request is not compressed by the JPEG method. A cache storage command that is read out as screen information and includes the cache number N and screen information is generated, and the cache storage command is transmitted to the client device 20 that is the cache redrawing request source via the transmission / reception control unit 16. (Step S25).

そして、ステップS25のキャッシュ格納コマンドに対応するキャッシュデータのキャッシュ描画コマンドが生成され、そのキャッシュ描画コマンドが送受信制御部16を介してキャッシュ再描画要求元のクライアント装置20へ送信され(ステップS26)、ステップS13に移行される。   Then, a cache drawing command for the cache data corresponding to the cache storage command in step S25 is generated, and the cache drawing command is transmitted to the client device 20 that is the cache redrawing request source via the transmission / reception control unit 16 (step S26). The process proceeds to step S13.

キャッシュ再描画要求でない場合(ステップS24;NO)、ステップS13で受信された情報がキャッシュ破棄要求であるか否かが判別される(ステップS27)。キャッシュ破棄要求でない場合(ステップS27;NO)、ステップS13に移行される。   If it is not a cache redraw request (step S24; NO), it is determined whether or not the information received in step S13 is a cache discard request (step S27). If it is not a cache discard request (step S27; NO), the process proceeds to step S13.

キャッシュ破棄要求である場合(ステップS27;YES)、管理テーブル1510が参照され、キャッシュ破棄要求で指定されたキャッシュ番号N(N:任意の番号)のキャッシュデータが破棄(削除)され、その破棄に応じて管理テーブル1510が更新され(ステップS28)、ステップS13に移行される。   If the request is a cache discard request (step S27; YES), the management table 1510 is referred to, and the cache data of the cache number N (N: arbitrary number) specified in the cache discard request is discarded (deleted). Accordingly, the management table 1510 is updated (step S28), and the process proceeds to step S13.

なお、図6のサーバ処理のフローチャートでは表されていないが、例えば、サーバ装置10側で管理テーブル1510が壊れた等のトラブルが発生した場合等に、サーバ装置10においてキャッシュ破棄コマンドが生成され、そのキャッシュ破棄コマンドが、送受信制御部16を介してキャッシュ破棄要求先のクライアント装置20に送信される。キャッシュ破棄コマンドには、破棄するキャッシュデータのキャッシュ番号が含まれる。   Although not shown in the flowchart of the server processing in FIG. 6, for example, when a trouble such as the management table 1510 is broken on the server device 10 side, a cache discard command is generated in the server device 10. The cache discard command is transmitted to the client apparatus 20 that is the cache discard request destination via the transmission / reception control unit 16. The cache discard command includes the cache number of the cache data to be discarded.

次いで、図7〜図9を参照して、クライアント装置20で実行されるクライアント処理を説明する。クライアント処理は、表示部25に画面情報を表示させる処理である。クライアント装置20において、例えば、キーボード30を介してユーザからクライアント処理の実行指示が入力されたことをトリガとして、記憶部22から読み出されて適宜RAM26に展開されたクライアント処理プログラムと、CPU21との協働でクライアント処理が実行される。   Next, client processing executed by the client device 20 will be described with reference to FIGS. The client process is a process for displaying screen information on the display unit 25. In the client device 20, for example, a client processing program read from the storage unit 22 and appropriately expanded in the RAM 26 triggered by the input of a client processing execution instruction from the user via the keyboard 30, and the CPU 21 Client processing is executed in cooperation.

図7に示すように、先ず、通信接続要求が通信部(WiFi部29に対応)を介してサーバ装置10に送信され、サーバ装置10との間の通信接続を確立する確立通信接続確立処理が実行される(ステップS31)。そして、サーバ処理のステップS19,S21,S22,S23,S25,S26等に対応して、各種情報が通信部を介してサーバ装置10から受信されたか否かが判別される(ステップS32)。   As shown in FIG. 7, first, a communication connection request is transmitted to the server device 10 via the communication unit (corresponding to the WiFi unit 29), and an established communication connection establishment process for establishing a communication connection with the server device 10 is performed. It is executed (step S31). Then, in response to steps S19, S21, S22, S23, S25, and S26 of the server process, it is determined whether or not various types of information are received from the server device 10 via the communication unit (step S32).

情報の受信がない場合(ステップS32;NO)、サーバ装置10との間の通信接続を終了するか否かが判別される(ステップS33)。通信接続を終了しない場合(ステップS33;NO)、ステップS32に移行される。通信接続を終了する場合(ステップS33;YES)、サーバ装置10との間の通信接続を終了する通信接続終了処理が実行され(ステップS34)、クライアント処理が終了する。   If no information is received (step S32; NO), it is determined whether or not the communication connection with the server device 10 is to be terminated (step S33). If the communication connection is not terminated (step S33; NO), the process proceeds to step S32. When the communication connection is terminated (step S33; YES), a communication connection termination process for terminating the communication connection with the server device 10 is executed (step S34), and the client process is terminated.

情報の受信がある場合(ステップS32;YES)、ステップS32で受信した情報が、サーバ処理のステップS19、S22又はS26に対応したキャッシュ描画コマンドであるか否かが判別される(ステップS35)。キャッシュ描画コマンドである場合(ステップS35;YES)、ステップS32で受信した情報のキャッシュ描画コマンドが解析され、その情報からキャッシュ番号N及びキャッシュ描画対象の表示位置情報が取得される(ステップS36)。   If there is information reception (step S32; YES), it is determined whether or not the information received in step S32 is a cache drawing command corresponding to step S19, S22 or S26 of the server process (step S35). When it is a cache drawing command (step S35; YES), the cache drawing command of the information received in step S32 is analyzed, and the cache number N and the display position information of the cache drawing target are acquired from the information (step S36).

そして、ステップS36で取得されたキャッシュ番号Nに基づいて、RAM26のキャッシュ領域261に格納された管理テーブル2610が参照され、指定されたキャッシュ番号Nのキャッシュデータがキャッシュ領域261から読み出され、表示コントローラ23により、そのキャッシュデータがステップS36で取得された表示位置情報に基づいて表示部25に表示される(ステップS37)。そして、キャッシュ番号Nのキャッシュデータについての再描画要求処理が実行され(ステップS38)、ステップS32に移行される。ステップS38の再描画要求処理は、詳細に後述する。   Then, based on the cache number N acquired in step S36, the management table 2610 stored in the cache area 261 of the RAM 26 is referred to, and the cache data of the designated cache number N is read from the cache area 261 and displayed. The controller 23 displays the cache data on the display unit 25 based on the display position information acquired in step S36 (step S37). Then, a redrawing request process for the cache data with the cache number N is executed (step S38), and the process proceeds to step S32. The redrawing request process in step S38 will be described later in detail.

キャッシュ描画コマンドでない場合(ステップS35;NO)、ステップS32で受信した情報が、サーバ処理のステップS21又はS25に対応したキャッシュ格納コマンドであるか否かが判別される(ステップS39)。キャッシュ格納コマンドである場合(ステップS39;YES)、ステップS32で受信した情報のキャッシュ格納コマンドが解析され、その情報からキャッシュ番号Nと、画面情報と、その画面情報の縦幅及び横幅と、画面情報名とが取得される(ステップS40)。そして、キャッシュ格納処理が実行され(ステップS41)、ステップS32に移行される。ステップS41のキャッシュ格納処理は、詳細に後述する。   If it is not a cache drawing command (step S35; NO), it is determined whether or not the information received in step S32 is a cache storage command corresponding to step S21 or S25 of the server process (step S39). If it is a cache storage command (step S39; YES), the cache storage command of the information received in step S32 is analyzed, and from the information, the cache number N, screen information, the vertical and horizontal widths of the screen information, and the screen An information name is acquired (step S40). Then, a cache storage process is executed (step S41), and the process proceeds to step S32. The cache storage process in step S41 will be described later in detail.

キャッシュ格納コマンドでない場合(ステップS39;NO)、ステップS32で受信した情報が、キャッシュ破棄コマンドであるか否かが判別される(ステップS42)。キャッシュ破棄コマンドが含まれる場合(ステップS42;YES)、ステップS32で受信した情報のキャッシュ破棄コマンドが解析され、その情報から破棄するキャッシュ番号Nが取得される(ステップS43)。そして、管理テーブル2610が参照され、ステップS43で取得されたキャッシュ番号Nのキャッシュデータが破棄され、これに応じて管理テーブル2610が更新される(ステップS44)。   If it is not a cache storage command (step S39; NO), it is determined whether or not the information received in step S32 is a cache discard command (step S42). When the cache discard command is included (step S42; YES), the cache discard command of the information received in step S32 is analyzed, and the cache number N to be discarded is acquired from the information (step S43). Then, the management table 2610 is referred to, the cache data of the cache number N acquired in step S43 is discarded, and the management table 2610 is updated accordingly (step S44).

そして、ステップS44で破棄されたキャッシュ番号Nのキャッシュデータに対応するTIMERタスク処理が起動中であれば、そのTIMERタスク処理が破棄され(ステップS45)、ステップS32に移行される。TIMERタスク処理は、詳細に後述する。   If the TIMER task process corresponding to the cache data with the cache number N discarded in step S44 is being activated, the TIMER task process is discarded (step S45), and the process proceeds to step S32. The TIMER task process will be described later in detail.

キャッシュ破棄コマンドでない場合(ステップS42;NO)、ステップS32で受信した情報が、サーバ処理のステップS23に対応したFB描画コマンドであるか否かが判別される(ステップS46)。FB描画コマンドでない場合(ステップS46;NO)、ステップS32に移行される。   If it is not a cache discard command (step S42; NO), it is determined whether or not the information received in step S32 is an FB drawing command corresponding to step S23 of the server process (step S46). If it is not an FB drawing command (step S46; NO), the process proceeds to step S32.

FB描画コマンドである場合(ステップS46;YES)、ステップS32で受信した情報のFB描画コマンドが解析され、その情報から表示する画面情報が取得される(ステップS47)。そして、表示コントローラ23により、ステップS47で取得された画面情報がFBメモリ24に格納されて表示部25に表示され(ステップS48)、ステップS32に移行される。   If it is an FB drawing command (step S46; YES), the FB drawing command of the information received in step S32 is analyzed, and screen information to be displayed is acquired from the information (step S47). Then, the display controller 23 stores the screen information acquired in step S47 in the FB memory 24 and displays it on the display unit 25 (step S48), and the process proceeds to step S32.

次いで、図8を参照して、クライアント処理のステップS38の再描画要求処理の一例としての第1の再描画要求処理を説明する。再描画要求処理は、JPEG方式で圧縮された画面情報の表示中に、再描画(表示)のため、その画面情報に対応するJPEG方式で圧縮されていない画面情報をサーバ装置10に要求する処理である。ここでは、キャッシュ番号Nのキャッシュデータについての第1の再描画要求処理を説明する。   Next, a first redrawing request process as an example of the redrawing request process in step S38 of the client process will be described with reference to FIG. The redrawing request process is a process of requesting the server apparatus 10 for screen information not compressed in JPEG format corresponding to the screen information for redrawing (display) while displaying the screen information compressed in JPEG format. It is. Here, the first redrawing request process for the cache data of the cache number N will be described.

以下、簡単のため、キャッシュ番号Nのキャッシュデータ(画面情報)をCache[N].dと表し、キャッシュ番号Nのキャッシュデータの状態(管理テーブル2610の状態2614)をCache[N].fと表す。   Hereinafter, for the sake of simplicity, the cache data (screen information) of the cache number N is represented as Cache [N] .d, and the state of the cache data of the cache number N (state 2614 of the management table 2610) is represented as Cache [N] .f. Represent.

先ず、RAM26のキャッシュ領域261に格納された管理テーブル2610のキャッシュ番号2611及び状態2614が参照され、キャッシュ番号NのキャッシュデータについてのCache[N].fがlossy(JPEG方式の圧縮済)であるか否かが判別される(ステップS51)。Cache[N].f=lossless(JPEG方式の未圧縮)である場合(ステップS51;NO)、第1の再描画要求処理が終了する。   First, the cache number 2611 and the state 2614 of the management table 2610 stored in the cache area 261 of the RAM 26 are referenced, and Cache [N] .f for the cache data with the cache number N is lossy (compressed in JPEG format). Is determined (step S51). If Cache [N] .f = lossless (JPEG uncompressed) (step S51; NO), the first redrawing request process ends.

Cache[N].f=lossyである場合(ステップS51;YES)、サーバ処理のステップS13(及びステップS24;YES)に対応して、Cache[N].dのキャッシュ再描画要求が通信部を介してサーバ装置10へ送信され(ステップS52)、第1の再描画要求処理が終了する。   If Cache [N] .f = lossy (step S51; YES), a cache redraw request for Cache [N] .d is sent to the communication unit in response to step S13 (and step S24; YES) of the server process. To the server device 10 (step S52), and the first redrawing request process is terminated.

次いで、図9を参照して、クライアント処理のステップS41のキャッシュ格納処理の一例としての第1のキャッシュ格納処理を説明する。キャッシュ格納処理は、サーバ装置10から受信した画面情報をRAM26のキャッシュ領域261に格納する処理である。ここでは、キャッシュ番号Nのキャッシュデータについての第1のキャッシュ格納処理を説明する。   Next, the first cache storage process as an example of the cache storage process in step S41 of the client process will be described with reference to FIG. The cache storage process is a process for storing the screen information received from the server device 10 in the cache area 261 of the RAM 26. Here, the first cache storage process for the cache data of the cache number N will be described.

先ず、ステップS40で取得された画面情報がRAM26のキャッシュ領域261に格納され、その画面情報に対応しステップS40で取得されたキャッシュ番号N、縦幅、横幅、画面情報名が、新たなレコードとして、キャッシュ番号2611、縦幅2612、横幅2613、キャッシュデータ2616にセットされる(ステップS61)。そして、ステップS61における新たなレコードの状態2614(Cache[N].f)にlosslessがセットされる(ステップS62)。   First, the screen information acquired in step S40 is stored in the cache area 261 of the RAM 26, and the cache number N, vertical width, horizontal width, and screen information name acquired in step S40 corresponding to the screen information are stored as a new record. , Cache number 2611, vertical width 2612, horizontal width 2613, and cache data 2616 are set (step S61). Then, lossless is set in the state 2614 (Cache [N] .f) of the new record in step S61 (step S62).

そして、ステップS61,S62において、キャッシュ領域261への画面情報及び管理テーブル2610の格納が成功したか否かが判別される(ステップS63)。格納が成功した場合(ステップS63;YES)、TIMERタスク処理が起動(実行開始)され(ステップS64)、第1のキャッシュ格納処理が終了する。   In steps S61 and S62, it is determined whether the screen information and the management table 2610 are successfully stored in the cache area 261 (step S63). When the storage is successful (step S63; YES), the TIMER task process is activated (execution is started) (step S64), and the first cache storage process ends.

格納が失敗した場合(ステップS63;NO)、ステップS61、S62の管理テーブル2610の更新が元に戻され、サーバ処理のステップS13(及びステップS27;YES)に対応して、Cache[N].dに対応するキャッシュ破棄コマンドが通信部を介してサーバ装置10へ送信され(ステップS65)、第1のキャッシュ格納処理が終了する。   If the storage has failed (step S63; NO), the update of the management table 2610 in steps S61 and S62 is restored, and Cache [N] .corresponding to step S13 (and step S27; YES) of the server process. A cache discard command corresponding to d is transmitted to the server device 10 via the communication unit (step S65), and the first cache storage process is terminated.

次に、図10を参照して、クライアント装置20で実行されるTIMERタスク処理を説明する。TIMERタスク処理は、キャッシュ領域を有効に使用するため、キャッシュ領域261にキャッシュデータが格納されてから所定時間経過で、そのキャッシュデータをJPEG方式で圧縮する処理である。   Next, the TIMER task process executed by the client device 20 will be described with reference to FIG. The TIMER task process is a process for compressing the cache data by the JPEG method after a predetermined time has elapsed since the cache data was stored in the cache area 261 in order to effectively use the cache area.

クライアント装置20において、クライアント処理のステップS64が実行され、TIMERタスク処理の起動が指示されたことをトリガとして、記憶部22から読み出されて適宜RAM26に展開されたTIMERタスクプログラムと、CPU21との協働でTIMERタスク処理が実行される。ここでは、キャッシュ番号Nのキャッシュデータ(Cache[N].d)についてのTIMERタスク処理を説明する。また、TIMERタスク処理は、キャッシュ番号のキャッシュデータ毎に、別々に実行される。   In the client device 20, step S 64 of the client process is executed, and when the activation of the TIMER task process is instructed as a trigger, the TIMER task program read from the storage unit 22 and appropriately expanded in the RAM 26, and the CPU 21 The TIMER task process is executed in cooperation. Here, the TIMER task process for the cache data (Cache [N] .d) with the cache number N will be described. The TIMER task process is executed separately for each cache data of the cache number.

先ず、RTC32から出力される現在日時情報に基づいて、TIMERタスク処理の実行開始から(キャッシュ領域261にキャッシュ番号Nのキャッシュデータが格納されてから)所定時間が経過したか否かが判別される(ステップS71)。ステップS71の所定時間は、予め設定されているものとする。所定時間が経過していない場合(ステップS71;NO)、ステップS71に移行される。   First, based on the current date and time information output from the RTC 32, it is determined whether or not a predetermined time has elapsed from the start of execution of the TIMER task process (after the cache data of the cache number N is stored in the cache area 261). (Step S71). It is assumed that the predetermined time in step S71 is set in advance. When the predetermined time has not elapsed (step S71; NO), the process proceeds to step S71.

所定時間が経過した場合(ステップS71;YES)、RAM26のキャッシュ領域261からCache[N].dが読み出され、JPEG部27により、Cache[N].dがJPEG方式で圧縮され、圧縮済のCache[N].dがキャッシュ領域261に格納される(ステップS72)。そして、キャッシュ領域261に格納された管理テーブル2610の状態2614(Cache[N].f)にlossyが設定され(ステップS73)、TIMERタスク処理が終了する。   When the predetermined time has elapsed (step S71; YES), Cache [N] .d is read from the cache area 261 of the RAM 26, and the JPEG unit 27 compresses Cache [N] .d using the JPEG method and has been compressed. Cache [N] .d is stored in the cache area 261 (step S72). Then, lossy is set in the state 2614 (Cache [N] .f) of the management table 2610 stored in the cache area 261 (step S73), and the TIMER task process ends.

以上、本発明によれば、サーバ装置により生成された画面情報を受信し、受信された画面情報を圧縮し、圧縮された圧縮画面情報をキャッシュ領域に記憶し、記憶される圧縮画面情報を該クライアント装置の表示部へ出力すると共に、サーバ装置から圧縮画面情報に対応する画面情報を受信し、受信した画面情報を該クライアント装置の表示部へ出力するようにしたから、キャッシュ領域が十分確保されていないクライアント装置であっても、操作に対する表示レスポンスが早いサーバベース・コンピューティング・システムのクライアント装置、及びプログラムを提供できる。
なお本第1の実施の形態では、前記圧縮画面情報をキャッシュ領域に記憶する記憶手法を、画面情報をサーバ装置から受信してから所定時間経過後に画面情報を自動的に圧縮させて、記憶することにした。
As described above, according to the present invention, the screen information generated by the server apparatus is received, the received screen information is compressed, the compressed compressed screen information is stored in the cache area, and the stored compressed screen information is stored in the cache information. Since the screen information corresponding to the compressed screen information is received from the server device, and the received screen information is output to the display unit of the client device, the cache area is sufficiently secured. Even if the client apparatus is not a client apparatus, it is possible to provide a client apparatus and a program of a server-based computing system that has a quick display response to an operation.
In the first embodiment, the storage method for storing the compressed screen information in the cache area is automatically compressed and stored after a predetermined time has elapsed since the screen information was received from the server device. It was to be.

(第2の実施の形態)
図11〜図13を参照して、本発明に係る第2の実施の形態を説明する。本第2の実施の形態では、前記圧縮画面情報のキャッシュ領域に記憶する記憶手法を、画面情報をキャッシュ領域261に記憶する際に、時間情報を合わせて記憶し、記憶される時間情報が古い画面情報を検索し、検索された画面情報を圧縮させて、記憶することにした。なお、本実施の形態の装置構成は、第1の実施の形態と同様にサーバベース・コンピューティング・システム1を用い、異なる部分を主として説明する。
(Second Embodiment)
A second embodiment according to the present invention will be described with reference to FIGS. In the second embodiment, the storage method for storing the compressed screen information in the cache area is stored together with the time information when the screen information is stored in the cache area 261, and the stored time information is old. The screen information is searched, and the searched screen information is compressed and stored. Note that the apparatus configuration of this embodiment uses the server-based computing system 1 as in the first embodiment, and will mainly describe the different parts.

本実施の形態では、クライアント装置20(20A,20B)において、RAM26のキャッシュ領域261に格納される管理テーブル2610の時間2615を使用する。   In this embodiment, the time 2615 of the management table 2610 stored in the cache area 261 of the RAM 26 is used in the client device 20 (20A, 20B).

本実施の形態におけるサーバベース・コンピューティング・システム1の動作について図11〜図13を参照して説明する。図11に、本実施の形態のクライアント処理における第2の再描画要求処理の流れを示す。図12に、クライアント処理における第2のキャッシュ格納処理の流れを示す。図13に、第2のキャッシュ格納処理における第1のキャッシュJPEG化処理の流れを示す。   The operation of the server-based computing system 1 in the present embodiment will be described with reference to FIGS. FIG. 11 shows the flow of the second redrawing request process in the client process of the present embodiment. FIG. 12 shows the flow of the second cache storage process in the client process. FIG. 13 shows a flow of the first cache JPEG process in the second cache storage process.

サーバ装置10においては、第1の実施の形態と同様に、サーバ処理が実行される。クライアント装置20においては、第1の実施の形態と同様に、クライアント処理が実行されるが、クライアント処理のステップS38の第1の再描画要求処理に代えて図11に示す第2の再描画要求処理が実行され、クライアント処理のステップS41の第1のキャッシュ格納処理に代えて図12に示す第2のキャッシュ格納処理が実行される。   In the server device 10, server processing is executed as in the first embodiment. In the client device 20, client processing is executed as in the first embodiment, but the second redrawing request shown in FIG. 11 is used instead of the first redrawing request processing in step S38 of the client processing. The process is executed, and the second cache storage process shown in FIG. 12 is executed instead of the first cache storage process in step S41 of the client process.

図11に示すように、クライアント処理のステップS38の再描画要求処理の一例としての第2の再描画要求処理を説明する。ここでは、キャッシュ番号Nのキャッシュデータについての第2の再描画要求処理を説明する。   As shown in FIG. 11, the second redrawing request process as an example of the redrawing request process in step S38 of the client process will be described. Here, the second redrawing request process for the cache data of the cache number N will be described.

以下、簡単のため、キャッシュ番号Nのキャッシュデータの時間(管理テーブル2610の時間2615)をCache[N].fと表す。   Hereinafter, for simplicity, the time of the cache data of the cache number N (time 2615 of the management table 2610) is expressed as Cache [N] .f.

先ず、RAM26のキャッシュ領域261に格納された管理テーブル2610のキャッシュ番号2611及び状態2614が参照され、キャッシュ番号NのキャッシュデータについてのCache[N].fがlossyであるか否かが判別される(ステップS81)。Cache[N].f=losslessである場合(ステップS81;NO)、Cache[N].dに対応する管理テーブル2610の時間2615(Cache[N].t)に、RTC32から出力される現在日時情報に基づくタイムスタンプが設定され(ステップS82)、第2の再描画要求処理が終了する。   First, the cache number 2611 and the state 2614 of the management table 2610 stored in the cache area 261 of the RAM 26 are referred to, and it is determined whether or not Cache [N] .f for the cache data of the cache number N is lossy. (Step S81). If Cache [N] .f = lossless (step S81; NO), the current date and time output from the RTC 32 at time 2615 (Cache [N] .t) of the management table 2610 corresponding to Cache [N] .d A time stamp based on the information is set (step S82), and the second redrawing request process ends.

Cache[N].f=lossyである場合(ステップS81;YES)、サーバ処理のステップS13(及びステップS24;YES)に対応して、Cache[N].dの再描画要求が通信部を介してサーバ装置10へ送信され(ステップS83)、第2の再描画要求処理が終了する。   When Cache [N] .f = lossy (step S81; YES), a redraw request for Cache [N] .d is sent via the communication unit in response to step S13 (and step S24; YES) of the server process. Is transmitted to the server device 10 (step S83), and the second redrawing request process ends.

次いで、図12を参照して、クライアント処理のステップS41のキャッシュ格納処理の一例としての第2のキャッシュ格納処理を説明する。ここでは、キャッシュ番号Nのキャッシュデータについての第2のキャッシュ格納処理を説明する。   Next, a second cache storage process as an example of the cache storage process in step S41 of the client process will be described with reference to FIG. Here, the second cache storage process for the cache data of the cache number N will be described.

先ず、RAM26のキャッシュ領域261に、クライアント処理のステップS40で取得されたキャッシュ番号Nの画面情報を格納するための空き容量がなく、キャッシュ領域261の容量が不足しているか否かが判別される(ステップS91)。キャッシュ領域261が不足している場合(ステップS91;YES)、キャッシュJPEG化処理が実行される(ステップS92)。ステップS92のキャッシュJPEG化処理は、詳細に後述する。   First, it is determined whether or not there is no free capacity in the cache area 261 of the RAM 26 for storing the screen information of the cache number N acquired in step S40 of the client process, and the capacity of the cache area 261 is insufficient. (Step S91). If the cache area 261 is insufficient (step S91; YES), cache JPEG processing is executed (step S92). The cache JPEG processing in step S92 will be described later in detail.

そして、ステップS40で取得された画面情報がRAM26のキャッシュ領域261に格納され、その画面情報に対応しステップS40で取得されたキャッシュ番号N、縦幅、横幅、画面情報名が、新たなレコードとして、キャッシュ番号2611、縦幅2612、横幅2613、キャッシュデータ2616にセットされる(ステップS93)。   The screen information acquired in step S40 is stored in the cache area 261 of the RAM 26, and the cache number N, vertical width, horizontal width, and screen information name acquired in step S40 corresponding to the screen information are stored as a new record. , Cache number 2611, vertical width 2612, horizontal width 2613, and cache data 2616 are set (step S93).

キャッシュ領域261が不足していない場合(ステップS91;NO)、キャッシュ番号Nのキャッシュデータに対応する状態2614(Cache[N].f)にlosslessがセットされ(ステップS94)、ステップS93に移行される。   If the cache area 261 is not insufficient (step S91; NO), lossless is set in the state 2614 (Cache [N] .f) corresponding to the cache data of the cache number N (step S94), and the process proceeds to step S93. The

ステップS93の実行後、Cache[N].dに対応する管理テーブル2610の時間2615(Cache[N].t)に、RTC32から出力される現在日時情報に基づくタイムスタンプが設定される(ステップS95)。そして、ステップS93,S95において、キャッシュ領域261への画面情報及び管理テーブル2610の格納が成功したか否かが判別される(ステップS96)。格納が成功した場合(ステップS96;YES)、第2のキャッシュ格納処理が終了する。   After execution of step S93, a time stamp based on the current date and time information output from the RTC 32 is set at time 2615 (Cache [N] .t) of the management table 2610 corresponding to Cache [N] .d (step S95). ). In steps S93 and S95, it is determined whether the screen information and the management table 2610 are successfully stored in the cache area 261 (step S96). If the storage is successful (step S96; YES), the second cache storage process ends.

格納が失敗した場合(ステップS96;NO)、ステップS93,S95の管理テーブル2610の更新が元に戻され、サーバ処理のステップS13(及びステップS27;YES)に対応して、Cache[N].dに対応するキャッシュ破棄コマンドが通信部を介してサーバ装置10へ送信され(ステップS97)、第2のキャッシュ格納処理が終了する。   When the storage has failed (step S96; NO), the update of the management table 2610 in steps S93 and S95 is returned to the original state, and Cache [N] .corresponding to step S13 (and step S27; YES) of the server process. A cache discard command corresponding to d is transmitted to the server device 10 via the communication unit (step S97), and the second cache storage process ends.

次いで、図13を参照して、第2のキャッシュ格納処理のステップS92のキャッシュJPEG化処理の一例としての第1のキャッシュJPEG化処理を説明する。   Next, a first cache JPEG conversion process as an example of the cache JPEG conversion process in step S92 of the second cache storage process will be described with reference to FIG.

先ず、RAM26のキャッシュ領域261の管理テーブル2610が参照され、状態2614(Cache[N].f)がlosslessであるレコードが検索される(ステップS101)。そして、ステップS101でlosslessであるレコードが検索されたか否かが判別される(ステップS102)。losslessであるレコードが検索されなかった場合(ステップS102;NO)、第1のキャッシュJPEG化処理が終了する。   First, the management table 2610 in the cache area 261 of the RAM 26 is referred to, and a record whose state 2614 (Cache [N] .f) is lossless is searched (step S101). Then, it is determined whether or not a record that is lossless is retrieved in step S101 (step S102). If no lossless record is found (step S102; NO), the first cache JPEG process ends.

losslessであるレコードが検索された場合(ステップS102;YES)、検索されたlosslessであるレコードのうち、一番古いタイムスタンプの時間2615(Cache[N].t)のレコードが検索される(ステップS103)。そして、ステップS103で検索されたlosslessで一番古いタイムスタンプのレコードに対応するキャッシュデータがCache[M].d(M:任意のキャッシュ番号)とされ、キャッシュ領域261からCache[M].dが読み出され、JPEG部27によりCache[M].dがJPEG方式で圧縮され、再度キャッシュ領域261に格納される(ステップS104)。   When a record that is lossless is searched (step S102; YES), a record of time 2615 (Cache [N] .t) of the oldest time stamp is searched from the searched records that are lossless (step S102). S103). Then, the cache data corresponding to the record of the oldest time stamp in lossless searched in step S103 is set to Cache [M] .d (M: arbitrary cache number), and the cache area 261 to Cache [M] .d Is read, and the JPEG unit 27 compresses Cache [M] .d by the JPEG method and stores it again in the cache area 261 (step S104).

そして、Cache[M].dに対応する状態2614(Cache[M].f)にlossyがセットされ(ステップS105)、第1のキャッシュJPEG化処理が終了する。   Then, lossy is set in the state 2614 (Cache [M] .f) corresponding to Cache [M] .d (step S105), and the first cache JPEG processing ends.

以上、本第2の実施の形態によれば、クライアント装置20は、キャッシュ領域261に記憶された画面情報の表示時及び記憶時のタイムスタンプを時間2615として管理し、キャッシュ領域261に記憶された画面情報(キャッシュデータ)のうちタイムスタンプが最も古い画面情報を検索してJPEG部27で圧縮する。このため、タイムスタンプが古く表示に使用されない可能性が高い画面情報を圧縮してキャッシュ領域261に格納し、キャッシュ領域261をさらに効率的に使用できる。   As described above, according to the second embodiment, the client device 20 manages the time stamp at the time of display and storage of the screen information stored in the cache area 261 as the time 2615 and stores the time stamp in the cache area 261. Among the screen information (cache data), the screen information with the oldest time stamp is searched and compressed by the JPEG unit 27. Therefore, it is possible to compress the screen information that has a high possibility that the time stamp is old and is not used for display, and store the compressed information in the cache area 261, thereby using the cache area 261 more efficiently.

(第3の実施の形態)
図14〜図16を参照して、本発明に係る第3の実施の形態を説明する。本第3の実施の形態では、前記圧縮画面情報のキャッシュ領域に記憶する記憶手法を、画面情報が出力される回数を計算し、画面情報と計算された回数とを対応付けて記憶し、計算された回数が少ない画面情報を検索し、検索された画面情報を圧縮させて、記憶することにした。
なお、本実施の形態の装置構成も、第1の実施の形態と同様にサーバベース・コンピューティング・システム1を用い、異なる部分を主として説明する。
(Third embodiment)
A third embodiment according to the present invention will be described with reference to FIGS. In the third embodiment, the storage method for storing the compressed screen information in the cache area is calculated by calculating the number of times the screen information is output, storing the screen information in association with the calculated number of times, and calculating The screen information with a small number of times is searched, and the searched screen information is compressed and stored.
Note that the apparatus configuration of the present embodiment also uses the server-based computing system 1 as in the first embodiment, and the differences will be mainly described.

本実施の形態では、クライアント装置20(20A,20B)において、RAM26のキャッシュ領域261に格納される管理テーブル2610で、時間2615に代えて、カウント数(図示略)の項目を設けるものとする。   In the present embodiment, in the client device 20 (20A, 20B), in the management table 2610 stored in the cache area 261 of the RAM 26, an item of count number (not shown) is provided instead of the time 2615.

本実施の形態におけるサーバベース・コンピューティング・システム1の動作について図14〜図16を参照して説明する。図14に、本実施の形態のクライアント処理における第3の再描画要求処理の流れを示す。図15に、クライアント処理における第3のキャッシュ格納処理の流れを示す。図16に、第3のキャッシュ格納処理における第2のキャッシュJPEG化処理の流れを示す。   The operation of the server-based computing system 1 in this embodiment will be described with reference to FIGS. FIG. 14 shows the flow of the third redrawing request process in the client process of the present embodiment. FIG. 15 shows the flow of the third cache storage process in the client process. FIG. 16 shows the flow of the second cache JPEG process in the third cache storage process.

サーバ装置10においては、第1の実施の形態と同様に、サーバ処理が実行される。クライアント装置20においては、第1の実施の形態と同様に、クライアント処理が実行されるが、クライアント処理のステップS38の第1の再描画要求処理に代えて図13に示す第3の再描画要求処理が実行され、クライアント処理のステップS41の第1のキャッシュ格納処理に代えて図14に示す第3のキャッシュ格納処理が実行される。   In the server device 10, server processing is executed as in the first embodiment. In the client device 20, client processing is executed as in the first embodiment, but the third redrawing request shown in FIG. 13 is used instead of the first redrawing request processing in step S38 of the client processing. The process is executed, and a third cache storage process shown in FIG. 14 is executed instead of the first cache storage process in step S41 of the client process.

図13に示すように、クライアント処理のステップS38の再描画要求処理の一例としての第3の再描画要求処理を説明する。ここでは、キャッシュ番号Nのキャッシュデータについての第3の再描画要求処理を説明する。   As shown in FIG. 13, the third redrawing request process as an example of the redrawing request process in step S38 of the client process will be described. Here, the third redrawing request process for the cache data of the cache number N will be described.

以下、簡単のため、キャッシュ番号Nのキャッシュデータのカウント数(管理テーブル2610のカウント数の項目のデータ)をCache[N].cと表す。Cache[N].cの初期値は、0であるものとする。   Hereinafter, for the sake of simplicity, the count number of the cache data of the cache number N (data of the count number item in the management table 2610) is represented as Cache [N] .c. The initial value of Cache [N] .c is assumed to be 0.

先ず、RAM26のキャッシュ領域261に格納された管理テーブル2610のキャッシュ番号2611及び状態2614が参照され、キャッシュ番号NのキャッシュデータについてのCache[N].fがlossyであるか否かが判別される(ステップS111)。Cache[N].f=losslessである場合(ステップS111;NO)、Cache[N].dに対応する管理テーブル2610のカウント数(Cache[N].c)が1インクリメントされ(ステップS112)、第3の再描画要求処理が終了する。   First, the cache number 2611 and the state 2614 of the management table 2610 stored in the cache area 261 of the RAM 26 are referred to, and it is determined whether or not Cache [N] .f for the cache data of the cache number N is lossy. (Step S111). When Cache [N] .f = lossless (step S111; NO), the count number (Cache [N] .c) of the management table 2610 corresponding to Cache [N] .d is incremented by 1 (step S112). The third redrawing request process ends.

Cache[N].f=lossyである場合(ステップS111;YES)、サーバ処理のステップS13(及びステップS24;YES)に対応して、Cache[N].dの再描画要求が通信部を介してサーバ装置10へ送信され(ステップS113)、第3の再描画要求処理が終了する。   When Cache [N] .f = lossy (step S111; YES), a redraw request for Cache [N] .d is sent via the communication unit in response to step S13 (and step S24; YES) of the server process. Is transmitted to the server device 10 (step S113), and the third redrawing request process is terminated.

次いで、図15を参照して、クライアント処理のステップS41のキャッシュ格納処理の一例としての第3のキャッシュ格納処理を説明する。ここでは、キャッシュ番号Nのキャッシュデータについての第3のキャッシュ格納処理を説明する。   Next, a third cache storage process as an example of the cache storage process in step S41 of the client process will be described with reference to FIG. Here, a third cache storage process for the cache data of the cache number N will be described.

先ず、RAM26のキャッシュ領域261に、クライアント処理のステップS40で取得されたキャッシュ番号Nの画面情報を格納するための空き容量がなく、キャッシュ領域261の容量が不足しているか否かが判別される(ステップS121)。キャッシュ領域261が不足している場合(ステップS121;YES)、キャッシュJPEG化処理が実行される(ステップS122)。ステップS122のキャッシュJPEG化処理は、詳細に後述する。   First, it is determined whether or not there is no free capacity in the cache area 261 of the RAM 26 for storing the screen information of the cache number N acquired in step S40 of the client process, and the capacity of the cache area 261 is insufficient. (Step S121). If the cache area 261 is insufficient (step S121; YES), cache JPEG processing is executed (step S122). The cache JPEG processing in step S122 will be described later in detail.

そして、ステップS40で取得された画面情報がRAM26のキャッシュ領域261に格納され、その画面情報に対応しステップS40で取得されたキャッシュ番号N、縦幅、横幅、画面情報名が、新たなレコードとして、キャッシュ番号2611、縦幅2612、横幅2613、キャッシュデータ2616にセットされる(ステップS123)。   The screen information acquired in step S40 is stored in the cache area 261 of the RAM 26, and the cache number N, vertical width, horizontal width, and screen information name acquired in step S40 corresponding to the screen information are stored as a new record. , Cache number 2611, vertical width 2612, horizontal width 2613 and cache data 2616 are set (step S123).

キャッシュ領域261が不足していない場合(ステップS121;NO)、キャッシュ番号Nのキャッシュデータに対応する状態2614(Cache[N].f)にlosslessがセットされ(ステップS124)、ステップS123に移行される。   If the cache area 261 is not insufficient (step S121; NO), lossless is set in the state 2614 (Cache [N] .f) corresponding to the cache data of the cache number N (step S124), and the process proceeds to step S123. The

ステップS123の実行後、Cache[N].dに対応する管理テーブル2610のカウント数(Cache[N].c)に0が設定される(ステップS125)。そして、ステップS123,S125において、キャッシュ領域261への画面情報及び管理テーブル2610の格納が成功したか否かが判別される(ステップS126)。格納が成功した場合(ステップS126;YES)、第3のキャッシュ格納処理が終了する。   After execution of step S123, 0 is set to the count number (Cache [N] .c) of the management table 2610 corresponding to Cache [N] .d (step S125). In steps S123 and S125, it is determined whether or not the screen information and the management table 2610 are successfully stored in the cache area 261 (step S126). If the storage is successful (step S126; YES), the third cache storage process ends.

格納が失敗した場合(ステップS126;NO)、ステップS123,S125の管理テーブル2610の更新が元に戻され、サーバ処理のステップS13(及びステップS27;YES)に対応して、Cache[N].dに対応するキャッシュ破棄コマンドが通信部を介してサーバ装置10へ送信され(ステップS127)、第3のキャッシュ格納処理が終了する。   If the storage has failed (step S126; NO), the update of the management table 2610 in steps S123 and S125 is restored, and Cache [N] .corresponding to step S13 (and step S27; YES) of the server process. A cache discard command corresponding to d is transmitted to the server device 10 via the communication unit (step S127), and the third cache storage process ends.

次いで、図16を参照して、第3のキャッシュ格納処理のステップS122のキャッシュJPEG化処理の一例としての第2のキャッシュJPEG化処理を説明する。   Next, a second cache JPEG conversion process as an example of the cache JPEG conversion process in step S122 of the third cache storage process will be described with reference to FIG.

先ず、RAM26のキャッシュ領域261の管理テーブル2610が参照され、状態2614(Cache[N].f)がlosslessであるレコードが検索される(ステップS131)。そして、ステップS131でlosslessであるレコードが検索されたか否かが判別される(ステップS132)。losslessであるレコードが検索されなかった場合(ステップS132;NO)、第2のキャッシュJPEG化処理が終了する。   First, the management table 2610 in the cache area 261 of the RAM 26 is referred to, and a record whose status 2614 (Cache [N] .f) is lossless is searched (step S131). Then, it is determined whether or not a record that is lossless is searched in step S131 (step S132). If no record is lossless (step S132; NO), the second cache JPEG process ends.

losslessであるレコードが検索された場合(ステップS132;YES)、検索されたlosslessであるレコードのうち、一番カウント数の項目が小さい値のレコードが検索される(ステップS133)。そして、ステップS133で検索されたlosslessで一番カウント数が少ないレコードに対応するキャッシュデータがCache[M].d(M:任意のキャッシュ番号)とされ、キャッシュ領域261からCache[M].dが読み出され、JPEG部27によりCache[M].dがJPEG方式で圧縮され、再度キャッシュ領域261に格納される(ステップS134)。   When a lossless record is searched (step S132; YES), a record with the smallest count item is searched for from the searched lossless records (step S133). Then, the cache data corresponding to the record having the smallest count in lossless retrieved in step S133 is set to Cache [M] .d (M: arbitrary cache number), and the cache area 261 to Cache [M] .d Is read, and the JPEG unit 27 compresses Cache [M] .d by the JPEG method and stores it again in the cache area 261 (step S134).

そして、Cache[M].dに対応する状態2614(Cache[M].f)にlossyがセットされ(ステップS135)、第2のキャッシュJPEG化処理が終了する。   Then, lossy is set in the state 2614 (Cache [M] .f) corresponding to Cache [M] .d (step S135), and the second cache JPEG processing ends.

以上、本第3の実施の形態によれば、クライアント装置20は、キャッシュ領域261に記憶された画面情報の使用頻度を管理テーブル2610のカウント数として管理し、キャッシュ領域261に記憶された画面情報(キャッシュデータ)のうちカウント数の最も少ない画面情報を検索してJPEG部27で圧縮する。このため、カウント数が少なく表示に使用されない可能性が高い画面情報を圧縮してキャッシュ領域261に格納し、キャッシュ領域261をさらに効率的に使用できる。   As described above, according to the third embodiment, the client apparatus 20 manages the use frequency of the screen information stored in the cache area 261 as the count number of the management table 2610, and the screen information stored in the cache area 261. Screen information with the smallest count number is retrieved from (cache data) and compressed by the JPEG unit 27. For this reason, the screen information that has a small count number and is likely not to be used for display is compressed and stored in the cache area 261, and the cache area 261 can be used more efficiently.

(第1の変形例)
図17を参照して、上記第2及び第3の実施の形態の第1の変形例を説明する。本第1の変形例では、前記圧縮画面情報のキャッシュ領域に記憶する記憶手法を、キャッシュ領域261に記憶される画面情報のサイズが最も大きい画面情報を圧縮させて、記憶することにした。図17に、本変形例の第3のキャッシュJPEG化処理の流れを示す。
(First modification)
With reference to FIG. 17, a first modification of the second and third embodiments will be described. In the first modification, the storage method for storing the compressed screen information in the cache area is to compress and store the screen information having the largest screen information size stored in the cache area 261. FIG. 17 shows the flow of the third cache JPEG processing of this modification.

本第1の変形例は、第2の実施の形態における第2のキャッシュ格納処理のステップS92の第2のキャッシュJPEG化処理に代えて、図17に示す第3のキャッシュJPEG化処理を実行するものとする。但し、第2の再描画要求処理のステップS82と、第2のキャッシュ格納処理のステップS95とは実行されない。   In the first modification, the third cache JPEG conversion process shown in FIG. 17 is executed instead of the second cache JPEG conversion process in step S92 of the second cache storage process in the second embodiment. Shall. However, step S82 of the second redrawing request process and step S95 of the second cache storage process are not executed.

また、第3の実施の形態における第3のキャッシュ格納処理のステップS122の第2のキャッシュJPEG化処理に代えて、図17に示す第3のキャッシュJPEG化処理を実行するものとする。但し、第3の再描画要求処理のステップS112と、第3のキャッシュ格納処理のステップS125とは実行されない。   In addition, instead of the second cache JPEG conversion process in step S122 of the third cache storage process in the third embodiment, the third cache JPEG conversion process illustrated in FIG. 17 is executed. However, step S112 of the third redrawing request process and step S125 of the third cache storage process are not executed.

図17を参照して、第3のキャッシュJPEG化処理を説明する。以下、簡単のため、キャッシュ番号Nのキャッシュデータの縦幅(管理テーブル2610の縦幅2612)をCache[N].hと表し、キャッシュ番号Nのキャッシュデータの横幅(管理テーブル2610の横幅2613)をCache[N].wと表す。   With reference to FIG. 17, the third cache JPEG processing will be described. Hereinafter, for the sake of simplicity, the vertical width of the cache data of the cache number N (vertical width 2612 of the management table 2610) is represented as Cache [N] .h, and the horizontal width of the cache data of the cache number N (horizontal width 2613 of the management table 2610) Is represented as Cache [N] .w.

先ず、RAM26のキャッシュ領域261の管理テーブル2610が参照され、状態2614(Cache[N].f)がlosslessであるレコードが検索される(ステップS141)。そして、ステップS141でlosslessであるレコードが検索されたか否かが判別される(ステップS142)。losslessであるレコードが検索されなかった場合(ステップS142;NO)、第3のキャッシュJPEG化処理が終了する。   First, the management table 2610 in the cache area 261 of the RAM 26 is referred to, and a record whose status 2614 (Cache [N] .f) is lossless is searched (step S141). Then, it is determined whether or not a record that is lossless is searched in step S141 (step S142). When a record that is lossless is not searched (step S142; NO), the third cache JPEG conversion process ends.

losslessであるレコードが検索された場合(ステップS142;YES)、検索されたlosslessであるレコードのうち、管理テーブル2610の縦幅2612(Cache[N].h)及び横幅2613(Cache[N].w)が一番大きい値のレコードが検索される(ステップS143)。ステップS143では、例えば、Cache[N].h ×Cache[N].wの値が最も大きいレコードが検索される。   When a record that is lossless is searched (step S142; YES), among the searched records that are lossless, the vertical width 2612 (Cache [N] .h) and the horizontal width 2613 (Cache [N]. The record having the largest value of w) is searched (step S143). In step S143, for example, a record having the largest value of Cache [N] .h × Cache [N] .w is searched.

そして、ステップS143で検索されたlosslessでCache[N].h 、Cache[N].wが一番大きいレコードに対応するキャッシュデータがCache[M].d(M:任意のキャッシュ番号)とされ、キャッシュ領域261からCache[M].dが読み出され、JPEG部27によりCache[M].dがJPEG方式で圧縮され、再度キャッシュ領域261に格納される(ステップS144)。そして、Cache[M].dに対応する状態2614(Cache[M].f)にlossyがセットされ(ステップS145)、第3のキャッシュJPEG化処理が終了する。   Then, the cache data corresponding to the record having the largest Cache [N] .h and Cache [N] .w in the lossless retrieved in step S143 is set to Cache [M] .d (M: arbitrary cache number). Cache [M] .d is read from the cache area 261, and the JPEG unit 27 compresses Cache [M] .d by the JPEG method and stores it again in the cache area 261 (step S144). Then, lossy is set in the state 2614 (Cache [M] .f) corresponding to Cache [M] .d (step S145), and the third cache JPEG processing ends.

以上、本第1の変形例によれば、クライアント装置20は、キャッシュ領域261に記憶された画面情報のサイズ(容量)を管理テーブル2610の縦幅2612及び横幅2613として管理し、キャッシュ領域261に記憶された画面情報(キャッシュデータ)のうち容量が最も大きい画面情報を検索してJPEG部27で圧縮する。このため、容量が大きく圧縮により空き容量を多くできる可能性が高い画面情報を圧縮してキャッシュ領域261に格納し、キャッシュ領域261をさらに効率的に使用できる。   As described above, according to the first modification, the client device 20 manages the size (capacity) of the screen information stored in the cache area 261 as the vertical width 2612 and the horizontal width 2613 of the management table 2610, and stores them in the cache area 261. The stored screen information (cache data) is searched for the screen information having the largest capacity and is compressed by the JPEG unit 27. For this reason, screen information that has a large capacity and is likely to be freed up by compression can be compressed and stored in the cache area 261, and the cache area 261 can be used more efficiently.

(第2の変形例)
図18を参照して、上記第2及び第3の実施の形態の第2の変形例を説明する。本第2の変形例では、前記圧縮画面情報のキャッシュ領域に記憶する記憶手法を、圧縮手段で圧縮される画面情報の圧縮率を算出し、算出された圧縮率の高い画面情報を検索し、検索された画面情報を圧縮させて、記憶することにした。図18に、本変形例の第4のキャッシュJPEG化処理の流れを示す。
(Second modification)
With reference to FIG. 18, a second modification of the second and third embodiments will be described. In the second modification, the storage method for storing the compressed screen information in the cache area is calculated by calculating the compression rate of the screen information compressed by the compression unit, searching for the calculated screen information with a high compression rate, The searched screen information is compressed and stored. FIG. 18 shows the flow of the fourth cache JPEG processing of this modification.

本第2の変形例は、第2の実施の形態における第2のキャッシュ格納処理のステップS92の第2のキャッシュJPEG化処理に代えて、図18に示す第4のキャッシュJPEG化処理を実行するものとする。但し、第2の再描画要求処理のステップS82と、第2のキャッシュ格納処理のステップS95とは実行されない。   In the second modification, a fourth cache JPEG conversion process shown in FIG. 18 is executed instead of the second cache JPEG conversion process in step S92 of the second cache storage process in the second embodiment. Shall. However, step S82 of the second redrawing request process and step S95 of the second cache storage process are not executed.

また、第3の実施の形態における第3のキャッシュ格納処理のステップS122の第2のキャッシュJPEG化処理に代えて、図18に示す第4のキャッシュJPEG化処理を実行するものとする。但し、第3の再描画要求処理のステップS112と、第3のキャッシュ格納処理のステップS125とは実行されない。   Further, the fourth cache JPEG conversion process shown in FIG. 18 is executed instead of the second cache JPEG conversion process in step S122 of the third cache storage process in the third embodiment. However, step S112 of the third redrawing request process and step S125 of the third cache storage process are not executed.

図18を参照して、第4のキャッシュJPEG化処理を説明する。先ず、RAM26のキャッシュ領域261の管理テーブル2610が参照され、状態2614(Cache[N].f)がlosslessであるレコードが検索される(ステップS151)。そして、ステップS151でlosslessであるレコードが検索されたか否かが判別される(ステップS152)。losslessであるレコードが検索されなかった場合(ステップS152;NO)、第4のキャッシュJPEG化処理が終了する。   The fourth cache JPEG process will be described with reference to FIG. First, the management table 2610 in the cache area 261 of the RAM 26 is referred to, and a record whose status 2614 (Cache [N] .f) is lossless is searched (step S151). Then, it is determined whether or not a record that is lossless is retrieved in step S151 (step S152). If no lossless record is found (step S152; NO), the fourth cache JPEG process ends.

losslessであるレコードが検索された場合(ステップS152;YES)、検索されたlosslessである各レコードのキャッシュデータについて、画面情報サイズが取得され、各レコードのキャッシュデータがJPEG部27によりJPEG方式で圧縮され、各レコードのJPEG方式の圧縮後の画面情報サイズが取得される(ステップS153)。   When a record that is lossless is searched (step S152; YES), the screen information size is acquired for the cache data of each searched record that is lossless, and the cache data of each record is compressed by the JPEG unit 27 in the JPEG format. Then, the screen information size after compression of the JPEG method of each record is acquired (step S153).

そして、ステップS153で取得された各レコードのキャッシュデータにおけるJPEG方式の圧縮前と圧縮後との画面情報サイズに基づいて、各レコードのキャッシュデータにおけるJPEG方式の圧縮前に対する圧縮後の圧縮率(画面情報のデータサイズ比)が算出されて取得される(ステップS154)。そして、ステップS154で取得された各レコードのキャッシュデータのうち、一番圧縮率が高いレコードが検索される(ステップS155)。   Then, based on the screen information sizes before and after the compression of the JPEG method in the cache data of each record acquired in step S153, the compression ratio (screen after compression of the JPEG method in the cache data of each record) The data size ratio of information) is calculated and acquired (step S154). And the record with the highest compression rate is searched among the cache data of each record acquired by step S154 (step S155).

JPEG方式による圧縮率は、画像の劣化度合いを同等とすれば、画面情報の画像内容により異なる。例えば、画面情報の画像内容が自然の風景の画像であれば、圧縮率が高くなり、画面情報の画像内容が文章等の画像であれば、圧縮率が低くなる。   The compression rate according to the JPEG method differs depending on the image content of the screen information if the degree of image degradation is the same. For example, if the image content of the screen information is an image of a natural landscape, the compression rate is high, and if the image content of the screen information is an image such as a sentence, the compression rate is low.

そして、ステップS155で取得された一番圧縮率の高いレコードのJPEG方式の圧縮後のキャッシュデータがCache[M].d(M:任意のキャッシュ番号)とされ、一番圧縮率の高いレコード以外のキャッシュデータは、圧縮前の状態でキャッシュ領域261に格納される(ステップS156)。そして、Cache[M].dに対応する状態2614(Cache[M].f)にlossyがセットされ(ステップS157)、第4のキャッシュJPEG化処理が終了する。   Then, the cache data after JPEG compression of the record with the highest compression rate acquired in step S155 is set to Cache [M] .d (M: any cache number), and the record other than the record with the highest compression rate. Is stored in the cache area 261 in a state before compression (step S156). Then, lossy is set in the state 2614 (Cache [M] .f) corresponding to Cache [M] .d (step S157), and the fourth cache JPEG processing ends.

以上、本第2の変形例によれば、クライアント装置20は、キャッシュ領域261に記憶された画面情報の圧縮率を算出し、キャッシュ領域261に記憶された画面情報(キャッシュデータ)のうち圧縮率が最も高い画面情報を検索してJPEG部27で圧縮する。このため、圧縮率が高く圧縮により空き容量が多く生成できる画面情報を圧縮してキャッシュ領域261に格納し、キャッシュ領域261をさらに効率的に使用できる。   As described above, according to the second modified example, the client device 20 calculates the compression rate of the screen information stored in the cache area 261, and the compression rate of the screen information (cache data) stored in the cache area 261. The screen information having the highest value is searched and compressed by the JPEG unit 27. For this reason, the screen information that has a high compression rate and can generate a large free space by compression is compressed and stored in the cache area 261, and the cache area 261 can be used more efficiently.

なお、上記実施の形態における記述は、本発明に係るクライアント装置20及びプログラムの一例であり、これに限定されるものではない。   The description in the above embodiment is an example of the client device 20 and the program according to the present invention, and the present invention is not limited to this.

上記第2の変形例では、RAM26のキャッシュ領域261に格納された画面情報を実際に圧縮することで圧縮率を算出して取得する構成であるが、これに限定されるものではない。例えば、キャッシュ領域261に格納された画面情報を実際に圧縮することなく、その画像内容を判別することで圧縮率を判別(又は推定)して取得する構成としてもよい。   In the second modification, the screen information stored in the cache area 261 of the RAM 26 is actually compressed to calculate and acquire the compression rate, but the present invention is not limited to this. For example, the screen information stored in the cache area 261 may be acquired by determining (or estimating) the compression rate by determining the image contents without actually compressing the screen information.

また、上記各実施の形態及び各変形例では、JPEG方式で画面情報を圧縮する構成としたが、これに限定されるものではない。例えば、JPEG200方式等の圧縮率が比較的大きい非可逆の他の圧縮方式で圧縮することとしてもよい。また、JPEG方式等の圧縮率の高い圧縮方式を、圧縮率の低い他の圧縮方式と組み合わせて使用する構成としてもよい。さらに、JPEG部27に代えて、CPU11で画面情報の圧縮を行う構成としてもよい。   Further, in each of the above embodiments and modifications, the screen information is compressed by the JPEG method, but the present invention is not limited to this. For example, the compression may be performed by another lossy compression method having a relatively large compression rate such as the JPEG200 method. Moreover, it is good also as a structure which uses a compression system with high compression rates, such as a JPEG system, in combination with another compression system with a low compression rate. Furthermore, instead of the JPEG unit 27, the CPU 11 may compress the screen information.

また、上記各実施の形態及び各変形例の少なくとも2つを組み合わせた構成としてもよい。   Moreover, it is good also as a structure which combined at least 2 of said each embodiment and each modification.

また、上記実施の形態におけるサーバベース・コンピューティング・システム1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱することのない範囲で適宜変更可能であることは勿論である。   In addition, it is needless to say that the detailed configuration and detailed operation of each component of the server-based computing system 1 in the above embodiment can be changed as appropriate without departing from the spirit of the present invention. .

1 サーバベース・コンピューティング・システム
10 サーバ装置
11 CPU
12 入力部
13 RAM
14 表示部
15 記憶部
16 送受信制御部
17 バス
20,20A,20B クライアント装置
21 CPU
22 記憶部
23 表示コントローラ
24 FBメモリ
25 表示部
26 RAM
27 JPEG部
28 UART
29 WiFi部
30 キーボード
31 ポインタ
32 RTC
33 バス
40 アクセスポイント
n 通信ネットワーク
1 Server-based computing system 10 Server device 11 CPU
12 Input unit 13 RAM
14 Display Unit 15 Storage Unit 16 Transmission / Reception Control Unit 17 Bus 20, 20A, 20B Client Device 21 CPU
22 Storage Unit 23 Display Controller 24 FB Memory 25 Display Unit 26 RAM
27 JPEG part 28 UART
29 WiFi section 30 Keyboard 31 Pointer 32 RTC
33 bus 40 access point n communication network

上記課題を解決するために、請求項1に記載の発明は、画像処理装置であって、画情報を取得する画情報取得手段と、この画像情報取得手段により取得された画像情報を記憶する第一記憶手段と、前記情報取得手段により取得された画情報を圧縮する圧縮手段と、この圧縮手段により圧縮された圧縮画情報を記憶する第二記憶手段と、この第二記憶手段により記憶される圧縮画情報を表示部へ出力すると共に、前記圧縮画情報に対応する画情報を取得し、この取得した画情報を前記表示部へ出力するように制御する制御手段と、を有することを特徴とする。


In order to solve the above problems, a first aspect of the present invention, an image processing apparatus, and images information acquisition means for acquiring images information, stores the image information acquired by the image information acquiring means a first storage means for a compression means for compressing the images information obtained by the picture image information acquisition unit, a second storage unit that memorize the compressed image image information compressed by the compression means, the second and outputs to the display unit compressed picture image information stored by the second storage unit, acquires images information corresponding to the compressed picture image information, the control to output the acquired images information to the display unit And a control means.


Claims (8)

画像処理装置であって、
画面情報を取得する画面情報取得手段と、
この画面情報取得手段により取得された画面情報を圧縮する圧縮手段と、
この圧縮手段により圧縮された圧縮画面情報をキャッシュ領域に記憶する圧縮画面情報記憶手段と、
この圧縮画面情報記憶手段により記憶される圧縮画面情報を表示部へ出力すると共に、前記圧縮画面情報に対応する画面情報を取得し、この取得した画面情報を前記表示部へ出力するように制御する制御手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus,
Screen information acquisition means for acquiring screen information;
Compression means for compressing the screen information acquired by the screen information acquisition means;
Compressed screen information storage means for storing the compressed screen information compressed by the compression means in a cache area;
Output the compressed screen information stored in the compressed screen information storage means to the display unit, acquire screen information corresponding to the compressed screen information, and control to output the acquired screen information to the display unit Control means;
An image processing apparatus comprising:
前記制御手段は、前記画面情報取得手段により前記画面情報を取得してから所定時間経過後に前記画面情報を前記圧縮手段に圧縮させる請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the control unit causes the compression unit to compress the screen information after a predetermined time elapses after the screen information acquisition unit acquires the screen information. 時間を計時して時間情報を出力する計時手段と、
この計時手段から出力される時間情報に対応付けて前記画面情報を記憶する画面情報記憶手段とをさらに備え、
前記制御手段は、前記画面情報記憶手段に記憶される時間情報に基づいて画面情報を前記圧縮手段に圧縮させる請求項1に記載の画像処理装置。
A time measuring means for measuring time and outputting time information;
Screen information storage means for storing the screen information in association with the time information output from the time measuring means,
The image processing apparatus according to claim 1, wherein the control unit causes the compression unit to compress screen information based on time information stored in the screen information storage unit.
前記画面情報が出力される回数を計算する出力回数計算手段をさらに備え、
前記画面情報記憶手段は、前記画面情報と前記出力回数計算手段により計算される回数を対応付けて記憶し、
前記制御手段は、前記画面情報記憶手段に記憶される回数に基づいて画面情報を前記圧縮手段に圧縮させる請求項1に記載の画像処理装置。
An output number calculating means for calculating the number of times the screen information is output;
The screen information storage means stores the screen information in association with the number of times calculated by the output number calculation means,
The image processing apparatus according to claim 1, wherein the control unit causes the compression unit to compress screen information based on the number of times stored in the screen information storage unit.
前記制御手段は、前記画面情報記憶手段に記憶される容量が大きい画面情報を検索し、当該検索された画面情報を前記圧縮手段に圧縮させる請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the control unit searches for screen information having a large capacity stored in the screen information storage unit, and causes the compression unit to compress the searched screen information. 前記圧縮手段により圧縮される前記画面情報の圧縮率を算出する圧縮率算出手段をさらに備え、
前記制御手段は、前記圧縮率算出手段により算出された圧縮率の高い画面情報を検索し、当該検索された画面情報を前記圧縮手段に圧縮させる請求項1に記載の画像処理装置。
A compression rate calculation unit that calculates a compression rate of the screen information compressed by the compression unit;
The image processing apparatus according to claim 1, wherein the control unit searches for screen information having a high compression rate calculated by the compression rate calculation unit, and causes the compression unit to compress the searched screen information.
前記画面情報取得手段は、外部装置から画像情報を取得する請求項1〜6に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the screen information acquisition unit acquires image information from an external apparatus. コンピュータを、
画面情報を取得する画面情報取得手段、
この画面情報取得手段により取得された画面情報を圧縮する圧縮手段、
この圧縮手段により圧縮された圧縮画面情報をキャッシュ領域に記憶する圧縮画面情報記憶手段、
この圧縮画面情報記憶手段により記憶される圧縮画面情報を表示部へ出力すると共に、前記圧縮画面情報に対応する画面情報を取得し、この取得した画面情報を前記表示部へ出力するように制御する制御手段、
として機能させるプログラム。
Computer
Screen information acquisition means for acquiring screen information;
Compression means for compressing the screen information acquired by the screen information acquisition means;
Compressed screen information storage means for storing the compressed screen information compressed by the compression means in a cache area;
Output the compressed screen information stored in the compressed screen information storage means to the display unit, acquire screen information corresponding to the compressed screen information, and control to output the acquired screen information to the display unit Control means,
Program to function as.
JP2013182666A 2013-09-04 2013-09-04 Image processing apparatus and program Active JP5655915B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013182666A JP5655915B2 (en) 2013-09-04 2013-09-04 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013182666A JP5655915B2 (en) 2013-09-04 2013-09-04 Image processing apparatus and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012190591A Division JP5370552B2 (en) 2012-08-30 2012-08-30 Image processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2014030209A true JP2014030209A (en) 2014-02-13
JP5655915B2 JP5655915B2 (en) 2015-01-21

Family

ID=50202469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013182666A Active JP5655915B2 (en) 2013-09-04 2013-09-04 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP5655915B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07143475A (en) * 1993-11-12 1995-06-02 Hitachi Ltd Picture data conversion system
JPH11259492A (en) * 1998-03-09 1999-09-24 Digital Archives Japan Kk Image retrieval system, image retrieving method and storage medium
JP2005117084A (en) * 2003-10-02 2005-04-28 Nagoya City Still image information distribution system, server, and client

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07143475A (en) * 1993-11-12 1995-06-02 Hitachi Ltd Picture data conversion system
JPH11259492A (en) * 1998-03-09 1999-09-24 Digital Archives Japan Kk Image retrieval system, image retrieving method and storage medium
JP2005117084A (en) * 2003-10-02 2005-04-28 Nagoya City Still image information distribution system, server, and client

Also Published As

Publication number Publication date
JP5655915B2 (en) 2015-01-21

Similar Documents

Publication Publication Date Title
JP4444239B2 (en) Server device, control command processing method thereof, control command processing program, and terminal device
US20130159393A1 (en) Information processing apparatus and method
CN112104897B (en) Video acquisition method, terminal and storage medium
JP5259683B2 (en) Server apparatus and program
CN105554579A (en) Video frame selection auxiliary method and device and computing equipment capable of playing video
CA2923397A1 (en) Multicast of stream selection from portable device
JP5370552B2 (en) Image processing apparatus and program
US9817653B2 (en) Updating extension in response to opening associated document
JP2013105204A (en) Image display system
US9848207B2 (en) Efficient screen image transfer
CN109889568B (en) Data export method, server and system
JP5655915B2 (en) Image processing apparatus and program
JP5082743B2 (en) Client device and program for server-based computing system
JP6146230B2 (en) Relay device, thin client system, relay method, and relay program
JP2012252381A (en) Image distribution server, image distribution control method, and program
JP2012133668A (en) Display device, screen image transfer method, and program
JP3954581B2 (en) Information transfer apparatus, information transfer method and program
CN107786581B (en) Method and system for displaying image by mobile terminal
US20140086550A1 (en) System, terminal device, and image capturing method
JP2015076010A (en) Terminal device, thin client system, display method, and display program
JP5552368B2 (en) Thin client terminal, buffering control program
JP2011165101A (en) Device control system, device control method, and control terminal
US10237423B2 (en) Fax selection system in a distributed network
JP2015031977A (en) Data display system and data display method
CN113821484A (en) File processing method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140722

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140918

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141110

R150 Certificate of patent or registration of utility model

Ref document number: 5655915

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150