Font Size: a A A

Application Research Of Spice Protocol In Desktop Virtualization System

Posted on:2020-07-04Degree:MasterType:Thesis
Country:ChinaCandidate:J C FangFull Text:PDF
GTID:2428330623459904Subject:Computer technology
Abstract/Summary:PDF Full Text Request
As the current mainstream desktop virtualization protocol,the Spice protocol has the advantages of open source,cross-platform,support for multiple peripherals and rich multimedia.Users can enjoy the same experience as traditional PC.However,there are still many problems to resolve in the Spice protocol,such as excessive bandwidth usage,poor video area recognition,and easy picture jam.Regarding issues above,this paper has carried out in-depth research and analysis on the Spice protocol,then proposes a graphical command optimization method based on fine-grained screen division and chooses the Quic protocol based on UDP protocol as the network transmission protocol.The specific research work mainly includes the following aspects:Firstly,for the problem that the bandwidth of the Spice protocol is too large,this paper proposes a graphical command optimization method based on fine-grained screen division,which includes the combination of graphical area and video area recognition.In the combination of graphical area section,server sends a fixed number of graphical data per second.The method merges the graphical data between two graphical data sending intervals according to the graphical area,and only keeps the latest data.In the video area recognition section quickly identifies the video area by update frequency information of the graphical area,and solves the problem of misidentification of the video area during the video window change process based on correction area.The experiments show that the algorithm can effectively reduce the bandwidth usage,and can identify the video area in a shorter time,and maintain the smooth change of bandwidth occupancy during the identification process,avoiding the phenomenon that the bandwidth occupation suddenly increases and then suddenly decreases.Second,in view of the phenomenon that the picture is prone to delay in the case of poor network,this paper chooses the Quic protocol based on UDP protocol as the network transmission protocol of Spice protocol,and improves the Quic protocol.Firstly,the mutually independent graphical commands are encapsulated into different messages,so that the client can process a graphical command after receiving a message,thereby reducing the phenomenon of blocking of the head.After that,the protocol uses the graphical area and the timestamp of transmission instead of the serial number for message confirmation and timeout retransmission.Finally,when the available window of the connection is insufficient,the graphical area merging method is used to process the cached graphical data to avoid insufficient free space of the buffer.The experiments show that this mechanism can make graphical commands receive and process faster by the client,which effectively improves the efficiency of data transmission.Finally,this paper uses the above two solutions to implement the Quic-Spice protocol based on the Spice protocol.Then,in the two scenarios of rich interaction and video playback,the performance of the two protocols is tested,and the network load and data transmission delay are used as test indicators.The experiments show that the Quic-Spice protocol not only takes up less bandwidth,but also transmits graphical data to the client faster than the Spice protocol.
Keywords/Search Tags:Spice protocol, Desktop virtualization, Quic protocol
PDF Full Text Request
Related items