CN102591580B - View object refreshing method and view object refreshing system - Google Patents
View object refreshing method and view object refreshing system Download PDFInfo
- Publication number
- CN102591580B CN102591580B CN201210005012.4A CN201210005012A CN102591580B CN 102591580 B CN102591580 B CN 102591580B CN 201210005012 A CN201210005012 A CN 201210005012A CN 102591580 B CN102591580 B CN 102591580B
- Authority
- CN
- China
- Prior art keywords
- background picture
- picture
- view area
- view
- change operation
- 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
Links
Landscapes
- Image Generation (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to an efficient view object refreshing method and a view object refreshing system. The view refreshing method includes establishing pictures matched with a view area to serve as initial background pictures of the view area; establishing transparent pictures and drawing pictures requiring to be displayed in the transparent pictures to form objects; drawing the objects on the initial background pictures to replace background pictures; and drawing the background picture on the view area. The view object refreshing method and the view object refreshing system only refresh specific objects without refreshing specific partial areas, thereby greatly improving refreshing efficiency of the view area.
Description
Technical field
The present invention relates to computer vision and refresh field, be specifically related to a kind of view object method for refreshing and view object updating system.
Background technology
The implementation method that two kinds conventional is had: the first implementation method is that the overall situation refreshes, and refers to when needs repaint view, then again refreshes whole view area in the view method for refreshing of present computer; The second implementation method is Local hydrodynamic unit, refers to when needs repaint view, then again refresh the specific view area in corresponding local.These two kinds of implementation methods can realize the refreshing to view, but if computer just needs the view area refreshing a part, the method that the overall situation refreshes but can carry out again refreshing to whole region, and this just greatly reduces refresh rate; And the method for Local hydrodynamic unit only refreshes again to specific regional area, the method for the more overall refreshing of refresh rate can be higher.If but needed to there is a large amount of objects to be refreshed in the regional area refreshed, so the efficiency of Local hydrodynamic unit would also be lower.
Summary of the invention
The object of the invention is to overcome the shortcoming of background technology and deficiency, a kind of view object method for refreshing is efficiently provided, the method can only refresh specific object, and does not need to refresh specific regional area, thus improves the refreshing efficiency of view area widely.
Object of the present invention is achieved through the following technical solutions, and a kind of view object method for refreshing efficiently, comprises the following steps:
A kind of view object method for refreshing, its feature is comprising the steps:
Create the picture matched with view area, as the initial background picture of view area;
Create transparent picture, and in transparent picture, draw the figure formation object needing display;
By objects draw on initial background picture, upgrade background picture with the background picture after rendered object;
Background picture after upgrading is plotted to view area;
When receiving the instruction of the object in change operation view area, re-create an initial background picture, and will in view area, not need the object carrying out change operation to repaint on initial background picture, the background picture not needing the object carrying out change operation is had to upgrade background picture with drawing, again by upgrade after background picture be plotted to view area, and by change operation process by operand real-time rendering to view area.
View object updating system of the present invention, comprising:
Creation module, for creating the picture matched with view area, as the initial background picture of view area; And create transparent picture, and in transparent picture, draw the figure formation object needing display;
Drafting module, for by objects draw to initial background picture, upgrade background picture with the background picture after rendered object, and background picture be plotted to view area;
Described creation module is also for when receiving the instruction of the object in change operation view area, re-create an initial background picture, described drafting module is not also for will need the object carrying out change operation to repaint at initial background picture in view area, with draw have do not need the object carrying out change operation background picture upgrade background picture, then by change operation process by operand real-time rendering to view area.
The present invention has following advantage and effect relative to prior art:
The invention provides a kind of view object method for refreshing and view object updating system efficiently, only refresh specific object, and do not need to refresh specific regional area, thus improve the refreshing efficiency of view area widely.
Accompanying drawing explanation
Fig. 1 is the flow chart of view object method for refreshing of the present invention;
Fig. 2 is view object updating system block diagram of the present invention.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, elaboration detailed is further done to the present invention, but embodiments of the present invention are not limited thereto.
Embodiment one
View object method for refreshing of the present invention, as shown in Figure 1, comprises step:
Step S101 creates the picture matched with view area, as the initial background picture of view area;
Step S102 creates transparent picture, and in transparent picture, draw the figure formation object needing display; Here figure comprises text;
Objects draw on initial background picture, is upgraded background picture with the background picture after rendered object by step S103;
Background picture after renewal is plotted to view area by step S104.
View method for refreshing of the present invention, be first by the graphic plotting of required display on transparent picture, then by background picture, all Object Management groups to be got up, and are plotted to view area.The object of transparent picture is selected to be the existing object do not blocked in background picture and background picture.Adopt view method for refreshing of the present invention not need to operate already present object, also do not need to refresh regional area, and just refresh specific object, thus greatly increase the efficiency creating new object.
When creating new object in view area, view method for refreshing of the present invention can also comprise step: when receiving the new subject instructions of establishment, create transparent picture, and on transparent picture, draw the figure needing display, form new object, by new objects draw in the current background picture in view area, upgrade background picture with the background picture drawn after new object, and the background picture after upgrading is plotted to view area.
View method for refreshing of the present invention can also comprise step: when receiving the instruction of the object in change operation view area, as moved a certain object, convergent-divergent, the instruction of the font of rotation process or change text etc., re-create an initial background picture, and will in view area, not need the object carrying out change operation to repaint on initial background picture, the background picture not needing the object carrying out change operation is had to upgrade background picture with drawing, again the background picture after renewal is plotted to view area, and by change operation process by operand real-time rendering to view area.Because only need to cross Cheng Qian and repaint once and only redraw an initial background picture carrying out map function to existing object, and will in view area, not need the object carrying out change operation to repaint on initial background picture, the background picture not needing the object carrying out change operation is had to upgrade background picture with drawing, again by upgrade after background picture be plotted to view area, and by change operation process by operand real-time rendering to view area.And need not repeat to refresh to not needing the object carrying out change operation, thus substantially increase view refresh rate.
When needing to delete the object in a certain view area, only need redraw once and only redraw an initial background picture, and the object except needing deleting object is repainted on background picture, upgrade background picture with the background picture drawing the object had except needing deleting object, then the background picture after upgrading is plotted to view area.
Embodiment 2
For a concrete implementation process, view object method for refreshing of the present invention is further elaborated below:
The present embodiment creates in view area object A and B that two need display, and move and deletion action object A, thus embody advantage of the present invention and effect.Its concrete steps are as follows:
First a picture matched with view area size is created, as the background picture of view area; Create two transparent pictures again, then on a transparent picture, draw a circular formation object A, rendered object triangle forms object B on the other, has the background picture of object A and object B to be plotted to view area drafting after object A and object B being plotted on background picture afterwards.
As needs mobile object A, only need redraw once and only paint an initial background picture, namely first background picture is emptied, then object B is plotted on background picture, background picture is upgraded with drawing the background picture having object B, background picture after upgrading is plotted to view area, and in mobile object A process, real-time is plotted to the object A in moving process in view area.In the process of mobile object A, only need constantly to refresh the object A in moving process, and do not need to refresh background picture.
As needs deleting object A, only need to redraw a background picture, namely first empty background picture, then object B is plotted on background picture, upgrade background picture with the background picture depicting object B, and be plotted to view area by after the background picture after renewal.
Embodiment 3
View object updating system of the present invention, as described in Figure 2, comprising:
Creation module, for creating the picture matched with view area, as the initial background picture of view area; And create transparent picture, and in transparent picture, draw the figure formation object needing display;
Drafting module, for by objects draw to initial background picture, upgrade background picture with the background picture after rendered object, and background picture be plotted to view area.
The creation module of view object updating system of the present invention is also for when receiving the new subject instructions of establishment, create transparent picture, and on transparent picture, draw the figure needing display, form new object, drafting module also for by new objects draw in the current background picture in view area, refresh after background picture and background picture be plotted to view area.
Creation module is also for when receiving the instruction of the object in creation operation view area, by in creation operation process by operand real-time rendering to background picture, and the real-time background picture renewal initial background picture had with drafting in creation operation process, and in real time background picture is plotted to view area.
The creation module of view object updating system of the present invention is also for when receiving the instruction of the object in change operation view area, as moved a certain object, convergent-divergent, the instruction of the font of rotation process or change text etc., re-create once and only re-create an initial background picture, drafting module is not also for will need the object carrying out change operation to repaint at initial background picture in view area, the background picture not needing the object carrying out change operation is had to upgrade background picture with drawing, again the background picture after renewal is plotted to view area, and by change operation process by operand real-time rendering to view area.
The creation module of view object updating system of the present invention is also for when receiving the instruction of the object deleted in a certain view area, creation module re-creates an initial background picture, described drafting module also for and the object except needing deleting object is repainted background picture, upgrade background picture with the background picture drawing the object had except needing deleting object, then the background picture after upgrading is plotted to view area.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within claims of the present invention.
Claims (8)
1. a view object method for refreshing, its feature is comprising the steps:
Create the picture matched with view area, as the initial background picture of view area;
Create transparent picture, and in transparent picture, draw the figure formation object needing display;
By objects draw on initial background picture, upgrade background picture with the background picture after rendered object;
Background picture after upgrading is plotted to view area;
When receiving the instruction of the object in change operation view area, re-create an initial background picture, and will in view area, not need the object carrying out change operation to repaint on initial background picture, the background picture not needing the object carrying out change operation is had to upgrade background picture with drawing, again by upgrade after background picture be plotted to view area, and by change operation process by operand real-time rendering to view area.
2. view object method for refreshing according to claim 1, it is characterized in that, also comprise step: when receiving the new subject instructions of establishment, create transparent picture, and on transparent picture, draw the figure needing display, form new object, by new objects draw in the current background picture in view area, upgrade background picture with the background picture drawn after new object, and the background picture after upgrading is plotted to view area.
3. view object method for refreshing according to claim 1, is characterized in that described change operation comprises movement, convergent-divergent, rotation, font change.
4. view object method for refreshing according to claim 1, characterized by further comprising step: when receiving the instruction of the object deleted in a certain view area, re-create an initial background picture, and the object except needing deleting object is repainted on background picture, upgrade background picture with the background picture drawing the object had except needing deleting object, then the background picture after upgrading is plotted to view area.
5. a view object updating system, is characterized in that comprising:
Creation module, for creating the picture matched with view area, as the initial background picture of view area; And create transparent picture, and in transparent picture, draw the figure formation object needing display;
Drafting module, for by objects draw to initial background picture, upgrade background picture with the background picture after rendered object, and background picture be plotted to view area;
Described creation module is also for when receiving the instruction of the object in change operation view area, re-create an initial background picture, described drafting module is not also for will need the object carrying out change operation to repaint at initial background picture in view area, with draw have do not need the object carrying out change operation background picture upgrade background picture, then by change operation process by operand real-time rendering to view area.
6. view object updating system according to claim 5, it is characterized in that described creation module also for when receiving the new subject instructions of establishment, create transparent picture, and on transparent picture, draw the figure needing display, form new object, described drafting module also for by new objects draw in the current background picture in view area, upgrade background picture with drawing the background picture after new object, and the background picture after upgrading be plotted to view area.
7. view object updating system according to claim 5, is characterized in that described change operation comprises movement, convergent-divergent, rotation, font change.
8. view object updating system according to claim 5, it is characterized in that described creation module also for when receiving the instruction of the object deleted in a certain view area, creation module re-creates an initial background picture, described drafting module is also for repainting background picture the object except needing deleting object, upgrade background picture with the background picture drawing the object had except needing deleting object, then the background picture after upgrading is plotted to view area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210005012.4A CN102591580B (en) | 2012-01-06 | 2012-01-06 | View object refreshing method and view object refreshing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210005012.4A CN102591580B (en) | 2012-01-06 | 2012-01-06 | View object refreshing method and view object refreshing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102591580A CN102591580A (en) | 2012-07-18 |
CN102591580B true CN102591580B (en) | 2015-04-29 |
Family
ID=46480329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210005012.4A Expired - Fee Related CN102591580B (en) | 2012-01-06 | 2012-01-06 | View object refreshing method and view object refreshing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102591580B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110471700A (en) * | 2019-08-06 | 2019-11-19 | Oppo广东移动通信有限公司 | Graphic processing method, device, storage medium and electronic equipment |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375793A (en) * | 2014-10-15 | 2015-02-25 | 武汉润凌科技有限公司 | Embedded system background image update-displaying method |
CN107145313A (en) * | 2016-03-01 | 2017-09-08 | 腾讯科技(深圳)有限公司 | Method for displaying image and device |
CN107688575A (en) * | 2016-08-04 | 2018-02-13 | 创盛视联数码科技(北京)有限公司 | The method of picture presentation |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1510568A (en) * | 2002-12-26 | 2004-07-07 | 英业达股份有限公司 | Screen updating method |
CN101123607A (en) * | 2007-08-17 | 2008-02-13 | 北京金山软件有限公司 | Dynamically refreshing method and device for image information in webpage |
CN101499172A (en) * | 2009-03-06 | 2009-08-05 | 深圳华为通信技术有限公司 | ActiveX drafting method and device |
CN102214363A (en) * | 2010-04-12 | 2011-10-12 | 上海可鲁系统软件有限公司 | Drawing method used during vector graphics moving process |
-
2012
- 2012-01-06 CN CN201210005012.4A patent/CN102591580B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1510568A (en) * | 2002-12-26 | 2004-07-07 | 英业达股份有限公司 | Screen updating method |
CN101123607A (en) * | 2007-08-17 | 2008-02-13 | 北京金山软件有限公司 | Dynamically refreshing method and device for image information in webpage |
CN101499172A (en) * | 2009-03-06 | 2009-08-05 | 深圳华为通信技术有限公司 | ActiveX drafting method and device |
CN102214363A (en) * | 2010-04-12 | 2011-10-12 | 上海可鲁系统软件有限公司 | Drawing method used during vector graphics moving process |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110471700A (en) * | 2019-08-06 | 2019-11-19 | Oppo广东移动通信有限公司 | Graphic processing method, device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102591580A (en) | 2012-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102591580B (en) | View object refreshing method and view object refreshing system | |
CN103226453B (en) | Method for mapping display and operation of mobile phone screen to computer terminal | |
JP2020530161A (en) | Map data processing method, computer equipment and storage medium | |
CN104951364B (en) | A kind of language switching method and system based on Android platform | |
CN104112028A (en) | Method and device for displaying cable underground pipe network | |
CN101882321B (en) | System and method for rendering animation user interface | |
CN101727282B (en) | Method for achieving interactive interface cartoon | |
CN103035164B (en) | Rendering method and system of geographic information system | |
CN104090827B (en) | Two-dimensional platform and three-dimensional platform integrated pipeline data synchronization and linkage method | |
CN105808217A (en) | Flow chart drawing method and system based on XML | |
CN101763234B (en) | Method and device for simulating various screen resolutions | |
CN102467519B (en) | Visualization plotting method and system based on geographic information system | |
CN104536743A (en) | Map plotting method and system based on Android operating system | |
CN102681853A (en) | Method and device for realizing 3D (3-Dimensional) screen rotation of desktop of Android operating system by using OpenGL ES (OpenGL for Embedded Systems) | |
CN101859322A (en) | Webpage display method for mobile terminal | |
CN105224337B (en) | A kind of desktop starter dynamic addition floating window method | |
CN102436669A (en) | Two-dimensional vector map drawing method | |
CN103020888A (en) | Image translation updating display method and system | |
CN103076984A (en) | Touch screen interaction method and system | |
CN109859109A (en) | A kind of Serial Scale PDF map seamless organization and display methods | |
CN102446082A (en) | Window refreshing method and device | |
CN104504701A (en) | Image display method and system based on streetscape attribute information | |
CN104375793A (en) | Embedded system background image update-displaying method | |
CN106096121A (en) | Intelligent building project method for drawing map based on universal map control | |
US8887073B2 (en) | Reshaping interfaces using content-preserving warps |
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 | ||
CP03 | Change of name, title or address |
Address after: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233 Patentee after: VTRON GROUP Co.,Ltd. Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No. Patentee before: VTRON TECHNOLOGIES Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150429 Termination date: 20220106 |
|
CF01 | Termination of patent right due to non-payment of annual fee |