KR20020027114A - A method for optimizing computer system according to the characteristic of a monitor - Google Patents

A method for optimizing computer system according to the characteristic of a monitor Download PDF

Info

Publication number
KR20020027114A
KR20020027114A KR1020000058957A KR20000058957A KR20020027114A KR 20020027114 A KR20020027114 A KR 20020027114A KR 1020000058957 A KR1020000058957 A KR 1020000058957A KR 20000058957 A KR20000058957 A KR 20000058957A KR 20020027114 A KR20020027114 A KR 20020027114A
Authority
KR
South Korea
Prior art keywords
vertical
horizontal
monitor
resolution
computer system
Prior art date
Application number
KR1020000058957A
Other languages
Korean (ko)
Other versions
KR100359759B1 (en
Inventor
김용희
Original Assignee
김용희
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 김용희 filed Critical 김용희
Priority to KR1020000058957A priority Critical patent/KR100359759B1/en
Publication of KR20020027114A publication Critical patent/KR20020027114A/en
Application granted granted Critical
Publication of KR100359759B1 publication Critical patent/KR100359759B1/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/001Arbitration of resources in a display system, e.g. control of access to frame buffer by video controller and/or main processor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/003Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • G09G5/006Details of the interface to the display terminal

Abstract

PURPOSE: A method for optimizing a computer system is provided to automatically set up the resolution and refresh rate of a monitor in the optimal state depending on the characteristics of the monitor. CONSTITUTION: The method comprises steps of deciding the existence of an optimal mode of a monitor in connection with a main frame by reading EDID(Extended Display Information Data) stored in a register(ST101,ST102), calculating a horizontal and a vertical resolutions and a vertical frequency by using the EDID data(ST103), deciding if a video card driver in charge of the signal relay between the monitor and the main frame supports the calculated resolutions and vertical frequency(ST104), and resetting up the environment of a computer system in the optimal monitor mode by substituting the resolutions and frequency for the variable of a change display setting API(Application Program Interface) of an operating system(ST105).

Description

모니터 특성에 따른 컴퓨터 시스템의 최적화 방법 {A method for optimizing computer system according to the characteristic of a monitor}A method for optimizing computer system according to the characteristic of a monitor}

본 발명은 컴퓨터 시스템의 최적화 방법에 관한 것으로, 특히 컴퓨터 시스템의 본체에 접속된 모니터의 특성에 따라 해상도, 컬러 및 리프레쉬 레이트(refresh rate)를 최적의 상태로 자동 설정하는 모니터 특성에 따른 컴퓨터 시스템의 최적화 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of optimizing a computer system, and more particularly, to a computer system according to a monitor characteristic for automatically setting resolution, color, and refresh rate to an optimal state according to the characteristics of a monitor connected to a main body of the computer system. It is about an optimization method.

일반적으로, 모든 업무의 자동화에 따라 컴퓨터 시스템은 이제 생활 필수품이 되었으며 컴퓨터 시스템을 이용하지 않고서는 어떤 일도 처리할 수 없는 상태가 되었다. 이러한 컴퓨터 시스템은 통상적으로 연산처리가 이루어지는 본체와 모니터, 키보드 및 각종 주변장치로 구성되어 있다.In general, with the automation of all tasks, computer systems are now a necessity of life and are unable to do anything without them. Such a computer system is generally composed of a main body to which arithmetic processing is performed, a monitor, a keyboard, and various peripheral devices.

그러나, 상기된 모니터와 키보드 및 프린터등과 같은 각종 주변장치는 제작사 또는 모델에 따라 그 특성이 상이하므로 본체에 접속시 해당 장치의 특성에 알맞게 컴퓨터 시스템의 환경을 설정하여 주어야 한다. 특히, 모니터의 경우에는 시스템의 환경설정이 잘못되면 눈의 피로를 가중시키게 된다는 문제점이 있다.However, various peripheral devices such as a monitor, a keyboard, a printer, and the like are different in characteristics depending on a manufacturer or a model, and therefore, the environment of the computer system should be set according to the characteristics of the corresponding device when connected to the main body. In particular, in the case of the monitor there is a problem that if the configuration of the system is wrong, the eye fatigue is increased.

따라서, 종래에는 다음과 같은 절차를 통해 컴퓨터 시스템의 환경을 설정하였다. 즉, 모니터를 컴퓨터 시스템의 본체에 연결시켜 부팅시키면 컴퓨터 시스템의 운영체제(OS : Operating System)가 플러그 앤 플레이(Plug & Play) 기간동안 모니터로 부터 EDID(Extended Display Information Data) 데이터를 읽어와 레지스터에 저장하게 된다.Therefore, in the related art, the environment of a computer system is set through the following procedure. In other words, when the monitor is connected to the main body of the computer system and booted, the operating system (OS) of the computer system reads EDID (Extended Display Information Data) data from the monitor during the Plug & Play (Plug & Play) period. Will be saved.

또한, 모니터 드라이버 디스켓을 구동시키면 모니터 드라이버 파일인 Inf File을 이용하여 컴퓨터 시스템내에 모니터 드라이버가 설치되며, 이 드라이버가 가지고 있는 데이터도 레지스터에 저장되어 모니터의 종류에 따라 컴퓨터 시스템의 환경을 설정하도록 구성되어 있었다.In addition, when the monitor driver diskette is driven, the monitor driver is installed in the computer system by using Inf File, which is a monitor driver file, and the data of this driver is also stored in a register to configure the computer system environment according to the type of monitor. It was.

그러나, 상기와 같이 설정된 시스템 환경은 제어판을 통해 가변할 수 있는데, 컴퓨터에 익숙하지 않은 사용자가 제어판을 통해 모니터의 특성을 무시하고 적절치 않은 해상도, 컬러, 리프레쉬 레이트로 시스템 환경을 가변시키면 깜빡거림 등으로 인해 눈의 피로를 가중시키게 된다는 문제점이 있었다.However, the system environment set as described above can be changed through the control panel. If a user who is not familiar with the computer ignores the characteristics of the monitor through the control panel and changes the system environment with inappropriate resolution, color, and refresh rate, flickering, etc. Due to this, there is a problem in that the eye fatigue.

이에 본 발명은 상기와 같은 문제점을 해결하기 위해 발명된 것으로, 컴퓨터 시스템의 본체에 접속된 모니터의 특성에 따라 해상도, 컬러 및 리프레쉬 레이트 (refresh rate)를 최적의 상태로 자동 설정하는 모니터 특성에 따른 컴퓨터 시스템의 최적화 방법을 제공하는 것을 그 목적으로 한다.Accordingly, the present invention has been invented to solve the above problems, and according to the characteristics of the monitor connected to the main body of the computer system according to the characteristics of the monitor to automatically set the resolution, color and refresh rate (optimal) to the optimal state Its purpose is to provide a method for optimizing a computer system.

상기와 같은 목적을 달성하기 위하여 본 발명은 컴퓨터 시스템의 최적화 방법에 있어서: 레지스터에 저장된 EDID(Extended Display Information Data) 데이터를 리드하여 본체에 접속된 모니터의 최적모드가 존재하는지를 판단하는 제 1 단계와; 상기 제 1 단계에서 해당 모니터에 대한 최적모드가 존재하면 EDID 데이터를 이용하여 수평·수직 해상도와 수직주파수를 각각 산출하는 제 2 단계와; 상기 제 2 단계에서 해당 모니터의 수평·수직해상도와 수직주파수가 산출되면 모니터와 본체간의 신호중계를 담당하는 비디오 카드 드라이버가 산출된 수평·수직해상도와 수직주파수를 지원하는지 판단하는 제 3 단계; 및 상기 제 3 단계에서 비디오 카드 드라이버가 산출된 수평·수직해상도와 수직주파수를 지원하면 운영체제(OS)의 ChangeDisplay Setting() API 함수의 변수에 해당 수평·수직 해상도와 수직주파수를 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드로 재설정하는 제 4 단계를 구비하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a method for optimizing a computer system, comprising: a first step of reading an EDID (Extended Display Information Data) data stored in a register to determine whether an optimal mode of a monitor connected to the main body exists; ; A second step of calculating horizontal and vertical resolutions and vertical frequencies using EDID data when there is an optimal mode for the corresponding monitor in the first step; A third step of determining whether the video card driver responsible for signal relay between the monitor and the main body supports the calculated horizontal, vertical resolution and vertical frequency when the horizontal and vertical resolution and vertical frequency of the corresponding monitor are calculated in the second step; If the video card driver supports the horizontal and vertical resolutions and the vertical frequency calculated in the third step, the corresponding horizontal and vertical resolution and the vertical frequency are substituted into the variables of the ChangeDisplay Setting () API function of the operating system. And a fourth step of resetting the environment to the optimum mode of the corresponding monitor.

또한, 상기 컴퓨터 시스템의 최적화 방법은: 비디오 카드 드라이버가 산출된 수평·수직해상도는 지원하고 수직주파수를 지원하지 않으면 동일 해상도에서 상기 드라이버가 지원 가능한 모든 수직주파수들을 레지스터로 부터 리드하고 해당 수직주파수들에서 최적 수직주파수를 차감한 절대값이 가장 작은 수직주파수를 검색하는 제 5 단계와; 비디오 카드 드라이버가 수평·수직해상도를 지원하지 않으면 상기 드라이버가 지원 가능한 모든 수직·수평해상도를 레지스터로 부터 리드하고 해당 수평·수직해상도에서 최적 수평·수직해상도를 차감한 절대값이 가장 작은 수평·수직해상도를 검색하는 제 6 단계; 및 상기 단계들에서 검색된 수평·수직해상도 및 수직주파수를 운영체제(OS)의 ChangeDisplaySetting() API 함수의 변수에 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드에 근접한 상태로 재설정하는 제 7 단계를 더 포함하는 것을 특징으로 한다.In addition, the optimization method of the computer system: if the video card driver supports the calculated horizontal and vertical resolution and does not support the vertical frequency, all the vertical frequencies that the driver can support at the same resolution are read from the register and the corresponding vertical frequencies A fifth step of searching for the vertical frequency having the smallest absolute value obtained by subtracting the optimal vertical frequency from the step S; If the video card driver does not support horizontal and vertical resolution, the driver will read all the vertical and horizontal resolutions supported by the driver from the register, and the smallest absolute value of the horizontal and vertical resolution minus the optimal horizontal and vertical resolution. A sixth step of retrieving the resolution; And a seventh step of resetting the environment of the computer system to a state close to the optimal mode of the corresponding monitor by substituting the horizontal, vertical resolution and vertical frequency detected in the above steps into variables of the ChangeDisplaySetting () API function of the operating system. It is characterized by including.

아울러, 상기 컴퓨터 시스템의 최적화 방법은: 레지스터로 부터 EDID 데이터를 리드하지 못하거나 EDID 데이터에 해당 모니터의 최적모드에 관한 데이터가 없으면 모니터 드라이버 파일에서 해당 모니터에 대한 최적모드 데이터를 검출하는 제 8 단계와; 상기 제 8 단계에서 검출된 해당 모니터의 최적모드 데이터인 수평·수직해상도와 수직주파수가 검출되면 모니터와 본체간의 신호중계를 담당하는 비디오 카드 드라이버가 검출된 수평·수직해상도와 수직주파수를 지원하는지 판단하는 제 9 단계; 및 상기 제 9 단계에서 비디오 카드 드라이버가 검출된 수평·수직해상도와 수직주파수를 지원하면 운영체제(OS)의 ChangeDisplaySetting() API 함수의 변수에 해당 수평·수직 해상도와 수직주파수를 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드로 재설정하는 제 10 단계를 더 포함하는 것을 특징으로 한다.In addition, the optimization method of the computer system includes: an eighth step of detecting the optimal mode data for the monitor from the monitor driver file if the EDID data cannot be read from the register or if the EDID data does not contain the data related to the optimal mode of the monitor; Wow; If the horizontal / vertical resolution and the vertical frequency, which are the optimal mode data of the corresponding monitor detected in the eighth step, are detected, it is determined whether the video card driver responsible for signal relay between the monitor and the main body supports the detected horizontal, vertical resolution and vertical frequency. A ninth step; If the video card driver supports the horizontal and vertical resolutions and the vertical frequency detected in the ninth step, the horizontal and vertical resolutions and the vertical frequencies are substituted into the variables of the ChangeDisplaySetting () API function of the operating system. The method may further include a tenth step of resetting to the optimum mode of the corresponding monitor.

또한, 상기 컴퓨터 시스템의 최적화 방법은: 비디오 카드 드라이버가 검출된수평·수직해상도는 지원하고 수직주파수를 지원하지 않으면 동일 해상도에서 상기 드라이버가 지원 가능한 모든 수직주파수들을 레지스터로 부터 리드하고 해당 수직주파수들에서 최적 수직주파수를 차감한 절대값이 가장 작은 수직주파수를 검색하는 제 11 단계와; 비디오 카드 드라이버가 수평·수직해상도를 지원하지 않으면 상기 드라이버가 지원 가능한 모든 수직·수평해상도를 레지스터로 부터 리드하고 해당 수평·수직해상도에서 최적 수평·수직해상도를 차감한 절대값이 가장 작은 수평·수직해상도를 검색하는 제 12 단계; 및 상기 단계들에서 검색된 수평·수직해상도 및 수직주파수를 운영체제(OS)의 ChangeDisplaySetting() API 함수의 변수에 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드에 근접한 상태로 재설정하는 제 13 단계를 더 포함하는 것을 특징으로 한다.In addition, the optimization method of the computer system is: If the video card driver supports the detected horizontal and vertical resolutions and does not support the vertical frequency, all the vertical frequencies that the driver can support at the same resolution are read from the register and the corresponding vertical frequencies An eleventh step of searching for a vertical frequency having a smallest absolute value obtained by subtracting an optimal vertical frequency from the second frequency; If the video card driver does not support horizontal and vertical resolution, the driver will read all the vertical and horizontal resolutions supported by the driver from the register, and the smallest absolute value of the horizontal and vertical resolution minus the optimal horizontal and vertical resolution. A twelfth step of retrieving the resolution; And a thirteenth step of resetting the environment of the computer system to a state close to the optimum mode of the corresponding monitor by substituting the horizontal, vertical resolution and vertical frequency retrieved in the above steps into variables of the ChangeDisplaySetting () API function of the operating system. It is characterized by including.

도 1은 본 발명이 적용되는 컴퓨터 시스템을 개략적으로 나타낸 블럭도,1 is a block diagram schematically showing a computer system to which the present invention is applied;

도 2는 본 발명에 따른 컴퓨터 시스템의 최적화 방법을 나타낸 흐름도,2 is a flowchart illustrating a method of optimizing a computer system according to the present invention;

도 3은 모니터 드라이버 파일(Inf File)의 일예를 나타낸 도면.3 is a diagram illustrating an example of a monitor driver file (Inf File).

도면의 주요부분에 대한 부호의 설명Explanation of symbols for main parts of the drawings

10 : 모니터 20 : 컴퓨터 본체10 monitor 20 computer body

21 : 인터페이스부 22 : 레지스터부21: interface unit 22: register unit

23 : CPU 24 : 운영체제(OS)23: CPU 24: operating system (OS)

이하 본 발명의 바람직한 일실시예를 첨부된 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명이 적용되는 컴퓨터 시스템을 개략적으로 나타낸 블럭도로, 컴퓨터 시스템을 구성하는 모니터(10)와 본체(20)가 케이블을 통해 서로 접속되어 있는데, 상기 모니터(10)는 비디오 카드인 인터페이스부(21)를 통해 본체(20)의 CPU(23)에 접속되어 있다.1 is a block diagram schematically showing a computer system to which the present invention is applied, wherein a monitor 10 and a main body 20 constituting the computer system are connected to each other through a cable, wherein the monitor 10 is an interface that is a video card. The unit 21 is connected to the CPU 23 of the main body 20.

또한, 프러그 앤 플레이 기간동안 모니터(10)로 부터 읽어들인 EDID 데이터 와 모니터 드라이브 파일(Inf File)의 내용이 저장되는 레지스터부(22)가 CPU(23)에 접속되어 있다. 상기 CPU(23)는 레지스터부(22)에 저장된 EDID 데이터와 InFFile의 내용을 참조하여 컴퓨터 시스템을 최적화시키게 된다. 이때, CPU(23)는 운영체제(OS)(24)의 ChangeDisplaySetting() API 함수를 이용하여 컴퓨터 시스템의 설정환경을 변경시키게 된다.In addition, a register unit 22 which stores the EDID data read from the monitor 10 and the contents of the monitor drive file (Inf File) during the plug and play period is connected to the CPU 23. The CPU 23 optimizes the computer system by referring to the EDID data stored in the register unit 22 and the contents of the InFFile. At this time, the CPU 23 changes the setting environment of the computer system by using the ChangeDisplaySetting () API function of the operating system (OS) 24.

다음에는 상기와 같이 구성된 컴퓨터 시스템에 적용되는 본 발명에 따른 컴퓨터 시스템의 최적화 방법을 도 2를 참조하여 상세히 설명한다.Next, an optimization method of the computer system according to the present invention applied to the computer system configured as described above will be described in detail with reference to FIG.

사용자가 모니터의 특성에 따라 컴퓨터 시스템의 환경을 재설정하기 위하여 최적화 프로그램을 구동시키면 CPU(23)는 레지스터부(22)에 저장된 EDID 데이터를 리드하고(ST101), EDID 데이터에 포함된 피처 서포트 비트(Feature Support Bit)중 해당 모니터의 최적모드(Preferred Timing)가 존재하는지를 나타내는 두번째 비트의 비트값을 검사한다(ST102).When the user runs the optimizer to reset the environment of the computer system according to the characteristics of the monitor, the CPU 23 reads the EDID data stored in the register unit 22 (ST101), and the feature support bits (included in the EDID data) The bit value of the second bit indicating whether there is a preferred mode (Preferred Timing) of the corresponding monitor among feature support bits) is checked (ST102).

비트값이 1이면 해당 모니터에 대한 최적모드가 존재함을 의미하고 0이면 해당 모니터에 대한 최적모드가 존재하지 않음을 의미하는데, 해당 비트값이 1이면 CPU(23)는 EDID 데이터인 Hactive, Hblanking, Vactive, Vblanking, Pixel Clock을 이용하여 다음의 [식 1]과 같이 해당 모니터의 수평·수직해상도 및 수직주파수를 각각 산출하게 된다(ST013).If the bit value is 1, the optimal mode for the monitor is present. If the bit value is 0, the optimal mode for the monitor does not exist. If the bit value is 1, the CPU 23 uses HID and Hblanking, which are EDID data. , Vactive, Vblanking, and Pixel Clock are used to calculate the horizontal, vertical resolution and vertical frequency of the corresponding monitor as shown in Equation 1 below (ST013).

[식 1][Equation 1]

Htotal = Hactive + HblankingHtotal = Hactive + Hblanking

Fh = PixelClock/HtotalFh = PixelClock / Htotal

Vtotal = Vactive + VblankingVtotal = Vactive + Vblanking

Fv = Fh/VtotalFv = Fh / Vtotal

상기와 같이 해당 모니터의 최적모드를 나타내는 수평·수직해상도 및 수직주파수가 산출되면 CPU(23)는 모니터(10)와 본체(20)간의 신호중계를 담당하는 인터페이스부(21)인 비디오 카드가 산출된 수평·수직해상도와 수직주파수를 지원하는지 검사한다(ST104). 이때, CPU(23)는 운영체제(24)의 GetRegData() API 함수를 이용하여 레지스터부(22)로 부터 비디오 카드 드라이버의 데이터를 리드하고 이를 산출된 데이터와 비교하여 지원여부를 판단하게 된다.When the horizontal, vertical resolution, and vertical frequency indicating the optimal mode of the monitor are calculated as described above, the CPU 23 calculates the video card, which is an interface unit 21 that is responsible for signal relay between the monitor 10 and the main body 20. Check if the horizontal and vertical resolutions and the vertical frequency are supported (ST104). At this time, the CPU 23 reads the data of the video card driver from the register unit 22 using the GetRegData () API function of the operating system 24 and compares the data with the calculated data to determine whether or not it is supported.

비디오 카드 드라이버가 해당 모니터의 최적모드를 지원하면 CPU(23)는 운영체제(24)의 ChangeDisplaySetting() API 함수의 변수에 수평·수직해상도와 수직주파수를 대입하여 컴퓨터 시스템의 환경을 해당 모니터에 최적인 상태로 재설정하게 된다(ST105).If the video card driver supports the monitor's optimal mode, the CPU 23 assigns horizontal and vertical resolution and vertical frequency to the variables of the ChangeDisplaySetting () API function of the operating system 24 to optimize the computer system environment for the monitor. It is reset to the state (ST105).

반면, 상기 드라이버가 모니터의 최적모드를 지원하지 않으면 CPU(23)는 드라이버가 지원하는 모드중 해당 모니터의 최적모드에 근접한 모드로 컴퓨터 시스템의 환경을 재설정한다.On the other hand, if the driver does not support the optimal mode of the monitor, the CPU 23 resets the environment of the computer system to a mode close to the optimal mode of the corresponding monitor among the modes supported by the driver.

다시말해, CPU(23)는 상기 드라이버가 산출된 수평·수직해상도는 지원하고 수직주파수를 지원하지 않으면 운영체제(24)의 GetRegData() API 함수를 이용하여 동일 해상도에서 드라이버가 지원 가능한 모든 수직주파수들을 리드하고 해당 수직주파수들에서 최적 수직주파수를 차감한 절대값이 가장 작은 수직주파수를 검색하고(ST107), 이를 운영체제(24)의 ChangeDisplaySetting() API 함수의 변수에 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드에 근접한 상태로 재설정하게 된다(ST108).In other words, if the driver supports the calculated horizontal and vertical resolutions and does not support the vertical frequency, the CPU 23 uses the GetRegData () API function of the operating system 24 to obtain all the vertical frequencies that the driver can support at the same resolution. Retrieve the vertical frequency with the smallest absolute value, which is the subtracted optimal vertical frequency from the corresponding vertical frequencies (ST107), and substitute the variable into the variable of the ChangeDisplaySetting () API function of the operating system 24 to monitor the environment of the computer system. It is reset to the state close to the optimum mode of (ST108).

반면, 드라이버가 수평·수직해상도를 지원하지 않으면 CPU(23)는 운영체제 (24)의 GetRegData() API 함수를 이용하여 드라이버가 지원 가능한 모든 수평·수직해상도들을 리드하고 해당 수평·수직해상도들에서 최적 수평·수직해상도를 차감한 절대값이 가장 작은 수평·수직 해상도를 검색하고(ST109), 이를 운영체제 (24)의 ChangeDisplaySetting() API 함수의 변수에 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드에 근접한 상태로 재설정하게 된다(ST108).On the other hand, if the driver does not support horizontal and vertical resolutions, the CPU 23 uses the GetRegData () API function of the operating system 24 to read all the horizontal and vertical resolutions that the driver can support, and to optimize the horizontal and vertical resolutions. Searches for the horizontal and vertical resolutions with the smallest absolute value minus the horizontal and vertical resolution (ST109), and substitutes them into variables in the ChangeDisplaySetting () API function of the operating system (24) to bring the computer system's environment to the optimal mode for that monitor. It is reset to the close state (ST108).

한편, CPU(23)가 레지스터부(22)에 저장된 EDID 데이터를 리드하지 못하거나 EDID 데이터에 해당 모니터의 최적모드에 대한 데이터가 없으면 CPU(23)는 모니터 드라이버 파일인 Inf File을 이용하여 해당 모니터에 대한 최적모드를 구하게 된다. 즉, 도 3에 도시된 것처럼 Inf file에는 통상적으로 해당 모니터에 대한 최적모드가 예시되어 있다.On the other hand, if the CPU 23 fails to read the EDID data stored in the register unit 22 or if there is no data for the optimal mode of the corresponding monitor, the CPU 23 uses the monitor driver file Inf File to monitor the corresponding monitor. The optimal mode for is found. That is, as shown in FIG. 3, an Inf file typically exemplifies an optimal mode for the corresponding monitor.

따라서 CPU(23)는 Inf file에 포함된 데이터인 [800x600_85_16_100A] 또는 HKR,,PreferredMode,,"800,600,85을 통해 해당 모니터의 최적모드 데이터, 다시말해 수평해상도-800, 수직해상도-600, 수직주파수-85 등을 검출할 수 있는데 (ST110), 이와같이 검출된 해당 모니터의 최적모드를 비디오 카드 드라이버가 지원하면 운영체제(24)의 ChangeDisplaySetting() API 함수의 변수에 검출된 수평·수직해상도와 수직주파수를 대입하여 컴퓨터 시스템의 환경을 해당 모니터에 최적인 상태로 재설정하게 된다(ST111∼ST112).Therefore, the CPU 23 uses the [800x600_85_16_100A] or HKR ,, PreferredMode ,, "800,600,85 data contained in the inf file to determine the optimal mode data of the corresponding monitor, that is, horizontal resolution -800, vertical resolution -600, and vertical frequency. If the video card driver supports the detected optimal mode of the monitor, it is possible to detect the horizontal and vertical resolution and vertical frequency detected in the variable of the ChangeDisplaySetting () API function of the operating system 24. Substitution is performed to reset the environment of the computer system to the optimal state for the monitor (ST111 to ST112).

한편, 상기 드라이버가 수평·수직해상도는 지원하고 수직주파수를 지원하지 않으면 CPU(23)는 운영체제(24)의 GetRegData() API 함수를 이용하여 동일 해상도에서 드라이버가 지원 가능한 모든 수직주파수들을 리드하고 해당 수직주파수들에서 최적 수직주파수를 차감한 절대값이 가장 작은 수직주파수를 검색하고(ST107), 이를 운영체제(24)의 ChangeDisplaySetting() API 함수의 변수에 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드에 근접한 상태로 재설정하게 된다 (ST108).On the other hand, if the driver supports the horizontal and vertical resolution and does not support the vertical frequency, the CPU 23 uses the GetRegData () API function of the operating system 24 to read all the vertical frequencies that the driver can support at the same resolution. Search for the vertical frequency with the smallest absolute value minus the optimal vertical frequency from the vertical frequencies (ST107), and substitute the variable into the variable of the ChangeDisplaySetting () API function of the operating system 24 to adjust the environment of the computer system to the optimal mode of the monitor. It is reset to the state close to (ST108).

반면, 드라이버가 수평·수직해상도를 지원하지 않으면 CPU(23)는 운영체제 (24)의 GetRegData() API 함수를 이용하여 드라이버가 지원 가능한 모든 수평·수직해상도들을 리드하고 해당 수평·수직해상도들에서 최적 수평·수직해상도를 차감한 절대값이 가장 작은 수평·수직 해상도를 검색하고(ST109), 이를 운영체제 (24)의 ChangeDisplaySetting() API 함수의 변수에 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드에 근접한 상태로 재설정하게 된다(ST108).On the other hand, if the driver does not support horizontal and vertical resolutions, the CPU 23 uses the GetRegData () API function of the operating system 24 to read all the horizontal and vertical resolutions that the driver can support, and to optimize the horizontal and vertical resolutions. Searches for the horizontal and vertical resolutions with the smallest absolute value minus the horizontal and vertical resolution (ST109), and substitutes them into variables in the ChangeDisplaySetting () API function of the operating system (24) to bring the computer system's environment to the optimal mode for that monitor. It is reset to the close state (ST108).

상기와 같이 본 발명은 컴퓨터 시스템의 레지스터에 저장된 EDID 데이터나 모니터 드라이버 파일인 Inf file의 내용을 참조하여 컴퓨터 본체에 접속된 모니터의 특성에 따라 해상도, 컬러 및 리프레쉬 레이트(refresh rate)를 최적의 상태로 자동 설정함에 따라 부적절한 환경설정으로 인한 사용자의 불편을 해소할 수 있다.As described above, the present invention refers to the EDID data stored in the register of the computer system or the contents of the monitor driver file, Inf file, to optimize the resolution, color, and refresh rate according to the characteristics of the monitor connected to the computer main body. As it is set automatically, user inconvenience caused by inappropriate environment setting can be eliminated.

본 발명은 도면에 도시된 일실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술분야에 통상의 지식을 지닌 자라면 이로부터 다양한 변형 및 균등한 타실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위에 의해서만 정해져야 할 것이다.Although the present invention has been described with reference to one embodiment shown in the drawings, this is merely exemplary, and those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention should be defined only by the appended claims.

Claims (4)

컴퓨터 시스템의 최적화 방법에 있어서:In the optimization method of computer system: 레지스터에 저장된 EDID(Extended Display Information Data) 데이터를 리드하여 본체에 접속된 모니터의 최적모드가 존재하는지를 판단하는 제 1 단계와;A first step of reading EDID (Extended Display Information Data) data stored in a register to determine whether an optimal mode of a monitor connected to the main body exists; 상기 제 1 단계에서 해당 모니터에 대한 최적모드가 존재하면 EDID 데이터를 이용하여 수평·수직 해상도와 수직주파수를 각각 산출하는 제 2 단계와;A second step of calculating horizontal and vertical resolutions and vertical frequencies using EDID data when there is an optimal mode for the corresponding monitor in the first step; 상기 제 2 단계에서 해당 모니터의 수평·수직해상도와 수직주파수가 산출되면 모니터와 본체간의 신호중계를 담당하는 비디오 카드 드라이버가 산출된 수평·수직해상도와 수직주파수를 지원하는지 판단하는 제 3 단계; 및A third step of determining whether the video card driver responsible for signal relay between the monitor and the main body supports the calculated horizontal, vertical resolution and vertical frequency when the horizontal and vertical resolution and vertical frequency of the corresponding monitor are calculated in the second step; And 상기 제 3 단계에서 비디오 카드 드라이버가 산출된 수평·수직해상도와 수직주파수를 지원하면 운영체제(OS)의 ChangeDisplaySetting() API 함수의 변수에 해당 수평·수직 해상도와 수직주파수를 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드로 재설정하는 제 4 단계를 구비하는 것을 특징으로 하는 모니터 특성에 따른 컴퓨터 시스템의 최적화 방법.In the third step, if the video card driver supports the calculated horizontal and vertical resolution and vertical frequency, the horizontal and vertical resolution and the vertical frequency are substituted into the variables of the ChangeDisplaySetting () API function of the operating system to determine the environment of the computer system. And a fourth step of resetting to the optimum mode of the corresponding monitor. 청구항 1에 있어서, 상기 컴퓨터 시스템의 최적화 방법은:The method of claim 1, wherein the optimization method of the computer system is: 비디오 카드 드라이버가 산출된 수평·수직해상도는 지원하고 수직주파수를 지원하지 않으면 동일 해상도에서 상기 드라이버가 지원 가능한 모든 수직주파수들을 레지스터로 부터 리드하고 해당 수직주파수들에서 최적 수직주파수를 차감한 절대값이 가장 작은 수직주파수를 검색하는 제 5 단계와;If the video card driver supports the calculated horizontal and vertical resolutions and does not support the vertical frequency, the absolute value is obtained by reading all the vertical frequencies supported by the driver from the register at the same resolution and subtracting the optimal vertical frequency from the vertical frequencies. A fifth step of searching for the smallest vertical frequency; 비디오 카드 드라이버가 수평·수직해상도를 지원하지 않으면 상기 드라이버가 지원 가능한 모든 수직·수평해상도를 레지스터로 부터 리드하고 해당 수평·수직해상도에서 최적 수평·수직해상도를 차감한 절대값이 가장 작은 수평·수직해상도를 검색하는 제 6 단계; 및If the video card driver does not support horizontal and vertical resolution, the driver will read all the vertical and horizontal resolutions supported by the driver from the register, and the smallest absolute value of the horizontal and vertical resolution minus the optimal horizontal and vertical resolution. A sixth step of retrieving the resolution; And 상기 단계들에서 검색된 수평·수직해상도 및 수직주파수를 운영체제(OS)의 ChangeDisplaySetting() API 함수의 변수에 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드에 근접한 상태로 재설정하는 제 7 단계를 더 포함하는 것을 특징으로 하는 모니터 특성에 따른 컴퓨터 시스템의 최적화 방법.A seventh step of resetting the environment of the computer system to a state close to the optimum mode of the corresponding monitor by substituting the horizontal and vertical resolution and the vertical frequency detected in the above steps into variables of the ChangeDisplaySetting () API function of the operating system (OS); Optimization method for a computer system according to the characteristics of the monitor, characterized in that. 청구항 1에 있어서, 상기 컴퓨터 시스템의 최적화 방법은:The method of claim 1, wherein the optimization method of the computer system is: 레지스터로 부터 EDID 데이터를 리드하지 못하거나 EDID 데이터에 해당 모니터의 최적모드에 관한 데이터가 없으면 모니터 드라이버 파일에서 해당 모니터에 대한 최적모드 데이터를 검출하는 제 8 단계와;An eighth step of detecting optimal mode data for the corresponding monitor from the monitor driver file if the EDID data cannot be read from the register or there is no data relating to the optimal mode of the corresponding monitor in the EDID data; 상기 제 8 단계에서 검출된 해당 모니터의 최적모드 데이터인 수평·수직해상도와 수직주파수가 검출되면 모니터와 본체간의 신호중계를 담당하는 비디오 카드 드라이버가 검출된 수평·수직해상도와 수직주파수를 지원하는지 판단하는 제 9 단계; 및If the horizontal / vertical resolution and the vertical frequency, which are the optimal mode data of the corresponding monitor detected in the eighth step, are detected, it is determined whether the video card driver responsible for signal relay between the monitor and the main body supports the detected horizontal, vertical resolution and vertical frequency. A ninth step; And 상기 제 9 단계에서 비디오 카드 드라이버가 검출된 수평·수직해상도와 수직주파수를 지원하면 운영체제(OS)의 ChangeDisplaySetting() API 함수의 변수에해당 수평·수직 해상도와 수직주파수를 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드로 재설정하는 제 10 단계를 더 포함하는 것을 특징으로 하는 모니터 특성에 따른 컴퓨터 시스템의 최적화 방법.If the video card driver supports the horizontal and vertical resolution and vertical frequency detected in the ninth step, the environment of the computer system is substituted by assigning the horizontal and vertical resolution and the vertical frequency to the variables of the ChangeDisplaySetting () API function of the operating system. And a tenth step of resetting to the optimum mode of the corresponding monitor. 청구항 3에 있어서, 상기 컴퓨터 시스템의 최적화 방법은:The method of claim 3, wherein the optimization method of the computer system is: 비디오 카드 드라이버가 검출된 수평·수직해상도는 지원하고 수직주파수를 지원하지 않으면 동일 해상도에서 상기 드라이버가 지원 가능한 모든 수직주파수들을 레지스터로 부터 리드하고 해당 수직주파수들에서 최적 수직주파수를 차감한 절대값이 가장 작은 수직주파수를 검색하는 제 11 단계와;If the video card driver supports the detected horizontal and vertical resolutions and does not support the vertical frequency, the absolute value obtained by subtracting the optimal vertical frequency from the corresponding vertical frequencies is read from the register at the same resolution. An eleventh step of searching for the smallest vertical frequency; 비디오 카드 드라이버가 수평·수직해상도를 지원하지 않으면 상기 드라이버가 지원 가능한 모든 수직·수평해상도를 레지스터로 부터 리드하고 해당 수평·수직해상도에서 최적 수평·수직해상도를 차감한 절대값이 가장 작은 수평·수직해상도를 검색하는 제 12 단계; 및If the video card driver does not support horizontal and vertical resolution, the driver will read all the vertical and horizontal resolutions supported by the driver from the register, and the smallest absolute value of the horizontal and vertical resolution minus the optimal horizontal and vertical resolution. A twelfth step of retrieving the resolution; And 상기 단계들에서 검색된 수평·수직해상도 및 수직주파수를 운영체제(OS)의 ChangeDisplaySetting() API 함수의 변수에 대입하여 컴퓨터 시스템의 환경을 해당 모니터의 최적모드에 근접한 상태로 재설정하는 제 13 단계를 더 포함하는 것을 특징으로 하는 모니터 특성에 따른 컴퓨터 시스템의 최적화 방법.And a thirteenth step of resetting the environment of the computer system to a state close to the optimal mode of the corresponding monitor by substituting the horizontal, vertical resolution and vertical frequency detected in the above steps into variables of the ChangeDisplaySetting () API function of the operating system. Optimization method for a computer system according to the characteristics of the monitor, characterized in that.
KR1020000058957A 2000-10-06 2000-10-06 A method for optimizing computer system according to the characteristic of a monitor KR100359759B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000058957A KR100359759B1 (en) 2000-10-06 2000-10-06 A method for optimizing computer system according to the characteristic of a monitor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000058957A KR100359759B1 (en) 2000-10-06 2000-10-06 A method for optimizing computer system according to the characteristic of a monitor

Publications (2)

