CN101350896B - Method for solving dynamic switch of GUI graphical system under various display standard - Google Patents

Method for solving dynamic switch of GUI graphical system under various display standard Download PDF

Info

Publication number
CN101350896B
CN101350896B CN200710124969XA CN200710124969A CN101350896B CN 101350896 B CN101350896 B CN 101350896B CN 200710124969X A CN200710124969X A CN 200710124969XA CN 200710124969 A CN200710124969 A CN 200710124969A CN 101350896 B CN101350896 B CN 101350896B
Authority
CN
China
Prior art keywords
gui
standard
display
osd
district
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.)
Expired - Fee Related
Application number
CN200710124969XA
Other languages
Chinese (zh)
Other versions
CN101350896A (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.)
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN200710124969XA priority Critical patent/CN101350896B/en
Publication of CN101350896A publication Critical patent/CN101350896A/en
Application granted granted Critical
Publication of CN101350896B publication Critical patent/CN101350896B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method for the dynamic switching of the GUI graphics system under multiple display standards. The core idea is to separate a graphics mapping zone of the GUI system from a display zone, to implement the respective processing on the two zones and to dynamically update the data of the GUI mapping zone to the display zone, resulting in that the results that the target display zone does not need to be taken into account within a certain extent for the operation process of CUI within the mapping zone but only the GUI expression of the application business is needed to be noted; the real-time adjustment on the size and the ratio of the height to width of the display zone can be realized according to the target display environment; by the establishment of the mapping relation between the mapping zone and the display zone, a graphics transform method is applied to realize the dynamic updating of data within a dual memory area, thus simplifying the GUI system mapping process when switching from one display standard or a mapping environment to another display environment and solving the problem that the classified expression on the graphic elements is required according to the display requirements of multi standards or mapping types in course of the typical GUI system mapping.

Description

