Summary of the invention
The present inventor finds above-mentioned the problems of the prior art, has proposed a kind of business datum display processing method and device, subscriber equipment, improves the demonstration refresh rate of business datum, to obtain more smooth display effect.
For solving the problems of the technologies described above, according to a first aspect of the invention, the embodiment of the present invention provides a kind of business datum display processing method, comprising:
By the first frame buffer zone in current frame data write memory to be shown in this business datum;
Current frame data in the first frame buffer zone is transferred to display controller, and the current frame data of being controlled in described the first frame buffer zone by described display controller shows in the enterprising line output of display interface; And in the process of the current frame data output display in described the first frame buffer zone, next frame data more to be shown and described current frame data, obtain the next frame data from frame data identical in current frame data and described next frame data with described current frame data in different frame data;
To in described next frame data, with frame data identical in described current frame data, be written back to the second frame buffer zone in described internal memory, and will in described next frame data, from frame data different in described current frame data, write described the second frame buffer zone;
The next frame data of being controlled in described the second frame buffer zone by described display controller show in the enterprising line output of display interface.
According to a second aspect of the invention, the embodiment of the present invention also provides a kind of business datum display processing unit, comprising: frame buffer cell, applying unit, comparing unit, write-back unit, transmission control unit and display controller,
Described frame buffer cell comprises the first frame buffer zone and the second frame buffer zone in internal memory;
Described applying unit is for by business datum, current frame data to be shown writes described the first frame buffer zone; The next frame data to be shown that described comparing unit is obtained write described the second frame buffer zone from frame data different in current frame data;
Described comparing unit is for more described next frame data and described current frame data, obtains described next frame data and frame data identical in described current frame data, and in described next frame data from frame data different in described current frame data;
Described write-back unit is written back to described the second frame buffer zone for the described next frame data frame data identical with described current frame data that comparing unit is obtained;
Described transmission control unit is for being transferred to display controller by the frame data of described the first frame buffer zone; Frame data in described the second frame buffer zone are transferred to display controller, frame data in described the second frame buffer zone comprise the described next frame data that write described the second buffer zone and frame data different in described current frame data, and the described next frame data of coming from the first frame buffer zone write-back and frame data identical described current frame data;
Described display controller shows in the enterprising line output of display interface for the frame data of controlling described the first frame buffer zone; The next frame data of controlling in described the second frame buffer zone show in the enterprising line output of display interface.
According to a third aspect of the present invention, the embodiment of the present invention also provides a kind of subscriber equipment, comprises the business datum display processing unit that second aspect of the present invention provides, and
The display interface unit, for the display command according to display controller, the frame data of output display business datum;
Interactive unit, control request for the demonstration that receives user's input;
Applying unit in this business datum display processing unit, what in response to interactive unit, receive first show to control request, carry out described current frame data to be shown in business datum to be write to described the first frame buffer zone, and
Comparing unit in this business datum display processing unit, request is controlled in the second demonstration received in response to interactive unit, carries out described next frame data and described current frame data.
In scheme provided by the present invention, by first in internal memory, the second two buffer zones, in display controller output display the first frame buffer zone in the current frame data of business datum in, next frame data and current frame data that can be more to be shown, by in internal memory to the write-back of same number of frames certificate, be about to first frame buffer zone of frame data identical in adjacent two frames in internal memory and be written back to the second frame buffer zone, only by the second frame buffer zone in different frame data write memories, can reduce and reduce the time of frame data write memory, it is the render time of frame data to be shown, display controller is controlled can carry out the demonstration that refreshes of frame data quickly.When display controller is controlled frame data in the first frame buffer zone and is shown, can will be write or write back operations the second buffer area, thereby realize showing and writing parallel mode of operation, further improve frame data and shown the speed refreshed.Compared with prior art, reduced the hardware requirement to the business datum display processing device, can, on the equipment of low dominant frequency processor, obtain and refresh faster display speed and more smooth display effect.
By the detailed description to exemplary embodiment of the present invention referring to accompanying drawing, it is clear that further feature of the present invention and advantage thereof will become.
Embodiment
Describe various exemplary embodiment of the present invention in detail now with reference to accompanying drawing.It should be noted that: unless illustrate in addition, the parts of setting forth in these embodiments and the positioned opposite of step do not limit the scope of the invention.
, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not to draw according to actual proportionate relationship simultaneously.
Below to the description only actually of at least one exemplary embodiment, be illustrative, never as any restriction to the present invention and application or use.
Technology, the method and apparatus known for the person of ordinary skill in the relevant may not discuss in detail, but, in suitable situation, described technology, method and apparatus should be regarded as authorizing the part of instructions.
In all examples with discussing shown here, it is exemplary that any occurrence should be construed as merely, rather than as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: mean similar terms in similar label and letter accompanying drawing below, therefore, once be defined in an a certain Xiang Yi accompanying drawing, do not need it is further discussed in accompanying drawing subsequently.
business datum display processing method embodiment
Schematic flow sheet shown in Figure 2, that this figure is an embodiment of business datum display processing method provided by the invention, below introduce this embodiment in detail.
In step 201, by the first frame buffer zone in current frame data write memory to be shown in this business datum.
Wherein, business datum can be specifically the business datum that need to be shown to the user, exemplarily, it can be the Query Result that the user carries out the data query business, it can be also the view data that image is processed service processing result, can also be interface data, the interface data of the user interactive business of applying unit for example.The content of business datum to be shown can be picture, word or the data such as meet, and with the form tissue of frame data.By the first frame buffer zone in current frame data write memory to be shown in this business datum, complete the processing of playing up for the treatment of the display frame data and operate, business datum to be shown is ready in internal memory, treat follow-up output display.
In step 202, the current frame data in the first frame buffer zone is transferred to display controller, the current frame data of being controlled in the first frame buffer zone by display controller shows in the enterprising line output of display interface; And in the process of the current frame data output display in the first frame buffer zone, next frame data and current frame data more to be shown, obtain the next frame data from frame data identical in current frame data and next frame data with current frame data in different frame data.
Those skilled in the art should know, display controller is to display transmission frame data, and necessary control signal is provided.For example, the display controller of liquid crystal display (Liquid Crystal Display, LCD) transmits frame data to be shown, provides necessary control signal to control LCD output display frame data simultaneously to LCD.Current frame data in the first frame buffer zone is transferred to display controller, control current frame data in the first frame buffer zone by display controller and show in the enterprising line output of display interface, the output display of frame data can be corresponding to the demonstration that refreshes of a display screen.
Current frame data in the first frame buffer zone carries out in the process of output display, next frame data and current frame data more to be shown, obtain the next frame data from frame data identical in current frame data and next frame data with current frame data in different frame data.
Shown in Fig. 3 (a), Fig. 3 (a) shows the first frame buffer zone described in the embodiment of the present invention and frame data schematic diagram identical and different in the second frame buffer zone.Take interface data as example, and each list items, for example, can be a menu item, an icon etc.Current frame data in the first frame buffer zone comprises list items 1 to list items 5 data, next frame packet to be shown contains list items 2 to list items 6 data, by comparing, obtaining the next frame data is that list items 2 is to list item 5 data with frame data identical in current frame data, in the next frame data, from frame data different in current frame data, be list items 6 data, list items 1 data no longer show.Need explanation the time, different frame data can compare with different data modes, for example, take view data as example, take image block as unit, can be by obtaining identical and different image block data between adjacent two frames.
In step 203, will in the next frame data, with frame data identical in current frame data, be written back to the second frame buffer zone in internal memory, and will in the next frame data, from frame data different in current frame data, write the second frame buffer zone.So far, in the second frame buffer zone to deposit and complete next frame data.In step 203, identical frame data are directly in internal memory, to carry out write-back, and these frame data complete the preparation of output display after being written back to the second frame buffer zone in internal memory, treat follow-up output display.The ground that compares, different frame data are in write memory, to realize the playing up in internal memory of different frame data processed to operation from internal memory.Treat the operation of playing up of display frame data, comprise according to the frame data content and being ready in internal memory, such as comprising: operation is processed in the filling of the drafting of image window, color pixel value etc.
Shown in Fig. 3 (b), the figure shows according to business datum display processing method embodiment provided by the present invention, to the write-back of frame data to be shown in the second frame buffer zone and the schematic diagram of write operation.Be depicted as example with above-mentioned Fig. 3 (a), in step 203, as shown in Figure 3 (b), by the next frame data with frame data identical in current frame data, list items 2 to list items 5 data that are about to the first frame buffer zone in internal memory are written back to the second frame buffer zone in internal memory.By list items 6 data from other zones, exterior storage zone for example, the second frame buffer zone in write memory.
Easily understand, if two frames are identical, do not need to carry out new writing, but the current frame data in the first frame buffer zone all is written back to the second frame buffer zone in internal memory.
The business datum display processing method example according to the present invention and unrestricted, by the next frame data when frame data identical in current frame data are written back to the second frame buffer zone, can also, according to next frame data and the display position of frame data in next frame identical in current frame data, identical frame data be written back to zone corresponding in the second frame buffer zone in internal memory.
In step 204, the next frame data of being controlled in the second frame buffer zone by display controller show in the enterprising line output of display interface.
In this business datum display processing method embodiment, by the comparison to adjacent two frame data, identical data carried out to write-back in internal memory, be about to first frame buffer zone of frame data identical in adjacent two frames in internal memory and be written back to the second frame buffer zone, only by the second frame buffer zone in different frame data write memories, can reduce and reduce the time of frame data write memory, display controller is controlled can carry out the demonstration that refreshes of frame data quickly, has improved frame data and has shown the speed refreshed.
As exemplary comparison, situation for single buffer zone in prior art, and during the working model that applying unit and display controller are serial, the time that frame data to be shown is write to the buffer zone needs is 30ms, the time that display controller is controlled the output display frame data to be needed is 20ms, one frame data are corresponding to an interface display, and now the displaying time at an interface needs 30+20=50ms, within 1 second, refresh 20 frames.
If the situation of considered frame datarams write-back not, when the situation of first, second two block buffer is arranged in internal memory, applying unit and display controller can be operated in parallel working model, the time that frame data to be shown is write to the buffer zone needs is 30ms, the time that display controller is controlled the output display frame data to be needed is still 20ms, it is MAX(30 that the now demonstration at an interface needs the time, 20)=30ms, within one second, refresh 33 frames, speed has improved 65% than prior art, MAX() for getting max function.
In business datum display processing method embodiment provided by the present invention, due to the write-back adopted in internal memory, avoided the certificate of the same number of frames in frame data to be shown write memory again, avoided the operation of playing up to the same number of frames certificate, and only by different frame data write memory buffer zones, thereby frame data to be shown can be write to the time shorten of buffer zone to 15ms, the time that display controller is controlled the output display frame data to be needed is 20ms, it is MAX(15 that the now demonstration at an interface needs the time, 20)=20ms, 50 frames within one second, have been refreshed, speed has improved 150% than 20 initial frames.
It will be recognized by those skilled in the art that the debug function that the calculating in above processing time can provide by operating system, obtain respectively the Millisecond time of interframe, thereby calculate, obtain the processing time.
The business datum display processing method example according to the present invention, the method further can also comprise: the current frame data of identifying in the first frame buffer zone shows whether complete in the enterprising line output of display interface, show and complete in the enterprising line output of display interface in response to current frame data, in the process of the current frame data output display in the second frame buffer zone, another frame data more to be shown and next frame data, obtain another frame data and frame data identical in the next frame data, and another frame data and frame data different in the next frame data, another frame data are written back to the first frame buffer zone with frame data identical in the next frame data, and another frame data are write to the first frame buffer zone from frame data different in the next frame data, another frame data are next frame data frame data subsequently in business datum, and the next frame data of identifying in the second frame buffer zone show whether complete in the enterprising line output of display interface, show and complete in the enterprising line output of display interface in response to the next frame data, in the process of the current frame data output display in the first frame buffer zone, another frame data more to be shown and another frame data, obtain another frame data and frame data identical in another frame data, and another frame data and frame data different in another frame data, another frame data are written back to the second frame buffer zone with frame data identical in another frame data, and another frame data are write to the second frame buffer zone from frame data different in another frame data, another frame data are another frame data frame data subsequently in business datum.
In above embodiment, between the first frame buffer zone in internal memory and the second frame buffer zone, cooperatively interact, prevent that frame data from being rewritten in the output display process, carried out the whether completed identification of output display, recognition result is after the frame data output display in this buffer zone completes, just in the process of the frame data output display in another buffer zone, frame data and adjacent previous frame data more backward, then according to result relatively, this buffer zone is carried out to write-back, write operation, realized showing and writing parallel mode of operation, improve frame data and shown the speed refreshed, also improve the consistance of output display frame data simultaneously, avoid the appearance of flower screen phenomenon.
Can adopt various internal memory writing mode well-known to those skilled in the art that frame data are write to frame buffer zone, the business datum display processing method example according to the present invention, specifically can be by applying unit by direct memory access (Direct Memory Access, DMA) mode writes the first frame buffer zone by current frame data to be shown from external memory unit, and will in the next frame data, from frame data different in current frame data, from external memory unit, write the second frame buffer zone.
Those skilled in the art will be appreciated that, adopt the advantage of dma mode transmission data, for example, with interrupt mode, compare, because dma mode does not need the participation of central processing unit, and, in the process of data write memory, memory address is revised, is transmitted the counting of word number etc., also with hardware circuit, directly realizes.Therefore, dma mode further improves the speed of frame data write memory, also is conducive to save the central processing unit resource.
The business datum display processing method example according to the present invention, because obtaining frame data from two different buffer areas, display controller carries out output display, therefore, before the frame data by a buffer zone are transferred to display controller, the frame data that can also whether be disposed in another buffer zone to display controller are identified, confirm in display controller transmission frame data again under idle state, avoid frame data being sent to display controller and can not showing, the frame data that bring thus block or frame data are retransmitted.
Particularly, currently to display controller display controller was controlled to next frame data in the second frame buffer zone before the enterprising line output of display interface shows, the method can also comprise: whether the identification display controller is disposed to the frame data output display in the first frame buffer zone, be disposed in response to the frame data output display in the first frame buffer zone, the frame data in the second frame buffer zone are transferred to display controller; And identification display controller whether the frame data output display in the second frame buffer zone is disposed, in response to the frame data output display in the second frame buffer zone, be disposed, by the next frame data transmission in the first frame buffer zone to display controller.
Business datum in above each embodiment, described in step 201, can be the Query Result that the user carries out the data query business, can be also image process business view data out, or the interface data of the user interactive business of concrete applying unit.
Due to the business datum of different business operational correspondence, the data volume size of the same number of frames certificate between adjacent two frames normally can be distinguished.For example, carry out the interface data of user interactive by applying unit for the user, under a lot of scenes, in front and back two frame data to be shown, a lot of data are identical.For instance, the user arrives mobile cursor under different menu bars on operation interface, former and later two show that between the frame data of exporting, difference only is to demonstrate different drop-down menus, perhaps in the operation interface of slip icon, former and later two show that the frame data of output are respectively show first to the 5th icon and show second to the 6th icon, its difference only is not show first icon, and the 6th icon is shown.For this reason, can be identified this class business datum, when belonging to specific business datum, that carries out the consecutive frame data relatively reaches write-back, otherwise, can not carry out the comparison of consecutive frame data, directly by another buffer zone in the whole write memories again of next frame data.
Therefore, in another embodiment of business datum display processing method of the present invention, at the current frame data in controlling the first frame buffer zone by display controller when the enterprising line output of display interface shows or the current frame data in controlling the first frame buffer zone by display controller after the enterprising line output of display interface shows, can also comprise: whether applying unit is identified this business is the user interactive business; If this pending business is the user interactive business, carry out in the process of the current frame data output display in the first frame buffer zone next frame data more to be shown and the operation of current frame data; Otherwise, in the process of the frame data output display in the first frame buffer zone, by the second frame buffer zone in next frame data write memory to be shown; The next frame data of being controlled in the second frame buffer zone by display controller show in the enterprising line output of display interface.
According to another embodiment of business datum display processing method, request is controlled in the first demonstration that applying unit sends in response to the user, carry out the operation of the first frame buffer zone in current frame data write memory to be shown, and the second demonstration control request sent in response to the user, carry out next frame data more to be shown and frame data identical in current frame data.The second demonstration that the user sends is controlled request and can be based on user interactive, for example, sliding mouse and changed menu bar, thus need to show the next frame data, triggered and carried out next frame data more to be shown and frame data identical in current frame data.
business datum display processing unit embodiment
Shown in Figure 4, this figure is that one of business datum display processing unit provided by the invention is executed routine structural representation, and the business datum of embodiment shown in Fig. 4 display processing unit can be realized business datum display processing method in Fig. 2.Below introduce in detail this embodiment.
This business datum display processing unit comprises: frame buffer cell 401, applying unit 402, comparing unit 403, write-back unit 404, transmission control unit 405 and display controller 406.
Frame buffer cell 401 comprises the first frame buffer zone and the second frame buffer zone in internal memory.In buffer zone in frame data write memory to be shown, carry out output display in subsequent step.
Applying unit 402 writes the first frame buffer zone for the current frame data that business datum is to be shown; The next frame data to be shown that comparing unit 403 is obtained write the second frame buffer zone from frame data different in current frame data.
Comparing unit 403 is for relatively next frame data and current frame data, obtains next frame data and frame data identical in current frame data, and in the next frame data from frame data different in current frame data.
Write-back unit 404 is written back to the second frame buffer zone for the next frame data frame data identical with current frame data that comparing unit is obtained.Wherein, write-back unit 404 by next frame when frame data identical in present frame are written back to the second frame buffer zone, specifically can also, according to next frame data and the display position of frame data in next frame identical in current frame data, identical frame data be written back to zone corresponding in the second frame buffer zone.
Transmission control unit 405 is transferred to display controller 406 for the frame data by the first frame buffer zone; Frame data in the second frame buffer zone are transferred to display controller 406, frame data in the second frame buffer zone comprise the next frame data that write the second buffer zone and frame data different in current frame data, and the next frame data of coming from the first frame buffer zone write-back and frame data identical current frame data.
Display controller 406 shows in the enterprising line output of display interface for the frame data of controlling the first frame buffer zone; And the frame data of controlling in the second frame buffer zone show in the enterprising line output of display interface.Display controller 406 is to display transmission frame data, and necessary control signal is provided.
In this business datum display processing unit embodiment, comparison by 403 pairs of adjacent two frame data of comparing unit, write-back unit 404 carries out write-back by identical data in internal memory, be about to first frame buffer zone of frame data identical in adjacent two frames in internal memory and be written back to the second frame buffer zone, only by the second frame buffer zone in different frame data write memories, thereby can reduce, reduce the time of frame data write memory, display controller 406 is controlled and can be carried out quickly the demonstration that refreshes of frame data, has improved frame data and has shown the speed refreshed.
Shown in Figure 5, the figure shows the structural representation of another embodiment of business datum display processing unit according to the present invention.With the business datum display processing unit embodiment in Fig. 4, compare, this device can also comprise: frame buffer zone processing and identification unit 407, show whether complete for the current frame data of identifying the first frame buffer zone in the enterprising line output of display interface, and the next frame data of identifying in the second frame buffer zone show whether complete in the enterprising line output of display interface.
Comparing unit 403 is that current frame data shows and completes in the enterprising line output of display interface in response to the recognition result of frame buffer zone processing and identification unit 407, in the process of the current frame data output display in the second frame buffer zone, another frame data more to be shown and next frame data, obtain another frame data and frame data identical in the next frame data, and another frame data and frame data different in another frame data, another frame data are next frame data frame data subsequently in business datum.Write-back unit 404 is written back to the first frame buffer zone by another frame data with frame data identical in the next frame data.Applying unit 402 also writes the first frame buffer zone for the frame data that another frame data are different from the next frame data.
Comparing unit 403 is that the next frame data show and complete in the enterprising line output of display interface in response to the recognition result of frame buffer zone processing and identification unit 407, in the process of the current frame data output display in the first frame buffer zone, another frame data more to be shown and another frame data, obtain another frame data and frame data identical in another frame data, and another frame data and frame data different in another frame data, another frame data are another frame data frame data subsequently in business datum.Write-back unit 404 also is written back to the second frame buffer zone for the frame data that another frame data are identical with another frame data.Applying unit 402 also writes the second frame buffer zone for the frame data that another frame data are different from another frame data.
Carry out the whether completed identification of output display by frame buffer zone processing and identification unit 407, recognition result is after the frame data output display in this buffer zone completes, just in the process of the frame data output display in another buffer zone, comparing unit 403 carries out the comparison of subsequent frame data, then the result compared according to comparing unit 403, 404 pairs of write-back unit this buffer zone 401 carries out write back operations, 402 pairs of buffer zones of applying unit 401 carry out write operation, realized showing and writing parallel mode of operation, improve frame data and shown the speed refreshed, also improve the consistance of output display frame data simultaneously, avoid the appearance of flower screen phenomenon.
Shown in Figure 6, the figure shows the structural representation of another embodiment of business datum display processing unit according to the present invention.With business datum display processing unit embodiment in Fig. 5, compare, this device can also comprise DMA unit 408.DMA unit 408 is for the instruction that writes in response to applying unit 402, current frame data to be shown is write to the first frame buffer zone of incoming frame buffer cell 401 from external memory unit, and will be write the second frame buffer zone of incoming frame buffer cell 401 in the next frame data from frame data different in current frame data.Utilize dma mode transmission data by DMA unit 408, with interrupt mode, compare, because dma mode does not need the participation of central processing unit, and in the process of data write memory, memory address is revised, is transmitted the counting of word number etc., also with hardware circuit, directly realizes.Therefore, dma mode further improves the speed of frame data write memory, also is conducive to save the central processing unit resource.
Shown in Figure 7, the figure shows the also structural representation of an embodiment of according to the present invention business datum display processing unit.With business datum display processing unit embodiment in Fig. 6, compare, this device can also comprise: whether controller processing and identification unit 409 is disposed for the frame data output display of identifying 406 pairs of the first frame buffer zones of display controller, and whether the frame data output display in 406 pairs of the second frame buffer zones of identification display controller is disposed.Transmission control unit 405 is disposed in response to the frame data output display in the first frame buffer zone, frame data in the second frame buffer zone are transferred to display controller 406, and in response to the frame data output display in the second frame buffer zone, be disposed, by the next frame data transmission in the first frame buffer zone to display controller 406.
Because obtaining frame data from two different buffer areas, display controller 406 carries out output display, therefore, before the frame data by a buffer zone are transferred to display controller 406, the frame data whether 409 pairs of controller processing and identification unit display controller 406 is disposed in another buffer zone are identified, confirm in display controller 406 transmission frame data again under idle state, carrying out output display, avoid frame data being sent to display controller 406 and can not showing, the frame data that bring thus block or frame data are retransmitted.
Business datum in above embodiment can be specifically the business datum that need to show to the user, for example, can be the Query Result that the user carries out the data query business, can be also image process business view data out, can also be interface data.
Because of another embodiment of the business datum display processing unit according to the present invention, business datum can be the interface data of the user interactive business of applying unit.The content of business datum to be shown can be picture, word or the data such as meet, can be with the form tissue of frame data.By the first frame buffer zone in current frame data write memory to be shown in this business datum, be about to business datum to be shown and be ready in internal memory, treat follow-up output display.
Corresponding with an embodiment of business datum display processing method of the present invention, another embodiment of business datum display processing unit according to the present invention, the current frame data of current frame data in display controller 406 control the first frame buffer zones when the enterprising line output demonstration of display interface or in display controller 406 is controlled the first frame buffer zones is after the enterprising line output of display interface shows, whether applying unit is also the user interactive business for identifying this business; Comparing unit is the user interactive business in response to this pending business, in the process of the current frame data output display in the first frame buffer zone, and next frame data more to be shown and the operation of current frame data; Otherwise, in the process of the frame data output display of applying unit in the first frame buffer zone, by the second frame buffer zone in next frame data write memory to be shown; The next frame data that display controller 406 is controlled in the second frame buffer zone show in the enterprising line output of display interface.
Corresponding with an embodiment of business datum display processing method of the present invention, another embodiment of business datum display processing unit according to the present invention, request is controlled in first demonstration that specifically can be sent in response to the user by applying unit 402, carry out the operation of the first frame buffer zone in current frame data write memory to be shown, and comparing unit 403 is carried out and is compared next frame data and current frame data in response to the second demonstration control request of user's transmission.
subscriber equipment embodiment
Shown in Figure 8, the structural representation that this figure is an embodiment of subscriber equipment provided by the invention, it should be noted that, the business datum display processing unit embodiment that this figure only be take in Fig. 4 is illustrated as example, as limiting subscriber equipment provided by the present invention.This subscriber equipment can comprise any one business datum display processing unit 501 in above-mentioned business datum display processing unit embodiment, and display interface unit 502 and interactive unit 503.
Display interface unit 502 is for the display command according to display controller 406, the frame data of output display business datum.Display interface unit 502 can be for example display terminal, display screen or display.
Interactive unit 503 is controlled request for the demonstration that receives user's input.Interactive unit 503 can comprise with for example keyboard, mouse, light pen, cursor, touch-screen, writing input board, and voice-input device, control request for the demonstration that receives user's input.
Request is controlled in the first demonstration that applying unit 402 in business datum display processing unit 501 receives in response to interactive unit 503, execution writes the first frame buffer zone by current frame data to be shown in business datum, and the comparing unit in business datum display processing unit 501 403, can pass through applying unit 402, request is controlled in the second demonstration received in response to interactive unit 503, carries out relatively next frame data and current frame data.
In above-mentioned subscriber equipment embodiment, interactive unit 503 receives the demonstration of user's input and controls request, request is controlled in the first demonstration that applying unit 403 receives in response to interactive unit 503, execution writes the first frame buffer zone by current frame data, comparison by 403 pairs of adjacent two frame data of comparing unit, write-back unit 404 carries out write-back by identical data in internal memory, be about to first frame buffer zone of frame data identical in adjacent two frames in internal memory and be written back to the second frame buffer zone, only by the second frame buffer zone in different frame data write memories, thereby can reduce the time of frame data write memory, display controller 406 is controlled and can be carried out quickly the demonstration that refreshes of frame data, improve frame data and shown the speed refreshed.Compared with prior art, reduced the hardware requirement to the business datum display processing device, this subscriber equipment can be the electronic equipment that hangs down the dominant frequency processor, can obtain equally and refresh faster display speed and more smooth display effect.
Another embodiment of subscriber equipment embodiment according to the present invention, this subscriber equipment further can also comprise external memory unit, for storing frame data to be shown.The embodiment corresponding to the business datum display processing unit, when the business datum display processing unit comprises the DMA unit, the DMA cell response is in the instruction that writes of applying unit, current frame data to be shown is write to the first frame buffer zone of incoming frame buffer cell 401 from external memory unit, and will be write the second frame buffer zone of incoming frame buffer cell 401 in the next frame data from frame data different in current frame data.Dma mode further improves the speed of frame data write memory, also is conducive to save the central processing unit resource.
So far, described in detail according to business datum display processing method of the present invention and device, subscriber equipment.For fear of covering design of the present invention, details more known in the field are not described.Those skilled in the art, according to top description, can understand how to implement technical scheme disclosed herein fully.
In present disclosure, each embodiment all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, same or analogous part cross-references both can.
May realize in many ways method of the present invention, device and equipment.For example, can realize method and system of the present invention by any combination of software, hardware, firmware or software, hardware, firmware.The said sequence that is used for the step of described method is only in order to describe, and the step of method of the present invention is not limited to above specifically described order, unless otherwise specified.In addition, in certain embodiments, can be also the program be recorded in recording medium by the invention process, these programs comprise for realizing the machine readable instructions of the method according to this invention.Thereby the present invention also covers the recording medium of storing the program for carrying out the method according to this invention.
Although by example, specific embodiments more of the present invention are had been described in detail, it should be appreciated by those skilled in the art, above example is only in order to describe, rather than in order to limit the scope of the invention.It should be appreciated by those skilled in the art, can without departing from the scope and spirit of the present invention, above embodiment be modified.Scope of the present invention is limited by claims.