CN101127978A - Method for mobile phone to be compatible to different display part - Google Patents

Method for mobile phone to be compatible to different display part Download PDF

Info

Publication number
CN101127978A
CN101127978A CNA2007100448427A CN200710044842A CN101127978A CN 101127978 A CN101127978 A CN 101127978A CN A2007100448427 A CNA2007100448427 A CN A2007100448427A CN 200710044842 A CN200710044842 A CN 200710044842A CN 101127978 A CN101127978 A CN 101127978A
Authority
CN
China
Prior art keywords
mobile phone
liquid crystal
display device
crystal display
lcd
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
CNA2007100448427A
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.)
Wentai Communication Science and Technology Co Ltd Jiaxing City
Original Assignee
Wentai Communication Science and Technology Co Ltd Jiaxing City
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 Wentai Communication Science and Technology Co Ltd Jiaxing City filed Critical Wentai Communication Science and Technology Co Ltd Jiaxing City
Priority to CNA2007100448427A priority Critical patent/CN101127978A/en
Publication of CN101127978A publication Critical patent/CN101127978A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The utility model relates to a method that a mobile phone is compatible with different display devices, which comprises the following steps: Step 1. a standard series number list is compiled for a LCD device; Step 2. relevant driving motions of LCD are defined to be a uniform dynamic function pointer; Step 3. a space is cultivated inside the flash disk of the mobile phone to store condition codes; Step 4. a condition code is written into the fixed storage space inside the flash disk of the mobile phone; Step 5. after the mobile is equipped with batteries and switched on, a condition code is released from the fixed location inside the flash disk that is cultivated in Step 3; by matching with the standard series number list, a corresponding LCD device driving function can be found and the function pointer points to the corresponding driving function; Step 6. the LCD device is initialized by the driving function and displaying of the LCD device is controlled properly by operation of the driving core of the LCD device. The utility model has the advantages that the method can download fixed program into the mobile phones, which improves efficiency of development and production for mobile phones largely and saves cost as well as time.

Description

The method of handset compatibility different display devices
Technical field
The present invention relates to a kind of handset compatibility method, particularly a kind of method of handset compatibility different display devices.
Background technology
Along with developing rapidly of the communication technology, it is the most timely that mobile communication has become modern society gradually, exchange way the most easily, the diversification of telecom terminal product becomes a kind of trend, liquid crystal display device miscellaneous emerges in an endless stream, and the used chip for driving of different display devices often is not quite similar, therefore, some unnecessary operations of having to make for compatibility different display device in mobile phone research and development and the production process have been caused, such as repeating compiling, repeated downloads etc., the efficient that this greatly reduces research and development and produces, simultaneously also increase human cost, caused very big waste.
Summary of the invention
The present invention is the shortcoming that overcomes above-mentioned prior art, and purpose provides a kind of method of handset compatibility different display devices, is particularly useful for using the mobile phone of NOR nonvolatile storage (being nor flash).
For achieving the above object, technical scheme of the present invention is:
A kind of method of handset compatibility different display devices is characterized in that this method comprises the following steps:
Step 1: unified in standard sequence of liquid crystal display device row number tabulation of usefulness;
Step 2: with the associated drives action unified Definition of liquid crystal display device is the kinematic function pointer;
Step 3: in the flash memory of mobile phone, open up a space for liquid crystal display device and be used for the storage mark position;
Step 4: according to number tabulation of the standard sequence in the step 1, (fixed storage space of opening up in the mobile phone flash memory writes and the corresponding flag bit of the used liquid crystal display device of mobile phone for PC, PersonalComputer) side software instrument by PC;
Step 5: mobile phone powers on after the start, flag bit is read in the fixed position of the flash memory of opening up from described step 3, in standard sequence number tabulation, mated, find corresponding liquid crystal display device driving function, the function pointer that defines in the step 2 is pointed to corresponding liquid crystal display part driving function;
Step 6: utilize described liquid crystal display device driving function to this liquid crystal display device initialization, and the chip for driving of operating this liquid crystal display device is correctly controlled the demonstration of this liquid crystal display device;
Step 7: mobile phone shutdown.
When new display device, number tabulation of the standard sequence in the described step 1 interpolation of postponing.
In the described step 2 associated drives of liquid crystal display device action comprise initialization, desired location, enter dormancy, go out dormancy, shutdown, contrast control.
The flash memory space that is used for the storage mark position in the described step 3 is a byte.
PC side software in the described step 4 is meant the tool software that moves on PC, this tool software is realized data are transferred to mobile phone from the PC side by the UART interface that calls the windows bottom.
The invention has the beneficial effects as follows:
The inventive method can be downloaded fixed routine in mobile phone, mobile phone application software is cooperated with PC side software instrument, adjust liquid crystal display device (LCD, Liquid Crystal Display) relevant parameter, to adapt to different display devices, carry out repeated download again and needn't compile different software at different 1cd chip for driving.The efficient that has improved the mobile phone research and development greatly and produced has been saved cost and time.
Description of drawings
Fig. 1 is the frame diagram of the method for the different display screens of handset compatibility of the present invention.
Fig. 2 is the flow chart of the inventive method.
Fig. 3 is the flow chart of the inventive method PC side software instrument.
Embodiment
The present invention will be further described below in conjunction with drawings and Examples, but should not limit protection scope of the present invention with this.
The inventive method mutual by with PC side software instrument and mobile phone side serial ports, modification is stored in the flag bit that mobile phone flash memory (flash) is gone up the fixed position, read the flag bit of this position in the start process, judge concrete LCD chip for driving model according to flag bit, model is loaded into the LCD driving function of respective type on the corresponding overall situation function pointer in view of the above, so just can carry out compatibility, accomplish the LCD display part that same softwarecompatible is different different LCD chip for driving.
Fig. 1 is the frame diagram of the method for the different display screens of handset compatibility of the present invention.PC utilizes common Serial Port Line by UART Universal Asynchronous Receiver Transmitter (UART, Universal AsynchronousReceiver/Transmitter) links to each other with mobile phone hardware, this mobile phone uses base band integrated circuit (BBIC), base band integrated circuit and liquid crystal display drive circuit (LCD Driver IC) transmit by parallel 16 bit data bus (D0--D15) and drive order and video data, make normal display action with correct control 1cd.Utilize PC side software instrument and the interprogram communication of mobile phone side, thereby realize the transmission of valid data.
Fig. 2 is the flow chart of the inventive method.The concrete grammar step is as follows:
Step 1: unified in the list of sequence numbers of the standard of LCD display part row of usefulness, follow-up have an interpolation of can postponing of new display device.
List of sequence numbers can be listed according to the Different L CD display device of concrete use, as, the LCD that producer one produces can determine that sequence number is 0x01, the LCD that producer two produces can determine that sequence number is 0x02, and the like, such sequence number table should strict control sequence number determine, otherwise can cause follow-up maintenance and produce take place chaotic, table specific as follows:
Table 1 LCD display part sequence number table
The LCD of producer one ?0x01
The LCD of producer two ?0x02
The LCD of producer three ?0x03
Step 2: for can dynamically pointing to the function pointer of concrete function, this drive actions comprises initialization, desired location, enters dormancy, goes out dormancy, shutdown, contrast control with the associated drives of LCD action unified Definition.
Step 3: the space of opening up a byte for LCD on mobile phone flash flash memory is used for the storage mark position separately.
Step 4: according to the standard sequence of appointing in the step 1 number tabulation, by PC side software instrument, the fixed storage space of opening up on flash writes the corresponding flag bit with used LCD.
Step 5: after handset starting is finished, flag bit is read in the fixed position of the flash that opens up from step 3, in standard sequence number tabulation, mated, found corresponding LCD driving function, the function pointer that defines in the step 2 is pointed to corresponding LCD driving function.
Step 6: utilize described liquid crystal display device driving function to this liquid crystal display device initialization, and the chip for driving of operating this liquid crystal display device is correctly controlled the demonstration of this liquid crystal display device.
PC side software in the described step 4 is meant the tool software that moves on PC, be used for the mobile phone of supporting compatible Different L CD scheme is sent the order of dirty bit.This tool software is realized data are transferred to mobile phone from the PC side by the UART interface that calls the windows bottom.
This tool software uses Microsoft Visual C++6.0 exploitation, can move in the Windows system.The software major function is that according to the rules form carries out communication by UART mouth and mobile phone, revises the order of LCD flag bit by sending, and receives and resolve the response results of mobile phone to order, provides and sends the prompting of ordering successfully or failing.
Software flow pattern is seen accompanying drawing 3.Key step is as follows:
1, PC side tool software interface provides the selection of UART mouth, LCD type selecting, LCD sign write activity button button interfaces, and the user has selected can to click the button button after corresponding UART mouth and the LCD type and carried out write operation.
2, the PC side software is opened PORT COM according to the UART mouth of selecting and is connected with mobile phone, sends to the order of mobile phone according to the LCD type package of selecting, and by the UART mouth, this order is sent to mobile phone.
3, wait for the order of mobile phone feedback modification LCD sign action success or not, if not, change step
4; If change step 5.
4, provide prompting: mobile phone is response not.Change step 7.
5, mobile phone feeds back to the PC side software by the UART mouth with LCD sign modification result.
6, the PC side software is according to the situation of mobile phone feedback, the state of display update LCD flag bit success or not.
7, finish.
Main source code is as follows:
If (! ConnectPS (COMPort)) // connect mobile phone by the UART mouth
{
If (! Connec tPS (COMPor t)) // once failure is tried again
{
StateDi splay (2, " connects the mobile phone failure! ");
return;
}
}
}
If (! Ate_cmd_write_flag (m_lcdtype)) // send and revise the life that LCD indicates
Order is given mobile phone and is waited for the response of mobile phone
{
A failure of StateDisplay (2, " dirty bit! ");
return;
}
else
{
A success of StateDisplay (1, " dirty bit! ");
return;
}
BOOL ate_cmd_write_flag (int value) //value sign LCD type code
{
...
If (! SendCommandAte (value)) // send order by the UART mouth to mobile phone
{
return?FALSE;
}
Sleep (1200); // wait for for a moment, wait the mobile phone response
While (! ReceiveCommandAte (﹠amp; Ack)) // read the feedback of UART mouth
{
counter++;
if(counter>READTIMES)
{
return?FALSE;
}
}
...
If (ACK_FAIL==ack) // judgement mobile phone response results
{
return?FALSE;
}
...
return?TRUE;
}
After above step was finished, mobile phone can correctly show the control of being correlated with to corresponding LCD, thereby had realized the compatibility of Different L CD display device.
When the inventive method made cell phone system hardware connect dissimilar LCD, cell phone software can cooperate PC side instrument to control the demonstration that adapts to dissimilar LCD flexibly.When same mobile phone hardware is changed Different L CD display device, need not to download again software, write corresponding flag bit by PC side instrument and can realize correct demonstration.Can be applicable to the frequent updating that factory produces flexible adaptation different display devices in the line production process.
Being preferred embodiment of the present invention only in sum, is not to be used for limiting practical range of the present invention.Be that all equivalences of doing according to the content of the present patent application claim change and modification, all should be technology category of the present invention.

Claims (5)

1. the method for a handset compatibility different display devices is characterized in that this method comprises the following steps:
Step 1: unified in standard sequence of liquid crystal display device row number tabulation of usefulness;
Step 2: with the associated drives action unified Definition of liquid crystal display device is the kinematic function pointer;
Step 3: in the flash memory of mobile phone, open up a space for liquid crystal display device and be used for the storage mark position;
Step 4: be under off-mode and the battery of mobile phone situation that electricity arranged on the throne at mobile phone, according to number tabulation of the standard sequence in the step 1, by PC side software instrument, the fixed storage space of opening up in the mobile phone flash memory writes and the corresponding flag bit of the used liquid crystal display device of mobile phone;
Step 5: mobile phone powers on after the start, flag bit is read in the fixed position of the flash memory of opening up from described step 3, in standard sequence number tabulation, mated, find corresponding liquid crystal display device driving function, the function pointer that defines in the step 2 is pointed to corresponding liquid crystal display part driving function;
Step 6: utilize described liquid crystal display device driving function to this liquid crystal display device initialization, and the chip for driving of operating this liquid crystal display device is correctly controlled the demonstration of this liquid crystal display device;
Step 7: mobile phone shutdown.
2. the method for handset compatibility different display devices according to claim 1 is characterized in that when new display device, number tabulation of the standard sequence in the described step 1 interpolation of postponing.
3. the method for handset compatibility different display devices according to claim 1 is characterized in that the associated drives action of liquid crystal display device in the described step 2 comprises initialization, desired location, enters dormancy, goes out dormancy, shutdown, contrast control.
4. the method for handset compatibility different display devices according to claim 1 is characterized in that the flash memory space that is used for the storage mark position in the described step 3 is a byte.
5. the method for handset compatibility different display devices according to claim 1, it is characterized in that the PC side software in the described step 4 is meant the tool software that moves on PC, this tool software is realized data are transferred to mobile phone from the PC side by the UART interface that calls the windows bottom.
CNA2007100448427A 2007-08-14 2007-08-14 Method for mobile phone to be compatible to different display part Pending CN101127978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100448427A CN101127978A (en) 2007-08-14 2007-08-14 Method for mobile phone to be compatible to different display part

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100448427A CN101127978A (en) 2007-08-14 2007-08-14 Method for mobile phone to be compatible to different display part

Publications (1)

Publication Number Publication Date
CN101127978A true CN101127978A (en) 2008-02-20

Family

ID=39095867

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100448427A Pending CN101127978A (en) 2007-08-14 2007-08-14 Method for mobile phone to be compatible to different display part

Country Status (1)

