[go: up one dir, main page]

CN102110282A - Screen drawing method and system for embedded equipment - Google Patents

Screen drawing method and system for embedded equipment Download PDF

Info

Publication number
CN102110282A
CN102110282A CN2011100602892A CN201110060289A CN102110282A CN 102110282 A CN102110282 A CN 102110282A CN 2011100602892 A CN2011100602892 A CN 2011100602892A CN 201110060289 A CN201110060289 A CN 201110060289A CN 102110282 A CN102110282 A CN 102110282A
Authority
CN
China
Prior art keywords
buffer
screen
image content
updated image
screen drawing
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
CN2011100602892A
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.)
BORQS BEIJING Ltd
Original Assignee
Beijing Borqs Software Technology 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 Beijing Borqs Software Technology Co Ltd filed Critical Beijing Borqs Software Technology Co Ltd
Priority to CN2011100602892A priority Critical patent/CN102110282A/en
Publication of CN102110282A publication Critical patent/CN102110282A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

一种嵌入式设备的屏幕绘图方法,该方法包括以下步骤:用第一缓存器的内容进行屏幕显示;将图像更新内容绘制到其它缓存器并提交;将图像更新内容绘制到第一缓存器并提交。一种嵌入式设备的屏幕绘图系统,包括用于控制用户进行图像更新内容的绘图操作的屏幕绘图控制单元、用于存储用户绘制的图像更新内容,并将其提交给LCD进行屏幕显示的第一缓存器、第二缓存器和第三缓存器,以及用于控制从第一缓存器、第二缓存器或第三缓存器中提取图像更新内容进行屏幕显示的LCD显示控制单元。本发明的嵌入式设备的屏幕绘图方法及系统,利用多个缓存器进行屏幕绘图缓存,提高系统的并发度、屏幕更新的效率,以及屏幕更新的时间的稳定性。

Figure 201110060289

A screen drawing method for an embedded device, the method comprising the following steps: using the content of a first buffer for screen display; drawing and submitting image update content to other buffers; drawing the image update content to the first buffer and submit. A screen drawing system for embedded devices, including a screen drawing control unit for controlling users to perform drawing operations on image update content, a first unit for storing image update content drawn by users, and submitting it to LCD for screen display A buffer, a second buffer and a third buffer, and an LCD display control unit for controlling extraction of image update content from the first buffer, the second buffer or the third buffer for screen display. The screen drawing method and system of the embedded device of the present invention utilizes multiple buffers to cache the screen drawing, thereby improving the concurrency of the system, the efficiency of screen updating, and the stability of the screen updating time.

Figure 201110060289

Description

A kind of screen drawing method and system of embedded device
Technical field
The present invention relates to a kind of embedded device, relate in particular to a kind of screen drawing method and system of embedded device.
Background technology
On present most of embedded devices, display screen (mostly being LCD) refresh rate is 60 frame per seconds.Present embedded device all adopts two buffer(buffers basically) mode avoid the screen flicker of directly on current screen, drawing and bringing.In this manner, LCD shows the content of first buffer, when needs upgrade screen, is plotted to earlier on second buffer, reinforms LCD and switches on second buffer, thereby finish the renewal of screen.
The problem that this mode exists is: when switching buffer, because LCD is with fixing speed and frequency reading of content from current buffer, during switching basically all refresh first the screen process in, so system must wait for refreshing and finish, this process is that 0-16ms(is example with 60fps), its mathematical expectation is 8ms on theory of probability, the promptly average stand-by period is 8ms, this process has reduced the concurrency of system, and the time of screen updates also becomes unstable simultaneously.
Summary of the invention
In order to solve the deficiency that prior art exists, the object of the present invention is to provide a kind of screen drawing method and system of embedded device, utilize a plurality of buffers to carry out the screen drawing buffer memory, improve the concurrency of system, the efficient of screen updates, and the stability of the time of screen updates.
In order to finish above-mentioned purpose, the screen drawing method of a kind of embedded device of the present invention, this method may further comprise the steps:
1) carries out screen display with the updated image content of first buffer;
2) updated image content is plotted to other buffer and submission;
3) updated image content is plotted to first buffer and submission.
Wherein, be after updated image content is plotted to the second buffer screen and submission, to carry out the drafting and the submission of the 3rd buffer updated image content described step 2).
Wherein, the drafting of described the 3rd buffer updated image content and submission are carried out after the wait first buffer screen display is finished.
In order to finish above-mentioned purpose, the screen drawing system of a kind of embedded device of the present invention comprises: screen drawing control module, first buffer, second buffer, the 3rd buffer, and LCD indicative control unit, wherein,
Described screen drawing control module is used to control the mapping operation that the user carries out updated image content;
Described first buffer, second buffer and the 3rd buffer are used to store the updated image content that the user draws, and it are submitted to LCD carry out screen display;
Described LCD indicative control unit is used for control and carries out screen display from described first buffer, second buffer or the 3rd buffer extraction updated image content.
Wherein, described screen drawing control module when described first buffer carries out screen display, allows the user second buffer and the 3rd buffer to be carried out the mapping operation of updated image content.
Wherein, described screen drawing control module carries out after screen display finishes at described first buffer, allows first buffer is carried out the mapping operation of updated image content.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of instructions, and and embodiments of the invention, one is used from explanation the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 adopts two buffer memorys to carry out the screen drawing synoptic diagram for the embedded device of prior art;
Fig. 2 is according to embedded device screen drawing system principle diagram of the present invention;
Fig. 3 is for to carry out the screen drawing synoptic diagram according to embedded device of the present invention;
Fig. 4 is the screen drawing method flow diagram according to embedded device of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 2 is according to embedded device screen drawing system principle diagram of the present invention, as shown in Figure 2, embedded device screen drawing of the present invention system, comprise screen drawing control module 201, first buffer 202, second buffer 203, the 3rd buffer 204, and LCD indicative control unit 205, wherein
Screen drawing control module 201, be used to control the mapping operation that the user carries out updated image content, when LCD indicative control unit 205 is chosen first two field picture in first buffer 202 and is upgraded, the second two field picture update content that the control user will draw stores second buffer 203 into, this moment, second buffer 203 can directly be submitted to the second two field picture update content of drawing the formation wait of LCD, and the user needn't wait for that first two field picture upgrades and finishes, continue to draw the 3rd two field picture update content and store the 3rd buffer 204 into, after the updated image content drafting of the 3rd buffer 204 finishes, checking whether first buffer 202 upgrades finishes, finish if upgrade, directly carry out the mapping operation of next frame, and store first buffer 202 into, if this moment, first frame of first buffer 202 did not also have to upgrade to finish, then wait for.
First buffer 202, second buffer 203 and the 3rd buffer 204 are used to store the updated image content that the user draws, and this updated image content is submitted to LCD show.
LCD indicative control unit 205 is used for control and extracts updated image content from first buffer 202, second buffer 203 or the 3rd buffer 204, and sends to LCD and carry out screen-refresh.
Fig. 3 is for to carry out the screen drawing synoptic diagram according to embedded device of the present invention, as shown in Figure 3, when LCD utilizes the content of content refresh current screen of first buffer, the user carries out the screen drawing operation on second buffer, the formation that directly drawn content is submitted to LCD is then waited for, needn't wait for whether first frame upgrades finishes, the mapping operation of next frame is carried out in continuation at the 3rd buffer, after the mapping operation of the 3rd buffer is finished, checking whether first frame upgrades finishes, finish if upgrade, then directly carry out the mapping operation of next frame at first buffer, do not finish if first frame upgrades, wait for that then the renewal of first frame finishes, on first buffer, carry out the mapping operation of next frame again.
Fig. 4 is the screen drawing method flow diagram according to embedded device of the present invention, below with reference to Fig. 4, the screen drawing method of embedded device of the present invention is described in detail:
At first, in step 401, LCD carries out screen display with the updated image content of first buffer;
In step 402, updated image content is plotted to second buffer, and the updated image content of drawing directly is submitted to the formation of LCD; And original mode just needs the wait first buffer screen display to finish after updated image content being plotted to second buffer and submitting to;
In step 403, updated image content is plotted to the 3rd buffer, and the updated image content of drawing directly is submitted to the formation of LCD; If this moment, the demonstration of first buffer was not finished, then need to wait for after the demonstration of first buffer is finished and submit to again;
In step 404, finish with the demonstration of first buffer;
In step 405, updated image content is plotted to first buffer, and the updated image content of drawing directly is submitted to the formation of LCD.
The screen drawing method and system of embedded device of the present invention, adopt 3 buffer(buffers), LCD refreshes the content of current screen, when system update, be plotted to second buffer(buffer) on, this moment, second buffer can directly be submitted to the formation wait of LCD, and drafting system can wait to be updated finishing, continuation is at the 3rd buffer(buffer) carry out the operation of screen updates, after the 3rd buffer content drafting finishes, when submitting to LCD and refresh, the driving of LCD is checked whether first buffer upgrades and is finished, finishes if upgrade, then drafting system still needn't be waited for, directly on first buffer, carry out the mapping operation of next frame,, then must wait for this moment if this moment, first frame did not also have to upgrade to finish.This method has improved the concurrency of drafting system, has improved the efficient of screen updates greatly, and is particularly remarkable when the system refresh rate is low, also improved the stability of screen-refresh simultaneously greatly, and the limit that refreshes that makes system approaches even reach LCD becomes possibility.
One of ordinary skill in the art will appreciate that: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, it still can be made amendment to the technical scheme of aforementioned each embodiment record, perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the screen drawing method of an embedded device may further comprise the steps:
1) carries out screen display with the content of first buffer;
2) updated image content is plotted to other buffer and submission;
3) updated image content is plotted to first buffer and submission.
2. screen drawing method according to claim 1 is characterized in that, described step 2) be after updated image content is plotted to the second buffer screen and submission, to carry out the drafting and the submission of the 3rd buffer updated image content.
3. screen drawing method according to claim 2 is characterized in that, the drafting of described the 3rd buffer updated image content and submission are carried out after the wait first buffer screen display is finished.
4. the screen drawing system of an embedded device comprises screen drawing control module, first buffer, second buffer, the 3rd buffer, and the LCD indicative control unit, it is characterized in that,
Described screen drawing control module is used to control the mapping operation that the user carries out updated image content;
Described first buffer, second buffer and the 3rd buffer are used to store the updated image content that the user draws, and it are submitted to LCD carry out screen display;
Described LCD indicative control unit is used for control and carries out screen display from described first buffer, second buffer or the 3rd buffer extraction updated image content.
5. the screen drawing system of embedded device according to claim 4, it is characterized in that, described screen drawing control module when described first buffer carries out screen display, allows the user second buffer and the 3rd buffer to be carried out the mapping operation of updated image content.
6. the screen drawing system of embedded device according to claim 4 is characterized in that, described screen drawing control module carries out allowing first buffer is carried out the drafting and the submission of updated image content after screen display finishes at described first buffer.
CN2011100602892A 2011-03-14 2011-03-14 Screen drawing method and system for embedded equipment Pending CN102110282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100602892A CN102110282A (en) 2011-03-14 2011-03-14 Screen drawing method and system for embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100602892A CN102110282A (en) 2011-03-14 2011-03-14 Screen drawing method and system for embedded equipment

Publications (1)

Publication Number Publication Date
CN102110282A true CN102110282A (en) 2011-06-29

Family

ID=44174432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100602892A Pending CN102110282A (en) 2011-03-14 2011-03-14 Screen drawing method and system for embedded equipment

Country Status (1)

Country Link
CN (1) CN102110282A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049883A (en) * 2013-01-29 2013-04-17 陕西汽车集团有限责任公司 Method and device for rapid plotting

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832250A (en) * 1996-01-26 1998-11-03 Unisys Corporation Multi set cache structure having parity RAMs holding parity bits for tag data and for status data utilizing prediction circuitry that predicts and generates the needed parity bits
CN1352771A (en) * 1999-01-28 2002-06-05 因芬尼昂技术股份公司 Techniques for improving memory acces sin a virtual memory system
US20050046746A1 (en) * 2003-08-26 2005-03-03 Young-Hun Choi Picture-in-picture apparatus
CN1630290A (en) * 2003-12-19 2005-06-22 联想(北京)有限公司 A data transmission method with bandwidth prediction
CN1645472A (en) * 2005-02-06 2005-07-27 威盛电子股份有限公司 Display control system and method thereof
CN1964264A (en) * 2005-11-07 2007-05-16 株式会社日立制作所 Transfer device, transfer system, and exclusive control method of update data
CN101339497A (en) * 2008-08-28 2009-01-07 青岛海信移动通信技术股份有限公司 Method and device for displaying pattern produced when operating Java software

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832250A (en) * 1996-01-26 1998-11-03 Unisys Corporation Multi set cache structure having parity RAMs holding parity bits for tag data and for status data utilizing prediction circuitry that predicts and generates the needed parity bits
CN1352771A (en) * 1999-01-28 2002-06-05 因芬尼昂技术股份公司 Techniques for improving memory acces sin a virtual memory system
US20050046746A1 (en) * 2003-08-26 2005-03-03 Young-Hun Choi Picture-in-picture apparatus
CN1630290A (en) * 2003-12-19 2005-06-22 联想(北京)有限公司 A data transmission method with bandwidth prediction
CN1645472A (en) * 2005-02-06 2005-07-27 威盛电子股份有限公司 Display control system and method thereof
CN1964264A (en) * 2005-11-07 2007-05-16 株式会社日立制作所 Transfer device, transfer system, and exclusive control method of update data
CN101339497A (en) * 2008-08-28 2009-01-07 青岛海信移动通信技术股份有限公司 Method and device for displaying pattern produced when operating Java software

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049883A (en) * 2013-01-29 2013-04-17 陕西汽车集团有限责任公司 Method and device for rapid plotting

