CN105227603A - virtual desktop image processing method, device, virtual desktop server and thin terminal - Google Patents
virtual desktop image processing method, device, virtual desktop server and thin terminal Download PDFInfo
- Publication number
- CN105227603A CN105227603A CN201410283784.3A CN201410283784A CN105227603A CN 105227603 A CN105227603 A CN 105227603A CN 201410283784 A CN201410283784 A CN 201410283784A CN 105227603 A CN105227603 A CN 105227603A
- Authority
- CN
- China
- Prior art keywords
- virtual desktop
- image
- accumulative
- change
- rolling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 230000008859 change Effects 0.000 claims abstract description 74
- 238000005096 rolling process Methods 0.000 claims abstract description 66
- 238000000034 method Methods 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims description 20
- 238000009825 accumulation Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 abstract description 20
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 15
- 230000009471 action Effects 0.000 description 9
- 238000012544 monitoring process Methods 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 5
- 239000002699 waste material Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Digital Computer Display Output (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides a kind of virtual desktop image processing method, device, virtual desktop server and thin terminal, wherein, the method comprises: judge whether the image that virtual desktop current active window shows change of rolling occurs; When judged result is for being, the accumulative position offset of the accumulative generation of image within a predetermined period of time rolling change, and there is the accumulative difference part changed of rolling; Position offset will be added up, and accumulative difference part sends to for thin terminal corresponding to virtual desktop display, pass through the present invention, solve in correlation technique exist virtual desktop image procossing numerous and diverse, and the problem of the significant wastage network bandwidth, and then reach the process of simplification virtual desktop, effectively save the effect of the network bandwidth.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of virtual desktop image processing method, device, virtual desktop server and thin terminal.
Background technology
Virtual desktop is an important application of cloud computing, and compare with notebook with traditional PC (PersonalComputer, referred to as PC) machine, the virtual desktop that local desktop is running in remote data center replaced.Content in virtual desktop passes back on the screen of user in the mode of image.As long as like this virtual desktop exists change, just need to transmit with the mode of image this locality to user, and in a lot of virtual desktop office scenes of correlation technique, a lot of operation is that user uses middle button of mouse browsing document.Such as, in most of occasion operator roll mouse during key, the order of multiple middle button of mouse can be sent continuously, the refreshing at all corresponding interface of order of each middle button of mouse.Again such as, the action of another one browsing document is browsed for pinning left mouse button dragging scroll bar, and such mouse often holds in the palm and once will produce corresponding refreshing.
But, for the operation each time of virtual desktop, the change of image is not large especially, but such change virtual desktop is all needed to upgrade image at every turn, and sent to by new image user local, not only there is the numerous and diverse problem of process, and be also great waste to the network bandwidth.
Therefore, exist virtual desktop image procossing numerous and diverse in the related, and the problem of the significant wastage network bandwidth.
Summary of the invention
The invention provides a kind of virtual desktop image processing method, device, virtual desktop server and thin terminal, with at least solve in correlation technique exist virtual desktop image procossing numerous and diverse, and the problem of the significant wastage network bandwidth.
According to an aspect of the present invention, provide a kind of virtual desktop image processing method, comprising: judge whether the image that virtual desktop current active window shows change of rolling occurs; When judged result is for being, the accumulative position offset of accumulative described image generation rolling change within a predetermined period of time, and there is the accumulative difference part changed of rolling; By described accumulative position offset, and described accumulative difference part sends to for thin terminal corresponding to described virtual desktop display.
Preferably, to occur to roll the described accumulative position offset of change being accumulated at described image in described predetermined amount of time, and before the described accumulative difference part of generation rolling change, also comprise: the single position side-play amount obtaining described image single rolling change correspondence; Described single position side-play amount is sent to described thin terminal.
Preferably, judging whether described image that described virtual desktop current active window shows occurs to roll before change, also comprise: judge whether the application that described image that described virtual desktop current active window shows is corresponding is the application adopting scroll bar to carry out rolling operation, when judged result is for being, judge whether the described image that described virtual desktop current active window shows change of rolling occurs.
According to a further aspect in the invention, provide a kind of virtual desktop image processing method, comprising: the image of the current active window display that display virtual desktop sends; Receive described virtual desktop and the accumulative position offset changed that rolls is occurred within a predetermined period of time to described image, and the accumulative difference part changed of rolling occurs; According to described accumulative position offset, and the described image of described accumulative difference part to display carries out renewal display.
Preferably, at the described virtual desktop of reception, the described accumulative position offset changed that rolls is occurred in described predetermined amount of time to described image, and before the described accumulative difference part of generation rolling change, also comprise: the described image single receiving the transmission of described virtual desktop rolls and changes the single position side-play amount of correspondence; The mode of blank gradual change is adopted to upgrade difference part corresponding to the described single position side-play amount of display.
Provide a kind of virtual desktop image processing apparatus, comprising according to of the present invention: the first judge module also on the one hand, for judging whether the image that virtual desktop current active window shows change of rolling occurs; Accumulation module, for when judged result is for being, the accumulative position offset of accumulative described image generation rolling change within a predetermined period of time, and there is the accumulative difference part changed of rolling; First sending module, for by described accumulative position offset, and described accumulative difference part sends to for thin terminal corresponding to described virtual desktop display.
Preferably, this device also comprises: acquisition module, for obtaining single position side-play amount corresponding to described image single rolling change; Second sending module, for sending to described thin terminal by described single position side-play amount.
Preferably, this device also comprises: the second judge module, for judging whether the application that described image that described virtual desktop current active window shows is corresponding is the application adopting scroll bar to carry out rolling operation, when judged result is for being, judge whether the described image that described virtual desktop current active window shows change of rolling occurs.
In accordance with a further aspect of the present invention, provide a kind of virtual desktop server, comprise the device described in above-mentioned any one.
According to another aspect of the invention, provide a kind of virtual desktop image processing apparatus, comprising: the first display module, for showing the image of the current active window display that virtual desktop sends; , there is to described image the accumulative position offset changed that rolls for receiving described virtual desktop within a predetermined period of time, and the accumulative difference part changed of rolling occur in the first receiver module; Update module, for according to described accumulative position offset, and the described image of described accumulative difference part to display carries out renewals and shows.
Preferably, this device also comprises: the second receiver module, and the described image single sent for receiving described virtual desktop rolls and changes corresponding single position side-play amount; Second display module, upgrades difference part corresponding to the described single position side-play amount of display for adopting the mode of blank gradual change.
According to also one side of the present invention, provide a kind of thin terminal, comprise the device described in above-mentioned any one.
By the present invention, adopt and judge whether the image that virtual desktop current active window shows change of rolling occurs; When judged result is for being, the accumulative position offset of accumulative described image generation rolling change within a predetermined period of time, and there is the accumulative difference part changed of rolling; By described accumulative position offset, and described accumulative difference part sends to for thin terminal corresponding to described virtual desktop display, solve in correlation technique exist virtual desktop image procossing numerous and diverse, and the problem of the significant wastage network bandwidth, and then reach the process of simplification virtual desktop, effectively save the effect of the network bandwidth.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the virtual desktop image processing method one according to the embodiment of the present invention;
Fig. 2 is the flow chart of the virtual desktop image processing method two according to the embodiment of the present invention;
Fig. 3 is the structured flowchart of the virtual desktop image processing apparatus one according to the embodiment of the present invention;
Fig. 4 is the preferred structure block diagram one of the virtual desktop image processing apparatus one according to the embodiment of the present invention;
Fig. 5 is the preferred structure block diagram two of the virtual desktop image processing apparatus one according to the embodiment of the present invention;
Fig. 6 is the structured flowchart of the virtual desktop server according to the embodiment of the present invention;
Fig. 7 is the structured flowchart of the virtual desktop image processing apparatus two according to the embodiment of the present invention;
Fig. 8 is the preferred structure block diagram of the virtual desktop image processing apparatus two according to the embodiment of the present invention;
Fig. 9 is the structured flowchart of the thin terminal according to the embodiment of the present invention;
Figure 10 is first active window schematic diagram in virtual desktop image processing method according to the preferred embodiment of the present invention;
Figure 11 is that video in window rolling side-play amount calculates schematic diagram in virtual desktop image processing method according to the preferred embodiment of the present invention;
Figure 12 is that thin terminal draws viewing area schematic diagram according to side-play amount in virtual desktop image processing method according to the preferred embodiment of the present invention;
Figure 13 is that thin terminal draws viewing area schematic diagram according to side-play amount+constant interval in virtual desktop image processing method according to the preferred embodiment of the present invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Provide a kind of virtual desktop image processing method in the present embodiment, Fig. 1 is the flow chart of the virtual desktop image processing method one according to the embodiment of the present invention, and as shown in Figure 1, this flow process comprises the steps:
Step S102, judges whether the image that virtual desktop current active window shows change of rolling occurs;
Step S104, when judged result is for being, the accumulative position offset of the accumulative generation of image within a predetermined period of time rolling change, and there is the accumulative difference part changed of rolling;
Step S106, will add up position offset, and accumulative difference part sends to for thin terminal corresponding to virtual desktop display.
Pass through above-mentioned steps, for virtual desktop one side, there is the accumulative position deviant changed of rolling in accumulative virtual desktop image within a predetermined period of time, and accumulative difference part, and only accumulative position deviant and accumulative difference part are sent to thin terminal, as long as relative in correlation technique image occur change and the image of changing unit is sent to thin terminal, adopt said method, effectively can not only reduce the numerous and diverse degree to virtual desktop image procossing, and all need not send image to thin terminal at every turn, not only simplify the image procossing of virtual desktop, and cost savings the network bandwidth.
Preferably, the accumulative position offset of the change that occurs to roll at accumulative image within a predetermined period of time, and before the accumulative difference part of the change that occurs to roll, also comprising: obtain image single and to roll single position side-play amount corresponding to change; Single position side-play amount is sent to thin terminal.Thin like this terminal just according to each position offset occurred, the desktop window of this locality can carry out prestrain to the content of display, namely allows user awareness process the image that rolling operation occurs to remote terminal.Only single position side-play amount is sent to thin terminal, the bandwidth spent is also few, and effectively can improve the reading adapt sense of user.
In order to effectively get rid of the possibility of erroneous judgement, judging whether image that virtual desktop current active window shows occurs to roll before change, first can also judge whether the application that image that virtual desktop current active window shows is corresponding is the application adopting scroll bar to carry out rolling operation, when judged result is for being, judge whether the image that virtual desktop current active window shows change of rolling occurs.Namely determine be to rolling view operation window be suitable for.
Fig. 2 is the flow chart of the virtual desktop image processing method two according to the embodiment of the present invention, and as shown in Figure 2, this flow process comprises the steps:
Step S202, the image of the current active window display that display virtual desktop sends;
Step S204, receives virtual desktop, to image, the accumulative position offset changed that rolls occurs within a predetermined period of time, and the accumulative difference part of rolling change occurs;
Step S206, according to accumulative position offset, and the image of accumulative difference part to display carries out renewal display.
Pass through above-mentioned steps, for thin terminal one side, according to virtual desktop image accumulative position offset within a predetermined period of time, and the image of accumulative difference part to display carries out renewal display, as long as the image of the changing unit that the change occurred relative to image in correlation technique and reception virtual desktop side send, adopt said method, effectively can not only reduce the numerous and diverse degree to virtual desktop image procossing, and all need not send image to thin terminal at every turn, not only simplify virtual desktop and thin terminal to the process of image, and cost savings the network bandwidth.
Accordingly, at reception virtual desktop, the accumulative position offset changed that rolls is occurred within a predetermined period of time to image, and before the accumulative difference part of generation rolling change, consider the wait of thin terminal in this predetermined amount of time, first can receive the single position side-play amount of the image single rolling change correspondence that virtual desktop sends; The mode of blank gradual change is adopted to upgrade difference part corresponding to display single position side-play amount.By such process, not only can not waste the too many network bandwidth, and effectively improve thin terminal side user browse comfort.
Additionally provide a kind of virtual desktop image processing apparatus in the present embodiment, this device is used for realizing above-described embodiment and preferred implementation, has carried out repeating no more of explanation.As used below, term " module " can realize the software of predetermined function and/or the combination of hardware.Although the device described by following examples preferably realizes with software, hardware, or the realization of the combination of software and hardware also may and conceived.
Fig. 3 is the structured flowchart of the virtual desktop image processing apparatus one according to the embodiment of the present invention, and as shown in Figure 3, this device comprises the first judge module 32, accumulation module 34 and the first sending module 36, is described below to this device.
First judge module 32, for judging whether the image that virtual desktop current active window shows change of rolling occurs; Accumulation module 34, is connected to above-mentioned first judge module 32, for when judged result is for being, and the accumulative position offset of the accumulative generation of image within a predetermined period of time rolling change, and there is the accumulative difference part changed of rolling; First sending module 36, is connected to above-mentioned accumulation module 34, and for adding up position offset, and accumulative difference part sends to for thin terminal corresponding to virtual desktop display.
Fig. 4 is the preferred structure block diagram one of the virtual desktop image processing apparatus one according to the embodiment of the present invention, and as shown in Figure 4, this device, except comprising all modules shown in Fig. 3, also comprises acquisition module 42 and the second sending module 44, is described below to this device.
Acquisition module 42, is connected to above-mentioned first judge module 32, for obtaining single position side-play amount corresponding to image single rolling change; Second sending module 44, is connected to above-mentioned acquisition module 42 and accumulation module 34, for single position side-play amount is sent to thin terminal.
Fig. 5 is the preferred structure block diagram two of the virtual desktop image processing apparatus one according to the embodiment of the present invention, as shown in Figure 5, this device is except comprising all modules shown in Fig. 3, and this device also comprises: the second judge module 52, is described below to this second judge module 52.
Second judge module 52, be connected to above-mentioned first judge module 32, for judging whether the application that image that virtual desktop current active window shows is corresponding is the application adopting scroll bar to carry out rolling operation, when judged result is for being, judge whether the image that virtual desktop current active window shows change of rolling occurs.
Fig. 6 is the structured flowchart of the virtual desktop server according to the embodiment of the present invention, and as shown in Figure 6, this virtual desktop server 60 comprises the virtual desktop image processing apparatus 1 of above-mentioned any one.
Fig. 7 is the structured flowchart of the virtual desktop image processing apparatus two according to the embodiment of the present invention, and as shown in Figure 7, this device comprises the first display module 72, first receiver module 74 and update module 76, is described below to this device.
First display module 72, for showing the image of the current active window display that virtual desktop sends; First receiver module 74, is connected to above-mentioned first display module 72, to image, the accumulative position offset changed that rolls occurs within a predetermined period of time, and the accumulative difference part changed of rolling occurs for receiving virtual desktop; Update module 76, is connected to above-mentioned first receiver module 74, and for the accumulative position offset of foundation, and the image of accumulative difference part to display carries out renewal display.
Fig. 8 is the preferred structure block diagram of the virtual desktop image processing apparatus two according to the embodiment of the present invention, as shown in Figure 8, this device is except comprising all modules shown in Fig. 7, and this device also comprises: the second receiver module 82 and the second display module 84, is described this device below.
Second receiver module 82, is connected to above-mentioned first display module 72, and the image single sent for receiving virtual desktop rolls and changes corresponding single position side-play amount; Second display module 84, is connected to above-mentioned second receiver module 82 and the first receiver module 74, upgrades difference part corresponding to display single position side-play amount for adopting the mode of blank gradual change.
Fig. 9 is the structured flowchart of the thin terminal according to the embodiment of the present invention, and as shown in Figure 9, this thin terminal 90 comprises the virtual desktop image processing apparatus 2 92 of above-mentioned any one.
For in correlation technique, two kinds of scenes of mouse action virtual desktop, propose corresponding image processing method respectively in the present embodiment, such as, for the first, that is, in most of occasion operator roll mouse during key, the order of multiple middle button of mouse can be sent continuously, the refreshing at all corresponding interface of order of each middle button of mouse.When therefore causing virtual desktop image change when there is middle button of mouse operation, temporarily do not send images on the screen of client, but after monitoring, whether have middle button of mouse to operate arrival, if not, the image of the change caused by this middle button of mouse is sent on the screen of client.After last middle button of mouse order arrives, virtual desktop is analyzed (such as to image change part, to line by line scan coding analysis), and the image that a upper width is sent on the screen of client compares---draw changing unit and do not have vicissitudinous part.Only the content of changing unit is sent to client (i.e. thin terminal); For the second, namely the action of a browsing document is browsed for pinning left mouse button dragging scroll bar, and such mouse often holds in the palm and once will produce corresponding refreshing.The Position Approximate of scroll bar is judged in the application (such as WORD program board program) that virtual desktop belongs to according to the window of current active---such as on the right of window.When mouse move (mouse position and scroll bar interval coincide)+left button arrived by the action pinned and cause content change in active window time, temporarily do not send images on the screen of client, but whether have after monitoring mouse move+left button continued to arrive by the action pinned, if not, the image of the change caused by this being operated is sent on the screen of client.When last mouse move+after left button arrived by the action command pinned, virtual desktop is analyzed (such as adopting coding analysis of lining by line scan) image change part, and the image that a upper width is sent on the screen of client compares---and draw changing unit and do not have vicissitudinous part.Only the content of changing unit is sent to client.It should be noted that, for above-mentioned two kinds of mouse actions, if thin-client is touch panel device, the slip pointed on touch panel device also can be translated into the rolling operation of middle button of mouse, and above-mentioned processing mode is still suitable for.
Below the virtual desktop image procossing scheme of the embodiment of the present invention is described.
When adopting such scheme to carry out virtual desktop image procossing, can first judge the application program of virtual desktop current active window, application type according to the application program of current active window judges whether to use above-mentioned processing scheme, such as, following comparatively simple determination methods can be adopted, the operating system of current main use Microsoft's Window, when the Windows in virtual desktop produces new window, virtual desktop can obtain the application type of new window by the character string in window title---such as, be applied as MicrosoftWord, MicrosoftExcel, notepad, IE etc., the type of application can be judged according to the character string in this window title, thus determine whether adopt above-mentioned processing mode.Illustrate below.For application---such as MicrosoftWord conventional in current windows system, MicrosoftExcel, notepad, IE etc., these application have scroll bar, and the position of scroll bar is very fixing: (1): up-down scroll bar is all positioned at the vertical elongated zones of the low order end of window; (2): left-right scroll bar is all positioned at the horizontal shape elongated zones bottom of window; Virtual desktop is easy to the general coordinate calculating the interval region in application window of scroll bar.Therefore, be adopt rolling operation to browsing of above-mentioned application, namely can adopt the image procossing scheme of above-mentioned virtual desktop.
Illustrate respectively below in conjunction with above-mentioned two kinds of mouse action scenes.
The operation scenario of middle button of mouse: when a window becomes active window, the image of current window is issued thin-client by virtual desktop, and thin-client completes display on interface.Meanwhile, virtual desktop and thin-client preserve in window this image simultaneously headed by width image.Mode below by middle button of mouse carries out rolling change to image, and namely when virtual desktop receives the order of middle button of mouse, if virtual desktop creates image change, then virtual desktop carries out com-parison and analysis process by the change of image;
S1, process, whether in the scope of current active window, if not in the scope of active window, is not then continued in the interval that image change occurs;
S2, if the interval of generation image change is in the scope of active window, then continues following process: carry out buffer memory to new image, and can judge that new images moves for there occurs during upper piece image or moves down according to the direction of rolling.Then the side-play amount (such as the height of 10 row pixels) that video in window rolls is calculated, side-play amount (such as scroll up 10 row pixels) is sent to client---this amount of information is very little, takies negligible to the network bandwidth;
S3, thin-client carries out display update according to the rolling side-play amount sent---and such as scroll up the original image being buffered in thin-client 10 row pixels, because virtual desktop is not sent to thin-client the image of changing unit (newly carrying out bottom of window 10 row pixel), thin-client can adopt the 10 row pixels of the mode of blank gradual change on interface bottom display window, to operator with the balance of visual experience aspect;
S4, virtual desktop continues whether have new middle button of mouse order to arrive in monitoring at the appointed time.If there is new middle button of mouse to arrive, then circulation proceeds the operation of S2, S3 step above;
S5, after not having the operation of middle button of mouse to arrive, accumulation is calculated up-to-date image (after not having middle button of mouse to arrive) and first width image (before first middle button of mouse arrival) contrasts, calculate side-play amount (i.e. above-mentioned accumulative position offset), the information of side-play amount (height of the 80 row pixels that such as, scroll up)+emerging 80 row pixels is sent to thin-client;
S6, thin-client will be buffered in local first width image (before first middle button of mouse arrival) and upwards offset 80 row pixels, then superpose the information of emerging 80 row pixels, form new image and be buffered in thin-client;
S7, replace the operation in the middle of mouse in touch-screen with finger sliding, above-mentioned handling process is still suitable for.
Mouse moves+operation scenario of left mouse button: move when virtual desktop receives mouse+left mouse button press order time, if virtual desktop creates image change, then virtual desktop carries out com-parison and analysis process by the change of image;
S1, the interval that image change occurs whether in the scope of current active window, if not in the scope of active window, then ended process; Judge that the position of mouse is whether between scrollable area, if not between scrollable area, method described in the invention is inapplicable simultaneously.If active window there occurs change and mouse current location between scrollable area, then use the method for S2 ~ S5 step below;
S2, virtual desktop is buffer memory new images first, and then virtual desktop sends the order of rolling to thin-client, and thin-client adopts between blank+up time rolling figure calibration method viewing area, and operator is understood, and the action dragging scroll bar is being had an effect;
S3, virtual desktop continue whether to have in monitoring at the appointed time new mouse move+the left mouse button order of pressing arrives.If there is new middle button of mouse to arrive, then circulation proceeds the operation of S2 step above;
S4, when do not have mouse move+after the operation of left mouse button arrives, accumulation is calculated up-to-date image (do not have mouse move+after left mouse button arrives) and first width image (first mouse move+left mouse button arrival before) to contrast, calculate side-play amount, the information of side-play amount (height of the 200 row pixels that such as scroll up)+emerging 200 row pixels is sent to thin-client;
S5, thin-client will be buffered in local first width image (before first middle button of mouse arrival) and upwards offset 200 row pixels, then superpose the information of emerging 200 row pixels, form new image and be buffered in thin-client.
Below in conjunction with handling process schematic diagram, the preferred embodiment for the present invention is described.
Figure 10 is first active window schematic diagram in virtual desktop image processing method according to the preferred embodiment of the present invention, as shown in Figure 10, in virtual desktop after there is new active window, buffer memory is carried out to the image of active window, and being sent to thin-client, thin-client carries out buffer memory to the image of window simultaneously.
Figure 11 is that video in window rolling side-play amount calculates schematic diagram in virtual desktop image processing method according to the preferred embodiment of the present invention, as shown in figure 11, when middle button of mouse causes viewing area to occur to roll change, image new under the first buffer memory of virtual desktop, then compare with original image, calculate rolling side-play amount, the method for calculating is as follows:
(1) 1st row (N+1 in Figure 11 capable) of new images in viewing area and original image is used to compare at the 1st row (1 row in Figure 11) of viewing area, if just different and original image compares at the 2nd row of viewing area, until find identical (supposing 11st row of original image in viewing area);
(2) 2nd ~ X (X can the configure) row of new images in viewing area and (12 ~ 10+X) of original image is used to contrast line by line, if whole identical explanation side-play amount is found correctly.Otherwise continue the search procedure of (1) step---restart comparison with new images at the 1st row of viewing area and the 12nd row of original image.
Figure 12 is that thin terminal draws viewing area schematic diagram according to side-play amount in virtual desktop image processing method according to the preferred embodiment of the present invention, as shown in figure 12, side-play amount is issued thin-client by virtual desktop, and thin-client repaints window viewing area according to side-play amount.
In virtual desktop monitoring at the appointed time, whether (can configure, such as 0.2 second) has new middle button of mouse order to arrive.If there is middle button of mouse instruction to arrive at the appointed time, then proceed Figure 11, the operational processes shown in Figure 12.If do not have middle button of mouse instruction to arrive at the appointed time, then proceed following process.
Figure 13 is that thin terminal draws viewing area schematic diagram according to side-play amount+constant interval in virtual desktop image processing method according to the preferred embodiment of the present invention, as shown in figure 13, calculate accumulation side-play amount, side-play amount and emerging pixel column are sent to thin-client, and thin-client repaints window viewing area according to the interval of side-play amount+change.
It should be noted that, for the method for operation (dragging scroll bar) pinning left mouse button+rolling mouse, substantially similar with middle button of mouse, difference is that virtual desktop is in the process of mouse movement, no longer calculates the side-play amount of each movement but stops the side-play amount of mobile rear calculated population at mouse.The thin-client hour hands that whole interface display rotates in mouse moving process represent that interface is in the process of refreshing.
By above-described embodiment and preferred implementation, for the conventional scene of virtual desktop, by monitoring application type, the method for user operation and analysis image change, only transmits the changing unit of last image, greatly saves the network bandwidth.Simultaneously because judge for application type, eliminate the possibility of erroneous judgement.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (12)
1. a virtual desktop image processing method, is characterized in that, comprising:
Judge whether the image that virtual desktop current active window shows change of rolling occurs;
When judged result is for being, the accumulative position offset of accumulative described image generation rolling change within a predetermined period of time, and there is the accumulative difference part changed of rolling;
By described accumulative position offset, and described accumulative difference part sends to for thin terminal corresponding to described virtual desktop display.
2. method according to claim 1, is characterized in that, to occur to roll the described accumulative position offset of change being accumulated at described image in described predetermined amount of time, and before the described accumulative difference part of the change that occurs to roll, also comprises:
Obtain the single position side-play amount that described image single rolling change is corresponding;
Described single position side-play amount is sent to described thin terminal.
3. method according to claim 1, is characterized in that, is judging whether described image that described virtual desktop current active window shows occurs to roll before change, also comprises:
Judge whether the application that described image that described virtual desktop current active window shows is corresponding is the application adopting scroll bar to carry out rolling operation, when judged result is for being, judge whether the described image that described virtual desktop current active window shows change of rolling occurs.
4. a virtual desktop image processing method, is characterized in that, comprising:
The image of the current active window display that display virtual desktop sends;
Receive described virtual desktop and the accumulative position offset changed that rolls is occurred within a predetermined period of time to described image, and the accumulative difference part changed of rolling occurs;
According to described accumulative position offset, and the described image of described accumulative difference part to display carries out renewal display.
5. method according to claim 1, it is characterized in that, receive described virtual desktop to described image occurs in described predetermined amount of time roll change described accumulative position offset, and occur roll change described accumulative difference part before, also comprise:
Receive the single position side-play amount of the described image single rolling change correspondence that described virtual desktop sends;
The mode of blank gradual change is adopted to upgrade difference part corresponding to the described single position side-play amount of display.
6. a virtual desktop image processing apparatus, is characterized in that, comprising:
First judge module, for judging whether the image that virtual desktop current active window shows change of rolling occurs;
Accumulation module, for when judged result is for being, the accumulative position offset of accumulative described image generation rolling change within a predetermined period of time, and there is the accumulative difference part changed of rolling;
First sending module, for by described accumulative position offset, and described accumulative difference part sends to for thin terminal corresponding to described virtual desktop display.
7. device according to claim 6, is characterized in that, also comprises:
Acquisition module, for obtaining single position side-play amount corresponding to described image single rolling change;
Second sending module, for sending to described thin terminal by described single position side-play amount.
8. device according to claim 6, is characterized in that, also comprises:
Second judge module, for judging whether the application that described image that described virtual desktop current active window shows is corresponding is the application adopting scroll bar to carry out rolling operation, when judged result is for being, judge whether the described image that described virtual desktop current active window shows change of rolling occurs.
9. a virtual desktop server, is characterized in that, comprises the device according to any one of claim 6 to 8.
10. a virtual desktop image processing apparatus, is characterized in that, comprising:
First display module, for showing the image of the current active window display that virtual desktop sends;
, there is to described image the accumulative position offset changed that rolls for receiving described virtual desktop within a predetermined period of time, and the accumulative difference part changed of rolling occur in the first receiver module;
Update module, for according to described accumulative position offset, and the described image of described accumulative difference part to display carries out renewals and shows.
11. devices according to claim 10, is characterized in that, also comprise:
Second receiver module, the described image single sent for receiving described virtual desktop rolls and changes corresponding single position side-play amount;
Second display module, upgrades difference part corresponding to the described single position side-play amount of display for adopting the mode of blank gradual change.
12. 1 kinds of thin terminals, is characterized in that, comprising: the device according to any one of claim 10 to 11.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410283784.3A CN105227603A (en) | 2014-06-23 | 2014-06-23 | virtual desktop image processing method, device, virtual desktop server and thin terminal |
PCT/CN2015/071765 WO2015196804A1 (en) | 2014-06-23 | 2015-01-28 | Virtual desktop image processing method and device, virtual desktop server and thin terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410283784.3A CN105227603A (en) | 2014-06-23 | 2014-06-23 | virtual desktop image processing method, device, virtual desktop server and thin terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105227603A true CN105227603A (en) | 2016-01-06 |
Family
ID=54936694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410283784.3A Withdrawn CN105227603A (en) | 2014-06-23 | 2014-06-23 | virtual desktop image processing method, device, virtual desktop server and thin terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105227603A (en) |
WO (1) | WO2015196804A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020756A (en) * | 2016-05-13 | 2016-10-12 | 江苏云途腾科技有限责任公司 | Method and apparatus for updating virtual desktop |
CN106383705A (en) * | 2016-08-31 | 2017-02-08 | 杭州华为数字技术有限公司 | Method and apparatus for setting display state of mouse in an application thin client |
CN107682694A (en) * | 2017-07-07 | 2018-02-09 | 西安万像电子科技有限公司 | Image coding/decoding method, apparatus and system |
CN108153573A (en) * | 2017-12-26 | 2018-06-12 | 合肥中科云巢科技有限公司 | Cloud desktop picture update method and virtual machine |
CN111953986A (en) * | 2020-07-23 | 2020-11-17 | 西安万像电子科技有限公司 | Image processing method and device |
CN117591225A (en) * | 2023-12-05 | 2024-02-23 | 太极计算机股份有限公司 | Optimization method and system for rolling dragging window in cloud desktop |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420610A (en) * | 2007-10-26 | 2009-04-29 | 闪联信息技术工程中心有限公司 | Method for displaying remote desktop content and apparatus thereof |
CN102027464A (en) * | 2008-05-12 | 2011-04-20 | 微软公司 | Virtual desktop view scrolling |
CN102164166A (en) * | 2011-02-21 | 2011-08-24 | 北京奇虎科技有限公司 | Method and system for remote-control sector transmission |
CN102566910A (en) * | 2011-12-14 | 2012-07-11 | 广州杰赛科技股份有限公司 | Virtual desktop system and method for refreshing on-screen display of virtual desktop client |
US20130067344A1 (en) * | 2011-09-08 | 2013-03-14 | Microsoft Corporation | Remoting desktop displays using move regions |
CN103294438A (en) * | 2013-06-21 | 2013-09-11 | 镇江冈山电子有限公司 | Transmission control method and system of virtual desktop images |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192131B (en) * | 2006-11-30 | 2012-04-11 | 重庆优腾信息技术有限公司 | Method for processing table top background, device and operation system table top interface system |
EP2553561A4 (en) * | 2010-04-01 | 2016-03-30 | Citrix Systems Inc | Interacting with remote applications displayed within a virtual desktop of a tablet computing device |
CN103412701B (en) * | 2012-11-01 | 2016-08-31 | 华为技术有限公司 | remote desktop image processing method and device |
-
2014
- 2014-06-23 CN CN201410283784.3A patent/CN105227603A/en not_active Withdrawn
-
2015
- 2015-01-28 WO PCT/CN2015/071765 patent/WO2015196804A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420610A (en) * | 2007-10-26 | 2009-04-29 | 闪联信息技术工程中心有限公司 | Method for displaying remote desktop content and apparatus thereof |
CN102027464A (en) * | 2008-05-12 | 2011-04-20 | 微软公司 | Virtual desktop view scrolling |
CN102164166A (en) * | 2011-02-21 | 2011-08-24 | 北京奇虎科技有限公司 | Method and system for remote-control sector transmission |
US20130067344A1 (en) * | 2011-09-08 | 2013-03-14 | Microsoft Corporation | Remoting desktop displays using move regions |
CN102566910A (en) * | 2011-12-14 | 2012-07-11 | 广州杰赛科技股份有限公司 | Virtual desktop system and method for refreshing on-screen display of virtual desktop client |
CN103294438A (en) * | 2013-06-21 | 2013-09-11 | 镇江冈山电子有限公司 | Transmission control method and system of virtual desktop images |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020756A (en) * | 2016-05-13 | 2016-10-12 | 江苏云途腾科技有限责任公司 | Method and apparatus for updating virtual desktop |
CN106383705A (en) * | 2016-08-31 | 2017-02-08 | 杭州华为数字技术有限公司 | Method and apparatus for setting display state of mouse in an application thin client |
CN107682694A (en) * | 2017-07-07 | 2018-02-09 | 西安万像电子科技有限公司 | Image coding/decoding method, apparatus and system |
CN107682694B (en) * | 2017-07-07 | 2020-02-04 | 西安万像电子科技有限公司 | Image coding and decoding method, device and system |
CN108153573A (en) * | 2017-12-26 | 2018-06-12 | 合肥中科云巢科技有限公司 | Cloud desktop picture update method and virtual machine |
CN111953986A (en) * | 2020-07-23 | 2020-11-17 | 西安万像电子科技有限公司 | Image processing method and device |
CN117591225A (en) * | 2023-12-05 | 2024-02-23 | 太极计算机股份有限公司 | Optimization method and system for rolling dragging window in cloud desktop |
CN117591225B (en) * | 2023-12-05 | 2024-06-11 | 太极计算机股份有限公司 | Optimization method and system for rolling dragging window in cloud desktop |
Also Published As
Publication number | Publication date |
---|---|
WO2015196804A1 (en) | 2015-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105227603A (en) | virtual desktop image processing method, device, virtual desktop server and thin terminal | |
CN111544886B (en) | Picture display method and related device | |
JP5324411B2 (en) | Advertisement distribution apparatus, method and program | |
WO2017063324A1 (en) | Window displaying method and mobile terminal | |
CN107204044B (en) | Picture display method based on virtual reality and related equipment | |
CN112631447B (en) | Mouse synchronous processing method and device, electronic equipment and storage medium | |
CN102981755A (en) | Gesture control method and gesture control system based on remote application | |
CN108885536B (en) | Method and device for compensating following chirality and terminal equipment | |
CN107368243B (en) | View scrolling method, device and smart television | |
US20130263045A1 (en) | Screen display device and screen display system | |
CN103365930A (en) | Webpage content display control system and webpage content display control method | |
CN115878935B (en) | Method, system, device, equipment and medium for partial refreshing of chart | |
CN108628402A (en) | The display device of input function | |
JP5563703B2 (en) | Content distribution apparatus, content distribution method, content distribution program, and terminal program | |
JP5696563B2 (en) | Information processing apparatus, screen update method, screen update program, and information processing system | |
CN103914228B (en) | A kind of operating method of mobile terminal and its touch-screen | |
CN102455784B (en) | Remote management device and management method thereof | |
CN104144212A (en) | Virtual desktop image transmission method, device and system | |
JP6339550B2 (en) | Terminal program, terminal device, and terminal control method | |
JP5115457B2 (en) | Cursor movement control method, apparatus, and program | |
JP6722240B2 (en) | Information processing apparatus, information processing program, information processing method, and information processing system | |
CN109213395A (en) | The control method of terminal installation, display system and terminal installation | |
CN113055707B (en) | Video display method and device | |
CN105516229B (en) | Method and device for updating virtual desktop | |
CN113780291A (en) | Image processing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160106 |
|
WW01 | Invention patent application withdrawn after publication |