Specific embodiment
The present invention is described in further detail in the following with reference to the drawings and specific embodiments.In for the examples below
Number of steps is arranged only for the purposes of illustrating explanation, does not do any restriction to the sequence between step, each in embodiment
The execution sequence of step can be adaptively adjusted according to the understanding of those skilled in the art.
As shown in Figure 1, a kind of image display method, is mainly used in software upgrade process, comprising the following steps:
S101, event is shown in response to image, be second by the first amending image stored in desktop picture storage unit
Image;
Specifically, when described image display event occurs, the second image can be first obtained, then according to the obtained table
The address of face image storage unit is the second image to the first amending image stored in desktop picture storage unit;
S102, second image stored in desktop picture storage unit is exported into display.
Wherein, event is shown for described image, refers to that operating system (such as Windows system) carries out desktop picture
Operational order involved in during rendering display, i.e., receive from operating system and need to carry out desktop picture and show this instruction
Related operation or call instruction during showing this whole one, such as image wash with watercolours are carried out to output desktop picture to display
Operation that the operation of dye or call instruction, image are shown or call instruction, the operation of image storage or call instruction etc., and this hair
It is specified that the image responded needed for bright embodiment essence shows that event can then be carried out choosing by actual conditions and demand.
For the desktop picture storage unit, the image data of storage arrives display for rendering and is shown
Image data, that is to say, that the desktop picture storage can be stored in by needing to export to the desktop picture that display is shown
In unit, the image data stored in the desktop picture storage unit determines the content that desktop is finally shown.
For the first image, refer to that the desk-top picture should be stored in originally when image display event occurs
As in storage unit and the image data that is presented to shown in display carries out, wherein it can be for for being rendered to the first image
Data, or rendered the first image of generation.
For second image, refers to the image being customized by the user, be usually pre-stored within specified storage
It, then can be from described specified when needing to modify to the image data stored in desktop picture storage unit in address
Second image is obtained in storage address, so that the image data originally stored in desktop picture storage unit is revised as institute
State the second image.Wherein, the specified storage address (i.e. the storage address of the second image) can be local storage address,
Can be the storage address of server or other terminal devices, in this way when needing to carry out the acquisition of the second image, can directly from
Memory space corresponding to local storage address is read out, or can be by wired, wireless, long-range or near-field communication
Mode is obtained from other terminal devices or server.Similarly, second image can be for for being rendered to the second image
Data, can also be a picture.
As it can be seen that due to during software carries out immersion upgrading, as long as the top of the picture for showing software upgrading
When layer picture display window is seized by the top layer display window of other application, the generation that image shows event will necessarily be triggered, with
The display of new image data is carried out, is just will lead on the picture of upgrading software in this way and the top as caused by other application occurs
Therefore layer display window, such as the advertisement pop-up of some softwares by using the method for the embodiment of the present invention, are able to respond
Event is shown in carrying out the image occurred in immersion escalation process in software, so that script should be stored in the desk-top picture
As in storage unit and the first amending image for being presented to shown in display carries out is by customized second image of user, when will
When the image data stored in desktop picture storage unit is presented to display and is shown, the image that system desktop is shown will
It is the second image, even if in this way for showing that the top layer picture display window of the picture of software upgrading is shown by the top layer of other application
Show that window is seized, system desktop also only shows second image, thus, by using the embodiment of the present invention, it can
It clearly ensure that immersive effects when software carries out immersion upgrading.Moreover, because being carried out in escalation process in software, the system
System desktop only shows second image, without showing some pop-ups, is guaranteeing software progress immersion upgrading in this way
Simultaneously, moreover it is possible to play the role of implying that user cannot operate system very well, such as since system desktop only shows second
Image, the pop-up popped up without showing other application, such as advertisement, news pop-up, therefore user can be reduced well and existed
Software operate in immersion escalation process to system, such as close pop-up, click link shown in pop-up etc..
It for image display method provided by the embodiments of the present invention, can be executed by image display device, the figure
As display device can be realized by way of software and/or hardware, and the image display device can be by least one object
Entity is managed to constitute.Specifically, which is with operating system and feasible system desktop shows processing function
Device, wherein described image display device may include, but are not limited to desktop computer, laptop computer, smart phone, plate electricity
The electronic equipments such as brain, intelligent interaction clipboard, server, and the operating system then can be Windows system, such as Windows
7, Vista operating system etc..
It is further used as the preferred embodiment of the present embodiment, described image shows event are as follows: the tune of video driver
With;The desktop picture storage unit is the desktop picture storage unit in video card memory;
Described in step S101 by the first amending image stored in desktop picture storage unit be this step of the second image
Suddenly, specifically: second image is copied to the desktop picture storage unit in video card memory, and by the of the duplication
Two images cover the first image, and the first image is substituted for the second image to realize.
Specifically, for the video driver (i.e. video driver function), being mainly used for will be in video card memory
The image data of desktop picture storage unit storage carries out output and shows, i.e. output to display is shown.Since operation is
System carry out desktop picture rendering display during, operating system can need to desktop picture to be shown render after be transferred to video memory
Secondary rendering is carried out in (i.e. video card memory), to generate desktop picture, and the desktop picture is stored in specified in video memory deposit
It stores up in address (i.e. the first storage address), wherein the storage address specified in the video memory corresponds to desktop picture storage unit, so
Afterwards when operating system determines to need lower piece image being presented to display, video driver will be called to the desk-top picture
It is shown as the image data stored in storage unit carries out output, to realize the display of desktop picture, therefore, the present embodiment will be shown
Image display event of the calling of card driver as required response, then when calling video driver, i.e., in response to
The call instruction of video driver, then by the image data stored in the desktop picture storage unit in video card memory (i.e.
One image) it is revised as the customized image of user (i.e. the second image), then video driver again stores desktop picture single
The image data stored in member carries out output and shows, desktop picture shown by display is then user-defined image at this time.
As it can be seen that the image by the calling of video driver as required response shows event, it can be like clockwork to desktop picture
It is distorted to enable the image for being finally presented to display for the second image, and due to the calling in response video driver
Before, it needs to export to the desktop picture that display is shown originally that piece image has been used as to be stored in the desk-top picture in video memory
In picture storage unit, therefore in the way of duplication covering, just user-defined image can be copied to the desktop picture and deposited
In storage unit, to override the image originally stored, to realize that the image data of desktop picture storage unit is distorted, it is seen then that
Distorting for desktop picture is realized using the step S101 of the present embodiment, it is simple and fast, not only it is programmed conducive to designer
It realizes, workload is less, but also has the advantages that treatment effeciency is high.
It is further used as the preferred embodiment of the present embodiment, comprising the following steps:
S1001, configuration hook program are stored desktop picture with enabling hook program for showing event in response to image
The first amending image stored in unit is the second image;
S1002, enable the load of the hook program prior to the load of the video driver;
S1003, the calling interface that the calling interface of the video driver is revised as to the hook program.
As it can be seen that being by the first amending image stored in desktop picture storage unit for showing event in response to image
The step for second image, preferably passes through corresponding hook program (the i.e. hook program) Lai Shixian of setting, i.e., the described step
S101 is preferably to show event, the first figure that will be stored in desktop picture storage unit in response to image using hook program
As being revised as the second image.Since hook is a kind of system mechanism of interruption, hook is hung over into described image and shows event
On, for example, image rendering operation or the operation that shows of call instruction, image or call instruction, image storage operation or calling
Instruction etc., then hook program will respond and execute itself program institute when the image that hook occurs shows event
Corresponding flow chart of data processing step, i.e., by the first amending image stored in desktop picture storage unit be the second image this
Step, after having executed, operating system will continue to execute original subsequent step, described in storing in desktop picture storage unit
The output display of second image.By realizing distorting for image data using hook program, operating system can not only be suitable for
Running environment, and without substantially being modified system program, the workload of designer is reduced, and repair conducive to subsequent
Change and updates.
And in the present embodiment, described image shows that event is the calling of video driver, therefore, when having configured hook
After the step process executed needed for program, then enable the load of the hook program prior to the load of the video driver, and
And the calling interface of the video driver is revised as to the calling interface of the hook program, it is aobvious to enable hook program hang over
On the calling interface of card driver, in this way when the video driver is called, i.e., order video driver is carried out
When desktop picture is shown, second image can be copied to the desktop picture storage unit in video card memory, and will be described multiple
Second image of system covers the first image, so that the image data of the desktop picture storage unit in video card memory is distorted,
To enable display show the customized image of user.
Be further used as the preferred embodiment of the present embodiment, in addition in above-described embodiment by the calling of video driver
Outside as image display event, it also may be preferable for the image that selection is occurred before calling video driver shows event, into
One step preferably selects operating system and carries out the image occurred in desktop display data render process display event, at this point, described
Desktop picture storage unit is the desktop picture storage unit in Installed System Memory, and deposits desktop picture described in step S101
The step for the first amending image stored in storage unit is the second image, specifically:
It is to be used to be rendered to the by the data modification for being used to be rendered to the first image stored in desktop picture storage unit
The data of two images.
Specifically, the image occurred in desktop display data render process is carried out using operating system in the present embodiment
Display event shows event as the image of required response, therefore, when described image display event occurs, the figure of required modification
As data are stored in the desktop picture storage unit of Installed System Memory, and stored in the desktop picture storage unit
Data are the data for being rendered to the first image, and are not the first image for having rendered completion, are then needed to storage in this way
The first image data (i.e. for being rendered to the data of the first image) in the desktop picture storage unit of Installed System Memory is one by one
It is modified as the second image data (can be used to the data for being rendered to the second image).As it can be seen that by using the scheme of the present embodiment,
It can directly modify operation to the data of Installed System Memory (display image data to be rendered), then by modified second
Image data is transferred to video memory and carries out secondary rendering, finally to generate desktop picture, need to only render once in video card at this time, and
It is above-mentioned that directly the scheme (the i.e. first modification mode) that the image stored in video memory is modified then is needed after amending image again
Carry out an image rendering, that is to say, that above-mentioned first modification mode needs to render twice in video card, therefore compared to direct
It modifies this scheme (the i.e. first modification mode) to the image stored in video memory, the scheme of the present embodiment can be reduced a table
The operation of face image rendering can be reduced the consumption of system resource in this way, to improve system performance.
Wherein, the image occurred in desktop display data render process is carried out for the operating system and shows event,
It can be the calling of Bitblt, or to render the calling of function.It is a computer function for the Bitblt, it should
Function converts the pixel in specified source device environmental area into slide block (bit_block), to be transmitted to target device ring
Border, i.e., in the present embodiment, the Bitblt are mainly used for converting the pixel of the image data of required rendering into slide block, with
Be transmitted to target device environment, in this way when calling the Bitblt, that is, occur the Bitblt it is called when, then to it is required into
The image data of slide block conversion is modified, and is revised as the data of the second image, is then then continued to execute subsequent display step,
Image shown by final display is then the second image, it is seen then that in this embodiment, the required picture number converted into slide block
According to memory space be the desktop picture storage unit.
And for the rendering function, it is the mode of rendered picture, as using index buffering, vertex buffer technology
Rendering, in this way when rendering function is called, then to the operation object data of rendering function (i.e. for being rendered to the first image
Data) it modifies, the data of the second image are revised as, subsequent display step is then then continued to execute, final display is shown
The image shown is then the second image, it is seen then that in this embodiment, for being rendered the storage for the object data that function is operated
Space is the desktop picture storage unit.Further, described to repair in order to be easily achieved the data tampering of Installed System Memory
The mode of changing can be, after first changing the topic parameter of operating system, enable operating system using Bitblt come to for being rendered to the
The data of one image are rendered, and just can show performed when event repair by image of the calling of Bitblt using above-mentioned in this way
Changed handling, thus the modification of the data of the first image rendered needed for realizing.
It is further used as the preferred embodiment of the present embodiment, will be deposited in desktop picture storage unit described in step S101
The step for first amending image of storage is the second image comprising:
S1011, corresponding second image is selected from the second multiple and different images;
S1012, the second image for selecting the first amending image stored in desktop picture storage unit for described in.
Specifically, the second multiple and different images can be prestored in the present embodiment, therefore from the second multiple and different figures
Corresponding second image is selected as in, it can be during carrying out the upgrading of software immersion, the image that enables system desktop show
It can be varied, upgrade this process for software immersion and increase some interests, and user can be allowed clearly to arrive currently
The upgrading of software immersion is carried out, and is not that crash situation occurs.
Wherein, for the step S1011, specific implementation can be with are as follows: from the second multiple and different images with
Machine chooses one second image, then can be random from the second multiple and different images in this way when image display event occurs every time
One second image is selected, to enable image shown by system desktop that can change, upgrades this mistake for software immersion
While Cheng Zengjia some interests, it may have the effect being easily achieved;And when image display event occurs every time in order to enable,
The second image obtained is different from the second image acquired when preceding primary generation image display event, and the step S1011 can
Preferably, according to the storage address of the second multiple and different images, the acquisition of the second image is sequentially carried out, at this point, the acquisition
The second obtained image is second image selected, or, the step S1011 is preferably, from it is multiple not
One second image is randomly selected out in the second same image, if the second image currently selected and selected before second
Image (i.e. the second image of history selection) is identical, then randomly selects out one second figure from the second multiple and different images again
Picture, until the second image for currently selecting is not identical as the second image for having selected before.
It is further used as the preferred embodiment of the present embodiment, it is described to select correspondence from the second multiple and different images
The second image the step for S1011, specifically: selected from the second multiple and different images and software upgrading state pair
The second image answered.
In this embodiment, the plurality of different second image is configured as the different shapes in corresponding software escalation process
Whether state, such as upgrading progress, upgrading processing speed, escalation process the states such as go wrong, therefore upgrade in software immersion
In the process, when image occurring showing event, can according to the state in Current software escalation process, i.e. software upgrading state, from
Corresponding second image is selected in the second multiple and different images, such user just can be by shown by current system desktop
Image recognize the state of Current software upgrading, not only can guarantee the effect of the immersion upgrading of software, but also reach
The prompt effect of software upgrading state further enables the usage experience sense of human-computer interaction better.
It is further used as the preferred embodiment of the present embodiment, further comprising the steps of:
S103, the signal inputted by human-computer interaction device is shielded.Wherein, the human-computer interaction device is HID
Equipment comprising but it has been not limited to the input equipments such as keyboard, mouse, joystick.
Specifically, after completing desktop display portion, picture has reached the effect of immersion, but is carrying out software immersion
During upgrading, can still there be the case where some key mouse events can not be seized, operating system can also be in response to these keys at this time
Mouse event is thereby executing other operations, the problem of to cause software upgrading picture that may be transferred out, that is to say, that by using upper
Step S101 and S102 are stated, display is mainly enabled to show customized image, i.e. institute when carrying out the upgrading of software immersion
The second image is stated, but due to the processing of signal and both desktop display datas that in an operating system, human-computer interaction device inputs
Be it is separated, therefore, if user is by the input equipments input signal such as keyboard, mouse, or exists and system operated,
The problem of to cause software upgrading picture to be transferred out, therefore, in order to not influence normal software immersion escalation process further,
It then needs to carry out interception shielding to the input information of the HID devices such as key mouse, i.e., by using step S103 described in the present embodiment,
It can be further ensured that the immersive effects for carrying out the upgrading of software immersion in this way, and due to carrying out the upgrading of software immersion
Normal processes, user do not answer operating system, situations such as to lead to generate software upgrading mistake, interrupt, therefore by using described
Step S103, additionally it is possible to further improve the stability and reliability when software carries out immersion upgrading, software is enabled to be sunk
The fluency of immersion upgrading is higher.
Preferably for the step S103, specifically: using filtration drive come to being inputted by human-computer interaction device
Signal is shielded.Wherein, the overall situation that the filtration drive is the key mouse filter frame that provides using Windows system to realize
Filtration drive, can shield the input information of all keyboards, mouse, therefore can be reduced the Programming workload of designer,
And it is highly suitable in the running environment of Windows operating system.
Embodiment of the present invention method is further elaborated below by way of particular preferred embodiment.
In the present embodiment, the runs software environment of present invention method be Windows system, as Windows 7,
Vista operating system etc..Therefore, before embodiment of the present invention method is further elaborated, first it is in Windows system
The process that existing desktop picture a to display is shown simply is illustrated.
As shown in Fig. 2, the process that desktop picture a to display is shown is presented in Windows system, specifically: it is right
In the desktop of Windows system, rendering and presentation are completed by this process of the dwm.exe of application layer, wherein
Dwm.exe is the process title of DWM, and DWM is Desktop Window Manager, i.e. Desktop Window Manager;The DWM
Process, i.e. this process of dwm.exe can combine the data of all windows, then be mentioned by D3D or GDI etc. using state library
The API (Application Programming Interface, application programming interface) of confession, calling arrive kernel state
DXGK passes through D3D (i.e. Direct3D, a display routine interface, provide 3D function library abundant) or GDI (graphics device
Interface, for handling figure and the image output of all Windows programs) etc. interfaces call to DXGK, wherein D3D need through
DXGI (DirectX circular foundation framework) is just called to DXGK, and GDI is then needed through Win32K.sys (multi-user management driving text
Part) it just calls and arrives DXGK;
The DXGK is transferred to video card memory after the dwm.exe information rendered is converted to the data of DMA transfer form again
In, be equivalent to operating system can need to desktop picture data render to be shown it is good after be transferred to video memory, wherein video card be by
Display miniport driver driving;Finally, Display miniport driver to by operating system transmission Lai
Data rendered (i.e. described secondary rendering), after the completion of rendering, the complete desktop picture of a width is just generated, and works as operation
When system determines to need lower piece image being presented to display, what DXGK can call Display miniport driver is in
Existing interface, orders it to the image process interlacing scan (process namely presented).
It should be noted that above-mentioned DXGK is the graphics subsystem realized by Windows operating system, Display
Miniport driver is the video driver realized by video card hardware manufacturer according to the interface that Microsoft provides, Display
Miniport driver realizes all DXGK and needs to be used to render the interface that the functions such as a desktop are presented, that is to say, that
DXGK tells Display what content miniport driver display will show.
In the present embodiment, the image of required response shows that event is chosen for video driver and is presented to image data
The image that display is occurred during being shown shows event, and particularly preferably, described image shows that event is video card
The calling of driver, and the content based on above-mentioned display process in Windows operating system by DXGK it is found that mainly called
Video driver Display miniport driver, therefore further, in the present embodiment, described image shows thing
Part specifically: calling of the DXGK to video driver Display miniport driver, that is to say, that in the present embodiment
In only need to pay close attention to the part of DXGK and Display miniport driver, then as shown in figure 3, the present invention is implemented
The step of example provides a kind of image display method, specifically includes is as follows.
Step S200, the configuration step of hook program.
Since the realization core of this embodiment scheme is the number distorted Windows operating system and finally show desktop picture
According to no matter which kind of data is application layer there are which kind of pop-up or other application software need to render in this way, final Windows behaviour
Make the dwm.exe process of system when a desktop is presented, last display is all to show the desktop picture after distorting.Cause
This, in the present embodiment, the step S200 specifically includes the following steps:
S2001, configuration hook program, to enable hook program be used in response to DXGK to video driver Display
The calling of miniport driver, the first amending image by the desktop picture storage unit storage in video card memory is second
Image;
Specifically, first amending image by the desktop picture storage unit storage in video card memory is the second figure
Picture is specially that second image is copied to the desktop picture storage unit in video card memory, and by the of the duplication
Two images cover the first image, and the first image is substituted for the second image to realize;
S2002, enable the load of the hook program prior to the load of the video driver;
Specifically, an intermediate drivers Display is realized between DXGK and Display miniport driver
Miniport hook driver, as shown in figure 4, and Display miniport hook driver is registered as Display
The bottom filtration drive of miniport driver, such Display miniport hook driver can be prior to Display
Miniport driver load;
S2003, the calling interface that the calling interface of the video driver is revised as to the hook program;
Specifically, Display miniport hook driver obtains the readjustment letter of DXGK initialization video driver
It counts interface (i.e. calling interface), and the call back function interface of the video driver is changed to the Hook API of this driving, i.e.,
The calling interface of Display miniport hook driver, in this way when Display miniport driver is carried out initially
When changing driving, Display miniport hook driver will be notified, at this point, then by Display miniport
All function Hook of driver registration are to this driving Display miniport hook driver, even operating system is original
The function for the Display miniport driver that can be executed is changed to and executes this driving Display miniport hook
The function of driver, to realize hook.
As it can be seen that realizing one between DXGK and Display miniport driver by using above-mentioned configuration step
A intermediate drivers Display miniport hook driver, i.e. hook program, enable it intercept Display
Miniport driver is supplied to the readjustment of DXGK, and how DXGK order Display miniport driver all in this way show
Show the process of desktop picture, i.e. DXGK adjusts back Display miniport driver to carry out the calling life that desktop picture is shown
It enables, Display miniport hook driver can be intercepted and captured first.And Display miniport hook driver is also
The storage address and Windows operating system that the desktop picture storage unit in video memory can be acquired render next table
The instruction of face image.
So, realize that desktop picture when software carries out immersion upgrading is aobvious using above-mentioned configured hook program
The step of showing, specifically including is as follows.
Step S201, when DXGK readjustment Display miniport driver is to be presented a width desktop picture to display
When, that is, Display miniport hook driver, which acquires Windows operating system, renders next desktop
The instruction of image, Display miniport hook driver can be in response to DXGK to video driver Display at this time
The calling of miniport driver, according to the storage address of the desktop picture storage unit acquired, thus by described second
Image is copied to the desktop picture storage unit in video card memory, and the second image of the duplication is covered first figure
Picture, to realize the effect for by the first amending image being the second image.
Specifically, it if desired enables the image finally shown that can show the state of Current software upgrading, is then preferably modifying
Before, the second image corresponding with Current software upgrade status is first selected from the second multiple and different images, it then again will choosing
The second image taken out is copied to the desktop picture storage unit in video card memory, and overrides the first image, so most
The desktop picture exported eventually can then show Current software upgrade status;Wherein, the plurality of different second image is to deposit in advance
Be stored in specified storage address, and the software upgrading state that is shown of the second image be also it is preferential pre-configured, therefore
According to Current software upgrade status, corresponding second image is carried out using configured mapping relations and is chosen;In addition, for
The desktop picture access unit address, can acquire in advance, can also be to adjust back Display from DXGK
It is acquired in the information intercepted and captured when miniport driver, it is seen then that for the desktop picture access unit address
Obtain, can according to the actual situation with chosen and configured, do not do excessive restriction herein;
Step S202, after having modified, DXGK can call back the presentation interface of Display miniport driver that will present
Instruction is sent to video card hardware, with the image for ordering Display miniport driver to store desktop picture storage unit
Data process interlacing scan, so that the display of display progress desktop picture is enabled, at this point, desktop picture shown by display is
The customized image of second image, i.e. user, to achieve the effect that software immersion upgrades.
Preferably due to which can still have some key mouse events can not seize during carrying out the upgrading of software immersion
The case where, system can also be in response to these key mouse events thereby executing other operations, to cause software upgrading picture may at this time
The problem of being transferred out, and both data that the signal of the human-computer interaction devices such as keyboard, mouse input and desktop are shown are to separate
Processing, for example, as shown in figure 5, original desktop picture (image in the left side) is changed to custom images (in the right
Image) after, since recycle bin icon is in the upper left corner of desktop, the upper left corner of custom images on the right carries out
When double-click, recycle bin icon can be clicked opening, that is, system is operated in the upgrading of software immersion, this
Shi Ze cannot achieve the immersion upgrading of software, thereby increases and it is possible to which the adverse effects such as interruption, mistake occur for the upgrading that will lead to software.Cause
This further includes having following steps in the method for the embodiment of the present invention:
Step S203, the signal inputted by human-computer interaction device is shielded using filtration drive.Wherein, the mistake
The key mouse filter frame that filter is driven to provide using Windows system can shield all keys come the global filtration drive realized
The input information of disk, mouse.
As it can be seen that can be enabled by using the method and step of above-described embodiment when software carries out immersion upgrading, in desktop
When will be as the desktop images that a width is presented after the completion of image rendering, which be distorted, therefore final display
Picture will not be covered by other application pop-up, with guarantee software carry out immersion upgrading effect.And utilize filtration drive
The signal inputted by human-computer interaction device shielded, can all keyboards of filtration system, mouse event, so no matter which
A window cannot all get key mouse information, not only ensure that software carries out the effect of immersion upgrading, but also also ensure
When software carries out immersion upgrading, user can not operate system, to guarantee that software carries out the stability of immersion upgrading
And fluency.
In addition, it is aobvious that the embodiment of the invention also provides a kind of images of optimization in order to optimize to image display method
Show method, compared to the first above-mentioned display methods embodiment, the method for the present embodiment mainly enables image show event from upper
DXGK is stated to the calling of video driver Display miniport driver, operating system progress desktop is revised as and shows
The image occurred during data render shows event, and the desktop picture storage unit is the desktop in Installed System Memory at this time
Image storage unit, thus Windows operating system carry out data render during just directly to the data to be rendered into
Row is distorted, and the data (i.e. for that can be rendered to the data of the second image) for the second image are distorted, i.e., in the present embodiment, described
By the first amending image stored in desktop picture storage unit be the second image the step for, answer specifically, by Installed System Memory
Desktop picture storage unit in the first image data (i.e. for the data of the first image can be rendered to) be modified as the one by one
Two image datas (i.e. for the data of the second image can be rendered to).It is final to present so by using the method for the present embodiment
Desktop be also the second image, i.e. custom images, only will be used as one after the completion of desktop picture rendering compared to above-mentioned
Just progress desktop images distort this mode when the desktop images that width is presented, the present embodiment be directly to the data of Installed System Memory into
Row operation, and above-described embodiment is operated to the content of video memory, this sample embodiment can be reduced a render process, subtract
The consumption of few system resource improves system performance, and compared to the content for directly operating video memory, the treatment effeciency of the present embodiment is more
It is high.
And in the present embodiment, it can equally realize that image shows the response of event using hook technology, thus by desktop
The first amending image stored in image storage unit is the second image.For example, if the operating system carries out desktop display
Show that event is the calling of Bitblt according to the image that is occurred in render process, it can using the behavior of hook Bitblt, from
And it realizes and the Windows operating system content to be presented (i.e. for that can be rendered to the data of the first image) is distorted;If
The operating system carries out the image occurred in desktop display data render process and shows that event is to render the calling of function,
Hook can be carried out to it, enable operating system utilize after first changing the topic parameter of operating system then in response to rendering function
Bitblt renders the data for being rendered to the first image, just can be in this way figure using the above-mentioned calling with Bitblt
Performed modification processing when as display event, thus the modification of the data of the first image rendered needed for realizing.As it can be seen that for
Operating system described in the present embodiment carries out the image occurred in desktop display data render process and shows event, can basis
Practical situation and demand is chosen, and does not do excessive restriction herein.
As shown in fig. 6, the embodiment of the invention also provides a kind of image display systems, comprising:
Processing module 301, for showing event, the first image that will be stored in desktop picture storage unit in response to image
It is revised as the second image;
Display module 302 is shown for exporting second image stored in desktop picture storage unit.
As it can be seen that due to during software carries out immersion upgrading, as long as the top of the picture for showing software upgrading
When layer picture display window is seized by the top layer display window of other application, the generation that image shows event will necessarily be triggered, with
The display of new image data is carried out, is just will lead on the picture of upgrading software in this way and the top as caused by other application occurs
Therefore layer display window, such as the advertisement pop-up of some softwares by using the system of the embodiment of the present invention, are able to respond
Event is shown in carrying out the image occurred in immersion escalation process in software, so that script should be stored in the desk-top picture
As in storage unit and the first amending image for being presented to shown in display carries out is by customized second image of user, when will
When the image data stored in desktop picture storage unit is presented to display and is shown, the image that system desktop is shown will
It is the second image, even if in this way for showing that the top layer picture display window of the picture of software upgrading is shown by the top layer of other application
Show that window is seized, system desktop also only shows second image, thus, by using the embodiment of the present invention, it can
It clearly ensure that immersive effects when software carries out immersion upgrading.Moreover, because being carried out in escalation process in software, the system
System desktop only shows second image, without showing some pop-ups, is guaranteeing software progress immersion upgrading in this way
Simultaneously, moreover it is possible to play the role of implying that user cannot operate system very well, such as since system desktop only shows second
Image, the pop-up popped up without showing other application, such as advertisement, news pop-up, therefore user can be reduced well and existed
Software operate in immersion escalation process to system, such as close pop-up, click link shown in pop-up etc..
It is further used as preferred embodiment, described image shows event are as follows: the calling of video driver;The table
Face image storage unit is the desktop picture storage unit in video card memory;
The processing module 301 is specifically used for showing event in response to image, and second image is copied in video card
Desktop picture storage unit in depositing, and the second image of the duplication is covered into the first image.
It is further used as preferred embodiment, further includes:
First configuration module, for configuring hook program, to enable hook program for showing event in response to image, by table
The first amending image stored in the image storage unit of face is the second image;
Second configuration module, for enabling the load of the hook program prior to the load of the video driver;
Third configuration module, for the calling interface of the video driver to be revised as to the calling of the hook program
Interface.
It is further used as preferred embodiment, described image shows event are as follows: operating system carries out desktop display data
The image occurred in render process shows that event, the desktop picture storage unit are the desktop picture storage in Installed System Memory
Unit;
The processing module 301 is specifically used for showing event in response to image, and the desktop picture in Installed System Memory is stored
The data modification for being rendered to the first image of unit storage is the data for being rendered to the second image.
It is further used as preferred embodiment, the processing module 301 includes:
Submodule is chosen, for selecting corresponding second image from the second multiple and different images;
Modify submodule, the first amending image for will store in desktop picture storage unit is the selected
Two images.
It is further used as preferred embodiment, the selection submodule is specifically used for from the second multiple and different images
Select the second image corresponding with software upgrading state.
It is further used as preferred embodiment, further includes:
Shroud module, for being shielded to the signal inputted by human-computer interaction device.
Suitable for this system embodiment, this system embodiment is implemented content in above method embodiment
Function is identical as above method embodiment, and the beneficial effect reached and above method embodiment beneficial effect achieved
It is identical.
As shown in fig. 7, the embodiment of the invention also provides a kind of image display devices, comprising:
At least one processor 401;
At least one processor 402, for storing at least one program;
When at least one described program is executed by least one described processor 401, so that at least one described processor
401 realize image display method step described in above method embodiment.
Wherein, it for the display device of the present embodiment, is realized by way of software and hardware combining, it is specifically, described
Image display device may include, but are not limited to desktop computer, laptop computer, smart phone, tablet computer, intelligent interaction book
Write the electronic equipments such as plate, server;The processor may include but be not limited to central processing unit, graphics processor etc., described
Memory then may include but be not limited to high-speed random access memory, can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In addition, the processor and memory it
Between can be connected by bus, and the processor and memory can be integrated in same circuit board or be independently arranged at difference
In circuit board, it can also be rewirable connection that the connection between the processor and memory, which can be fixed non-dismountable connection, this
A little modes do not do excessive restriction in the present embodiment, can according to the actual situation/demand choose.
As it can be seen that due to during software carries out immersion upgrading, as long as the top of the picture for showing software upgrading
When layer picture display window is seized by the top layer display window of other application, the generation that image shows event will necessarily be triggered, with
The display of new image data is carried out, is just will lead on the picture of upgrading software in this way and the top as caused by other application occurs
Therefore layer display window, such as the advertisement pop-up of some softwares by using the system of the embodiment of the present invention, are able to respond
Event is shown in carrying out the image occurred in immersion escalation process in software, so that script should be stored in the desk-top picture
As in storage unit and the first amending image for being presented to shown in display carries out is by customized second image of user, when will
When the image data stored in desktop picture storage unit is presented to display and is shown, the image that system desktop is shown will
It is the second image, even if in this way for showing that the top layer picture display window of the picture of software upgrading is shown by the top layer of other application
Show that window is seized, system desktop also only shows second image, thus, by using the embodiment of the present invention, it can
It clearly ensure that immersive effects when software carries out immersion upgrading.Moreover, because being carried out in escalation process in software, the system
System desktop only shows second image, without showing some pop-ups, is guaranteeing software progress immersion upgrading in this way
Simultaneously, moreover it is possible to play the role of implying that user cannot operate system very well, such as since system desktop only shows second
Image, the pop-up popped up without showing other application, such as advertisement, news pop-up, therefore user can be reduced well and existed
Software operate in immersion escalation process to system, such as close pop-up, click link shown in pop-up etc..
That is, the content in above method embodiment is suitable for present apparatus embodiment, present apparatus embodiment is implemented
Function it is identical as above method embodiment, and the beneficial effect reached and above method embodiment beneficial effect achieved
Also identical.
In addition, they may be provided in same mainboard for the processor 401 and memory 402, and therefore, the present invention
Embodiment additionally provides a kind of mainboard comprising:
At least one processor 401;
At least one processor 402, for storing at least one program;
When at least one described program is executed by least one described processor 401, so that at least one described processor
401 realize image display method step described in above method embodiment.
As it can be seen that the content in above method embodiment, suitable for this mainboard embodiment, this mainboard embodiment institute is specific
The function of realization is identical as above method embodiment, and the beneficial effect reached and above method embodiment are achieved beneficial
Effect is also identical.
In addition, the embodiment of the invention also provides a kind of storage mediums, wherein being stored with the executable instruction of processor, institute
Executable the enabling of processor is stated to walk for executing image display method described in above method embodiment when executed by the processor
Suddenly.That is, the content in above method embodiment is suitable for this storage medium embodiment, this storage medium embodiment
The function of being implemented is identical as above method embodiment, and the beneficial effect reached is reached with above method embodiment
Beneficial effect it is also identical.
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.