Solve GUI graphics system dynamic switch method under multiple display standard
[technical field]
The present invention relates to the drafting processing and the Display Technique field of GUI graphics system, particularly a kind of solution GUI graphics system dynamic switch method under multiple display standard.
[background technology]
In the process of digital television techniques development, the situation that has multiple standard (NTSC and pal mode), multiple standards (SD and high definition) always and deposit, video formats that these are different and display standard have all directly determined the size and the ratio of the final display frame of GUI graphics system in the product.The design of GUI graphics system and application always are in the digital technology application one of, most important work the most basic.Because multiple standards (NTSC, PAL, 1080I/P, 720P etc.) is in the difference that shows in the output, the GUI graphics system in the product needs to carry out the adjustment of display size and ratio to meet the demands according to the target display environment in real time.At present, in GUI graphics system drawing process, usually all be to draw the figure of expressing under a certain application scenarios according to the requirement classification of multiple display standard, general GUI system all is to serve as to draw district's painting canvas with viewing area (OSD) directly when design, realize that like this GUI is no doubt simple relatively: drawn is finding, promptly, do not need any operation after any graphic plotting release, on OSD, just can directly show the result of drafting directly at the viewing area graphing.But draw the district like this and be difficult to the dynamic condition that display standard limited of supporting different demonstration sizes and wide high proportion with the GUI system that the viewing area is melted into a whole.The complexity that this has seriously increased GUI system drawing process undoubtedly is unfavorable for that also the GUI system increases or reduce the support to certain display standard.
[summary of the invention]
For addressing the above problem, main purpose of the present invention is to provide a kind of solution GUI graphics system dynamic switch method under multiple display standard, to reduce the complexity of graphic plotting process in the GUI graphics system, simplify GUI drawing process in the switching of multiple standards display environment.
For achieving the above object, technical scheme of the present invention is: solve GUI graphics system dynamic switch method under multiple display standard, comprise the steps:
(a) prepare the GUI resource according to the display standard of service application and support and the drafting district in the standard design realization GUI system, and according to drawing the district;
(b) generate a viewing area that meets current display standard according to current display standard or standard, related with the display device bottom, promptly be ready to the OSD that shows;
(c), be the graphic picture that painting canvas is drawn current application with the drafting district of GUI system, and notice OSD upgrade according to current service application;
(d) after incident is found to have more in the viewing area, according to drawing district's size and the ratio of width to height with the viewing area, adopt the technology of image processing to draw to need in district's figure the zone of upgrading to be processed into size and ratio on the OSD correspondence position, and be updated on the OSD correspondence position, finish once renewal;
(e) repeating step (c), (d) finish the demonstration support of system to current display standard/standard;
(f) change when display standard/standard, repeating step (b), and then (c), (d) finish the demonstration support of GUI system to current new display standard/standard set by step.
Compared to prior art, drafting district in the GUI graphics system of the present invention and viewing area separate processes make drafting memory field and display memory in the GUI system distinguish the design realization, handle.And realize drawing dynamically updating of data in district and the viewing area and show based on the technology of image processing, thereby simplify GUI system drawing process when a kind of display standard or standard environment switch to another kind of display environment, having solved in the common GUI system drawing process needs to express the difficult problem of graphic element according to the display requirement classification of multiple standards or standard.
[description of drawings]
Fig. 1 solves the workflow diagram of GUI graphics system dynamic switch method under multiple display standard for the present invention.
Fig. 2 draws the effect schematic diagram that district's figure upgrades to multiple display standard in the inventive method.
[embodiment]
The present invention solves GUI graphics system dynamic switch method under multiple display standard, with drafting district in the GUI graphics system and viewing area separate processes, makes drafting memory field and display memory in the GUI system distinguish the design realization, handle.And realize drawing dynamically updating of data in district and the viewing area and show based on the technology of image processing, thereby simplify GUI system drawing process when a kind of display standard or standard environment switch to another kind of display environment, solved the display requirement classification that needs in the common GUI system drawing process according to multiple standards or standard and expressed the difficult problem of graphic element, specifically comprised the steps:
(a) prepare the GUI resource according to the drafting district (size and ratio) in practical business application and the display standard that may support and the standard design realization GUI system, and according to drawing to distinguish;
In originally executing example GUI system, consider to support 1080I/P, 720P, PAP standard and four kinds of display environments of TSC-system formula, promptly support four kinds of switchings between the display environment, consider to take into account four kinds of display effects under the display environment simultaneously, such as figure displaying ratio under the high definition environment is 16: 9, and the figure displaying ratio is 4: 3 under the SD environment.After considering multiple factor, the size in the drafting district in the design GUI system is 800 * 525.The figure of all application all will be drawn in { (0,0), (800, the 525) } coordinate system of drawing the district in the promptly later GUI system.Equally, select appropriate font storehouse and picture resource etc. according to the size (800 * 525) of drawing the district, fontlib is selected 24 * 24 dot matrix word library.
(b) generate a viewing area that meets current display standard according to set-top box current display standard or standard, related with the display device bottom, promptly be ready to the OSD (On Screen Display) that shows;
1080I/P, 720P, PAP standard and the four kinds of display environments of TSC-system formula supported in the corresponding step (a) and switching mutually thereof, the size of concrete viewing area is respectively 1344 * 756,1024 * 720,640 * 520 and 640 * 450 under design 1080I/P, 720P, PAP standard and four kinds of display environments of TSC-system formula.Certainly, constantly only can be a kind of in four kinds of display environments specifically at each.
(c) service application current according to set-top box be the graphic picture that painting canvas is drawn current application with the drafting district of GUI system, and notice OSD upgraded;
GUI draws and expresses is all GUI systems indispensable processes in service.In the inventive method, the drafting expression process of GUI does not have special character in this step and other GUI system, promptly by the principle of computer graphics, the graphic element in the picture of every frame GUI is drawn on the drafting district, so repeat no more.
In addition,, select to use the signalisation OSD renewal of notice OSD when changing, promptly allow subsequent step start working in the drafting district in order to improve later stage OSD updating efficiency.
(d) after the viewing area finds that update event is arranged, according to drawing district's size and the ratio of width to height with viewing area (OSD), adopt image processing techniques to draw to distinguish the zone that needs in the figure to upgrade to be processed into size and ratio on the OSD correspondence position, and be updated on the OSD correspondence position, upgrade thereby finish once;
Be responsible for part that OSD upgrades in the system and obtain to draw the district when notification signal of data variation is arranged, start the step of Data Update among the OSD each.Being drawn on the GUI picture data of drawing the district in step (c) is the data bitmap of a frame GUI figure in fact.With these data is that one of fundamental construction is based on the view data body in the internal memory, then according to needed target sizes in current OSD district and effect, adopt image process method to carry out integral transformation to view data, promptly amplify, dwindle, stretch, press inclined to one side, hyperchromic, operation such as lose lustre, be met the image frame of target viewing area standard (1080I/P, 720P, PAP standard and TSC-system formula) at last.
From the above mentioned, this step mainly is to handle view data in the drawing area according to the requirement of target display environment.Concrete view data is handled and is generally finished by two kinds of approach in actual product: the one, finish by the image processing module of the hardware supports that provides in the product platform; The 2nd, finish by software algorithm.As the image processing function of hardware supports is arranged in the fruit product, then adopting will be extremely simple, quick, efficient by way of an image processing of finishing in this step.Finish image processing by software algorithm and be actually coordinate transform and the color interpolation that pixel in the source images is carried out two-dimensional space.For example, the equation of transformation of scale is:
X Y a 0 0 d = ax dy = X , Y ,
If during a=d=1 is identical transformation;
If a=d ≠ 1st, the geometric ratio conversion, a=d>1st, geometric ratio is amplified, a=d<1st, geometric ratio is dwindled.
At present popular image processing software algorithm is very many, does not repeat them here.
To draw the frame picture data in the district, the data that obtain according to the canonical transformation of target display requirement can directly be created among the OSD, promptly finish the demonstration of the every frame figure among the GUI, go round and begin again like this, continuous GUI graphic picture will show in OSD, finishes display application.
(e) repetition above-mentioned steps (c), (d) finish the demonstration support of system to current display standard/standard;
(f) when display standard/standard changes, repeating step (b), and then (c), (d) finish the demonstration support of GUI system to current new display standard/standard set by step.
The present invention solves GUI graphics system dynamic switch method under multiple display standard, and its core concept is that the graphic plotting district of GUI system is separated with the viewing area, and two distinguishes processing, dynamically updates GUI and draw district's data to the viewing area.Draw like this and distinguish the interior GUI course of work does not need to consider the target viewing area in certain degree result, the GUI that is absorbed in applied business expresses; The demonstration size of viewing area and wide high proportion then can be adjusted in real time according to the target display environment; By set up drawing the mapping relations of district and viewing area, utilize the method for graph transformation to realize that the Data Dynamic in two memory fields upgrades.
Figure 1 shows that GUI graphics system of the present invention main process step of dynamic switching under multiple display standard, at first design realizes that GUI draws the district, prepare the GUI resource, judged whether the GUI graphic plotting, if the GUI graphic plotting is arranged, then graphing and notify OSD to upgrade if OSD needs to upgrade, then carries out the demonstration of OSD targeted graphical after graph transformation upgrades with OSD; When switching display standard, triggered by display environment, after the environment that target shows reset and OSD generates, current display parameters will use in the GUI renewal process, finished at last to switch back OSD targeted graphical and show.
Fig. 2 is when using the trial system operation of the technology of the present invention, the graphic result of data is distinguished in the graphic result of the viewing area graph data in 1080I/P, 720P, pal mode and four kinds of display environments of TSC-system formula and drafting respectively, they have reflected the result schematic diagram shape effect of using the technology of the present invention realization 1080I/P, 720P, pal mode and four kinds of display standards of TSC-system formula truly, embodied the technology of the present invention four kinds of display environments under actual effect, as distortion, the distortion level of figure, font and color.
Most preferred embodiment described above only is that the present invention is set forth and illustrates, but is not limited to disclosed any concrete form, and it is possible carrying out many modifications and variations.

Claims (8)

1. one kind solves GUI graphics system dynamic switch method under multiple display standard, comprises the steps:
(a) prepare the GUI resource according to the display standard of service application and support and the drafting district in the standard design realization GUI system, and according to drawing the district;
(b) generate a viewing area that meets current display standard according to current display standard or standard, related with the display device bottom, promptly be ready to the OSD that shows;
(c), be the graphic picture that painting canvas is drawn current application with the drafting district of GUI system, and notice OSD upgrade according to current service application;
(d) after the viewing area finds that update event is arranged, according to drawing district's size and the ratio of width to height with the viewing area, adopt the technology of image processing to draw to need in district's figure the zone of upgrading to be processed into size and ratio on the OSD correspondence position, and be updated on the OSD correspondence position, finish once renewal;
(e) repeating step (c), (d) finish the demonstration support of system to current display standard/standard;
(f) change when display standard/standard, repeating step (b), and then (c), (d) finish the demonstration support of GUI system to current new display standard/standard set by step.
2. solution GUI graphics system as claimed in claim 1 dynamic switch method under multiple display standard, it is characterized in that: select to use the signalisation OSD renewal of notice OSD when changing in the drafting district, allow subsequent step start working, to improve the OSD updating efficiency.
3. solution GUI graphics system as claimed in claim 2 dynamic switch method under multiple display standard, it is characterized in that: when in each acquisition drafting district the notification signal of data variation being arranged, the part that responsible OSD upgrades will start the step of Data Update among the OSD.
4. solution GUI graphics system as claimed in claim 2 dynamic switch method under multiple display standard, it is characterized in that: to be drawn on the GUI picture data of drawing the district is that one of fundamental construction is based on the view data body in the internal memory, then according to needed target sizes in current OSD district and effect, adopt image process method to carry out integral transformation to view data, be met the image frame of target viewing area standard at last.
5. solution GUI graphics system as claimed in claim 4 dynamic switch method under multiple display standard is characterized in that: described view data is handled and can be finished by the image processing module of the hardware supports that provides in the product platform.
6. solution GUI graphics system as claimed in claim 4 dynamic switch method under multiple display standard is characterized in that: described view data is handled and can be finished by software algorithm.
7. solution GUI graphics system as claimed in claim 6 dynamic switch method under multiple display standard, it is characterized in that: described software algorithm is finished image processing and is actually coordinate transform and the color interpolation that pixel in the source images is carried out two-dimensional space.
8. as any one described solution GUI graphics system dynamic switch method under multiple display standard in the claim 1 to 7, it is characterized in that: to draw the frame picture data in the district, the data that obtain according to the canonical transformation of target display requirement can directly be created among the OSD, promptly finish the demonstration of the every frame figure among the GUI, go round and begin again like this, continuous GUI graphic picture will show in OSD, finishes display application.
CN200710124969XA 2007-12-12 2007-12-12 Method for solving dynamic switch of GUI graphical system under various display standard Expired - Fee Related CN101350896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710124969XA CN101350896B (en) 2007-12-12 2007-12-12 Method for solving dynamic switch of GUI graphical system under various display standard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710124969XA CN101350896B (en) 2007-12-12 2007-12-12 Method for solving dynamic switch of GUI graphical system under various display standard

Publications (2)

Publication Number Publication Date
CN101350896A CN101350896A (en) 2009-01-21
CN101350896B true CN101350896B (en) 2011-01-12

Family

ID=40269448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710124969XA Expired - Fee Related CN101350896B (en) 2007-12-12 2007-12-12 Method for solving dynamic switch of GUI graphical system under various display standard

Country Status (1)

Country Link
CN (1) CN101350896B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990073A (en) * 2009-08-03 2011-03-23 康佳集团股份有限公司 Display device, and method and system for realizing multi-layer on screen display (OSD) refreshing management
CN106022832A (en) * 2016-05-23 2016-10-12 北京金山安全软件有限公司 Method and device for pushing value added service information and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964442A (en) * 2005-11-09 2007-05-16 上海奇码数字信息有限公司 A control system for screen display

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964442A (en) * 2005-11-09 2007-05-16 上海奇码数字信息有限公司 A control system for screen display

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开2007-108499A 2007.04.26
JP特开平10-126710A 1998.05.15

Also Published As

Publication number Publication date
CN101350896A (en) 2009-01-21

Similar Documents

Publication Publication Date Title
US8571338B2 (en) Image file generation device, image processing device, image file generation method, and image processing method
KR101639852B1 (en) Pixel value compaction for graphics processing
CN103810675A (en) Image super-resolution reconstruction system and method
CN104321752B (en) Virtual surface is distributed
CN101795350B (en) Non-linear image double amplifying method based on relevance detection
US9208537B1 (en) Super-resolution reconstructing method for enhancing smoothness and sharpness of video image
CN101227554B (en) Method and system for implementing self-adapting display of set-top box on television
CN101510421B (en) Method and apparatus for regulating dot-character size, and embedded system
JP2020173771A (en) Video processing device and video processing method
CN109389558A (en) A kind of method and device for eliminating image border sawtooth
CN101350896B (en) Method for solving dynamic switch of GUI graphical system under various display standard
CN109493331B (en) Method for rapidly acquiring overlapping area of two images based on parallel computing algorithm
GB2524047A (en) Improvements in and relating to rendering of graphics on a display device
CN111435589B (en) Target display method and device and target display system
US20100182331A1 (en) Method and apparatus for drawing image
CN107908455B (en) Browser page switching method and system
WO2010134292A1 (en) Drawing device and drawing method
US20110025708A1 (en) Image processing apparatus and control method thereof
CN106940634B (en) Screen resolution switching method and system
CN102662612B (en) A method and a system for displaying MRC-form picture files by using Qt bank
US20080062204A1 (en) Automated pixel snapping for anti-aliased rendering
KR102470242B1 (en) Image processing device, image processing method and program
EP2693426A1 (en) Display apparatus, image post-processing apparatus and method for image post-processing of contents
CN106658121A (en) Method and system for set-top box to display fingerprint information
CN101448107A (en) Method for realizing high definition (HD) and standard definition (SD) GUI dual display output

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
ASS Succession or assignment of patent right

Owner name: SHENZHEN SKYWORTH SOFTWARE CO., LTD.

Free format text: FORMER OWNER: SKY-WORTH DIGITAL TECHNOLOGY CO., LTD.;SHENZHEN CITY

Effective date: 20120418

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20120418

Address after: 518000 Shenzhen city Nanshan District Gao Xin Road No. 008 building, room 704, SKYWORTH A703

Patentee after: Shenzhen Skyworth Software Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road SKYWORTH building A14

Patentee before: Shenzhen Skyworth Digital Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110112

Termination date: 20151212

EXPY Termination of patent right or utility model