Publication Number Publication Date
KR20020027114A true KR20020027114A (en) 2002-04-13
KR100359759B1 KR100359759B1 (en) 2002-11-04

Family

ID=19692308

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000058957A KR100359759B1 (en) 2000-10-06 2000-10-06 A method for optimizing computer system according to the characteristic of a monitor

Country Status (1)

Country Link
KR (1) KR100359759B1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002098144A1 (en) * 2001-05-30 2002-12-05 Lg Electronics Inc. Monitor
KR20030041206A (en) * 2001-11-19 2003-05-27 삼성전자주식회사 Display apparatus and optimal displaying method thereof
KR100400610B1 (en) * 2002-06-28 2003-10-08 Seung Hyun Oh Method for automatically compensating display color and recording medium having program
KR20030082112A (en) * 2002-04-16 2003-10-22 삼성전자주식회사 method and system for setting display mode of monitor and recording media for computer program therefor
KR100845865B1 (en) * 2006-08-29 2008-07-14 엘지전자 주식회사 Monitor and control method of resolution using it
US7565530B2 (en) 2004-04-07 2009-07-21 Samsung Electronics Co., Ltd. Source device and method for controlling output to sink device according to each content
KR100977044B1 (en) * 2003-06-02 2010-08-20 삼성전자주식회사 Computer system and method of controlling the same
CN102789776A (en) * 2011-05-19 2012-11-21 鸿富锦精密工业(深圳)有限公司 System and method for automatically adjusting refresh rate of display
US8325824B2 (en) 2005-11-03 2012-12-04 Samsung Electronics Co., Ltd. Computer and monitor, display environment adjustment system and method comprising the same

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100480693B1 (en) * 2001-06-08 2005-04-06 엘지전자 주식회사 Method and apparatus for automatically setting definition of monitor

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002098144A1 (en) * 2001-05-30 2002-12-05 Lg Electronics Inc. Monitor
GB2390952A (en) * 2001-05-30 2004-01-21 Lg Electronics Inc Monitor
GB2390952B (en) * 2001-05-30 2005-09-28 Lg Electronics Inc Monitor
US7173638B2 (en) 2001-05-30 2007-02-06 Lg Electronics Inc. Monitor
KR20030041206A (en) * 2001-11-19 2003-05-27 삼성전자주식회사 Display apparatus and optimal displaying method thereof
KR20030082112A (en) * 2002-04-16 2003-10-22 삼성전자주식회사 method and system for setting display mode of monitor and recording media for computer program therefor
KR100400610B1 (en) * 2002-06-28 2003-10-08 Seung Hyun Oh Method for automatically compensating display color and recording medium having program
KR100977044B1 (en) * 2003-06-02 2010-08-20 삼성전자주식회사 Computer system and method of controlling the same
US7565530B2 (en) 2004-04-07 2009-07-21 Samsung Electronics Co., Ltd. Source device and method for controlling output to sink device according to each content
US8325824B2 (en) 2005-11-03 2012-12-04 Samsung Electronics Co., Ltd. Computer and monitor, display environment adjustment system and method comprising the same
KR100845865B1 (en) * 2006-08-29 2008-07-14 엘지전자 주식회사 Monitor and control method of resolution using it
CN102789776A (en) * 2011-05-19 2012-11-21 鸿富锦精密工业(深圳)有限公司 System and method for automatically adjusting refresh rate of display

Also Published As

Publication number Publication date
KR100359759B1 (en) 2002-11-04

Similar Documents

Publication Publication Date Title
US7380116B2 (en) System for real-time adaptation to changes in display configuration
US7770040B2 (en) Method and apparatus for reducing power consumption of a co-processor by switching to low power dedicated memory in which image data is periodically updated
US7079128B2 (en) Method of and system for automatically setting display mode of monitor, and recording medium performing the same
US6560701B1 (en) Alternate boot record
US7245272B2 (en) Continuous graphics display for dual display devices during the processor non-responding period
KR100977044B1 (en) Computer system and method of controlling the same
US6678834B1 (en) Apparatus and method for a personal computer system providing non-distracting video power management
US7761883B2 (en) Mobile terminal apparatus and software install method
US5586333A (en) Method and control apparatus for generating power management signal of computer peripheral equipment in a computer system
KR100359759B1 (en) A method for optimizing computer system according to the characteristic of a monitor
US6721881B1 (en) System and method for determining if a display device configuration has changed by comparing a current indicator with a previously saved indicator
US20030214458A1 (en) Multiple display configuration
US6369826B1 (en) Computer, overlay processor and method for performing overlay processing
US20100245391A1 (en) Computer screen image displaying method, computer having a vertical display device, and computer program product
KR19990042190A (en) Hot plugging method of display device
US20090278830A1 (en) Display control device
US7450135B2 (en) Display device for detecting abnormal image signal and method thereof
US6807629B1 (en) Apparatus and method for accessing POST 80h codes via a computer port
US5907329A (en) Display control apparatus, information processing apparatus, and control method
US7212220B2 (en) Auto screen centering and expansion of VGA display modes on larger size of LCD display device
US7176932B2 (en) Method for adjusting attribute of video signal
WO2002093368A1 (en) Driver auto-install method for optimizing computer monitor system and storage media having program source thereof
US7414606B1 (en) Method and apparatus for detecting a flat panel display monitor
US20080118147A1 (en) Display apparatus, control method thereof and display system
KR100607674B1 (en) Method and System for Setting Display Mode of Monitor

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20091022

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee