CN106383683B - A kind of screen-refresh system, method and device - Google Patents

A kind of screen-refresh system, method and device Download PDF

Info

Publication number
CN106383683B
CN106383683B CN201610831460.8A CN201610831460A CN106383683B CN 106383683 B CN106383683 B CN 106383683B CN 201610831460 A CN201610831460 A CN 201610831460A CN 106383683 B CN106383683 B CN 106383683B
Authority
CN
China
Prior art keywords
window
frame buffer
region
management system
area
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.)
Active
Application number
CN201610831460.8A
Other languages
Chinese (zh)
Other versions
CN106383683A (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 Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201610831460.8A priority Critical patent/CN106383683B/en
Publication of CN106383683A publication Critical patent/CN106383683A/en
Application granted granted Critical
Publication of CN106383683B publication Critical patent/CN106383683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling

Abstract

This application discloses a kind of screen-refresh systems, method and device, system includes window management system and at least one window application, wherein: window, which is applied, is determining that Xiang Suoshu window management system sends refreshing instruction when being refreshed, and includes refresh region in refreshing instruction;Window management system obtains the refresh region that received each refreshing instruction is included in current period, compositing area group;Determine that there are the target windows of intersection for any one refresh region in window area and the region group, as the object for sending drawing for order, it avoids after the prior art seeks union to each refresh region, the window drawn will not needed as the object for sending drawing for order yet, avoid unnecessary mapping operation.

Description

A kind of screen-refresh system, method and device
Technical field
This application involves screen-refresh technical fields, more specifically to a kind of screen-refresh system, method and dress It sets.
Background technique
A frame buffer zone frame buffer in the screen correspondence system of terminal, frame buffer are pre-assigned One block buffering memory stores pixel content to be shown in memory.Bottom can generally provide an interface, by frame buffer In content be shown on terminal screen.
Multiple windows can be existed simultaneously on terminal screen, refreshing, drawing, upper screen of multiple windows etc. are operated by window pipe The unified management of reason system.Window management system externally provides unified refresh interface, and any window can be refreshed by this Interface notification window management system refreshes specified region (usually region shared by window).For window management system Speech, region is rectangle.Window management system merges the received each new region to be brushed of institute in a cycle, seeks surrounding The minimum rectangular area of each refresh region.Further, determine that there are the mesh of intersection with the minimum rectangular area in region shared by window Mark window.According to the sequence of window level from low to high, drawing for order successively is sent to each target window.Each target window is being received Content drafting is carried out to corresponding region in frame buffer when to drawing for order.Window management system is determining all target windows Mouth draw finish after, the contents on screen in frame buffer is shown.
Inventor passes through the study found that the prior art can have the process of extra drawing in some cases, referring to Example shown in Fig. 1: including three windows, respectively window 11, window 12 and window 13 in screen 10 altogether.Assuming that in a cycle Interior window 11 and window 13 are refreshed, and have sent refresh requests to window management system, and window 12 does not need Refreshed.According to the prior art, window management system can seek union to window 11 and window 13, obtain region 14.And then to There are each windows of intersection to send drawing for order with the region 14.Since there are intersections with region 14 for window 12, will receive Drawing for order, and 12 corresponding region of window in buffer memory is carried out to repeat drawing.And it is obvious, window 12 shows that content does not produce Changing, repeating to draw wastes time, and also occupies limited drawing resource.
Summary of the invention
In view of this, this application provides a kind of screen-refresh system, method and device, to solve the prior art in the presence of more Remaining drawing course, the problem of wasting time and occupy drawing resource.
To achieve the goals above, it is proposed that scheme it is as follows:
A kind of screen-refresh system, including window management system and an at least window application, in which:
The window, which is applied, to be used for, and is determining that Xiang Suoshu window management system sends refreshing instruction when being refreshed, It include refresh region in refreshing instruction;
The window management system is used for, and obtains the refresh region that received each refreshing instruction is included in current period, Compositing area group;According to each window area on terminal screen, any one flush zone in window area and the region group is determined There are the target windows of intersection in domain;According to window level sequence from low to high, to the corresponding mesh of determining each target window It marks window application and sends drawing for order;
The window application is also used to, when receiving the drawing for order that the window management system is sent, with the window Management system interaction, realizes the drawing to frame buffer zone frame buffer;
The window management system is also used to, after determining that each target window application is drawn, to frame buffer zone Content in frame buffer carries out screen and shows.
It preferably, include the window of target window to the drawing for order that the corresponding target window application of target window is sent The intersection area of each refresh region in region and the region group;
The window is applied when receiving the drawing for order that the window management system is sent, with the window management system Interaction is realized the process of the drawing to frame buffer zone frame buffer, is specifically included:
When receiving the drawing for order comprising the intersection area that the window management system is sent, the window is called The drawing interface that management system provides, draws to intersection area described in the frame buffer of frame buffer zone.
Preferably, include to the drawing for order that the corresponding target window application of target window is sent, in the region group Each refresh region;
The window is applied when receiving the drawing for order that the window management system is sent, with the window management system Interaction is realized the process of the drawing to frame buffer zone frame buffer, is specifically included:
When receiving the drawing for order including region group that the window management system is sent, determine that the application of this window corresponds to The intersection area of each refresh region in the region group that the window area of window and the drawing for order include;
The drawing interface for calling the window management system to provide, to intersection area described in the frame buffer of frame buffer zone It draws in domain.
A kind of screen refresh method is applied to window management system, this method comprises:
Obtain the refresh region that received each refreshing instruction is included in current period, compositing area group;
According to each window area on terminal screen, determine that window area is deposited with any one refresh region in the region group In the target window of intersection;
According to window level sequence from low to high, sent to the corresponding target window application of determining each target window Drawing for order is realized with triggering target window using interacting with the window management system to frame buffer zone frame buffer Drawing, and upper screen is carried out to the content in the frame buffer zone frame buffer after drawing and is shown.
It preferably, include the window of target window in the drawing for order sent to the corresponding target window application of target window The intersection area of each refresh region in mouth region domain and the region group;
The window management system is interacted with target window application, realizes the drawing to frame buffer zone frame buffer Process, comprising:
Target window is received using the call request to drawing interface, the call request includes the intersection area;
The drawing interface is called, is drawn to intersection area described in the frame buffer of frame buffer zone.
Preferably, include in the drawing for order sent to the corresponding target window application of target window, in the region group Each refresh region, so that target window application determines the window area and the drawing for order packet of the corresponding window of this window application The intersection area of each refresh region in the region group contained.
A kind of screen-refresh device, is applied to window management system, which includes:
Region group acquiring unit, for obtaining the refresh region that received each refreshing instruction is included in current period, group At region group;
Target window determination unit, for determining window area and the area according to each window area on terminal screen There are the target windows of intersection for any one refresh region in the group of domain;
Drawing for order transmission unit, for according to window level from low to high sequence, to determining each target window Corresponding target window application sends drawing for order, to trigger target window using interacting with the window management system, realizes Drawing to frame buffer zone frame buffer, and upper screen is carried out to the content in the frame buffer zone frame buffer after drawing Display.
Preferably, the drawing for order that the drawing for order transmission unit is sent to the corresponding target window application of target window In include the intersection area of each refresh region in the window area of target window and the region group;
The device further include:
Call request receiving unit, for receiving target window using the call request to drawing interface, the calling is asked It asks including the intersection area;
Drawing interface call unit is handed over for calling the drawing interface described in the frame buffer of frame buffer zone It draws in collection region.
Preferably, the drawing for order that the drawing for order transmission unit is sent to the corresponding target window application of target window In include each refresh region in the region group, so that target window application determines the window of the corresponding window of this window application The intersection area of each refresh region in the region group that region and the drawing for order include.
It can be seen from the above technical scheme that screen-refresh system provided by the embodiments of the present application, including window management System and at least one window application, in which: the window, which is applied, to be used for, in determining refreshed, Xiang Suoshu window Management system sends refreshing instruction, includes refresh region in refreshing instruction;The window management system is used for, and obtains current period The refresh region that interior received each refreshing instruction is included, compositing area group;According to each window area on terminal screen, determine There are the target windows of intersection for any one refresh region in window area and the region group;It is suitable from low to high according to window level Sequence sends drawing for order to the corresponding target window application of determining each target window;The window application is also used to, It when receiving the drawing for order that the window management system is sent, interacts, is realized to frame buffer zone with the window management system The drawing of frame buffer;The window management system is also used to, right after determining that each target window application is drawn Content in the frame buffer of frame buffer zone carries out screen and shows.It can be seen that the application window management system determines window There are the target windows of intersection for any one refresh region in region and the region group keeps away as the object for sending drawing for order Exempt from that object of the window drawn yet as transmission drawing for order will not be needed after the prior art seeks union to each refresh region, Avoid unnecessary mapping operation.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of exemplary multiwindow schematic diagram of the embodiment of the present application;
Fig. 2 is a kind of screen-refresh system structure diagram disclosed in the embodiment of the present application;
Fig. 3 is a kind of the embodiment of the present application screen refresh method flow chart disclosed in the window management system angle;
Fig. 4 is the embodiment of the present application another kind screen refresh method flow chart disclosed in the window management system angle;
Fig. 5 is a kind of screen-refresh apparatus structure schematic diagram disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
This application provides a kind of screen-refresh systems, and referring to fig. 2, Fig. 2 is a kind of screen disclosed in the embodiment of the present application Updating system structural schematic diagram.
As shown in Fig. 2, the system includes:
Window management system 100 and at least a window apply 110, in which:
The window is used for using 110, is determining that when being refreshed, Xiang Suoshu window management system, which sends to refresh, to be referred to It enables, includes refresh region in refreshing instruction;
Specifically, window is applied is necessary to determine whether to be refreshed according to application, the content shown with refresh window. Window is using the application of such as caption window.Window is applied when determination needs to refresh, and sends refreshing instruction to window management system, It include refresh region in refreshing instruction, which is the determining region refresh of window application.It is general, Refresh region is entire window area, and certain refresh region is also possible to a certain partial region in window area.
The window management system 100 is used for, and obtains the flush zone that received each refreshing instruction is included in current period Domain, compositing area group;According to each window area on terminal screen, any one refreshing in window area and the region group is determined There are the target windows of intersection in region;According to window level from low to high sequence, it is corresponding to determining each target window Target window application sends drawing for order;
Specifically, window management system is provided with a cycle, and each window is applied can be to window management system within the period System sends refreshing instruction.The refreshing instruction received in window management system statistics a cycle, obtains from each refreshing instruction Refresh region obtains multiple refresh regions, compositing area group.Window management system according to each window area on terminal screen, Determine that there are the windows of intersection for any one refresh region in window area and region group, as target window.Further, according to window Mouth level sequentially, sends drawing for order to the determining corresponding target window application of each target window from low to high.By according to Window level sequentially sends drawing for order from low to high, guarantees that each target window is applied and is sequentially drawn from low to high by level The case where figure is not in low level window gland high-level window.
The window is also used to using 110, when receiving the drawing for order that the window management system 100 is sent, with institute The interaction of window management system 100 is stated, realizes the drawing to frame buffer zone frame buffer;
Specifically, region of the frame buffer in frame buffer zone for one piece of predistribution in memory, counterpart terminal screen, The presence of frame buffer is equivalent to and provides the expression of a What You See Is What You Get of terminal screen in memory.
Window is applied when receiving the drawing for order of window management system transmission, by being handed over window management system Mutually, the drawing to frame buffer may be implemented.
The window management system 100 is also used to, after determining that each target window application is drawn, to frame buffer zone Content in frame buffer carries out screen and shows.
Specifically, determine the application of each target window draw finish when, in the frame buffer of frame buffer zone Rong Shangping is shown.
Screen-refresh system provided by the embodiments of the present application, including window management system and at least one window application, In: the window, which is applied, to be used for, and is being determined that Xiang Suoshu window management system sends refreshing instruction when being refreshed, is being refreshed It include refresh region in instruction;The window management system is used for, and is obtained received each refreshing instruction in current period and is included Refresh region, compositing area group;According to each window area on terminal screen, determines in window area and the region group and appoint Anticipating, there are the target windows of intersection for a refresh region;According to window level from low to high sequence, to determining each target window The corresponding target window application of mouth sends drawing for order;The window application is also used to, and is receiving the window management system hair It when the drawing for order sent, is interacted with the window management system, realizes the drawing to frame buffer zone frame buffer;The window Port management system is also used to, after determining that each target window application is drawn, in the frame buffer of frame buffer zone Content carries out screen and shows.It can be seen that the application window management system determine window area with it is any one in the region group Refresh region as the object for sending drawing for order, avoids the prior art to each refresh region there are the target window of intersection After seeking union, the window drawn will not needed as the object for sending drawing for order, avoid unnecessary mapping operation yet.
It is illustrated referring to the case where Fig. 1 example:
It altogether include three windows, respectively window 11, window 12 and window 13 in screen 10.Assuming that window in one cycle Mouth 11 and window 13 are refreshed, and have sent refresh requests to window management system, and window 12 does not need to carry out Refresh.
According to application scheme, window management system obtains window 11 and 13 compositing area group of window.Due on screen After three windows seek common ground with refresh region each in region group respectively, determine that only there are intersections for window 11 and window 13, therefore It regard window 11 and window 13 as target window.
Window management system sends drawing for order to the application of the window of window 11, is applied and the window by the window of window 11 Port management system interaction, realizes the drawing to the corresponding region of window 11 in the frame buffer of frame buffer zone;Window management system It unites and sends drawing for order to the application of the window of window 13, applied by the window of window 13 and interacted with the window management system, it is real Now to the drawing in the corresponding region of window 13 in the frame buffer of frame buffer zone.
Finally, carrying out upper screen display to the content in the frame buffer zone frame buffer after drawing by window management system Show.
Compared with prior art, it executes rear hatch 12 according to application scheme not needing to draw, when saving drawing Between and resource occupation.
Optionally, window management system can wrap to the drawing for order that the corresponding target window application of target window is sent Contain, the intersection area of each refresh region in the window area of target window and the region group.The intersection area is target window Mouth needs the region drawn.
On this basis, window is applied when receiving the drawing for order that the window management system is sent, with the window Management system interaction, realizes the process of the drawing to frame buffer zone frame buffer, may include:
When receiving the drawing for order comprising the intersection area that the window management system is sent, the window is called The drawing interface that management system provides, draws to intersection area described in the frame buffer of frame buffer zone.
Specifically, window management system provides drawing interface, so that window application is called.Window is called in window application The drawing interface that port management system provides, draws to intersection area described in the frame buffer of frame buffer zone.
Unlike the embodiments above, window management system is drawn to what the corresponding target window application of target window was sent Figure instruction may include, each refresh region in the region group.That is, window management system is directly drawing region group carrying Target window application is sent in figure instruction.
On this basis, window is applied when receiving the drawing for order that the window management system is sent, with the window Management system interaction, realizes the process of the drawing to frame buffer zone frame buffer, may include:
1, when receiving the drawing for order including region group that the window management system is sent, the application pair of this window is determined Answer the window area of window and region group that the drawing for order includes in each refresh region intersection area;
Specifically, when window application receives drawing for order, the region for needing to draw is determined, which comprises determining that The intersection area of each refresh region in the region group that the window area and the drawing for order of the corresponding window of this window application include.
2, the drawing interface for calling the window management system to provide, to intersection described in the frame buffer of frame buffer zone It draws in region.
Specifically, window management system provides drawing interface, so that window application is called.Window is called in window application The drawing interface that port management system provides, draws to intersection area described in the frame buffer of frame buffer zone.
Can be seen that intersection area by above-mentioned two embodiment can be determined by window management system, can also be by window Mouth application determines.After intersection area to be drawn has been determined, the drawing interface for calling the window management system to provide is right Intersection area described in the frame buffer of frame buffer zone is drawn.
Optionally, it is different from above-mentioned two embodiment, the drawing that window management system is sent to window application in the application Any information can not be carried in instruction.Based on this, when window application calls drawing interface to be drawn, to window management system The content that entire window area needs to draw is provided, the current window application pair for calling drawing interface is calculated by window management system The window area for answering window, the intersection area with refresh region each in region group, and then the content drawn to the needs of offer into Row is cut, and retains the corresponding content of intersection area, and then draw to intersection area described in the frame buffer of frame buffer zone Figure.
Based on above-mentioned screen-refresh system, the application is situated between to screen refresh method from the angle of window management system It continues, referring to Fig. 3, Fig. 3 is a kind of the embodiment of the present application screen refresh method flow chart disclosed in the window management system angle.
As shown in figure 3, this method comprises:
Step S300, the refresh region that received each refreshing instruction is included in current period, compositing area group are obtained;
Specifically, window management system is provided with the fixed cycle, and each end cycle moment counts this period and inscribed receives Each refreshing instruction, the refresh region that each refreshing instruction carries is obtained, by each refresh region compositing area group.
Step S310, according to each window area on terminal screen, determine window area with it is any one in the region group There are the target windows of intersection for refresh region;
Specifically, window management system determines window area and region group according to each window area on terminal screen In there are the target windows of intersection for any one refresh region.
Wherein, each refresh region in region group is the region drawn.And if some window area with There are intersections for any one refresh region, then the window area is also required to draw in intersection area.
Step S320, according to window level sequence from low to high, to the corresponding target window of determining each target window Mouth application sends drawing for order, to trigger target window using interacting with the window management system, realizes to frame buffer zone The drawing of frame buffer, and upper screen is carried out to the content in the frame buffer zone frame buffer after drawing and is shown.
Specifically, window management system according to window level from low to high sequence, to the corresponding target window of each target window Mouth application sends drawing for order, guarantees that each target window application order is drawn, and there is no the high window application of window level is first It draws in the low window application of window level.
Drawing hour hands draw to frame buffer zone frame buffer in memory, and each target window is finished using drawing Afterwards, upper screen is carried out to the content in the frame buffer zone frame buffer after drawing by window management system to show.
The application window management system determines that there are intersections for any one refresh region in window area and the region group Target window avoids after the prior art seeks union to each refresh region as the object for sending drawing for order, will not need to draw The window of figure also as the object for sending drawing for order, avoids unnecessary mapping operation.
Referring to fig. 4, Fig. 4 is the embodiment of the present application another kind screen refresh method stream disclosed in the window management system angle Cheng Tu.
As shown in figure 4, this method comprises:
Step S400, the refresh region that received each refreshing instruction is included in current period, compositing area group are obtained;
Specifically, window management system is provided with the fixed cycle, and each end cycle moment counts this period and inscribed receives Each refreshing instruction, the refresh region that each refreshing instruction carries is obtained, by each refresh region compositing area group.
Step S410, according to each window area on terminal screen, determine window area with it is any one in the region group There are the target windows of intersection for refresh region;
Specifically, window management system determines window area and region group according to each window area on terminal screen In there are the target windows of intersection for any one refresh region.
Wherein, each refresh region in region group is the region drawn.And if some window area with There are intersections for any one refresh region, then the window area is also required to draw in intersection area.
Step S420, according to window level sequence from low to high, to the corresponding target window of determining each target window Mouth application sends drawing for order, the window area comprising target window and each refresh region in the region group in drawing for order Intersection area;
Specifically, it is determined in the window area and region group of each target window in the present embodiment by window management system and is respectively brushed The intersection area of new region, the intersection area are the region that target window needs to draw.Intersection area is sent out with drawing for order Give target window.
Step S430, target window is received using the call request to drawing interface, and the call request includes the friendship Collect region;
Specifically, target window application determines the wanted drawing content of intersection area as needed, and drawing interface is called to ask It asks and draws.
Step S440, the drawing interface is called, intersection area described in the frame buffer of frame buffer zone is drawn Figure.
After window management system receives call request, using drawing interface to institute in the frame buffer of frame buffer zone Intersection area is stated to draw.
It include the window of target window in the present embodiment, in the drawing for order that window management system is sent to target window application The intersection area of each refresh region in mouth region domain and the region group, the intersection area are the area that target window needs to draw Domain.Based on this, drawing interface is called in target window application, draws to intersection area described in the frame buffer of frame buffer zone Figure.
It is different from above-described embodiment, in the drawing for order that window management system is sent to target window application in the application It may include each refresh region in region group.By target window application determine the window area of the corresponding window of this window application with The intersection area of each refresh region in the region group that the drawing for order includes, and then drawing interface is called based on the intersection area It draws.
Screen-refresh device provided by the embodiments of the present application is described below, screen-refresh device described below with Above-described screen refresh method can correspond to each other reference.
Wherein, the undocumented details of device item is referred to the introduction of method item embodiment.
Referring to Fig. 5, Fig. 5 is a kind of screen-refresh apparatus structure schematic diagram disclosed in the embodiment of the present application.
As shown in figure 5, the device includes:
Region group acquiring unit 51, for obtaining the refresh region that received each refreshing instruction is included in current period, Compositing area group;
Target window determination unit 52, for according to each window area on terminal screen, determine window area with it is described There are the target windows of intersection for any one refresh region in region group;
Drawing for order transmission unit 53, for according to window level from low to high sequence, to determining each target window The corresponding target window application of mouth sends drawing for order, to trigger target window using interacting with the window management system, in fact Now to the drawing of frame buffer zone frame buffer, and the content in the frame buffer zone frame buffer after drawing is carried out Screen display.
The application window management system determines that there are intersections for any one refresh region in window area and the region group Target window avoids after the prior art seeks union to each refresh region as the object for sending drawing for order, will not need to draw The window of figure also as the object for sending drawing for order, avoids unnecessary mapping operation.
Optionally, the drawing for order that the drawing for order transmission unit is sent to the corresponding target window application of target window In may include, the intersection area of each refresh region in the window area of target window and the region group.
Based on this, which can also include:
Call request receiving unit, for receiving target window using the call request to drawing interface, the calling is asked It asks including the intersection area;
Drawing interface call unit is handed over for calling the drawing interface described in the frame buffer of frame buffer zone It draws in collection region.
Optionally, the drawing for order that the drawing for order transmission unit is sent to the corresponding target window application of target window In may include, each refresh region in the region group, so that target window application determines the corresponding window of this window application The intersection area of each refresh region in the region group that window area and the drawing for order include.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (9)

1. a kind of screen-refresh system, which is characterized in that including window management system and an at least window application, in which:
The window, which is applied, to be used for, and is being determined that Xiang Suoshu window management system sends refreshing instruction when being refreshed, is being refreshed It include refresh region in instruction;
The window management system is used for, and obtains the refresh region that received each refreshing instruction is included in current period, composition Region group;According to each window area on terminal screen, determine that window area is deposited with any one refresh region in the region group In the target window of intersection;According to window level sequence from low to high, to the corresponding target window of determining each target window Mouth application sends drawing for order;
The window application is also used to, when receiving the drawing for order that the window management system is sent, with the window management System interaction realizes the drawing to frame buffer zone frame buffer;
The window management system is also used to, after determining that each target window application is drawn, to frame buffer zone frame Content in buffer carries out screen and shows.
2. system according to claim 1, which is characterized in that drawn to what the corresponding target window application of target window was sent Figure instruction includes the intersection area of each refresh region in the window area of target window and the region group;
The window is applied when receiving the drawing for order that the window management system is sent, and is handed over the window management system Mutually, the process for realizing the drawing to frame buffer zone frame buffer, specifically includes:
When receiving the drawing for order comprising the intersection area that the window management system is sent, the window management is called The drawing interface that system provides, draws to intersection area described in the frame buffer of frame buffer zone.
3. system according to claim 1, which is characterized in that drawn to what the corresponding target window application of target window was sent Figure instruction includes each refresh region in the region group;
The window is applied when receiving the drawing for order that the window management system is sent, and is handed over the window management system Mutually, the process for realizing the drawing to frame buffer zone frame buffer, specifically includes:
When receiving the drawing for order including region group that the window management system is sent, the corresponding window of this window application is determined Window area and the drawing for order include region group in each refresh region intersection area;
The drawing interface for calling the window management system to provide, to intersection area described in the frame buffer of frame buffer zone into Row is drawn.
4. a kind of screen refresh method, which is characterized in that it is applied to window management system, this method comprises:
Obtain the refresh region that received each refreshing instruction is included in current period, compositing area group;
According to each window area on terminal screen, determine that any one refresh region has friendship in window area and the region group The target window of collection;
According to window level sequence from low to high, sends and draw to the corresponding target window application of determining each target window Instruction, to trigger target window using interacting with the window management system, frame buffer zone frame buffer is drawn in realization Figure, and upper screen is carried out to the content in the frame buffer zone frame buffer after drawing and is shown.
5. according to the method described in claim 4, it is characterized in that, being drawn to what the corresponding target window application of target window was sent It include the intersection area of each refresh region in the window area of target window and the region group in figure instruction;
The window management system is interacted with target window application, realizes the mistake of the drawing to frame buffer zone frame buffer Journey, comprising:
Target window is received using the call request to drawing interface, the call request includes the intersection area;
The drawing interface is called, is drawn to intersection area described in the frame buffer of frame buffer zone.
6. according to the method described in claim 4, it is characterized in that, being drawn to what the corresponding target window application of target window was sent It include each refresh region in the region group in figure instruction, so that target window application determines the corresponding window of this window application Window area and the drawing for order include region group in each refresh region intersection area.
7. a kind of screen-refresh device, which is characterized in that be applied to window management system, which includes:
Region group acquiring unit forms area for obtaining the refresh region that received each refreshing instruction is included in current period Domain group;
Target window determination unit, for determining window area and the region group according to each window area on terminal screen In there are the target windows of intersection for any one refresh region;
Drawing for order transmission unit, it is corresponding to determining each target window for according to window level sequence from low to high Target window application send drawing for order, applied with to trigger target window and interact with the window management system, realization is to frame The drawing of buffer area frame buffer, and upper screen display is carried out to the content in the frame buffer zone frame buffer after drawing Show.
8. device according to claim 7, which is characterized in that the drawing for order transmission unit is corresponding to target window It include each refresh region in the window area of target window and the region group in the drawing for order that target window application is sent Intersection area;
The device further include:
Call request receiving unit, for receiving target window using the call request to drawing interface, the call request packet Include the intersection area;
Drawing interface call unit, for calling the drawing interface, to intersection area described in the frame buffer of frame buffer zone It draws in domain.
9. device according to claim 7, which is characterized in that the drawing for order transmission unit is corresponding to target window It include each refresh region in the region group in the drawing for order that target window application is sent, so that target window application is true The intersection area of each refresh region in the region group that the window area and the drawing for order of the fixed corresponding window of this window application include Domain.
CN201610831460.8A 2016-09-19 2016-09-19 A kind of screen-refresh system, method and device Active CN106383683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610831460.8A CN106383683B (en) 2016-09-19 2016-09-19 A kind of screen-refresh system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610831460.8A CN106383683B (en) 2016-09-19 2016-09-19 A kind of screen-refresh system, method and device

Publications (2)

Publication Number Publication Date
CN106383683A CN106383683A (en) 2017-02-08
CN106383683B true CN106383683B (en) 2019-07-30

Family

ID=57936676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610831460.8A Active CN106383683B (en) 2016-09-19 2016-09-19 A kind of screen-refresh system, method and device

Country Status (1)

Country Link
CN (1) CN106383683B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933595A (en) * 2017-03-21 2017-07-07 珠海亿智电子科技有限公司 It is a kind of to lift the method that GUI window refreshes efficiency
CN107124651B (en) * 2017-04-12 2020-03-13 青岛海信电器股份有限公司 Window display method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831862A (en) * 2012-08-09 2012-12-19 施国樑 Electronic paper display system capable of refreshing displayed contents in partial area

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831862A (en) * 2012-08-09 2012-12-19 施国樑 Electronic paper display system capable of refreshing displayed contents in partial area

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
嵌入式GUI系统的设计与实现;宋战杰;《信息科技辑》;20080631(第6期);第I138-219页

Also Published As

Publication number Publication date
CN106383683A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN106527892B (en) Screen capturing method and system of electronic equipment
JP2861908B2 (en) Browsing device
JP2012027902A (en) System, method and computer usable storage medium for interactive filter (system and method for interactive filter)
CN105653281A (en) Method and apparatus for capturing screen in mobile device
WO2006078326A3 (en) Window information switching system
CN106383683B (en) A kind of screen-refresh system, method and device
CN107483521A (en) A kind of information displaying method, apparatus and system
CN104020973B (en) Method for information display and device
WO2001044926A3 (en) System and method for managing a scalable list of items for display
WO2017004141A1 (en) Systems and methods for providing multi-focus to applications for collaboration
US20240054714A1 (en) Method and apparatus for adding animation to video, and device and medium
CN107221020A (en) A kind of word texture rendering method and device
CN107203434A (en) A kind of texture shared method, device and computer-readable recording medium
CN103400565B (en) A kind of interface piecemeal method for refreshing based on GDI
Holmquist Evaluating the comprehension of ambient displays
CN104461431A (en) Method and system for switching of superposed windows of joined screen
CN113254139B (en) Online education course information display method, device, terminal and storage medium
CN107423411A (en) Journal displaying method and apparatus
CN106383711A (en) Screen refreshing system, method and apparatus
CN105096365A (en) 3D interface local refreshing method and system
CN106354449B (en) A kind of online demenstration method of document and client
CN104035661B (en) A kind of cursor display method and device of ultrahigh resolution combination
Aurigi Space is not a platform–foregrounding place in smart urban design
CN110209861A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN114780197B (en) Split screen rendering method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant