KR100678900B1 - Apparatus and method for displaying graphic object concurrently - Google Patents
Apparatus and method for displaying graphic object concurrently Download PDFInfo
- Publication number
- KR100678900B1 KR100678900B1 KR1020050007174A KR20050007174A KR100678900B1 KR 100678900 B1 KR100678900 B1 KR 100678900B1 KR 1020050007174 A KR1020050007174 A KR 1020050007174A KR 20050007174 A KR20050007174 A KR 20050007174A KR 100678900 B1 KR100678900 B1 KR 100678900B1
- Authority
- KR
- South Korea
- Prior art keywords
- event
- graphic
- graphic object
- window
- objects
- Prior art date
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L15/00—Washing or rinsing machines for crockery or tableware
- A47L15/14—Washing or rinsing machines for crockery or tableware with stationary crockery baskets and spraying devices within the cleaning chamber
- A47L15/18—Washing or rinsing machines for crockery or tableware with stationary crockery baskets and spraying devices within the cleaning chamber with movably-mounted spraying devices
- A47L15/22—Rotary spraying devices
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B05—SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
- B05B—SPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
- B05B1/00—Nozzles, spray heads or other outlets, with or without auxiliary devices such as valves, heating means
- B05B1/02—Nozzles, spray heads or other outlets, with or without auxiliary devices such as valves, heating means designed to produce a jet, spray, or other discharge of particular shape or nature, e.g. in single drops, or having an outlet of particular shape
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
본 발명은 그래픽 객체를 동시에 디스플레이 하는 장치 및 방법에 관한 것으로서, 복수의 그래픽 객체가 이벤트 핸들러에 의하여 화면에 디스플레이 되는 경우 시각적으로 인식될 정도의 이벤트 간격으로 인하여 발생하는 윈도우 시스템의 과도 현상을 방지하기 위하여 더블 버퍼링 기법이 사용되는데 이 때, 마지막 그래픽 객체에 이벤트가 전달되는 시점을 포착한 후에 모든 그래픽 객체를 디스플레이 하는 그래픽 객체를 동시에 디스플레이 하는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for simultaneously displaying a graphic object, and to prevent a transient phenomenon of a window system caused by a visually recognized event interval when a plurality of graphic objects are displayed on a screen by an event handler. To this end, a double buffering technique is used. The present invention relates to an apparatus and method for simultaneously displaying graphic objects displaying all graphic objects after capturing a time point at which an event is delivered to the last graphic object.
본 발명의 실시예에 따른 그래픽 객체를 동시에 디스플레이 하는 장치는 그래픽 객체의 디스플레이에 대한 이벤트의 발생 여부를 확인하는 이벤트 체크부와, 상기 이벤트에 따라 처리된 상기 그래픽 객체를 저장하는 버퍼와, 상기 발생 확인된 이벤트의 회수 및 상기 처리된 그래픽 객체의 회수를 확인하는 판단부 및 상기 확인 결과에 따라 상기 저장된 그래픽 객체를 디스플레이 하는 디스플레이부를 포함한다.An apparatus for simultaneously displaying a graphic object according to an embodiment of the present invention includes an event check unit for checking whether an event for a display of a graphic object occurs, a buffer for storing the graphic object processed according to the event, and the occurrence And a determination unit for confirming the number of confirmed events and the number of processed graphic objects, and a display unit for displaying the stored graphic objects according to the verification result.
이벤트, 메시지, 그래픽 객체, 이벤트 핸들러, 더블 버퍼링Events, messages, graphic objects, event handlers, double buffering
Description
도 1은 종래의 윈도우 응용 프로그램의 구조를 나타낸 도면이다.1 is a view showing the structure of a conventional window application program.
도 2는 본 발명의 실시예에 따른 그래픽 객체를 동시에 디스플레이 하는 장치를 나타낸 블록도이다.2 is a block diagram illustrating an apparatus for simultaneously displaying graphic objects according to an exemplary embodiment of the present invention.
도 3a는 본 발명의 실시예에 따른 이벤트 발생 확인에 의한 카운트 증가를 나타낸 흐름도이다.3A is a flowchart illustrating a count increase by confirming an event occurrence according to an embodiment of the present invention.
도 3b는 본 발명의 실시예에 따른 그래픽 객체를 동시에 디스플레이 하는 과정을 나타낸 흐름도이다.3B is a flowchart illustrating a process of simultaneously displaying graphic objects according to an embodiment of the present invention.
도 4는 본 발명의 실시예에 따른 하나의 변수를 이용하여 복수의 윈도우를 디스플레이 하는 것을 나타낸 도면이다.4 is a diagram illustrating displaying a plurality of windows using one variable according to an embodiment of the present invention.
도 5는 본 발명의 실시예에 따른 복수의 변수를 이용하여 복수의 윈도우를 디스플레이 하는 것을 나타낸 도면이다.5 is a diagram illustrating displaying a plurality of windows using a plurality of variables according to an embodiment of the present invention.
도 6은 본 발명의 실시예에 따른 그래픽 객체를 동시에 디스플레이 하는 디지털 TV를 나타낸 블록도이다.6 is a block diagram illustrating a digital TV for simultaneously displaying graphic objects according to an embodiment of the present invention.
<도면의 주요 부분에 관한 부호의 설명><Explanation of symbols on main parts of the drawings>
210 : 이벤트 체크부 220 : 판단부210: event check unit 220: determination unit
230 : 디스플레이부 240 : 버퍼230: display unit 240: buffer
본 발명은 그래픽 객체를 동시에 디스플레이 하는 장치 및 방법에 관한 것으로서, 더욱 상세하게는 복수의 그래픽 객체가 이벤트 핸들러에 의하여 화면에 디스플레이 되는 경우 시각적으로 인식될 정도의 이벤트 간격으로 인하여 발생하는 윈도우 시스템의 과도 현상을 방지하기 위하여 더블 버퍼링 기법이 사용되는데 이 때, 마지막 그래픽 객체에 이벤트가 전달되는 시점을 포착한 후에 모든 그래픽 객체를 디스플레이 하는 그래픽 객체를 동시에 디스플레이 하는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for simultaneously displaying graphic objects. More particularly, the present invention relates to transients of a window system generated due to visually recognized event intervals when a plurality of graphic objects are displayed on a screen by an event handler. In order to prevent the phenomenon, a double buffering technique is used. The present invention relates to an apparatus and method for simultaneously displaying graphic objects displaying all graphic objects after capturing a time point at which an event is delivered to the last graphic object.
가전 제품의 기능이 많아지고 복잡해짐에 따라 화면에 그래픽 객체를 효과적으로 출력하기 위하여 윈도우 시스템이 사용될 수 있다.As functions of home appliances increase and become more complicated, a window system may be used to effectively output graphic objects on a screen.
디지털 TV를 비롯하여 홈 바가 부착된 냉장고, 홈 패드 등 다양한 가전 제품은 시각적인 서비스를 사용자에게 제공함으로써 사용자는 좀 더 편리하고 친숙하게 제품을 사용할 수 있는 것이다. 따라서, 그래픽 출력에 대해 우수한 성능을 보이는 윈도우 시스템이 가전 제품에도 적용되는 것이다.Various home appliances such as digital TVs, refrigerators with home bars, and home pads provide visual services to the user, thereby allowing the user to use the product more conveniently and intimately. Therefore, a window system that shows excellent performance for graphic output is applied to home appliances.
일반적으로 윈도우 시스템은 이벤트(event)를 사용하여 응용 프로그램과 통신하며 응용 프로그램은 이벤트에 대한 핸들러가 정의되어 있음으로써 윈도우 시스템 상에서 동작할 수 있는 것이다.In general, a window system uses events to communicate with an application, and the application can run on the window system by defining handlers for the events.
따라서, 절차적 구조의 프로그램과 다르게 윈도우 프로그램은 이벤트 드리븐(event driven) 또는 메시지 드리븐(message driven) 프로그램이라고 한다.Thus, unlike procedurally structured programs, Windows programs are called event driven or message driven programs.
도 1은 종래의 윈도우 응용 프로그램의 구조를 나타낸 도면이다.1 is a view showing the structure of a conventional window application program.
도면에서와 같이 윈도우 응용 프로그램(이하 응용 프로그램이라고 함)(10)에는 메시지 루프(message loop)(12)와 윈도우 프로시저(window procedure)(13)가 포함되어 있는데, 이들은 각각의 프로그램에서 처리된다. 일반적으로 응용 프로그램(10)은 최소한 하나의 윈도우로 구성되는데, 여기에는 메인 윈도우라고 하는 윈도우가 존재한다. 또한, 응용 프로그램(10)에서 여러 개의 윈도우를 사용하게 된다면 각각의 윈도우에서 발생된 메시지는 메시지 루프(12)에 의하여 윈도우 프로시저(13)로 전달되는 것이다.As shown in the figure, a window application (hereinafter referred to as an application) 10 includes a
이렇게 윈도우를 가지고 있는 응용 프로그램(10)이 실행되면, 응용 프로그램(10)마다 하나의 메시지 대기열(11)이 할당된다. 그 다음에는 각각의 응용 프로그램(10)에서 가지고 있는 윈도우에 이벤트가 발생하면 윈도우 운영체제가 응용 프로그램(10)의 메시지 대기열(11)에 발생한 메시지(이벤트)를 넣어주게 된다. 이 때, 메시지를 받은 응용 프로그램(10)에서는 윈도우 운영체제가 전달해 준 메시지를 메시지 루프(12)에서 처리하여 윈도우 프로시저(13)에 넘겨준다. 윈도우 프로시저(13)에 넘겨진 메시지는 윈도우 프로시저(13)에서 해당 메시지를 처리하기 위하여 정해진 적당한 처리 루틴이 수행되는 것이다.When the application program having the
그래픽 객체가 화면에 디스플레이 되는 경우 각각의 객체에 그에 따른 이벤트가 발생하고 각 객체는 윈도우 프로시저(13)에 의해 화면에 디스플레이 된다. 이 때, 열악한 성능의 시스템 상에서 복수의 객체가 디스플레이 되는 경우 이벤트 발생 간격 또는 윈도우 프로시저의 처리 능력에 따라 객체의 디스플레이 간격이 시각적으로 인식될 수도 있는데, 이를 방지하기 위하여 더블 버퍼링(double buffering)이라는 기법이 사용된다.When a graphic object is displayed on the screen, an event according to each object is generated and each object is displayed on the screen by the
더블 버퍼링은 그래픽 객체를 화면에 바로 디스플레이 하는 것이 아니라, 버퍼(메모리)에 우선 디스플레이 하고, 나중에 화면을 통하여 디스플레이 하는 것이다.Double buffering does not display graphic objects directly on the screen, but first displays them in a buffer (memory) and later on the screen.
여기서, 더블 버퍼링을 적용하는 데에 있어서의 문제점은 메인 윈도우 및 하위 계층의 윈도우가 하나의 스레드에 의해 화면에 출력되지 않는 경우 그 출력 순서가 불분명하므로 이들이 버퍼에 모두 디스플레이 되는 시점을 포착하기 어렵다는 것이다.Here, a problem in applying double buffering is that when the main window and the lower layer windows are not output to the screen by one thread, the output order is unclear and it is difficult to capture when they are all displayed in the buffer. .
일본 공개 특허 평10-011258은 유저가 새로운 윈도우를 열 때 기존 윈도우에 문자 입력을 하고 있으면 새로운 윈도우가 클릭될 때까지 포커스를 유지하여 새로운 윈도우로 포커스가 천이되는 것을 연기하게 하는 시스템을 개시하고 있다. 그러나, 이는 윈도우의 과도 현상에 의하여 그래픽 객체가 동시에 화면에 출력되지 않는 것에 대한 방편이 아니며, 디지털 TV와 같은 가전 제품에서의 효용성이 떨어진다.Japanese Patent Laid-Open No. Hei 10-011258 discloses a system in which, when a user opens a new window and is typing text into an existing window, the user keeps the focus until the new window is clicked so that the user can delay the focus transition to the new window. . However, this does not mean that graphic objects are not simultaneously output on the screen due to the transient phenomenon of the window, and are not useful in home appliances such as digital TVs.
본 발명은 복수의 그래픽 객체가 이벤트 핸들러에 의하여 화면에 디스플레이 되는 경우, 마지막 그래픽 객체에 이벤트가 전달되고 처리되는 시점을 포착한 후에 모든 그래픽 객체를 디스플레이 하는데 그 목적이 있다.According to the present invention, when a plurality of graphic objects are displayed on a screen by an event handler, an object of the present invention is to display all graphic objects after capturing a time point at which an event is delivered and processed in the last graphic object.
본 발명의 목적은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해되어질 수 있을 것이다.The object of the present invention is not limited to the above-mentioned object, and other objects not mentioned will be clearly understood by those skilled in the art from the following description.
상기 목적을 달성하기 위하여, 본 발명의 실시예에 따른 그래픽 객체를 동시에 디스플레이 하는 장치는 그래픽 객체의 디스플레이에 대한 이벤트의 발생 여부를 확인하는 이벤트 체크부와, 상기 이벤트에 따라 처리된 상기 그래픽 객체를 저장하는 버퍼와, 상기 발생 확인된 이벤트의 회수 및 상기 처리된 그래픽 객체의 회수를 확인하는 판단부 및 상기 확인 결과에 따라 상기 저장된 그래픽 객체를 디스플레이 하는 디스플레이부를 포함한다.In order to achieve the above object, an apparatus for simultaneously displaying a graphic object according to an embodiment of the present invention, an event check unit for confirming whether or not an event for the display of the graphic object, and the graphic object processed according to the event A buffer for storing, a determination unit for confirming the number of occurrence of the event confirmed and the number of the processed graphic object, and a display unit for displaying the stored graphic object in accordance with the confirmation result.
본 발명의 실시예에 따른 그래픽 객체를 동시에 디스플레이 하는 방법은 그래픽 객체의 디스플레이에 대한 이벤트의 발생 여부를 확인하는 단계와, 상기 이벤트에 따라 처리된 상기 그래픽 객체를 저장하는 단계와, 상기 발생 확인된 이벤트의 회수 및 상기 처리된 그래픽 객체의 회수를 확인하는 단계 및 상기 확인 결과에 따라 상기 저장된 그래픽 객체를 디스플레이 하는 단계를 포함한다.According to an embodiment of the present invention, a method of simultaneously displaying a graphic object includes determining whether an event for a display of a graphic object occurs, storing the graphic object processed according to the event, and confirming the occurrence of the event. Confirming the number of events and the number of processed graphic objects, and displaying the stored graphic objects according to the verification result.
기타 실시예들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Specific details of other embodiments are included in the detailed description and the drawings.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발 명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but can be implemented in various different forms, only the embodiments are to make the disclosure of the present invention complete, and common knowledge in the art to which the present invention belongs It is provided to fully inform the person having the scope of the invention, which is defined only by the scope of the claims. Like reference numerals refer to like elements throughout.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 2는 본 발명의 실시예에 따른 그래픽 객체를 동시에 디스플레이 하는 장치를 나타낸 블록도이다.2 is a block diagram illustrating an apparatus for simultaneously displaying graphic objects according to an exemplary embodiment of the present invention.
그래픽 객체를 동시에 디스플레이 하는 장치는 이벤트 체크부(210), 판단부(220), 디스플레이부(230) 및 버퍼(240)를 포함하여 구성된다.The apparatus for simultaneously displaying graphic objects includes an
이벤트 체크부(210)는 그래픽 객체의 디스플레이에 대한 이벤트의 발생 여부를 확인하는 역할을 한다.The
여기서, 그래픽 객체는 윈도우, 프레임, 다이얼로그, 버튼, 체크 박스, 라디오 박스, 리스트, 스크롤 바 및 메뉴 바 중 적어도 하나인 객체로서 각각의 그래픽 객체는 스레드에 의해 발생된 이벤트에 따라 처리된다.Here, the graphic object is an object which is at least one of a window, a frame, a dialog, a button, a check box, a radio box, a list, a scroll bar, and a menu bar. Each graphic object is processed according to an event generated by a thread.
이 때, 각 그래픽 객체는 각각 다른 스레드 또는 다른 프로세스에 속할 수 있으므로, 이벤트가 처리되는 시점을 정확히 알 수 없게 된다.In this case, since each graphic object may belong to a different thread or a different process, it may not be known exactly when the event is processed.
윈도우 응용 프로그램은 일반적으로 하나 이상의 윈도우로 구성되며, 메시지 루프 및 윈도우 프로시저를 갖게 된다. 또한 응용 프로그램마다 하나 또는 하나 이 상의 메시지 대기열이 할당된다. 그리고, 대부분의 경우 메시지 루프 별로 하나의 메시지 대기열이 할당된다.Windows applications typically consist of one or more windows, with message loops and window procedures. In addition, one or more message queues are allocated per application. In most cases, one message queue is allocated per message loop.
그 다음에는 응용 프로그램의 윈도우에 그래픽 객체의 디스플레이에 대한 이벤트가 발생하면 윈도우 운영체제 또는 윈도우 매니저가 응용 프로그램의 메시지 대기열에 발생한 메시지를 넣어주게 된다. 이벤트 체크부(210)는 메시지 대기열에서 그래픽 객체의 디스플레이에 대한 이벤트가 출력되었는지를 확인하는 것이다.Next, when an event occurs for the display of a graphic object in the application's window, the Windows operating system or window manager puts the message in the application's message queue. The
이 때, 메시지를 받은 응용 프로그램에서는 윈도우 운영체제가 전달해 준 메시지를 메시지 루프에서 처리하여 윈도우 프로시저에 넘겨준다. 윈도우 프로시저에 넘겨진 그래픽 객체의 디스플레이에 대한 메시지는 해당 메시지를 처리하기 위하여 정해진 적당한 처리 루틴에 의하여 수행된다.At this point, the application that receives the message processes the message delivered by the Windows operating system in a message loop and passes it to the window procedure. The message about the display of the graphic object passed to the window procedure is performed by a suitable processing routine specified for processing the message.
버퍼(240)는 이벤트 체크부(210)가 확인한 이벤트의 발생 여부에 따라 윈도우 프로시저에서 처리된 그래픽 객체를 임시적으로 저장하는 역할을 한다.The
여기서, 저장이란 단순히 메모리에 그래픽 객체의 데이터를 저장하는 것이 아니라, 실제로 화면에 출력될 영역에 대한 메모리를 할당 받아 메모리 상에 그래픽 객체를 그리는 것으로서 단지 화면에만 출력되지 않는 상태를 말한다.Here, storage does not simply store data of a graphic object in memory, but refers to a state in which a graphic object is drawn on the memory by allocating a memory for an area to be actually displayed on the screen and is not output only to the screen.
판단부(220)는 이벤트 체크부(210)가 확인한 이벤트의 발생 회수 및 윈도우 프로시저에서 처리된 그래픽 객체의 회수를 확인하는 역할을 한다.The
실제로 판단부(220)는 별도의 영역에 저장된 변수를 이용하여 발생 확인된 이벤트의 회수 및 처리된 그래픽 객체의 회수를 확인하는데, 이벤트 체크부(210)가 이벤트의 발생을 확인할 때마다 변수의 값을 1 증가 시키고, 윈도우 프로시저에 의 해 그래픽 객체가 처리될 때마다 변수의 값을 1 감소 시킨다.In practice, the
그리하여, 그 변수의 값이 0이 되는 시점이 화면에 디스플레이 되어야 하는 모든 그래픽 객체의 처리가 완료된 시점이므로, 판단부(220)는 디스플레이부(230)를 통하여 버퍼(240)에 저장된 그래픽 객체를 화면에 디스플레이 하게 한다.Thus, since the time point at which the value of the variable becomes 0 is the time point when the processing of all graphic objects to be displayed on the screen is completed, the
도 3a 내지 도 3b는 본 발명의 실시예에 따른 그래픽 객체를 동시에 디스플레이 하는 과정을 나타낸 흐름도이다.3A to 3B are flowcharts illustrating a process of simultaneously displaying graphic objects according to an exemplary embodiment of the present invention.
응용 프로그램이 초기 실행되는 경우, 메인 윈도우의 특정 영역이 다시 그려져야 하는 경우 또는 InvalidateRect 함수의 호출되는 경우 등 그래픽 객체의 디스플레이에 대한 이벤트가 발생하면, 윈도우 운영 체제는 응용 프로그램의 메시지 대기열에 발생한 이벤트를 삽입하는데(S310), 이벤트 체크부(210)는 이를 이용하여 그래픽 객체의 디스플레이에 대한 이벤트 발생 여부를 확인하게 된다(S320).If an event occurs for the display of a graphic object, such as when the application is initially running, when certain areas of the main window need to be redrawn, or when the InvalidateRect function is called, the Windows operating system raises the event that occurred in the application's message queue. To insert (S310), the
이에 따라 판단부(220)는 발생 확인된 이벤트의 회수에 대해 별도의 영역에 설정된 변수를 1 증가시켜 저장한다(S330).Accordingly, the
그리고, 윈도우 프로시저에 전달된 메시지에 따라 해당 그래픽 객체가 처리되는데(S340), 이에 따라 판단부(220)는 처리된 그래픽 객체의 회수에 대해 별도의 영역에 설정된 변수를 1 감소시켜 저장한다(S350).The graphic object is processed according to the message transmitted to the window procedure (S340). Accordingly, the
그리고 버퍼(240)에 해당 그래픽 객체를 저장한다(S360).In operation S360, the graphic object is stored in the
이와 같은 이벤트 발생 확인 및 그래픽 객체의 처리에 따른 변수의 증감 과정은 응용 프로그램에 의해 구성되어 화면에 출력되는 그래픽 객체의 수에 의해 결정되는데, 판단부(220)는 그 변수의 값이 0이 되는 지를 확인한다(S370). 그리고 변수의 값이 0이 되는 시점이 화면에 디스플레이 되어야 하는 모든 그래픽 객체의 처리가 완료된 시점이므로, 판단부(220)는 디스플레이부(230)를 통하여 버퍼(240)에 저장된 그래픽 객체를 화면에 디스플레이 하게 한다(S380).The process of confirming the event occurrence and the increase or decrease of the variable according to the processing of the graphic object are determined by the number of graphic objects configured by the application and output on the screen. The
도 4는 본 발명의 실시예에 따른 하나의 변수를 이용하여 복수의 윈도우를 디스플레이 하는 것을 나타낸 도면이다.4 is a diagram illustrating displaying a plurality of windows using one variable according to an embodiment of the present invention.
하나의 응용 프로그램 또는 복수의 응용 프로그램에 의하여 복수의 윈도우가 디스플레이 될 수 있는데, 도 4는 하나의 변수(430)를 이용하여 복수의 윈도우(410, 420)를 디스플레이 하는 것을 나타낸 도면이다.A plurality of windows may be displayed by one application program or a plurality of application programs. FIG. 4 is a diagram illustrating displaying a plurality of
윈도우 A(410)는 1개의 메인 윈도우와 6개의 버튼으로 총 7개의 그래픽 객체로 구성된 윈도우이고, 윈도우 B(420)는 1개의 메인 윈도우와 2개의 버튼으로 총 3개의 그래픽 객체로 구성된 윈도우이다.
여기서, 각 윈도우에 대한 이벤트 발생 확인 회수 및 그래픽 객체 처리 회수를 관리하기 위한 변수는 전역 변수(Count_total)로 설정된 것을 보여준다.Here, the variables for managing the number of event occurrence checks and the number of graphic object processing for each window are set as global variables (Count _total ).
윈도우 A(410), 윈도우 A(410)의 자식 윈도우, 윈도우 B(420) 또는 윈도우 B(420)의 자식 윈도우에 대한 그래픽 객체를 디스플레이하라는 이벤트가 발생하면 이벤트 체크부(210)는 해당 그래픽 객체의 디스플레이에 대한 이벤트 발생 여부를 확인하게 된다.When an event occurs to display a graphic object for the
그리하여, 이벤트 체크부(210)에 의해 이벤트의 발생이 확인되면 Count_total(430)는 1 증가하고, 윈도우 프로시저에 의해 그래픽 객체가 처리되면 Count_total(430)는 1 감소한다.Thus, when the occurrence of the event is confirmed by the
전역 변수 Count_total(430)의 값은 윈도우에 관계 없이 계산되며 그 결과가 0이 되기 이전에는 윈도우 A(410), 윈도우 A(410)의 자식 윈도우, 윈도우 B(420), 윈도우 B(420)의 자식 윈도우는 버퍼(240)에 저장되며 화면으로 디스플레이 되지 않고, 전역 변수 Count_total(430)의 결과가 0이 되는 시점에 윈도우 A(410), 윈도우 A의 자식 윈도우, 윈도우 B(420) 및 윈도우 B(420)의 자식 윈도우가 동시에 디스플레이 된다.The value of the global variable Count _total (430) is calculated regardless of the window, and before the result is 0, the
도 5는 본 발명의 실시예에 따른 복수의 변수를 이용하여 복수의 윈도우를 디스플레이 하는 것을 나타낸 도면이다.5 is a diagram illustrating displaying a plurality of windows using a plurality of variables according to an embodiment of the present invention.
하나의 응용 프로그램 또는 복수의 응용 프로그램에 의하여 복수의 윈도우가 디스플레이 될 수 있는데, 도 5는 복수의 변수(530, 540)를 이용하여 복수의 윈도우(510, 520)를 디스플레이 하는 것을 나타낸 도면이다.A plurality of windows may be displayed by one application program or a plurality of application programs. FIG. 5 is a diagram illustrating displaying a plurality of
윈도우 A(510)는 1개의 메인 윈도우와 6개의 버튼으로 총 7개의 그래픽 객체로 구성된 윈도우이고, 윈도우 B(520)는 1개의 메인 윈도우와 2개의 버튼으로 총 3개의 그래픽 객체로 구성된 윈도우이다.
여기서, 각 윈도우에 대한 이벤트 발생 확인 회수 및 그래픽 객체 처리 회수를 관리하기 위한 변수는 지역 변수로 설정된 것을 보여주는데, 윈도우 A(510)에는 지역 변수 Count_A(530)로 설정된 것을 보여주며, 윈도우 B(520)에는 지역 변수 Count_B(540)로 설정된 것을 보여준다.Here, the variables for managing the number of event occurrence checks and the number of graphic object processing for each window are shown to be set to a local variable, window A (510) is shown to be set to the local variable Count _A (530), window B ( 520 shows that the
윈도우 A(510), 윈도우 A(510)의 자식 윈도우, 윈도우 B(520) 또는 윈도우 B(520)의 자식 윈도우에 대한 그래픽 객체를 디스플레이하라는 이벤트가 발생하면 이벤트 체크부(210)는 해당 그래픽 객체의 디스플레이에 대한 이벤트의 발생 여부를 확인하게 된다.When an event occurs to display a graphic object for a
이에 따라, 판단부(220)는 발생 확인된 이벤트가 어느 윈도우의 이벤트인지를 검색한다. 그리하여, 발생 확인된 이벤트가 윈도우 A(510) 또는 윈도우 A(510)의 자식 윈도우의 이벤트이면 Count_A(530)를 1 증가시키고, 윈도우 B(520) 또는 윈도우 B(520)의 자식 윈도우의 이벤트이면 Count_B(540)를 1 증가시킨다. 그리고, 윈도우 프로시저에 의해 그래픽 객체가 처리되면 Count_A(530) 또는 Count_B(540)는 1 감소한다.Accordingly, the
이와 같이, 지역 변수 Count_A(530) 또는 Count_B(540)의 값은 윈도우에 따라 계산되며 각 계산 결과에 따라 디스플레이 여부가 결정된다. 즉, 윈도우 A(510)의 지역 변수인 Count_A(530)의 값이 0이 아니더라도, 윈도우 B(520)의 지역 변수인 Count_B(540)의 값이 0이면 윈도우 A(510)는 여전히 버퍼(240)에 저장되고 윈도우 B(520)는 디스플레이부(230)를 통하여 화면에 디스플레이 된다.In this way, the value of the
도 6은 본 발명의 실시예에 따른 그래픽 객체를 동시에 디스플레이 하는 디지털 TV를 나타낸 블록도이다.6 is a block diagram illustrating a digital TV for simultaneously displaying graphic objects according to an embodiment of the present invention.
일반적인 데스크톱 또는 랩톱은 그 성능이 비교적 우수하므로 윈도우 과도 현상은 좀처럼 발생하지 않으나, 가전 제품은 데스크톱 또는 랩톱과 다르게 그 성능이 우수하지 않으므로 윈도우 과도 현상이 빈번히 발생할 수 있다.Since a typical desktop or laptop has a relatively high performance, window transients rarely occur. However, since a consumer electronics product does not perform as well as a desktop or laptop, a window transient may frequently occur.
도 6은 디지털 TV에 본 발명의 그래픽 객체를 동시에 디스플레이 하는 장치가 부착된 것을 나타내고 있다.Fig. 6 shows that a device for simultaneously displaying a graphic object of the present invention is attached to a digital TV.
디지털 TV는 그래픽 객체를 동시에 디스플레이 하는 장치 외에 기본적으로 영상 수신부(610) 및 디코딩부(620)를 더 포함하고 있다.The digital TV further includes an
영상 수신부(610)는 유선 또는 무선으로 수신한 압축된 디지털 영상을 수신하는 역할을 하는데, 수신되는 영상의 원활한 흐름을 위하여 버퍼를 포함할 수도 있다. 영상 수신부(610)가 수신한 압축된 디지털 영상은 디코딩부(620)로 전달된다.The
디코딩부(620)는 영상 수신부(610)로부터 전달 받은 압축된 디지털 영상의 압축을 해제하여 원래 영상을 구현하는 역할을 하며, 추가적으로 디지털 영상 처리를 할 수도 있다. 디코딩부(620)에 의해 구현된 원래 영상은 디스플레이부(230)를 통하여 화면에 출력된다.The
이와 같이 디지털 TV는 단지 TV 수신용으로만 사용되지 않고, 기타 사용자의 편의를 위해서도 사용되는데 특히, 홈 네트워크 상의 디지털 TV와 같은 경우에는 다양한 디지털 방송 서비스뿐만 아니라, 홈 네트워크를 구성하는 기기들을 제어하는 데도 사용된다. 이 때, 이러한 작업을 사용자로 하여금 수행할 수 있게 하기 위하여 그래픽 사용자 인터페이스가 사용되는데, 비교적 연산 능력이 떨어지는 디지 털 TV에서는 윈도우 과도 현상이 발생할 수도 있다.As such, the digital TV is not only used for TV reception, but also for the convenience of other users. In particular, in the case of a digital TV on a home network, a digital TV service controls not only various digital broadcasting services but also devices that make up the home network. It is also used to. In this case, a graphic user interface is used to allow a user to perform such a task, and window transients may occur in a digital TV having relatively low computing power.
디스플레이부(230)는 방송 컨텐츠를 디스플레이 하는 중에도 그래픽 객체를 디스플레이 할 수도 있는데, 이벤트 체크부(210)에 의해 확인된 이벤트의 발생 여부가 판단부(220)로 전달된다.The
판단부(220)는 발생된 이벤트의 회수 및 처리된 그래픽 객체의 회수를 확인하여 소정의 변수에 그 회수를 적용함으로써, 변수의 값에 따라 해당 그래픽 객체를 버퍼(240)에 저장하거나, 디스플레이부(230)를 통하여 버퍼(240)에 저장되어 있는 그래픽 객체를 화면에 디스플레이 하는 것이다.The
이상 첨부된 도면을 참조하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.Although embodiments of the present invention have been described above with reference to the accompanying drawings, those skilled in the art to which the present invention pertains may implement the present invention in other specific forms without changing the technical spirit or essential features thereof. I can understand that. Therefore, it should be understood that the embodiments described above are exemplary in all respects and not restrictive.
상기한 바와 같은 본 발명의 그래픽 객체를 동시에 디스플레이 하는 장치 및 방법에 따르면 다음과 같은 효과가 하나 혹은 그 이상 있다. According to the apparatus and method for simultaneously displaying the graphic object of the present invention as described above, there are one or more of the following effects.
첫째, 복수의 그래픽 객체가 이벤트 핸들러에 의하여 화면에 디스플레이 되는 경우, 마지막 그래픽 객체에 이벤트가 전달되는 시점을 포착한 후에 모든 그래픽 객체를 디스플레이 함으로써 열악한 성능의 시스템에서도 복수의 그래픽 객체를 동시에 디스플레이 하는 장점이 있다.First, when a plurality of graphic objects are displayed on the screen by an event handler, all graphic objects are displayed after capturing the point of time when the event is delivered to the last graphic object, so that even a poor performance system can simultaneously display a plurality of graphic objects. There is this.
Claims (8)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050007174A KR100678900B1 (en) | 2005-01-26 | 2005-01-26 | Apparatus and method for displaying graphic object concurrently |
CN2005101260187A CN100407290C (en) | 2005-01-26 | 2005-11-24 | Simultaneous image display device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050007174A KR100678900B1 (en) | 2005-01-26 | 2005-01-26 | Apparatus and method for displaying graphic object concurrently |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060086475A KR20060086475A (en) | 2006-07-31 |
KR100678900B1 true KR100678900B1 (en) | 2007-02-05 |
Family
ID=36844785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050007174A KR100678900B1 (en) | 2005-01-26 | 2005-01-26 | Apparatus and method for displaying graphic object concurrently |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR100678900B1 (en) |
CN (1) | CN100407290C (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04204994A (en) * | 1990-11-30 | 1992-07-27 | Toshiba Corp | Computer system |
US6091430A (en) * | 1993-03-31 | 2000-07-18 | International Business Machines Corporation | Simultaneous high resolution display within multiple virtual DOS applications in a data processing system |
US6288704B1 (en) * | 1999-06-08 | 2001-09-11 | Vega, Vista, Inc. | Motion detection and tracking system to control navigation and display of object viewers |
US7071914B1 (en) * | 2000-09-01 | 2006-07-04 | Sony Computer Entertainment Inc. | User input device and method for interaction with graphic images |
-
2005
- 2005-01-26 KR KR1020050007174A patent/KR100678900B1/en not_active IP Right Cessation
- 2005-11-24 CN CN2005101260187A patent/CN100407290C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1811900A (en) | 2006-08-02 |
CN100407290C (en) | 2008-07-30 |
KR20060086475A (en) | 2006-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8713472B2 (en) | Display apparatus, a method for a display control, and program | |
WO2018209871A1 (en) | Wireless screen transmission method and system | |
CN105933783A (en) | Bullet screen play method and device and terminal equipment | |
WO2014101418A1 (en) | Video preview display method and terminal device | |
CN110401877B (en) | Video playing control method and device, electronic equipment and storage medium | |
US8099738B2 (en) | Message display device which changes a manner of displaying a message over time, and a non-transitory computer-readable medium storing a message display program changes a manner of displaying a message over time | |
CN105578073B (en) | A kind of video monitoring picture display process and device | |
KR100678900B1 (en) | Apparatus and method for displaying graphic object concurrently | |
CN113825020A (en) | Video definition switching method, device, equipment, storage medium and program product | |
US20090141035A1 (en) | Display control apparatus and image forming apparatus employing same | |
EP3522530A1 (en) | System performance improvement method, system performance improvement device and display device | |
KR100818920B1 (en) | Apparatus and method for controlling occurrence key event while a execution of graphic object | |
US20060164431A1 (en) | Apparatus and method for displaying graphic objects concurrently | |
CN111610914A (en) | Multimedia playing method and device, electronic equipment and storage medium | |
US20240048727A1 (en) | Method and system of low latency video coding with interactive applications | |
JP5872879B2 (en) | Dynamic resizing of electronic program guide (EPG) | |
US20220337868A1 (en) | Rendering video frames for a user interface operation performed at a client device | |
JP6226616B2 (en) | Video playback apparatus and video playback method | |
CN113473175B (en) | Content display method and display equipment | |
JP5392661B2 (en) | Electronics | |
US9894396B1 (en) | Media production system with dynamic modification of multiple media items | |
KR100681115B1 (en) | Method for improvement graphic processing in communication system | |
CN117676248A (en) | Video playing control method and related equipment | |
KR100862291B1 (en) | Service menu execution apparatus for digital television | |
KR101164242B1 (en) | Method for supplying graphic user interface in a embedded system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20121210 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20131217 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20141224 Year of fee payment: 9 |
|
LAPS | Lapse due to unpaid annual fee |