KR20090015476A - Apparatus and method for control to window message - Google Patents
Apparatus and method for control to window message Download PDFInfo
- Publication number
- KR20090015476A KR20090015476A KR1020070079814A KR20070079814A KR20090015476A KR 20090015476 A KR20090015476 A KR 20090015476A KR 1020070079814 A KR1020070079814 A KR 1020070079814A KR 20070079814 A KR20070079814 A KR 20070079814A KR 20090015476 A KR20090015476 A KR 20090015476A
- Authority
- KR
- South Korea
- Prior art keywords
- message
- event
- window
- window message
- computer system
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/548—Queue
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Digital Computer Display Output (AREA)
Abstract
Description
The present invention relates to a computer system, and more particularly, to a computer system and a method for processing the window message that improves system performance by controlling the processing of window messages generated during the operation of the computer system.
The basic architecture of modern computers includes peripheral devices that can communicate information with the external environment. These peripheral devices include keyboards, monitors, tape drives, and communication lines that connect to networks. . In addition, the basic structure of the computer is a hardware for receiving and processing information from the outside and transmitting it back to the outside, a plurality of buses, memory units, input / output controllers, storage devices, and a central processing unit (CPU) for controlling the same. ) Are included. The CPU includes a computer program and executes instructions to manage the operation of the components of another system.
On the other hand, most conventional computer systems process window messages that occur in essentially the same way under the control of the CPU. The message processing is a core task of allowing a Windows application program to perform a predetermined task. The computer system and the window application program generate a message for all events occurring in the window. For example, a window generates a message for every hardware event, such as the user pressing a keyboard or clicking a mouse.
In order to process the window message as described above, the
When the window message is executed by the filtering operation in the
However, the prior art as described above has the following problems.
In other words, in recent years, as computer specifications continue to develop, it is required that the speed of computer systems be increased. However, when processing a window message as in the prior art, the computer system performance is inferior because unnecessary filtering is continuously performed on the window message generated by any event.
In addition, there is a problem that the message stored in the message queue is overwritten because the speed of processing the message stored in the message queue does not reach the performance of the system, and thus the message is lost.
Accordingly, the present invention has been made to solve the above-mentioned conventional problems, an object of the present invention is to effectively process the window message generated during the operation of the computer system to improve the speed of the system and its window message processing method To provide.
The present invention relates to a computer system and a method for processing the window message thereof, which efficiently process the window message generated during operation of the computer system.
According to a feature of the present invention for achieving the above object, the present invention comprises: a system polling unit for peaking a window message for an event generated by a computer-mounted peripheral device; A message queue in which the window message for each peripheral device is peaked; An event check unit for accessing a window message corresponding to the event among window messages peaked by the message polling unit, when an event occurs; And an event processing unit for executing the window message accessed by the event check unit.
In this case, when the computer system is booted and the OS is driven, the system polling unit sequentially polls a window message corresponding to the event for each peripheral device.
When the window message is executed, the event processor removes the executed window message.
According to another object of the present invention as described above, the present invention comprises the steps of (A) peaking the window message for the event per peripheral device mounted on the computer system; (B) any event during the operation of the computer system Detecting the occurrence of a message and searching for a window message corresponding to the event among the peaked window messages; And (C) executing the searched window message.
In the step (A), when the computer system is booted and the operating system (OS) is started, the window messages of the peripheral devices mounted in the computer system are sequentially polled.
In the step (C), when the window message is executed, the window message is removed.
Meanwhile, step (A), step (B), and step (C) perform independent functions as respective threads.
According to the present invention, when an arbitrary event occurs while the computer is running, the performance of the computer system is improved by searching for and processing a window message for the corresponding event among the window messages that are fitted to the system polling unit. It works.
In addition, the present invention solves the problem that the message is overwritten in the message queue (Que) that occurs because the conventional window message processing speed is less than the performance of the computer system to provide convenience to the user using the computer system It works.
Hereinafter, with reference to the accompanying drawings, a preferred embodiment of a computer system according to the present invention as described above will be described in detail.
Figure 2 is a block diagram showing the internal configuration of a computer system having a window message processing means according to a specific embodiment of the present invention, Figure 3 is a window message processing method according to a specific embodiment of the present invention The flowchart shown is shown.
As shown in FIG. 2, the
When the
And a
When any event occurs in the peripheral device, an event check for searching for and accessing a window message corresponding to the event among window messages peaked in the
In addition, an
As described above, the
In addition, the
Hereinafter, a window message processing method of a computer system according to an embodiment of the present invention will be described in detail with reference to FIG. 3.
First, when the
Thereafter, the
Once peaks have been completed for all peripheral devices, certain events are generated by any peripheral device during the operation of
Thereafter, when the
For example, when a user presses a keyboard or clicks a mouse, the
As described above, when a predetermined event occurs while the computer system is being driven, the confirmation procedure for processing the window message is simplified because the window message peaked by the system polling unit is searched and the window message is processed. The processing speed of a computer system is improved.
The rights of the present invention are not limited to the embodiments described above, but are defined by the claims, and a person skilled in the art can make various modifications and adaptations within the scope of the claims. It is self-evident.
1 is a block diagram showing the internal structure of a conventional computer system.
Figure 2 is a block diagram showing the internal configuration of a computer system according to a specific embodiment of the present invention.
3 is a flow chart illustrating a window message processing method according to a specific embodiment of the present invention.
Explanation of symbols on the main parts of the drawings
100: computer system 110: peripheral device
120: message queue 130: system polling unit
140: event check unit 150: event processing unit
160: storage unit
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070079814A KR20090015476A (en) | 2007-08-08 | 2007-08-08 | Apparatus and method for control to window message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070079814A KR20090015476A (en) | 2007-08-08 | 2007-08-08 | Apparatus and method for control to window message |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20090015476A true KR20090015476A (en) | 2009-02-12 |
Family
ID=40685034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070079814A KR20090015476A (en) | 2007-08-08 | 2007-08-08 | Apparatus and method for control to window message |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20090015476A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101229264B1 (en) * | 2011-03-04 | 2013-02-04 | 삼성탈레스 주식회사 | Common meessage distributor and method for transmitting window message thereof |
-
2007
- 2007-08-08 KR KR1020070079814A patent/KR20090015476A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101229264B1 (en) * | 2011-03-04 | 2013-02-04 | 삼성탈레스 주식회사 | Common meessage distributor and method for transmitting window message thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102027453B (en) | System and method for optimizing interrupt processing in virtualized environments | |
US7783865B2 (en) | Conditional data watchpoint management | |
US9684517B2 (en) | System monitoring and debugging in a multi-core processor system | |
US9355002B2 (en) | Capturing trace information using annotated trace output | |
US20130138885A1 (en) | Dynamic process/object scoped memory affinity adjuster | |
EP3241116B1 (en) | Memory access protection using processor transactional memory support | |
US20110197193A1 (en) | Device and method for controlling communication between bios and bmc | |
US10614004B2 (en) | Memory transaction prioritization | |
US8578388B2 (en) | Optimizing the performance of hybrid CPU systems based upon the thread type of applications to be run on the CPUs | |
US7818630B2 (en) | Framework for automatically analyzing I/O performance problems using multi-level analysis | |
US9645873B2 (en) | Integrated configuration management and monitoring for computer systems | |
CN113238815B (en) | Interface access control method, device, equipment and storage medium | |
US20070005860A1 (en) | Interrupt control system and method | |
US10621163B2 (en) | Tracking and reusing function results | |
KR20090015476A (en) | Apparatus and method for control to window message | |
US8024301B2 (en) | Automatic database diagnostic usage models | |
CN114218000A (en) | Log management method and device, electronic equipment and computer readable storage medium | |
US20040172408A1 (en) | Real time maintenance of a relational database priority | |
CN110602162B (en) | Terminal evidence obtaining method, device, equipment and storage medium | |
US10257053B2 (en) | Analyzing contention data and following resource blockers to find root causes of computer problems | |
US7934067B2 (en) | Data update history storage apparatus and data update history storage method | |
CN112416695B (en) | Global variable monitoring method, device, equipment and storage medium | |
CN112948216B (en) | Data acquisition method, device, equipment and storage medium | |
US20240168798A1 (en) | Automatic synchronous or asynchronous execution of requests | |
US20200379850A1 (en) | Uninterrupted backup operation using a time based approach |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
WITN | Withdrawal due to no request for examination |