CN101814280A - Electronic equipment and driving method of display panel - Google Patents

Electronic equipment and driving method of display panel Download PDF

Info

Publication number
CN101814280A
CN101814280A CN 200910188543 CN200910188543A CN101814280A CN 101814280 A CN101814280 A CN 101814280A CN 200910188543 CN200910188543 CN 200910188543 CN 200910188543 A CN200910188543 A CN 200910188543A CN 101814280 A CN101814280 A CN 101814280A
Authority
CN
China
Prior art keywords
display panel
mcu
electronic equipment
button
panel
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.)
Pending
Application number
CN 200910188543
Other languages
Chinese (zh)
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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN 200910188543 priority Critical patent/CN101814280A/en
Publication of CN101814280A publication Critical patent/CN101814280A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention is suitable for the technical field of display, and provides electronic equipment and a driving method of a display panel. The driving method comprises the following steps of: detecting the type of the display panel by an MCU (Microprogrammed Control Unit); transferring a corresponding driver from a plurality of drivers stored in advance to drive the display panel by the MCU according to the detected type of the display panel. In the invention, the electronic equipment can flexibly integrate the drives of various display panels (LED/VFD/LCD and the like), carries out uniform compatibility and has very high generality. In addition, display screen driver entries of other types can be also left on the electronic equipment, and new types of display panels can be continuously increased. The invention is convenient for use and uniform management, reduces the types of hardware products and saves the cost.

Description

