CN100517460C - Adaptive method for display screen to different interface type - Google Patents
Adaptive method for display screen to different interface type Download PDFInfo
- Publication number
- CN100517460C CN100517460C CNB2007100491037A CN200710049103A CN100517460C CN 100517460 C CN100517460 C CN 100517460C CN B2007100491037 A CNB2007100491037 A CN B2007100491037A CN 200710049103 A CN200710049103 A CN 200710049103A CN 100517460 C CN100517460 C CN 100517460C
- Authority
- CN
- China
- Prior art keywords
- display screen
- mouth
- state
- preset kind
- different
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
This invention provides an adaptive method to display screens of different kinds of interfaces including the following steps: a, determining the identification state of a set of preset kind interfaces according to different outer connection relation of the preset interfaces, b, calling parameters of different display screens based on different identification states, c, displaying image contents.
Description
Technical field
The present invention relates to image communication technology.
Background technology
The employed display screen of digital plane display terminal product is pressed the interface type differentiation at present, mainly contains:
1, adopts TTL logic level form with digital R, G, B signal and synchronous, clock signal, the image transmitted content stable is shown on the display screen;
2, single LVDS (Low Voltage Differential Signal) form transmission signals, owing to can resist common mode interference with LVDS form transmission signals, advantage such as the transmission signals connecting line is few, LVDS form transmission at present is comparatively popular;
3, two LVDS form transmission signals modes are used the big content of this form transmitted data amount;
4, LVDS is used in combination with TTL, and this form mainly increases shielding the control of itself in some plane shows, increases iic bus as PDP in last screen interface, with other parameter of direct control display screen.
The display screen of different interface type, it shows that desired parameters is different with the output signal form.If machine core board interface and display screen interface do not match, use incorrect display screen parameter and signal format not to show or normal display image, even damage phenomenon such as display screen.Such as, can't light two LVDS form display screens with the software of single LVDS display screen.
So-called coupling is mated simultaneously for hardware and software, promptly can be corresponding continuous on hardware except the interface at two ends, and can also correctly identification on software.
In the design of machine core board,, can reach the movement interface and link to each other display screen interface is corresponding by increasing the socket of corresponding different display screen interface.Aspect software, then need be at the MCU programming distinct program of different display screens on machine core board.The corresponding different software of dissimilar display screens, and in the software except that the parameter difference other program all be identical content, in the after sale service of production, management and product, all need so different display screens is treated with a certain discrimination, to such an extent as to management is very difficult in the software program.Particularly large-scale manufacturing enterprise, current display screen buying strategy causes multiple display screen to manufacture simultaneously.
Summary of the invention
Technical matters to be solved by this invention is, a kind of adaptive approach of the display screen to different interface type is provided.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be, the adaptive approach to the display screen of different interface type may further comprise the steps:
A, in the program initialization process, determine the identification-state of described one group of preset kind mouth by detecting the different outside annexation of each preset kind mouth in a group of MCU; The outside annexation correspondence of each preset kind mouth shows as a kind of state in high-impedance state state, low level state or the high level state; A kind of display screen interface type of the unique correspondence of identification-state that described one group of preset kind mouth is determined;
B, according to different identification-states, call different display screen parameters;
C, display image content.
Concrete, by cross-over connection or not cross-over connection wire jumper between each preset kind mouth and ground wire in one group of preset kind mouth, the identification-state of one group of preset kind mouth is changed.
Concrete, by linking to each other by pull-up resistor between each preset kind mouth in one group of preset kind mouth and the power supply or each preset kind mouth does not link to each other with power supply, make the identification-state variation of one group of preset kind mouth.
Concrete, by cross-over connection between each preset kind mouth in one group of preset kind mouth and ground wire or with power supply between link to each other by pull-up resistor, make the identification-state variation of one group of preset kind mouth.
Further, inconsistent as the display screen state of detected identification-state and system's selection, then be as the criterion and call corresponding display screen parameter with described identification-state.
The invention has the beneficial effects as follows, MCU is according to different states, calling different display screen parameters moves to adapt to different display screens to master routine, avoided problem at the corresponding different software procedures of different display screen programmings, promote production efficiency of products, be convenient to after services of product and program management.Further, can also avoid the people is after parameter is put in order in mistuning, can not discern the problem of display screen.
Description of drawings
Fig. 1 a-Fig. 1 d is the connection diagram of one group of preset kind mouth of MCU among the embodiment 1;
Fig. 2 is to the adaptive process flow diagram of 4 kinds of display screens of different interface type among the embodiment 1;
Fig. 3 is to the adaptive process flow diagram of 3 kinds of display screens of different interface type among the embodiment 2.
Embodiment
Embodiment adopts the general input/output port (GPIO mouth) of machine core board MCU as the preset kind mouth.
System is to EEPROM initialized the time, according to the preset kind mouth state of current machine core board MCU corresponding initialization carried out in the selection of display screen, judges the interface type of display screen according to predetermined state, accesses the interface parameters of display screen, correct display image.In addition, for avoiding faulty operation to cause transferring random display screen parameter, when system powers on, whether identification-state that increase to check current machine core board MCU is corresponding with the display screen state that system is selected, if not corresponding, the be as the criterion type selecting of initialization screen of the identification-state of determining with current machine core board MCU.
Utilize the identification-state of one group of GPIO mouth to determine 4 kinds of different display screen interface: single LVDS form, two LVDS form, TTL form and LVDS and TTL are in conjunction with form.One group of preset kind mouth comprises 2 GPIO mouths in the present embodiment, i.e. GPIO-1 mouth and GPIO-2 mouth.Cross-over connection or do not step into wire jumper (0 Europe resistance) between GPIO-1 mouth, GPIO-2 mouth and the ground wire, after powering on, system in the initialization procedure two GPIO mouths are sent high level, thereby, determine the interface type of display screen according to identification-state by checking the definite identification-state of the level that receives.
As shown in Figure 1a, not cross-over connection wire jumper between GPIO-1 mouth, GPIO-2 mouth and ground wire, initialization procedure sent high level to two GPIO mouths after system powered on, and GPIO-1 mouth, GPIO-2 mouth open circuit, and are high-impedance state.
Shown in Fig. 1 b, in cross-over connection wire jumper R1, not cross-over connection between GPIO-2 mouth and ground wire between GPIO-1 mouth and the ground wire, initialization procedure sent high level to two GPIO mouths after system powered on, and the GPIO-1 mouth is dragged down because of ground connection, is low level; The GPIO-2 mouth is a high-impedance state.
Show as Fig. 1 c, not cross-over connection between GPIO-1 mouth and the ground wire, between GPIO-2 mouth and ground wire cross-over connection wire jumper R2, system power on the back initialization procedure two GPIO mouths are sent high level, the GPIO-1 mouth is a high-impedance state; The GPIO-2 mouth is dragged down because of ground connection, is low level.
As Fig. 1 d, difference cross-over connection wire jumper R1, R2 between GPIO-1 mouth, GPIO-2 mouth and ground wire, initialization procedure sent high level to two GPIO mouths after system powered on, and GPIO-1 mouth, GPIO-2 mouth are low level.
4 of one group of GPIO mouth kinds of identification-state difference corresponding following display screen interface types (certain 4 kinds of identification-states also can be predefined for other display screen interface type) in this example:
MCU is to the identification process of display screen interface type as shown in Figure 2:
1, initialization after system powers on;
2, MCU sends high level to two GPIO mouths;
3, MCU detects whether the state of GPIO-1 mouth is low level, in this way, enters step 4; As not, enter step 5;
4, MCU detects whether the state of GPIO-2 mouth is low level, in this way, then Dui Ying display screen interface be LVDS and TTL in conjunction with form, MCU calls LVDS and the TTL parameter in conjunction with form, display image; As not, then Dui Ying display screen interface be pair LVDS forms, and MCU calls the parameter of pair LVDS forms, display image;
5, MCU detects whether the state of GPIO-2 mouth is low level, and in this way, then Dui Ying display screen interface is the TTL form, and MCU calls the parameter of TTL in conjunction with form, display image; As not, then Dui Ying display screen interface is single LVDS form, and MCU calls the parameter of single LVDS form, display image.
Utilize the identification-state of one group of GPIO mouth to determine 3 kinds of different display screen interface: single LVDS form, two LVDS form, TTL form.One group comprises 2 GPIO mouths in the present embodiment, i.e. GPIO-1 mouth and GPIO-2 mouth.
3 of one group of GPIO mouth kinds of predetermined respectively corresponding following display screen interface types of identification-state in this example:
MCU is to the identification process of display screen interface type as shown in Figure 3:
1, initialization after system powers on;
2, MCU sends high level to two GPIO mouths;
3, MCU detects whether the state of GPIO-1 mouth is low level, and then Dui Ying display screen interface is two LVDS forms, and MCU calls the parameter of two LVDS forms, display image; As not, enter step 4;
4, MCU detects whether the state of GPIO-2 mouth is low level, and in this way, then Dui Ying display screen interface is the TTL form, and MCU calls the parameter of TTL form, display image; As not, then Dui Ying display screen interface is single LVDS form, and MCU calls the parameter of single LVDS form, display image.
Embodiment 3
Be to utilize the identification-state of one group of 2 GPIO mouth (GPIO-1 mouth, GPIO-2 mouth) to determine 3 kinds of different display screen interface similarly to Example 2.Link to each other by pull-up resistor between GPIO-1 mouth or GPIO-2 mouth and the power supply or do not link to each other, put low to two GPIO level behind the initialization procedure after system powers on, thereby, determine the interface type of display screen according to identification-state by checking the definite identification-state of the level that receives.
3 of one group of GPIO mouth kinds of predetermined respectively corresponding following interface types of identification-state in this example:
So, GPIO-1 mouth, GPIO-2 mouth is unsettled, and system's back initialization procedure that powers on sends low level to two GPIO mouths, and GPIO-1 mouth, GPIO-2 mouth open circuit, and are high-impedance state.
Connect power supply at the GPIO-1 mouth by pull-up resistor, the GPIO-2 mouth is unsettled, and initialization procedure sent low level to two GPIO mouths after system powered on, and the GPIO-1 mouth is drawn high, and is high level state; The GPIO-2 mouth is a high-impedance state.
The GPIO-1 mouth is unsettled, connects power supply at the GPIO-2 mouth by pull-up resistor, and initialization procedure sent low level to two GPIO mouths after system powered on, and the GPIO-1 mouth is a high-impedance state; The GPIO-2 mouth is a high level.
Comprehensive above-mentioned 3 embodiment, those skilled in the art are easy to release, that each GPIO mouth can be set to is unsettled, link to each other with ground wire or by 3 kinds of connected modes that pull-up resistor links to each other with power supply, show as three state: high-impedance state, low level state, high level state by wire jumper.Utilize 1 GPIO mouth, maximum can be distinguished 3 kinds of display screen interface types; Utilize 2 GPIO mouths, maximum can corresponding 8 kinds of display screen interface types.
Claims (6)
1, to the adaptive approach of the display screen of different interface type, it is characterized in that, may further comprise the steps:
A, in the program initialization process, determine the identification-state of described one group of preset kind mouth by the different outside annexation of each preset kind mouth in the one group of preset kind mouth that detects MCU; The outside annexation correspondence of each preset kind mouth shows as a kind of state in high-impedance state state, low level state or the high level state; A kind of display screen interface type of the unique correspondence of identification-state that described one group of preset kind mouth is determined;
B, according to different identification-states, call different display screen parameters;
C, display image content.
2, according to claim 1 to the adaptive approach of the display screen of different interface type, it is characterized in that the different outside annexation of described each preset kind mouth is: cross-over connection or not cross-over connection wire jumper between each preset kind mouth and ground wire.
3, according to claim 1 to the adaptive approach of the display screen of different interface type, it is characterized in that the different outside annexation of described each preset kind mouth is: link to each other by pull-up resistor between each preset kind mouth and the power supply or each preset kind mouth does not link to each other with power supply.
4, according to claim 1 to the adaptive approach of the display screen of different interface type, it is characterized in that the different outside annexation of described each preset kind mouth is: between each preset kind mouth and ground wire the cross-over connection wire jumper or with power supply between link to each other by pull-up resistor.
5, as described in each claim of 1-4 to the adaptive approach of the display screen of different interface type, it is characterized in that described preset kind mouth is the general input/output port of MCU.
6, as described in the claim 5 to the adaptive approach of the display screen of different interface type, it is characterized in that, inconsistent as the display screen state that detected identification-state and system are selected, then be as the criterion and call corresponding display screen parameter with identification-state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100491037A CN100517460C (en) | 2007-05-15 | 2007-05-15 | Adaptive method for display screen to different interface type |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100491037A CN100517460C (en) | 2007-05-15 | 2007-05-15 | Adaptive method for display screen to different interface type |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101067925A CN101067925A (en) | 2007-11-07 |
CN100517460C true CN100517460C (en) | 2009-07-22 |
Family
ID=38880457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007100491037A Active CN100517460C (en) | 2007-05-15 | 2007-05-15 | Adaptive method for display screen to different interface type |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100517460C (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101815180A (en) * | 2009-02-20 | 2010-08-25 | 东杰电气(上海)有限公司 | Signal self-adaptive adapter plate of display screen interface |
CN101937665B (en) * | 2010-09-28 | 2013-01-16 | 天津三星电子有限公司 | Method for enhancing sharing of printed circuit board of display |
CN102509539A (en) * | 2011-10-17 | 2012-06-20 | 冠捷显示科技(武汉)有限公司 | Method for automatically matching universal panel of display equipment system |
CN102404520A (en) * | 2011-11-22 | 2012-04-04 | 四川长虹电器股份有限公司 | Liquid crystal screen and method for setting screen parameter |
CN102611902B (en) * | 2012-02-01 | 2015-07-22 | 深圳市酷开网络科技有限公司 | Method and device for adaptively switching game display modes |
US9063146B2 (en) * | 2013-10-25 | 2015-06-23 | Roche Diagnostics Operations, Inc. | System and method for display type detection of a handheld medical device |
CN113220612A (en) * | 2021-04-02 | 2021-08-06 | 厦门才茂通信科技有限公司 | Method for automatically identifying interface screen and realizing switching of corresponding display screen |
CN113781944A (en) * | 2021-08-19 | 2021-12-10 | 瑞芯微电子股份有限公司 | Method and device for supporting different display screens by same hardware display interface |
CN113467743A (en) * | 2021-09-03 | 2021-10-01 | 广州朗国电子科技股份有限公司 | Method and device for automatically detecting and configuring single channel and double channels of display screen |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5969696A (en) * | 1994-02-04 | 1999-10-19 | Sun Microsystems, Inc. | Standard interface system between different LCD panels and a common frame buffer output |
CN1491410A (en) * | 2001-02-16 | 2004-04-21 | 西门子公司 | Display module |
CN1624650A (en) * | 2003-09-26 | 2005-06-08 | 晨星半导体股份有限公司 | Display control device and method and output drive device and method used for it |
CN1667568A (en) * | 2004-03-09 | 2005-09-14 | 明基电通股份有限公司 | Interface arrangement and display card |
CN1804705A (en) * | 2005-01-10 | 2006-07-19 | 谢剑斌 | Method for implementing quick configuration of TFT liquid crystal display |
CN1870126A (en) * | 2005-05-24 | 2006-11-29 | 乐金电子(昆山)电脑有限公司 | LCD module interface device and method |
-
2007
- 2007-05-15 CN CNB2007100491037A patent/CN100517460C/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5969696A (en) * | 1994-02-04 | 1999-10-19 | Sun Microsystems, Inc. | Standard interface system between different LCD panels and a common frame buffer output |
CN1491410A (en) * | 2001-02-16 | 2004-04-21 | 西门子公司 | Display module |
CN1624650A (en) * | 2003-09-26 | 2005-06-08 | 晨星半导体股份有限公司 | Display control device and method and output drive device and method used for it |
CN1667568A (en) * | 2004-03-09 | 2005-09-14 | 明基电通股份有限公司 | Interface arrangement and display card |
CN1804705A (en) * | 2005-01-10 | 2006-07-19 | 谢剑斌 | Method for implementing quick configuration of TFT liquid crystal display |
CN1870126A (en) * | 2005-05-24 | 2006-11-29 | 乐金电子(昆山)电脑有限公司 | LCD module interface device and method |
Also Published As
Publication number | Publication date |
---|---|
CN101067925A (en) | 2007-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100517460C (en) | Adaptive method for display screen to different interface type | |
CN100483379C (en) | Method and apparatus for communicating with a host | |
CN107491148A (en) | A kind of server hard disc attachment structure | |
US20130236188A1 (en) | Active optical cable connector plug and active optical cable using same | |
CN102591826B (en) | Method and system for detecting and asserting bus speed condition in a USB isolating device | |
CN103516961B (en) | Image processor and preparation method thereof and master card | |
CN102981916B (en) | A kind of mobile terminal and control method thereof and device | |
CN103838700A (en) | Level multiplexing control serial communication device and method | |
CN101882420B (en) | Led display system | |
CN105760328A (en) | USB master and slave switching method and system for VR device | |
CN100385255C (en) | Double collecting machine system and it double collecting method for double machine hot back-up | |
CN103856411A (en) | Switching system connected with UART interface of router | |
CN107423196A (en) | A kind of more neck condition detection method, detection device and mobile terminals | |
CN106301804B (en) | A kind of server that realizing Wake on LAN, system and method | |
CN209659302U (en) | A kind of interface gating circuit and communication equipment | |
CN115801915B (en) | Automatic data communication protocol adapting interface between digital sensor and host | |
CN110188060A (en) | Mode switching system and the mode switching method for applying it | |
US11797470B2 (en) | Electronic device and control method thereof | |
CN104699648A (en) | SDI-12 intelligent debugger | |
CN201667067U (en) | USB interface | |
CN209231439U (en) | A kind of earphone USB port insertion detection circuit | |
CN114265803A (en) | Method for multiplexing standard DP interface and supporting USB touch screen | |
CN102118899B (en) | Method for controlling lamp by using LED light control bus | |
CN115168253A (en) | USB working mode switching method and electronic equipment | |
CN108873746A (en) | A kind of control method for showing equipment and showing equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |