Adjust the method for vision signal attribute
Technical field
The present invention relates to a kind of method of adjusting the vision signal attribute, particularly relate to a kind of signal attribute specification that can detect display device automatically, and be adjusted into the method for suitable outputting video signal.
Background technology
The employed display device of traditional personal computer all is cathode-ray tube display usually.Along with the reduction of development of technology and cost, the LCD of advantage such as have low radiation, low power consumption and do not take up space in recent years also widely the user accept.Yet when display is changed the process of upgrading, often be accompanied by the problem of a shows signal adjustment and setting.
Fig. 5 shows the flow for displaying figure between a main frame and display device.In the step 502, main frame is at first exported a vision signal to display device.Generally speaking, each display device has receivable separately signal attribute specification, for example horizontal scanning scope, vertical scanning scope and resolution or the like.After described vision signal is shown device and accepts (step 504), can judge whether this vision signal belongs to the scope that display device can show.When this vision signal belonged to the scope that display device can show, display device promptly normally showed this vision signal (step 506).When this vision signal did not belong to the scope that display device can show, display device promptly showed an error messages (step 508), notifies the user to change the setting of vision signal.
This kind situation usually occurs in the user when having changed different displays, and promptly new display can't be accepted original setting value.For example, the display that the user is 85Hz with a vertical scanning frequency is replaced by one when only supporting that vertical scanning frequency is the display of 75Hz, and the problems referred to above promptly take place.When this kind situation took place, display only can show an error messages traditionally, as overrun (Out ofRange), and had no idea to do the action of any automatic change setting.At this moment, must be with other mode, as starting shooting again, or manually set the output specification of vision signal again, just can make new display display frame.
This kind method is not only complicated, time-consuming, even can cause the puzzlement in general user's use.Need possess some necessary relevant knowledge and study because manually set the setting of vision signal.Therefore, the utmost point needs a kind of method that can detect the display device specification automatically and adjust the vision signal of suitably exporting.
Summary of the invention
An aspect of of the present present invention provides a kind of method of attribute specification of automatic reading displayed device.
The attribute that another aspect of the present invention provides a kind of automatic adjustment vision signal is with the method for the attribute specification that meets display device.
The present invention discloses a kind of method of adjusting the vision signal attribute, be applied to a system that comprises a display device and a main frame.The method comprises by main frame exports a vision signal to display device.Display device has one first signal attribute specification (signal attribute specification), and vision signal has a secondary signal attribute specification (signal attributes pecification).According to first and second signal attribute specification, display device is sent a state (status) signal to main frame.Main frame is adjusted the attribute of (modify) vision signal according to status signal.
Display device is compared after first and second signal attribute specification, and when the first signal attribute off-gauge was closed the secondary signal attribute specification, the state of display device response was one first state.The first signal attribute specification of main frame active this moment reading displayed device, and the attribute of adjustment vision signal is to meet the first signal attribute specification.
In addition, the first signal attribute specification of display device also comprises a default value (default value), when display device is compared first and second signal attribute specification, the secondary signal attribute specification meets the first signal attribute specification, but when being not default value, the state of display device response is one second state.This moment, main frame read default value automatically, and main frame also determines whether to adjust vision signal to meet the default value of the first signal attribute specification.
Description of drawings
Fig. 1 shows a system schematic according to method application of the present invention;
Fig. 2 shows a communication interface synoptic diagram according to method of the present invention;
Fig. 3 shows a synoptic diagram according to the specific embodiment of the invention;
Fig. 4 shows a process flow diagram according to specific embodiment of the invention method; And
Fig. 5 shows known flow for displaying figure.
The reference numeral explanation
10 systems, 12 main frames
14 display device 16 are linked up interface
32 central processing units, 34 display adapters
36 display units, 38 processors
40 storeies, 311 vision signals
312 status signals, 314 signal wires
Embodiment
The present invention discloses a kind of method of adjusting the vision signal attribute, the method is applied to system 10 as shown in Figure 1.System 10 comprises a main frame 12 and a display device 12, and 12 of main frame 12 and display device are linked up interface 16 with one and be connected.Main frame 12 of the present invention can be personal computer, notebook computer or other has the electronic installation of similar functions.Display device 14 can be cathode-ray tube display, LCD or other has the display device of similar functions.In this embodiment, (Display Data Channel, DDC) the D-Sub connector of specification connects, but the present invention is not as limit in order to use display data channel to link up interface 16.Display data channel is the communication interface of a kind of display and computer display card, is the framework of deriving out for the function of supporting plug and play (Plug and Play).
Shown in Fig. 2 for the synoptic diagram of display data channel (DDC) data that specification comprises.Display data channel has comprised output image signal such as R, G, B, the synchronizing signal of H-Sync and V-Sync, and the SDA and the SCL signal that are used to transmit extraneous information.SDA is used to transmit the excessive data of display, and as label machine title, sequence number, resolution etc., and SCL is the synchronous clock that SDA transmits.In the middle of the DDC framework, DDC1 is most basic DDC interface standard, comprises the DDC2B interface in addition, and it is applicable to the operating system of window more than 95.One embodiment of the inventive method promptly utilizes SDA and SCL signal to finish the transmission of information.
Fig. 3 has shown the specific embodiment according to the inventive method.Main frame 12 comprises a central processing unit 32 and a display adapter 34.Display device 14 comprises a display unit 36, a processor 38, reaches a storer 40.Central processing unit 32 is by the display unit 36 of display adapter 34 outputting video signals 311 with driving display device 14.Display device 14 has one first signal attribute specification, and it is stored in the storer 40.Vision signal 311 has a secondary signal attribute specification.The first signal attribute specification and second attribute specification can comprise the association attributes of various vision signals at this, as horizontal frequency, vertical scanning frequency and resolution.After vision signal 311 is sent to display device 14, the first signal attribute specification in the processor 38 comparison storeies 40 and the secondary signal attribute specification of vision signal 311, and, send a status signal 312 to main frame 12 according to first and second signal attribute specification.When the first signal attribute off-gauge was closed the secondary signal attribute specification, the status signal 312 of display device response was represented one first state.After main frame receives the signal of this first state, just nationality is by the signal wire 314 of linking up interface 16 (as the DDC2B interface), the first signal attribute specification that storer 40 is stored in the reading displayed device 14.Then, main frame 12 will be adjusted the attribute of vision signal 311 to meet the first signal attribute specification.
When method of the present invention is applied to a personal computer and a display, even if when the display that the user more renews is not supported original setting signal attribute specification, but display still the auto answer status signal give personal computer.Personal computer is according to the indication of status signal, and the signal attribute specification of reading displayed device is then adjusted vision signal automatically, and it is conformed to the signal attribute specification of display.The user need not adjust display with start again or the mode of manually setting specification.In addition, the user also need not accept extra knowledge and study, just can finish the renewal and the setting of display easily.
Fig. 4 shows another process flow diagram according to specific embodiment of the invention method.Nationality process flow diagram thus can clearer understanding the present invention.In the applied system of present embodiment, include a main frame and a display device.In step 402, main frame is exported a vision signal to display device.Display device has one first signal attribute specification, and also comprises a default value in the first signal attribute specification.At this, the first signal attribute specification is the acceptable signal attribute of display device for this reason, that is under this attribute, display device can normally show this vision signal.Default value is the display properties specification of a best or suggestion in the first signal attribute specification.
Vision signal has a secondary signal attribute specification.In step 404, display device is compared the first signal attribute specification and whether is met the secondary signal attribute specification.When the first signal attribute off-gauge is closed the secondary signal attribute specification, promptly represent display device can't correctly show this vision signal, this moment, display device just responded one first state to main frame (step 406).In step 408, main frame is the first signal attribute specification of reading displayed device initiatively.Then, in step 410, main frame is adjusted the attribute of vision signal to meet the first signal attribute specification.In step 412, because vision signal is through adjusting and meet the first signal attribute specification, so the normal display video signal of display device.
When the first signal attribute specification meets the secondary signal attribute specification, just carry out step 414.In step 414, whether display device comparison secondary signal attribute specification is the default value in the first signal attribute specification.When the secondary signal attribute specification meets the first signal attribute specification, but when being not default value, can normally show this vision signal though promptly represent display device, may not be best display mode, this moment display device to one second state of answering to main frame, shown in step 416.Then, in step 418, main frame reads the default value of the first signal attribute specification.At this moment, though the attribute of vision signal is not the default value for display device, because of meeting first attribute specification, promptly display device can normally show this vision signal.So in step 420, whether the main frame decision adjusts vision signal to default value.Desire is used existing setting value because the user may be according to the special requirement of its use or situation, whether is adjusted to default value so can provide the user to decide in its sole discretion in step 420.When vision signal is adjusted in the main frame decision to default value, promptly enter step 422, and the attribute of adjustment vision signal is to meet default value.Enter step 412 at last, display device is display video signal normally.
The above embodiments are in order to description the present invention, but the technology of the present invention still can have many modifications and variation.Therefore, the present invention is not limited to the description of above specific embodiment, and claim of the present invention desires to comprise all, and this type of is revised and variation, with real spirit according to the invention of energy and scope.