The driving method of a kind of electronic equipment and display panel thereof
Technical field
The invention belongs to the display technique field, relate in particular to the driving method of a kind of electronic equipment and display panel thereof.
Background technology
For non-portable electronic equipment for consumption (as DVD player, televisor, set-top box etc.), the preceding control display panel device that is absolutely necessary can be realized the man-machine interaction of basic function by this panel.
At present, each electronic equipment for consumption manufacturer mostly use the single-chip microcomputer of certain model or other alternative device (such as complex programmable logic device (CPLD) etc.) come at the concrete function of own a certain specific product finish relevant specific preceding control display panel drive show and with the development and Design of host communication control program, this development scheme can cause versatility poor, the cross-platform compatibility deficiency, and operation realizes complexity, not enough hommization.Certainly, the use standard communication interface is also arranged at present (as I 2C, SPI etc.) preceding control display panel MCU realize, but this realization single display material (as LED/VFD/LCD etc.) often again, versatility is inadequate again.
Therefore, main frame scheme or different demonstration materials (LED/VFD etc.) for different vendor all need to develop again or revise the MCU driver of corresponding preceding control display panel (such as communication modes, show material type of drive etc.), will inevitably produce a lot of repeatability exploitations, be not easy to the unified management and the standardization of product interface, and also may bring loss in process of production owing to various generation of program function version thrown in error.
Summary of the invention
The purpose of the embodiment of the invention is to provide the driving method of a kind of electronic equipment and display panel thereof, is intended to solve the problem of driving versatility deficiency of the display panel of existing electronic equipment.
The embodiment of the invention is achieved in that a kind of driving method of electronic equipment display panel, may further comprise the steps:
MCU detects the type of display panel;
MCU transfers the corresponding driving program display panel is driven according to the type of detected display panel in the multiple driver that prestores.
The electronic equipment of embodiment of the invention confession comprises MCU and the display panel that is connected with described MCU, prestore multiple driver among the described MCU, described MCU is used to detect the type of described display panel, and, in the multiple driver that prestores, transfer the corresponding driving program display panel is driven according to the type of detected described display panel.
In the embodiment of the invention, electronic equipment can be integrated the driving of various display panels neatly, carry out unified compatible, versatility is very high, simultaneously this electronic equipment also can leave other type display screen driver inlet, can constantly increase the display panel of newtype, easy to usely is convenient to unified management again, reduce the hardware product model, save cost.
Description of drawings
Fig. 1 is the architecture principle figure of the electronic equipment that provides of the embodiment of the invention;
Fig. 2 is the realization flow figure of the driving method of electronic equipment display panel shown in Figure 1;
Fig. 3 is the flow process of regularly interrupting the method to set up of inlet in the driving method shown in Figure 2;
Fig. 4 is I in the driving method shown in Figure 2 2C interrupts the flow process of the method to set up of inlet;
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In the embodiment of the invention, the driver of multiple display panel is combined, carry out corresponding driver again so that display panel is driven by the type that detects display panel after the initialization, concerning the upper procedure Application and Development person and the producer, in the process of finishing the control Presentation Function, there is not the difference of the demonstration material that LCD, LED and VFD display panel and other may increase, only has general purpose control order and general interface.
Fig. 1 shows the architecture principle of the electronic equipment that the embodiment of the invention provides, and for convenience of description, only shows the part relevant with the embodiment of the invention.
With reference to Fig. 1, electronic equipment comprises MCU 1, display panel 2, panel button 3 and main frame 4, wherein prestore the key scan program and the display panel driver of multiple display panel among the MCU 1, it is by detecting the type of display panel 2, therefrom select the corresponding driving program that display panel 2 is driven, select the button operation whether corresponding key scan program counter plate button 3 scans has the user to detect simultaneously.MCU 1 and main frame 4 are built in a pair of communication interface, and main frame 4 sends various Data Control orders by a communication bus to MCU 1, and this communication interface can be I shown in Figure 1 2C interface also can adopt other standard communication interface, as Serial Peripheral Interface SPI interface etc., when adopting I 2During C interface, MCU 1 is with I 2The mode that C interrupts responds main frame 4 from I 2The data of C bus transfer also receive storage.
In the embodiment of the invention, MCU 1 comprises memory module 101, panel type detection module 102, panel button scan module 103, panel driving module 104, wherein prestore the key scan program and the display panel driver of multiple display panel in the memory module 101, panel type detection module 102 is used to detect the type of display panel 2, as LCD, LED, VFD etc., panel type detection module 102 exports testing result to panel button scan module 103 and panel driving module 104, the type corresponding key scanning sequence counter plate button 3 that panel button scan module 103 is transferred from memory module 101 with panel scans, and the type corresponding display panel driver transferred from memory module 101 with panel of panel driving module 104 drives display panel 2 simultaneously.Above-mentioned panel type detection module 102 can be judged the type of display panel 2 by level on the show state pin that detects MCU 1, and for example when supporting two kinds of VFD and LED display type, when the level on the pin was ' 1 ', what expression connected at this moment was the VFD screen; When the level on the pin was ' 0 ', what expression connected at this moment was the LED screen; And when supporting more display types, can increase the number of show state pin, detect by level realization of decoding a plurality of pins.
Further, panel button 3 comprises a forced shutdown button, and MCU 1 also comprises button value processing module 105, is used to discern the key assignments information of the detected button that is pressed of panel button scan module 103 scannings, and by communication bus (I 2The C bus) key assignments information is committed to main frame 4, main frame 4 then passes through communication bus (I with corresponding processing command 2The C bus) sends back to MCU 1.When button value processing module 105 identifies forced shutdown button on the panel and is pressed, send the signal of main control system shutdown to Host Status control module 106, and then cut off the power supply of main frames 4 by Host Status control module 106.For preventing this forced shutdown button by maloperation, it is effective by this forced shutdown button that length can be set, and pressed 4 seconds as long.
Further, MCU 1 also comprises calendar and time block 107, realize the timed task that the user is provided with by the mode of regularly interrupting, calendar and regularly start 107 pairs of times of module and count, for example 200us can be set respectively, 10ms, 1s, 1 minute, 1 hour, 1 day, 100 days and 10,000 days these 8 units, simultaneously, after the each counting of this module is finished to comparing input time, if main frame 4 is in the holding state, when the time coincide, calendar and time block 107 send the signal of main control system start to Host Status control module 106, Host Status control module 106 is promptly opened the power supply of main frame 4, main frame 4 is started, thereby realizes the self-timing start.
Further, with respect to above-mentioned self-timing start, can also interrupt inlet in timing and realize that the user manually starts shooting, this moment, MCU 1 also comprised the remote controller signal receiver module 108 and the telepilot key assignments processing module 109 of only working under main frame 4 holding states, remote controller signal receiver module 108 is at calendar and regularly start under the clock signal that module 107 provides and work, whether timing scan receives remote controller signal, when telepilot key assignments processing module 109 identifies the power-on command that receives the user, send the signal of main control system start to Host Status control module 106, Host Status control module 106 is promptly opened the power supply of main frame 4, and main frame 4 is started.
Further, MCU 1 also comprises true Opportunity awaiting control for linear module 110, MCU 1 can be after receiving the complete standby command of main frame that the user imports with telepilot or panel button mode, or after receiving the complete standby command that main frame 4 sends by communication bus, true Opportunity awaiting control for linear module 110 is sent the signal of main control system shutdown to Host Status control module 106, and then is cut off the power supply of main frame 4 by Host Status control module 106.Different with above-mentioned forced shutdown button is, this function is applicable to that main frame 4 main frame when normal operating conditions receives the situation that user request needs normal shutdown, and the forced shutdown button is applicable to that then the user finds the crashed situation of the power supply that needs hand-operated forced cut-out main frame 4 of main frame 4.
Further, MCU 1 comprises that also house dog prevents deadlock module 111, is used for restarting when MCU 1 crashes, and will carry out after the initialization of MCU 1 is finished at every turn and feed the dog action.
Further, MCU 1 also comprises a holding state time showing control module (not shown), be used for when main frame 4 is in holding state, calculate the time that display panel 2 needs demonstration, and cooperate panel driver module 104 to export display panel 2 to result of calculation.
Further, when electronic equipment is provided with status indicator lamp, accordingly, MCU 1 comprises that also one is used for the holding state time showing control module (not shown) of state of a control pilot lamp work, want the state that shows to the client to indicate current main frame 4 residing states and main frame 4, as: red light is represented standby, and green light is represented start, and amber light is represented signal etc.
In the embodiment of the invention, above-mentioned each module can adopt hardware cell, the unit of software unit or soft or hard combination is realized, and the scanning of MCU 1 counter plate button 3 and be a timesharing control fragment to the driving of display panel 2, fragment is controlled in another timesharing that is controlled to be of 1 pair of status indicator lamp of MCU, and the identification that is operated button value information of MCU 1 counter plate button 3, submit to, carry out the processing command that main frame 4 is beamed back, main control system 4 complete standbies then belong to another timesharing control fragment, three timesharing control fragment timesharing circulations are carried out, can cooperate calendar and regularly start module 107 and realize, such as carry out one of these three processing procedures every 10ms, also be, each processing procedure 30ms carries out once, and when the control of timesharing each time fragment is finished dealing with, before the anti-deadlock module of program rebound house dog, again feed dog, carry out with the continuous circulation that realizes master routine.
Fig. 2 shows a complete realization flow of the driving method of electronic equipment display panel shown in Figure 1, and details are as follows:
In step S1, at first be provided with after powering on and interrupt inlet.
In the embodiment of the invention, support two kinds of interrupt modes, the timing that is respectively shown in Figure 3 is interrupted and I 2The C interruption, timing wherein shown in Figure 3 interrupts mainly comprising two steps: 1, receive the mission bit stream that the user is provided with in time block, monitor this task, produce interruption and carry out this task when arriving timing; 2, detection is set whether the main frame starting-up signal that receives telepilot is arranged.Wherein step 2 detects under the control of the required clock signal of step 1.
In step S2, the MCU initialization.
In step S3, carry out the action of feeding house dog.
In step S4, MCU detects the type of display panel.
In step S5, start the host work of electronic equipment according to the main frame starting-up signal of telepilot.
At this moment, if main frame is in holding state, also can comprise the step of the time that a calculating display panel need show.
In the step S61 that belongs to the first timesharing control program, MCU is according to the type of detected display panel, in the multiple panel button scanning sequence that prestores, transfer corresponding panel button scanning sequence counter plate button and scan detection, in the multiple driver that prestores, transfer the corresponding driving program simultaneously display panel is driven.
In the step S62 that belongs to the second timesharing control program, the duty of indication main frame.
In the step S631 that belongs to the 3rd timesharing control program, the part time job of the panel button of identification user input in step S632, is committed to main frame with the key assignments information that identifies, in step S633, with I shown in Figure 4 2The C terminal mode is carried out the control command that main frame returns, and in step 634, cuts off host power supply according to the control command or the user command of main frame, and main control system enters complete holding state.In above-mentioned steps S631, continued to press when satisfying the default time (as long by 4 seconds) when identifying the forced shutdown button, cut off the power supply of electronic equipment main frame.
It should be noted that and before entering interruption, want earlier the value of status register among the MCU and totalizer to be preserved, again the value of these registers is reduced after the wait End of Interrupt.
The electronic equipment that the embodiment of the invention provides can be integrated the driving (LED/VFD/LCD etc.) of various display panels neatly, carry out unified compatible, this electronic equipment also can leave other type display screen driver inlet simultaneously, can constantly increase the display panel of newtype, easy to usely be convenient to unified management again, reduce the hardware product model, save cost.Hommization simultaneously is with the obvious advantage: when Application and Development, only need several orders can realize whole front panel Communication Control functions; When using, the user also increased hommizations such as forced shutdown in 4 seconds operation.Thus, increased the convenience of the standardization and the management of product greatly, simplified the model of company's product front panel, saved handling cost and the realization cost of company various fronts display control board.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the driving method of an electronic equipment display panel is characterized in that, may further comprise the steps:
MCU detects the type of display panel;
MCU transfers the corresponding driving program display panel is driven according to the type of detected display panel in the multiple driver that prestores.
2. the driving method of electronic equipment display panel as claimed in claim 1 is characterized in that, and is further comprising the steps of:
MCU transfers corresponding panel button scanning sequence counter plate button and scans detection according to the type of detected display panel in the multiple panel button scanning sequence that prestores.
3. the driving method of electronic equipment display panel as claimed in claim 1 is characterized in that, when MCU scans the forced shutdown button when being continued to press in the default time period, cuts off the power supply of electronic equipment main frame.
4. electronic equipment, comprise MCU and the display panel that is connected with described MCU, it is characterized in that, prestore multiple driver among the described MCU, described MCU is used to detect the type of described display panel, and, in the multiple driver that prestores, transfer the corresponding driving program display panel is driven according to the type of detected described display panel.
5. electronic equipment as claimed in claim 4, it is characterized in that, described electronic equipment also comprises the panel button that is connected with described MCU, prestore multiple panel button scanning sequence among the described MCU, described MCU is used for the type according to detected display panel, transfers corresponding panel button scanning sequence counter plate button and scan detection in the multiple panel button scanning sequence that prestores.
6. electronic equipment as claimed in claim 4 is characterized in that, described panel button comprises a forced shutdown button, and described electronic equipment comprises a main frame that is connected with described MCU, and described MCU comprises:
The button value processing module is used for sending the signal of main control system shutdown in the default time period when identifying described forced shutdown button and continued to press;
The Host Status control module is used for cutting off the power supply of described main frame behind the signal that receives the main control system shutdown that described button value processing module sends.
CN 200910188543 2009-12-01 2009-12-01 Electronic equipment and driving method of display panel Pending CN101814280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910188543 CN101814280A (en) 2009-12-01 2009-12-01 Electronic equipment and driving method of display panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910188543 CN101814280A (en) 2009-12-01 2009-12-01 Electronic equipment and driving method of display panel

