JP2006039249A - Window system - Google Patents
Window system Download PDFInfo
- Publication number
- JP2006039249A JP2006039249A JP2004219741A JP2004219741A JP2006039249A JP 2006039249 A JP2006039249 A JP 2006039249A JP 2004219741 A JP2004219741 A JP 2004219741A JP 2004219741 A JP2004219741 A JP 2004219741A JP 2006039249 A JP2006039249 A JP 2006039249A
- Authority
- JP
- Japan
- Prior art keywords
- application
- server
- display
- request
- window
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、アプリケーションの描画を処理するウィンドウシステムに関し、特に、複数のアプリケーションが同時に動作するウィンドウシステムに関するものである。 The present invention relates to a window system that processes drawing of an application, and more particularly to a window system in which a plurality of applications operate simultaneously.
ウィンドウシステムの表示方式を大別すると、アプリケーション自身が直接表示用メモリに直接描画を行う方式と、アプリケーションが表示用のプロセスであるサーバに表示を要求してサーバが描画を行うクライアント・サーバ方式がある。アプリケーションが表示用メモリに直接描画を行う方式は、プロセスを切り替える必要がないため高速に描画が行える利点がある。その反面、複数のアプリケーションが動作すると、互いに描画が競合してしまい意図しない表示がされてしまうため、複数のアプリケーションを同時に動作させることができない欠点があった。一方、クライアント・サーバ方式は、アプリケーションとサーバの間で通信を行い、プロセスを切り替える必要があるため、通信とプロセスの切り替えに時間がかかり、描画に時間がかかるという欠点があった。その反面、サーバが一括して描画を行うため、描画する領域を排他的に管理することができるので、複数のアプリケーションを同時に動作させることができる。 There are two types of window system display methods: the application itself draws directly in the display memory, and the client-server method in which the application requests display from the server that is the display process and the server draws. is there. The method in which an application directly draws in a display memory has an advantage that drawing can be performed at high speed because there is no need to switch processes. On the other hand, when a plurality of applications are operated, drawing is competed with each other and an unintended display is performed. Therefore, there is a disadvantage that the plurality of applications cannot be operated simultaneously. On the other hand, the client / server system has a drawback that it takes time to switch between communication and process because it is necessary to switch processes between applications and servers, and it takes time to draw. On the other hand, since the server performs drawing at once, the drawing area can be managed exclusively, so that a plurality of applications can be operated simultaneously.
簡単なシステムの場合、単一のアプリケーションで機能の実現が可能なため、速度面での利点を重視して表示用メモリに直接描画を行う方式を用いられてきた。しかし、近年求められる機能が増加し、単一のアプリケーションで実現するには複雑になってきたため、複数のアプリケーションで実現し、かつ同時に複数のアプリケーションを実行する必要がでてきた。従来この種のウィンドウシステムでは特許文献1に記載されたもののように、表示用メモリに直接描画するアプリケーションを、クライアント・サーバ方式のウィンドウシステム上で動作させるものがあった。
しかし、特許文献1に記載のウィンドウシステムでは、最終的にサーバに画面情報を転送するため、転送にかかる時間がオーバーヘッドとなり描画に時間がかかるという欠点があった。また、転送前の表示用バッファを1つのアプリケーションで独占するため、複数のアプリケーションを同時に動作することができないという問題もあった。 However, the window system described in Patent Document 1 has a drawback in that, since the screen information is finally transferred to the server, the time required for the transfer becomes an overhead and the drawing takes time. In addition, since the display buffer before transfer is monopolized by one application, there is a problem that a plurality of applications cannot be operated simultaneously.
本発明のウィンドウシステムは、アプリケーションに応じて、表示用メモリに直接描画を行う方式とクライアント・サーバ方式とを選択可能とするものである。 The window system of the present invention makes it possible to select a method for directly drawing in a display memory and a client-server method according to an application.
具体的には、複数の表示用メモリに対して描画を行う複数のウィンドウシステムを設けることを最も主要な特徴とする。 Specifically, the main feature is to provide a plurality of window systems for drawing on a plurality of display memories.
本発明のウィンドウシステムは、表示用メモリを複数利用するため、速度重視のアプリケーションは表示用メモリに直接描画方式で描画を行い、同時に複数動作するアプリケーションはクライアント・サーバ方式で描画を行うことができる。従って、アプリケーションの特徴に応じてウィンドウシステムを選択することができるという利点がある。 Since the window system of the present invention uses a plurality of display memories, a speed-oriented application can draw directly on the display memory by a drawing method, and an application that operates at the same time can draw by a client-server method. . Therefore, there is an advantage that the window system can be selected according to the feature of the application.
(実施の形態1)
本発明の実施の形態の一例を、図面を用いて説明する。図1は本発明の一実施の形態に係るウィンドウシステムを示す構成図である。説明するための構成としてウィンドウシステムの他に、描画を指示するアプリケーション、2つの描画プレーンの実体である第1表示用メモリ14と第2表示用メモリ16、2つの表示用メモリを合成し最終的な表示画面を構成する合成器、合成された表示画面をユーザに見えるように表示するCRTも併せて図に示す。
(Embodiment 1)
An example of an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a window system according to an embodiment of the present invention. As a configuration for explanation, in addition to the window system, an application for instructing drawing, the
アプリケーションA、B、CはそれぞれウィンドウX、Y、Zを表示するアプリケーションであり、3つのアプリケーションは同時に動作し、画面上に表示を行う。アプリケーションAは、ウィンドウX内にアニメーションを描画する。アニメーションが動いているようにユーザに見せるには、高速な描画速度が要求される。そのため、アプリケーションAが表示用メモリに直接描画する方式を用い、第1の表示用メモリをアプリケーションAが占有して描画を行う。アプリケーションBとアプリケーションCは、比較的高速な描画を行わないアプリケーションであり、表示用メモリの節約のため、クライアント・サーバ方式で描画を行う。 Applications A, B, and C are applications that display windows X, Y, and Z, respectively, and the three applications operate simultaneously and display on the screen. Application A draws an animation in window X. A high drawing speed is required to show the user that the animation is moving. For this reason, the application A uses the method of drawing directly in the display memory, and the application A occupies the first display memory for drawing. Application B and application C are applications that do not perform relatively high-speed drawing, and perform drawing by a client-server method in order to save display memory.
描画要求受付部4はアプリケーションから描画等の要求を受付ける。要求には、描画そのものの場合もあるが、アプリケーションがどの描画プレーンに描画するのかを指定するものもある。要求がウィンドウの生成、破壊や表示などウィンドウ制御に関する要求の場合は、プレーン管理部6に要求を送る。表示や描画の実行を要する場合は、プレーン管理部6のプレーン情報を元に、要求をクライアント描画実行部10またはサーバ8に送る。描画要求受付部4はアプリケーションと同一のプロセスで実行される。プレーン管理部6は、描画方式とどの表示用メモリに描画をするのかを管理する。
The drawing request receiving unit 4 receives a drawing request from the application. The request may be the drawing itself, but may also specify which drawing plane the application will draw on. If the request is a request related to window control such as window generation, destruction, or display, the request is sent to the plane management unit 6. When it is necessary to execute display or drawing, a request is sent to the client
例えば、第1プレーンが直接描画方式で第1表示用メモリ14への描画であり、第2プレーンがクライアント・サーバ方式で第2表示用メモリ16であるという情報を管理する。アプリケーションからは描画先としてプレーンが指定される。この情報を元に描画要求受付部4は、要求をクライアント描画実行部10に送るのか、あるいはサーバ8に送るのかを判断する。プレーン管理部6はアプリケーションと同一のプロセスで実行される。クライアント描画実行部10は、アプリケーションから要求された描画を実行し、第1表示用メモリ14に描画する。クライアント描画実行部10はアプリケーションと同一のプロセスで実行される。そのため複数のアプリケーションが同時に動作すると、描画が競合するので、第1表示用メモリ14に描画するアプリケーションは同時に1つしか動作しない。
For example, information is managed that the first plane is the drawing to the
また、クライアント描画実行部10はウィンドウの生成、破壊や表示状態や表示領域の管理も司る。現在どのウィンドウが存在しているかを把握し、ウィンドウの生成や破壊の要求があった場合には、管理構造に追加・削除する。サーバ8は複数のアプリケーションからの描画要求を描画要求受付部4より受信し、順に処理してサーバ8描画実行部に描画の実行を指示する。サーバ8はアプリケーションとは別プロセスで実行される。従ってサーバ8と描画要求受付部4との間でプロセス間の通信を行う。サーバ描画実行部12はサーバ8から指示された描画を実行し、第2表示用メモリ16に描画する。サーバ描画実行部12はアプリケーションと同一のプロセスで実行される。描画のほか、ウィンドウの生成、破壊や表示状態や表示領域の管理も司る。第1表示用メモリ14、第2表示用メモリ16は、描画された内容を保持し、合成器18は第1表示用メモリ14、第2表示用メモリ16の表示内容を重ね合わせ、1つの出力画像になるように合成する。CRT20は合成器18より出力された画像をユーザに見えるように表示する。
The client
以上のように構成されたウィンドウシステムの動作について、図2を用いて説明する。 The operation of the window system configured as described above will be described with reference to FIG.
まず、アプリケーションAについて説明する。アプリケーションAは、これから描画を行うプレーンとして、第1プレーンを指定する。描画要求受付部4はこの要求を受け取りプレーン管理部6に送る。プレーン管理部6は、アプリケーションAの以後の描画要求を第1プレーンすなわち第1表示用メモリ14に対するものであるという情報を保存する。次に、アプリケーションAはウィンドウXの作成要求を出す。描画要求受付部4は、この要求を受け取り、プレーン管理部6に保持されている、第1表示用メモリ14に対する描画であるという情報をもとにクライアント描画実行部10に送る。クライアント描画実行部10は、要求を受けてウィンドウXを生成し保持する。続いて、アプリケーションAはウィンドウXの表示を要求する。描画要求受付部4は、プレーン管理部6の情報を元にクライアント描画実行部10に要求を送る。
First, the application A will be described. Application A designates the first plane as a plane to be drawn from now on. The drawing request reception unit 4 receives this request and sends it to the plane management unit 6. The plane management unit 6 stores information that the subsequent drawing request of the application A is for the first plane, that is, the
クライアント描画実行部10は、管理されているウィンドウXの情報を元に該当する位置に表示されるように、第1表示用メモリ14にウィンドウの画像を描く。続いて、アプリケーションAはアニメーションの画像をウィンドウX上に表示するよう要求する。要求は、前記と同様に描画要求受付部4を経て、クライアント描画実行部10にて第1表示用メモリ14に描画される。
The client
次に、アプリケーションBについて説明する。アプリケーションBは、これから描画を行うプレーンとして、第2プレーンを指定する。描画要求受付部4はこの要求を受け取りプレーン管理部6に送る。プレーン管理部6は、アプリケーションBの以後の描画要求を第2プレーンすなわち第2表示用メモリ16に対するものであるという情報を保存する。次に、アプリケーションBはウィンドウYの作成要求を出す。描画要求受付部4は、この要求を受け取り、プレーン管理部6に保持されている、第2表示用メモリ16に対する描画であるという情報をもとにサーバ8に送る。サーバ8はアプリケーションと異なるプロセスとして実行されるので、例えばTCP/IPなどの通信手段により、プロセス間で情報が伝達される。サーバ8は要求を受け、サーバ描画実行部12に送る。サーバ描画実行部12は、要求を受けてウィンドウYを生成し保持する。続いて、アプリケーションBはウィンドウYの表示を要求する。描画要求受付部4は、プレーン管理部6の情報を元にサーバ8に要求を送る。サーバ8は要求を受け、サーバ描画実行部12に送る。サーバ描画実行部12は、管理されているウィンドウYの情報を元に該当する位置に表示されるように、第2表示用メモリ16にウィンドウの画像を描く。ウィンドウY内への描画に関しても、同様の手順で第2表示用メモリ16に描かれる。
Next, the application B will be described. The application B designates the second plane as a plane for drawing from now on. The drawing request reception unit 4 receives this request and sends it to the plane management unit 6. The plane management unit 6 stores information that the subsequent drawing request of the application B is for the second plane, that is, the
アプリケーションCについても、アプリケーションBと同様の手順で第2表示用メモリ16に描画される。アプリケーションBとCの描画要求が同時に発生した場合でも、サーバ8で順次処理されるので、同じ第2表示用メモリ16への書き込みが同時に発生することはない。
The application C is also drawn in the
アプリケーションAとB、またはアプリケーションAとCの描画要求が同時に発生した場合は、書き込み先がそれぞれ第1表示用メモリ14と第2表示用メモリ16というように異なるので、それぞれの描画内容は保障される。
When the drawing requests of the applications A and B or the applications A and C are generated at the same time, the writing destinations are different, such as the
以上のように、本発明のウィンドウシステムは描画方式を選択可能にしたので、各アプリケーションの描画を制限することなく、アプリケーションの特徴に適した描画を行うことができ、メモリを節約しつつ高速な描画を行うことができるという効果がある。 As described above, since the window system of the present invention allows selection of a drawing method, drawing suitable for the application characteristics can be performed without restricting drawing of each application, and memory can be saved at high speed. There is an effect that drawing can be performed.
なお、アプリケーションは、どの表示用メモリに描画をするのかをウィンドウ生成以前に指定をしているが、ウィンドウ生成時や描画要求に同時に指定してもよい。 Note that the application designates which display memory is to be drawn before window generation, but it may also be specified at the time of window generation or at the time of a drawing request.
また、最終表示用装置としてCRTを例に示したが、PDP、LCD等画像が出力できるデバイスであれば構わない。 Further, although the CRT is shown as an example of the final display device, any device capable of outputting an image, such as a PDP or an LCD, may be used.
なお、本例ではプレーンは表示用メモリと1対1に対応しているが、プレーンは仮想的な表示領域の単位として、ウィンドウシステム内部で合成しても構わない。 In this example, the plane has a one-to-one correspondence with the display memory. However, the plane may be combined inside the window system as a virtual display area unit.
また、表示用メモリとして2つの表示用メモリの例を示したが、3つ以上であっても構わない。また、表示用メモリの合成順も自由に規定して構わない。 Further, although two display memories are shown as the display memory, three or more display memories may be used. Further, the composition order of display memories may be freely defined.
加えて、クライアント描画実行部とサーバ描画実行部について、機能的に重複する部分は共通描画部として部品化し、クライアント、サーバ両方の描画実行部から共有することにより、さらにメモリを節約することが可能である。 In addition, regarding the client drawing execution unit and the server drawing execution unit, functionally overlapping parts are made into parts as a common drawing unit and shared by both the client and server drawing execution units, thereby further saving memory. It is.
本発明に係るウィンドウシステムは、設計の柔軟性に優れるもので、テレビジョン受像機やVTR、DVD等のAV機器、コンピュータをはじめ、その他の画面表示される機器において有用である。 The window system according to the present invention has excellent design flexibility, and is useful in television receivers, AV devices such as VTRs and DVDs, computers, and other devices that display screens.
2 ウィンドウシステム
4 描画要求受付部
6 プレーン管理部
8 サーバ
10 クライアント描画実行部
12 サーバ描画実行部
14 第1表示用メモリ
16 第2表示用メモリ
18 合成器
20 CRT
22 アプリケーションA
24 アプリケーションB
26 アプリケーションC
DESCRIPTION OF SYMBOLS 2 Window system 4 Drawing request reception part 6 Plane management part 8
22 Application A
24 Application B
26 Application C
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004219741A JP2006039249A (en) | 2004-07-28 | 2004-07-28 | Window system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004219741A JP2006039249A (en) | 2004-07-28 | 2004-07-28 | Window system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006039249A true JP2006039249A (en) | 2006-02-09 |
Family
ID=35904304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004219741A Pending JP2006039249A (en) | 2004-07-28 | 2004-07-28 | Window system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006039249A (en) |
-
2004
- 2004-07-28 JP JP2004219741A patent/JP2006039249A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4759561B2 (en) | Computer network architecture and method for providing display data | |
US7812843B2 (en) | Distributed resource architecture and system | |
JP5129151B2 (en) | Multi-user display proxy server | |
US6917362B2 (en) | System and method for managing context data in a single logical screen graphics environment | |
ES2632342T3 (en) | Virtual user interface | |
US5657478A (en) | Method and apparatus for batchable frame switch and synchronization operations | |
JP4839322B2 (en) | Address-based graphics protocol | |
ES2700101T3 (en) | System and procedure to control and receive data from multiple touch screen devices | |
US20100156854A1 (en) | Display system, module and method | |
US20100045567A1 (en) | Systems and methods for facilitating presentation | |
WO2007103387A2 (en) | Media fusion remote access system | |
JP2010524081A (en) | Local theme settings for remote applications | |
JP2021101356A (en) | Equipment interaction method, device, equipment, system and medium | |
WO2012122241A2 (en) | In-flight entertainment system | |
CN117520016A (en) | Application sharing method, device, chip, electronic equipment and storage medium | |
US20060181538A1 (en) | Displaying apparatus and data writing device | |
US8780725B2 (en) | Presentation system and method | |
CN113961156A (en) | Multi-screen display method, device and system, electronic equipment and computer medium | |
WO2024021353A1 (en) | Live broadcast room presentation method and apparatus, and electronic device and storage medium | |
JP2006039249A (en) | Window system | |
CN109727315B (en) | One-to-many cluster rendering method, device, equipment and storage medium | |
Renambot et al. | Griz: experience with remote visualization over an optical grid | |
JP2008026450A (en) | Display processing apparatus | |
JP2010060623A (en) | Multi image display system, image processing method and program | |
KR101068645B1 (en) | Master-Slave based Tile Display System and Synchronization Method between Master-Slaves |