The invention discloses a method and a device for sending data under a VDI (visual desktop infrastructure) environment. By adopting the technical scheme, when a desktop protocol
client is under the abnormal condition, a desktop protocol
server sends the data of desktop images to the desktop protocol
client at the rate lower than the rate of the normal condition; on one hand, as the sending rate is reduced, one part of
system resources can be saved, and the occupation of the resources of a
server by a
virtual machine is reduced; on the other hand, when the desktop protocol
client is in the abnormal condition, the desktop protocol
server can still send the data of the desktop images to the desktop protocol client, and when the desktop protocol client restores to the
normal state, the amount of the data to be sent by the desktop protocol server is greatly reduced in comparison with the prior art, so the occupation of the network bandwidth is reduced, the display time
delay is reduced, and the experience of a user is improved.