Country Link
CN (1) CN101127978A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024414A (en) * 2010-11-05 2011-04-20 彩优微电子(昆山)有限公司 General compatible display screen drive device and method
CN102164193A (en) * 2011-01-21 2011-08-24 惠州Tcl移动通信有限公司 Electronic device, manufacturing method thereof and method for identifying and driving display screen
CN102254539A (en) * 2010-05-18 2011-11-23 苏州安可信通信技术有限公司 Adaptive method for screen driver of portable electronic equipment and electronic equipment
CN102385833A (en) * 2011-11-18 2012-03-21 深圳Tcl新技术有限公司 Panel TV and method for driving display thereof
CN102446120A (en) * 2011-12-23 2012-05-09 广东步步高电子工业有限公司 Method for automatically switching drivers of different mobile phone screens and corresponding display system
CN102473397A (en) * 2009-07-06 2012-05-23 夏普株式会社 Display device, television receiver, and method for starting up display device
CN105974618A (en) * 2016-06-08 2016-09-28 捷星显示科技(福建)有限公司 Method for burning electricity data of liquid crystal display screen
CN106304032A (en) * 2016-08-08 2017-01-04 周奇 Mobile phone configuration compatibility method and system
CN112114764A (en) * 2020-09-21 2020-12-22 杭州秦商鞅科技有限公司 Computer extended display screen system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473397A (en) * 2009-07-06 2012-05-23 夏普株式会社 Display device, television receiver, and method for starting up display device
CN102473397B (en) * 2009-07-06 2015-07-01 夏普株式会社 Display device, television receiver, and method for starting up display device
CN102254539B (en) * 2010-05-18 2016-01-20 苏州安可信通信技术有限公司 Screen driver of portable adaptive approach and this electronic equipment
CN102254539A (en) * 2010-05-18 2011-11-23 苏州安可信通信技术有限公司 Adaptive method for screen driver of portable electronic equipment and electronic equipment
CN102024414B (en) * 2010-11-05 2014-08-06 彩优微电子(昆山)有限公司 General compatible display screen drive device and method
CN102024414A (en) * 2010-11-05 2011-04-20 彩优微电子(昆山)有限公司 General compatible display screen drive device and method
CN102164193A (en) * 2011-01-21 2011-08-24 惠州Tcl移动通信有限公司 Electronic device, manufacturing method thereof and method for identifying and driving display screen
CN102385833B (en) * 2011-11-18 2015-04-22 深圳Tcl新技术有限公司 Panel TV and method for driving display thereof
CN102385833A (en) * 2011-11-18 2012-03-21 深圳Tcl新技术有限公司 Panel TV and method for driving display thereof
CN102446120A (en) * 2011-12-23 2012-05-09 广东步步高电子工业有限公司 Method for automatically switching drivers of different mobile phone screens and corresponding display system
CN105974618A (en) * 2016-06-08 2016-09-28 捷星显示科技(福建)有限公司 Method for burning electricity data of liquid crystal display screen
CN105974618B (en) * 2016-06-08 2019-11-29 捷星显示科技(福建)有限公司 A kind of method for burn-recording of liquid crystal display electricity consumption data
CN106304032A (en) * 2016-08-08 2017-01-04 周奇 Mobile phone configuration compatibility method and system
CN112114764A (en) * 2020-09-21 2020-12-22 杭州秦商鞅科技有限公司 Computer extended display screen system

Similar Documents

Publication Publication Date Title
CN101127978A (en) Method for mobile phone to be compatible to different display part
CN101370202A (en) Method for automatic recognition of different display devices by mobile phone
US6202209B1 (en) Personal information device and method for downloading reprogramming data from a computer to the personal information device via the PCMCIA port or through a docking station with baud rate conversion means
CN101551747B (en) Software system configuring tool of ARM series microprocessor
US6223233B1 (en) Wallet for personal information device
CN101276637B (en) Register read mechanism
CN100485622C (en) Method and system for matching equipment handle and equipment of multiple human-machine interface equipment
CN103761129B (en) Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer
CN101719355A (en) Method for reading serial number from liquid crystal display EDID and writing serial number in main board memory
CN107678753A (en) A kind of program burn writing method, apparatus and electronic equipment
CN101599040A (en) Multi-interface simulation programmer
CN101159814A (en) Embedded equipment camera software dynamic recognizing method
CN202551284U (en) Earphone capable of upgrading through external equipment
CN101485184A (en) Information backup system for handheld devices
CN103309711A (en) Bootstrap loader circuit based on USB interface
CN105846859A (en) Bluetooth slave device function implementation system and method of embedded operating system
CN101102562A (en) A method for PHS mobile compatibility to NOR FLASH
CN110968329A (en) Burner and operation method and burning system thereof
CN201788900U (en) Relay board and control system thereof
CN101593123A (en) The curing of flash recordable plug-in component and terminal device
CN201548951U (en) Analog device for set-top-box interface
CN107636632B (en) Method and system for identifying liquid crystals of different manufacturers
CN200941206Y (en) Portable cellphone date backup device having data backup and reset functions
CN101944317A (en) Display control device for updating time schedule controller, and display equipment and method
CN101893856A (en) Relay board and control method and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
C20 Patent right or utility model deemed to be abandoned or is abandoned