Similar Documents

Publication Publication Date Title
CN105788542B (en) The refresh control method and device of a kind of display device
KR101534474B1 (en) Control of platform power consumption using selective updating of a display image
TWI254202B (en) Portable electronic apparatus and power management method thereof
JP5638666B2 (en) Seamless display transition
US9293119B2 (en) Method and apparatus for optimizing display updates on an interactive display device
TWI639989B (en) Power optimization with dynamic frame rate support
MX2015005394A (en) Electronic device and control method thereof.
US9830181B2 (en) Method and system for gracefully shutdown virtual system
WO2013104254A1 (en) Control method, device and system for receiving device and video refresh frequency
KR20150043807A (en) Image processing apparatus and control method thereof
WO2022171054A1 (en) Display refreshing method and apparatus, and electronic device
CN105786424B (en) The method that the quick split screen display available of the single-screen of embedded system solves
US20170316734A1 (en) Display control device, display device, and display control method
KR20220143667A (en) Reduced display processing unit delivery time to compensate for delayed graphics processing unit render times
CN108227895A (en) One kind puts out screen display methods and terminal, computer installation and readable storage medium storing program for executing
CN104503564A (en) Control method and device for picture refreshing of application program
JP7310063B2 (en) Extending Asynchronous Frame Updates with Full and Partial Frame Notifications
WO2016019753A1 (en) Refresh control method and apparatus for display device
WO2019166000A1 (en) Graphical user interface redrawing method, terminal device and computer readable storage medium
CN106233225A (en) For power mode unit based on time delay controlling the power mode of processor core and associated method and system
CN104376096A (en) Method for asynchronous updating based on buffer area
US8773442B2 (en) Aligning animation state update and frame composition
CN102110282A (en) Screen drawing method and system for embedded equipment
CN105070255A (en) Time schedule controller of display device and operation method thereof
CN103164384B (en) The synchronization realizing method of multi-computer system shared drive and system 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
ASS Succession or assignment of patent right

Owner name: BORQS COMMUNICATION TECHNOLOGY (BEIJING) CO., LTD.

Free format text: FORMER OWNER: BEIJING BORQS SOFTWARE TECHNOLOGY CO., LTD.

Effective date: 20131210

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100102 CHAOYANG, BEIJING TO: 100015 CHAOYANG, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20131210

Address after: 100015, B23A, Hengtong business garden, No. 10, Jiuxianqiao Road, Beijing, Chaoyang District

Applicant after: Borqs Beijing Ltd.

Address before: 100102 D building, building 9, South Central Road, Chaoyang District, Wangjing, Beijing, Wangjing

Applicant before: Beijing Borqs Software Technology Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110629