Publications (1)

Publication Number Publication Date
CN101814280A true CN101814280A (en) 2010-08-25

Family

ID=42621520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910188543 Pending CN101814280A (en) 2009-12-01 2009-12-01 Electronic equipment and driving method of display panel

Country Status (1)

Country Link
CN (1) CN101814280A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306090A (en) * 2011-06-30 2012-01-04 三星半导体(中国)研究开发有限公司 SOC (System-on-a-Chip) of supporting various display screens and configuration method thereof
CN102800278A (en) * 2012-08-20 2012-11-28 深圳市彤兴电子有限公司 Intelligent display and power supply management method thereof
CN102881275A (en) * 2012-09-20 2013-01-16 深圳市彤兴电子有限公司 Intelligent display device and internal communication method thereof
CN103260307A (en) * 2013-04-18 2013-08-21 李宪坤 LED intelligent control system and method
CN103647914A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Method and device for timed wake-up after television turning-off
CN106331875A (en) * 2016-09-05 2017-01-11 深圳Tcl数字技术有限公司 Multi-panel key control method and device
CN107357543A (en) * 2017-07-05 2017-11-17 青岛海信智能商用系统股份有限公司 A kind of electronic equipment and its control method of compatible polytype display module
CN107589696A (en) * 2017-09-12 2018-01-16 广东美的制冷设备有限公司 The master control borad of air conditioner, the control method and system of master control borad matching display board
CN107729083A (en) * 2014-04-30 2018-02-23 华为技术有限公司 The method and embedded device of a kind of load driver program
CN109147701A (en) * 2018-09-21 2019-01-04 京东方科技集团股份有限公司 Display control structure, display control method, display base plate and display device
CN114446213A (en) * 2020-11-02 2022-05-06 联发科技(新加坡)私人有限公司 Mainboard, display device, display method and computer readable storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306090A (en) * 2011-06-30 2012-01-04 三星半导体(中国)研究开发有限公司 SOC (System-on-a-Chip) of supporting various display screens and configuration method thereof
CN102800278A (en) * 2012-08-20 2012-11-28 深圳市彤兴电子有限公司 Intelligent display and power supply management method thereof
CN102881275A (en) * 2012-09-20 2013-01-16 深圳市彤兴电子有限公司 Intelligent display device and internal communication method thereof
CN102881275B (en) * 2012-09-20 2015-07-08 武汉市彤诺电子有限公司 Intelligent display device and internal communication method thereof
CN103260307A (en) * 2013-04-18 2013-08-21 李宪坤 LED intelligent control system and method
CN103647914A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Method and device for timed wake-up after television turning-off
CN107729083A (en) * 2014-04-30 2018-02-23 华为技术有限公司 The method and embedded device of a kind of load driver program
CN107729083B (en) * 2014-04-30 2021-02-12 华为技术有限公司 Method for loading driver and embedded device
CN106331875A (en) * 2016-09-05 2017-01-11 深圳Tcl数字技术有限公司 Multi-panel key control method and device
CN107357543A (en) * 2017-07-05 2017-11-17 青岛海信智能商用系统股份有限公司 A kind of electronic equipment and its control method of compatible polytype display module
CN107589696A (en) * 2017-09-12 2018-01-16 广东美的制冷设备有限公司 The master control borad of air conditioner, the control method and system of master control borad matching display board
CN109147701A (en) * 2018-09-21 2019-01-04 京东方科技集团股份有限公司 Display control structure, display control method, display base plate and display device
CN109147701B (en) * 2018-09-21 2022-01-28 京东方科技集团股份有限公司 Display control structure, display control method, display substrate and display device
CN114446213A (en) * 2020-11-02 2022-05-06 联发科技(新加坡)私人有限公司 Mainboard, display device, display method and computer readable storage medium
US11842704B2 (en) 2020-11-02 2023-12-12 Mediatek Singapore Pte. Ltd. Mainboard with at least two interfaces to boost performance for connecting different displays and the related device and method

Similar Documents

Publication Publication Date Title
CN101814280A (en) Electronic equipment and driving method of display panel
CN105573743B (en) Chip burning system and method and electronic equipment
CN101539803B (en) Standby management method and relevant standby management module thereof
JP2760787B2 (en) Operation control device for electronic computer system
US9274988B2 (en) Mode switching method of electronic device and associated electronic device
CN104615506A (en) Logic control based BIOS (basic input/output system) and BMC (baseboard management controller) backup method
EP0183548A2 (en) Local power switching control subsystem
EP2565749B1 (en) Method for controlling the display for an item of equipment in standby mode and associated device
CN1987732A (en) One key on-and-off unit for computer and reset device and method
KR950001418B1 (en) Pop up control system for portable computer having setup function and popup function
CN102890636A (en) Firmware upgrade method and system under Android system
CN102169452A (en) Method for solving touch screen deadlock problem of mobile terminal
CN103729947A (en) POS system having self-checking function and self-checking method thereof
CN206271394U (en) A kind of giant-screen of automatic fault detection
CN206236230U (en) A kind of IP3000MC electric fire monitoring systems
CN107885630A (en) A kind of programmable virtual keyboard detecting device and method
WO2020001135A1 (en) Server information display system and method
JP3285807B2 (en) Apparatus and method for isolating power supply and hardware failure
CN104424086B (en) Computer error detection module and method
CN100501710C (en) Peripheral apparatus access state checking method
CN102023887B (en) Power supply management method of computer system and computer system
CN101377753A (en) Accessory test device and method
CN203931024U (en) A kind of POS system with remote control function
CN100416510C (en) Host computer real-time monitoring apparatus and method
CN211857458U (en) Industrial HMI terminal based on A40i treater

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100825