CN101067925A - Adaptive method for display screen to different interface type - Google Patents

Adaptive method for display screen to different interface type Download PDF

Info

Publication number
CN101067925A
CN101067925A CN 200710049103 CN200710049103A CN101067925A CN 101067925 A CN101067925 A CN 101067925A CN 200710049103 CN200710049103 CN 200710049103 CN 200710049103 A CN200710049103 A CN 200710049103A CN 101067925 A CN101067925 A CN 101067925A
Authority
CN
China
Prior art keywords
display screen
mouth
gpio
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.)
Granted
Application number
CN 200710049103
Other languages
Chinese (zh)
Other versions
CN100517460C (en
Inventor
杨燕
任森成
史立原
吴兴宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CNB2007100491037A priority Critical patent/CN100517460C/en
Publication of CN101067925A publication Critical patent/CN101067925A/en
Application granted granted Critical
Publication of CN100517460C publication Critical patent/CN100517460C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Adaptive approach to the display screen of different interface type
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, the identification-state that judgement preset kind mouth is determined in the program initialization process; 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, link to each other or do not link to each other by pull-up resistor by between each preset kind mouth in one group of preset kind mouth and the 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.
Embodiment 1
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:
Single LVDS form Two LVDS forms The TTL form LVDS and TTL are in conjunction with form
Identification-state GPIO-1 High-impedance state Low level High-impedance state Low level
GPIO-2 High-impedance state High-impedance state Low level Low level
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.
Embodiment 2
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:
Single LVDS form Two LVDS forms The TTL form
Identification-state GPIO-1 High-impedance state Low level High-impedance state
GPIO-2 High-impedance state High-impedance state Low level
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:
Single LVDS form Two LVDS forms The TTL form
Identification-state GPIO-1 High-impedance state High level High-impedance state
GPIO-2 High-impedance state High-impedance state High level
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;
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 or do not link to each other by pull-up resistor between each preset kind mouth and the 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 cross-over connection 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.
CNB2007100491037A 2007-05-15 2007-05-15 Adaptive method for display screen to different interface type Active CN100517460C (en)

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 true CN101067925A (en) 2007-11-07
CN100517460C 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)

Cited By (9)

* Cited by examiner, † Cited by third party
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
CN101937665A (en) * 2010-09-28 2011-01-05 天津三星电子显示器有限公司 Method for enhancing sharing of printed circuit board of display
CN102404520A (en) * 2011-11-22 2012-04-04 四川长虹电器股份有限公司 Liquid crystal screen and method for setting screen parameter
CN102509539A (en) * 2011-10-17 2012-06-20 冠捷显示科技(武汉)有限公司 Method for automatically matching universal panel of display equipment system
CN102611902A (en) * 2012-02-01 2012-07-25 深圳市酷开网络科技有限公司 Method and device for adaptively switching game display modes
CN105658143A (en) * 2013-10-25 2016-06-08 豪夫迈·罗氏有限公司 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
CN113467743A (en) * 2021-09-03 2021-10-01 广州朗国电子科技股份有限公司 Method and device for automatically detecting and configuring single channel and double channels of display screen
CN113781944A (en) * 2021-08-19 2021-12-10 瑞芯微电子股份有限公司 Method and device for supporting different display screens by same hardware display interface

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0666531A3 (en) * 1994-02-04 1995-10-04 Sun Microsystems Inc Standard interface system between different LCD panels and a common frame buffer output.
DE10107437A1 (en) * 2001-02-16 2002-08-29 Siemens Ag display module
US7274361B2 (en) * 2003-09-26 2007-09-25 Mstar Semiconductor, Inc. Display control device with multipurpose output driver
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
CN100399412C (en) * 2005-05-24 2008-07-02 乐金电子(昆山)电脑有限公司 LCD module interface device and method

Cited By (11)

* Cited by examiner, † Cited by third party
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
CN101937665A (en) * 2010-09-28 2011-01-05 天津三星电子显示器有限公司 Method for enhancing sharing of printed circuit board of display
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
CN102611902A (en) * 2012-02-01 2012-07-25 深圳市酷开网络科技有限公司 Method and device for adaptively switching game display modes
CN105658143A (en) * 2013-10-25 2016-06-08 豪夫迈·罗氏有限公司 System and method for display type detection of a handheld medical device
CN105658143B (en) * 2013-10-25 2019-10-11 豪夫迈·罗氏有限公司 The system and method that type of display for handheld medical device detects
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

Also Published As

Publication number Publication date
CN100517460C (en) 2009-07-22

Similar Documents

Publication Publication Date Title
CN101067925A (en) Adaptive method for display screen to different interface type
US20040088449A1 (en) USB unit control method and a USB unit controller
CN101030189A (en) Method for inspecting connected peripheral apparatus mode, terminal, earphone, charger and USB interface
CN1606282A (en) Home appliance network system and method for operating the same
CN101478846A (en) LED lamp light controlling bus and controlling method thereof
CN101572724A (en) Software version management system
CN1715956A (en) Double collecting machine system and it double collecting method for double machine hot back-up
CN1220920C (en) Master and slave circuit board capable of readlizing live insrtion and withdraw and method for realizing live insertion and withdraw
CN1776994A (en) New-type switching method for tele mechanical host-standby communication
CN212811669U (en) Machine type identification device and system
CN1424641A (en) Interface devices
CN1885272A (en) PS/2 interface detection apparatus and method
CN1893605A (en) Electronic apparatus and control method thereof
CN205910643U (en) Mainboard and server
CN1558304A (en) Switcher for keyboard, display and mouse adopting bus structure
CN1893404A (en) Serial communication method and interface circuit
CN1558305A (en) Bus type universal serial bus multiplexer
CN2824465Y (en) Level converting circuit for TV set
CN101989194A (en) Secondary development method for wireless communication module
CN207269272U (en) Dual data channels lamps and lanterns control decoder module
CN212278335U (en) Video processor
CN1889567A (en) Medium-speed series connection bus protocol and bus controller thereof
CN215954085U (en) Single-color and double-color card communication system
CN1852198A (en) Method and system for realizing communication between nodes
CN204947283U (en) USB jockey

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