JP2006039249A - Window system - Google Patents

Window system Download PDF

Info

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
Application number
JP2004219741A
Other languages
Japanese (ja)
Inventor
Taketo Yoshii
健人 吉井
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004219741A priority Critical patent/JP2006039249A/en
Publication of JP2006039249A publication Critical patent/JP2006039249A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To select a window system according to features of an application. <P>SOLUTION: A plurality of display memories are used to make drawing to the display memories on a direct drawing basis by an application attaching importance to a speed and on a client-server basis by a plurality of applications which operate simultaneously. Planes that the applications draw are managed to discriminatingly use window systems of the two systems. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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に記載されたもののように、表示用メモリに直接描画するアプリケーションを、クライアント・サーバ方式のウィンドウシステム上で動作させるものがあった。
特開平06−250812号公報
In the case of a simple system, since a function can be realized by a single application, a method of drawing directly on a display memory with an emphasis on the advantage in speed has been used. However, since functions required in recent years have increased and it has become complicated to implement with a single application, it has become necessary to implement with a plurality of applications and simultaneously execute a plurality of applications. Conventionally, in this type of window system, there is an application that, on the client / server type window system, executes an application that directly draws in a display memory, as described in Patent Document 1.
Japanese Patent Laid-Open No. 06-250812

しかし、特許文献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 first display memory 14 and the second display memory 16 which are the entities of the two drawing planes, and the two display memories are finally combined. The figure also shows a synthesizer constituting a simple display screen and a CRT for displaying the synthesized display screen so as to be visible to the user.

アプリケーション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 drawing execution unit 10 or the server 8 based on the plane information of the plane management unit 6. The drawing request receiving unit 4 is executed in the same process as the application. The plane management unit 6 manages the drawing method and which display memory is used for drawing.

例えば、第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 first display memory 14 by the direct drawing method, and the second plane is the second display memory 16 by the client / server method. The application specifies a plane as a drawing destination. Based on this information, the drawing request reception unit 4 determines whether to send the request to the client drawing execution unit 10 or to the server 8. The plane management unit 6 is executed in the same process as the application. The client drawing execution unit 10 executes the drawing requested by the application and draws the first display memory 14. The client drawing execution unit 10 is executed in the same process as the application. Therefore, when a plurality of applications operate simultaneously, drawing conflicts, so that only one application that draws in the first display memory 14 operates simultaneously.

また、クライアント描画実行部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 drawing execution unit 10 also manages window generation, destruction, display state, and display area management. Understand which windows currently exist, and add or delete them from the management structure when there is a request to create or destroy a window. The server 8 receives drawing requests from a plurality of applications from the drawing request reception unit 4, processes them in order, and instructs the server 8 drawing execution unit to execute drawing. The server 8 is executed in a separate process from the application. Accordingly, communication between processes is performed between the server 8 and the drawing request receiving unit 4. The server drawing execution unit 12 executes drawing instructed by the server 8 and draws it in the second display memory 16. The server drawing execution unit 12 is executed in the same process as the application. In addition to drawing, it also manages window creation, destruction, display status, and display area management. The first display memory 14 and the second display memory 16 hold the drawn contents, and the synthesizer 18 superimposes the display contents of the first display memory 14 and the second display memory 16 and outputs one output. Compositing to become an image. The CRT 20 displays the image output from the synthesizer 18 so as to be visible to the user.

以上のように構成されたウィンドウシステムの動作について、図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 first display memory 14. Next, the application A issues a window X creation request. The drawing request reception unit 4 receives this request and sends it to the client drawing execution unit 10 based on the information held in the plane management unit 6 that the drawing is for the first display memory 14. Upon receiving the request, the client drawing execution unit 10 generates and holds a window X. Subsequently, application A requests display of window X. The drawing request reception unit 4 sends a request to the client drawing execution unit 10 based on the information of the plane management unit 6.

クライアント描画実行部10は、管理されているウィンドウXの情報を元に該当する位置に表示されるように、第1表示用メモリ14にウィンドウの画像を描く。続いて、アプリケーションAはアニメーションの画像をウィンドウX上に表示するよう要求する。要求は、前記と同様に描画要求受付部4を経て、クライアント描画実行部10にて第1表示用メモリ14に描画される。   The client drawing execution unit 10 draws an image of the window in the first display memory 14 so as to be displayed at a corresponding position based on the managed window X information. Subsequently, the application A requests to display an animation image on the window X. The request is drawn in the first display memory 14 by the client drawing execution unit 10 through the drawing request receiving unit 4 as described above.

次に、アプリケーション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 second display memory 16. Next, the application B issues a window Y creation request. The drawing request receiving unit 4 receives this request and sends it to the server 8 based on information held in the plane management unit 6 that the drawing is for the second display memory 16. Since the server 8 is executed as a process different from the application, information is transmitted between the processes by a communication means such as TCP / IP. The server 8 receives the request and sends it to the server drawing execution unit 12. In response to the request, the server drawing execution unit 12 generates and holds a window Y. Subsequently, the application B requests display of the window Y. The drawing request reception unit 4 sends a request to the server 8 based on the information of the plane management unit 6. The server 8 receives the request and sends it to the server drawing execution unit 12. The server drawing execution unit 12 draws an image of the window in the second display memory 16 so that it is displayed at a corresponding position based on the managed information on the window Y. The drawing in the window Y is also drawn in the second display memory 16 by the same procedure.

アプリケーションCについても、アプリケーションBと同様の手順で第2表示用メモリ16に描画される。アプリケーションBとCの描画要求が同時に発生した場合でも、サーバ8で順次処理されるので、同じ第2表示用メモリ16への書き込みが同時に発生することはない。   The application C is also drawn in the second display memory 16 in the same procedure as the application B. Even when the drawing requests of the applications B and C are generated at the same time, the server 8 sequentially processes them, so that writing to the same second display memory 16 does not occur at the same time.

アプリケーション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 first display memory 14 and the second display memory 16, respectively. 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.

本発明の実施の形態1に係るウィンドウシステムを示す構成図The block diagram which shows the window system which concerns on Embodiment 1 of this invention 本発明の実施の形態1に係るプレーンの重なり状態を示した説明図Explanatory drawing which showed the overlapping state of the plane which concerns on Embodiment 1 of this invention 本発明の実施の形態1に係る画面の表示状態を示した説明図Explanatory drawing which showed the display state of the screen which concerns on Embodiment 1 of this invention

符号の説明Explanation of symbols

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 Server 10 Client drawing execution part 12 Server drawing execution part 14 First display memory 16 Second display memory 18 Synthesizer 20 CRT
22 Application A
24 Application B
26 Application C

Claims (1)

アプリケーションから描画等の要求を受付ける描画要求受付部と、描画方式と描画先の表示用メモリを管理するプレーン管理部と、アプリケーションと異なるプロセスで動作して描画要求を処理するサーバと、アプリケーションと同一のプロセスで描画を実行するクライアント描画実行部と、サーバのプロセスで描画を実行するサーバ描画実行部を備えたことを特徴とするウィンドウシステム。 Same as the application, the drawing request reception unit that accepts drawing requests from the application, the plane management unit that manages the drawing method and the display destination display memory, the server that operates in a different process from the application, and processes the drawing request A window system comprising: a client drawing execution unit that executes drawing in the process of the above; and a server drawing execution unit that executes drawing in the process of the server.
JP2004219741A 2004-07-28 2004-07-28 Window system Pending JP2006039249A (en)

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)

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