CN108600860A - A kind of method and system accelerating video based on SPICE protocol - Google Patents

A kind of method and system accelerating video based on SPICE protocol Download PDF

Info

Publication number
CN108600860A
CN108600860A CN201810205465.9A CN201810205465A CN108600860A CN 108600860 A CN108600860 A CN 108600860A CN 201810205465 A CN201810205465 A CN 201810205465A CN 108600860 A CN108600860 A CN 108600860A
Authority
CN
China
Prior art keywords
spice
video
terminal
virtual machine
host server
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.)
Pending
Application number
CN201810205465.9A
Other languages
Chinese (zh)
Inventor
侯亚杰
刘毅枫
徐永强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN201810205465.9A priority Critical patent/CN108600860A/en
Publication of CN108600860A publication Critical patent/CN108600860A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8193Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method and system accelerating video based on SPICE protocol, belong to field of computer technology.The present invention's accelerates the method for video to install Qemu kvm environment and virtual machine on a host server based on SPICE protocol, and video player is installed in virtual machine, system identical with host server is installed in terminal, and SPICE clients are installed, terminal connects the remote virtual machine desktop of host server by SPICE clients, realizes video acceleration.The invention accelerates the method for video to reduce ARM terminal videos result of broadcast difference and Caton phenomenon based on SPICE protocol, has good application value.

Description

A kind of method and system accelerating video based on SPICE protocol
Technical field
The present invention relates to field of computer technology, specifically provide it is a kind of based on SPICE protocol accelerate video method and be System.
Background technology
Cloud desktop is a kind of important cloud computing application, it by system desktop, using desktop etc. as high in the clouds service to User provides, and generally accesses cross-platform entire desktop system by client or other any equipment being connected with network Wherein application program.Traditional computer desktop and PC are closely related, and separate unit host is limited in occupation mode Resource constraint and spatial position, and installation, upgrading and the backup etc. of computer desktop are required for user oneself to complete.With tradition Desktop application compare, cloud desktop can reinforce the dynamic allocation of the Unified Device management of computer terminal, safety management and resource, Improve confidentiality and the safety of data information.
Cloud desktop is generally transmitted by the cloud resource pond, cloud terminal and the desktop of connection cloud resource pond and cloud terminal that virtualize Agreement three parts form.Desktop transport protocol is the core of cloud desktop, and desktop transport protocol directly determines desktop function and display Effect and network broadband occupancy situation, current main desktop cloud transport protocol have RDP, ICA, PCoIP, SPICE etc..Wherein SPICE (simple protocol of independent computation environment, Simple Protocol for independent Computing Environment it is) an open remote computing solutions, which provides the solution interacted with virtual desktop Scheme, and increasing income completely, client can by the protocol access remote system desktop and using local device (such as Keyboard, mouse and USB).By SPICE, we can access remote system as using local computer, in this way can be CPU intensive work transfers long-range high-performance machine to from client, possesses on cloud desktop be widely applied at home.Cloud is whole at present End generally uses the thin client of X86 or ARM frameworks.Wherein ARM has that low in energy consumption, noise is small, maintenance is simple compared with X86-based terminal The characteristics of, and be widely used.But since the CPU of ARM frameworks is weak to multimedia processing capability, answered when there is HD video The problems such as used time, there are video delay is serious, and audio and video are asynchronous and influence its user experience.
Invention content
The technical assignment of the present invention is in view of the above problems, to provide a kind of reduction ARM terminal video results of broadcast The method for accelerating video based on SPICE protocol of difference and Caton phenomenon.
The further technical assignment of the present invention is to provide a kind of system accelerating video based on SPICE protocol.
To achieve the above object, the present invention provides following technical solutions:
A method of accelerate video, the method for accelerating video to install on a host server based on SPICE protocol Qemu-kvm environment and virtual machine, and video player is installed in virtual machine, it is installed in terminal identical with host server System, and SPICE clients are installed, terminal connects the remote virtual machine desktop of host server by SPICE clients, realizes Video acceleration.
Preferably, the host server is CentOS6.4 systems.
Preferably, the terminal uses IM X 53.
Video processing unit VPU and graphics processing unit IPU, video processing unit VPU are integrated on 53 platforms of IM X It is responsible for the decoding of video, video format is supported to have H264, VC-1, MPEG-1/2, MPEG4, MJPEG etc., highest to support 1080p's Video decodes, and highest supports code check to be up to 40M bps.VPU has the ability to handle completely, can be used for doing the hard of client with VPU Decoding.Meanwhile it being decoded into yuv format data flow and being rendered into some operations such as color conversion, stretching, contracting during display It is also bigger the calculation amounts such as to put, is also taken very much with CPU to handle, and is handled using IPU then very fast, the time is in 1- Between 2ms, almost it can be ignored.So SPICE protocol client end CPU decoding and flow for displaying are optimized, with VPU come It does MJPEG decodings and IPU images is shown, decoding and the display efficiency of client can be increased substantially.
Preferably, the SPICE client releases are 0.12.0, SPICE clients use SPICE-client v0.11。
Preferably, installing Window7 virtual machines in the host server.
Preferably, the method for accelerating video specifically includes following steps:
S1:Qemu-kvm environment and virtual machine are installed on a host server, video is installed in mounted virtual machine Player;
S2:System identical with host server is installed in terminal, and SPICE clients are installed;
S3:After host server is provided with terminal, the remote dummy of host server is connected by SPICE clients Machine desktop makes terminal be established with host server and connects, realizes video acceleration.
A kind of system accelerating video based on SPICE protocol, including host server and terminal, in the host server Qemu-kvm environment and virtual machine to be installed, video player is installed in virtual machine, the terminal installs CentOS6.4 systems, and SPICE clients are installed, terminal connects the remote virtual machine desktop of host server by SPICE clients.
Preferably, it is 0.12.0 that the terminal, which uses IM X 53, SPICE client releases, SPICE clients use SPICE-client v0.11。
Preferably, installing Window7 virtual machines in the host server.
It is compared with prior art, of the invention that accelerate the method for video to have based on SPICE protocol following prominent beneficial Effect:After the method based on SPICE protocol acceleration video is using hardware decoding, decoding time is greatly reduced compared with CPU, it is right 1080p HD videos, decoding time can control within 12m s, and from the point of view of actual test effect, video playing is smooth, virtual machine Desktop operating experience is good, can solve video delay seriously, the nonsynchronous problem of audio and video brings good experience to user Effect has good application value.
Specific implementation mode
Below in conjunction with embodiment, the method and system of video are accelerated to make further based on SPICE protocol the present invention It is described in detail.
Embodiment
The present invention based on SPICE protocol accelerate video method, on a host server install Qemu-kvm environment and Window7 virtual machines, and video player is installed in virtual machine, such as QQ or storm wind etc., prepare each resolution video.This hair It is bright middle using Huawei's RH2650 servers as host server, there are two Intel Xeon processors, 64GB memories, 64 C EntOS6.4 systems.
64 C entOS6.4 systems identical with host server are installed in terminal, and SPICE clients are installed.Terminal Using IM X 53, SPICE client releases are 0.12.0, and SPICE clients use SPICE-client v0.11.Terminal is logical The remote virtual machine desktop for crossing SPICE clients connection host server, realizes video acceleration.
This accelerates the method for video to specifically include following steps based on SPICE protocol:
S1:Qemu-kvm environment and Window7 virtual machines are installed on a host server, in mounted Window7 void Video player is installed in quasi- machine.
S2:64 CentOS6.4 systems identical with host server are installed in terminal, and SPICE clients are installed.
S3:After host server is provided with terminal, the remote dummy of host server is connected by SPICE clients Machine desktop makes terminal be established with host server and connects, and realizes video acceleration, is assisted as shown in table 1 based on SPICE for the present invention The method decoding and display of view acceleration video, which take to decode and show with CPU, takes comparison.This hair is used as can be seen from Table 1 The hardware decoding and display of the bright method based on SPICE protocol acceleration video take significantly lower than CPU software decoding and show Short time consumption.
Table 1
The system for accelerating video based on SPICE protocol of the present invention, including host server and terminal.
Host server be Huawei's RH2650 servers, have two Intel Xeon processors, 64GB memories, 64 CentOS6.4 systems.Qemu-kvm environment and Window7 virtual machines are installed, installation video is broadcast in virtual machine in host server Put device.
Terminal installs 64 CentOS6.4 systems identical with host server, and installs SPICE clients.Terminal is adopted With IM X 53, SPICE client releases are 0.12.0, and SPICE clients use SPICE-client v0.11.Terminal passes through SPICE clients connect the remote virtual machine desktop of host server.
Embodiment described above, the only present invention more preferably specific implementation mode, those skilled in the art is at this The usual variations and alternatives carried out within the scope of inventive technique scheme should be all included within the scope of the present invention.

Claims (9)

1. a kind of method accelerating video based on SPICE protocol, it is characterised in that:It is described to accelerate the method for video in host services Qemu-kvm environment and virtual machine are installed on device, and video player is installed in virtual machine, in terminal installation and host services The identical system of device, and SPICE clients are installed, terminal connects the remote virtual machine of host server by SPICE clients Desktop realizes video acceleration.
2. the method according to claim 1 for accelerating video based on SPICE protocol, it is characterised in that:The host services Device is CentOS6.4 systems.
3. the method according to claim 1 or 2 for accelerating video based on SPICE protocol, it is characterised in that:The terminal is adopted With IM X 53.
4. the method according to claim 3 for accelerating video based on SPICE protocol, it is characterised in that:The SPICE client End version is 0.12.0, and SPICE clients use SPICE- client v0.11.
5. the method according to claim 4 for accelerating video based on SPICE protocol, it is characterised in that:The host services Window7 virtual machines are installed in device.
6. the method according to claim 5 for accelerating video based on SPICE protocol, it is characterised in that:The acceleration video Method specifically include following steps:
S1:Qemu-kvm environment and virtual machine are installed on a host server, video playing is installed in mounted virtual machine Device;
S2:System identical with host server is installed in terminal, and SPICE clients are installed;
S3:After host server is provided with terminal, the remote virtual machine table of host server is connected by SPICE clients Face makes terminal be established with host server and connects, realizes video acceleration.
7. a kind of system accelerating video based on SPICE protocol, it is characterised in that:Including host server and terminal, the master Qemu-kvm environment and virtual machine are installed in machine server, video player, the terminal installation are installed in virtual machine CentOS6.4 systems, and SPICE clients are installed, terminal connects the remote virtual machine of host server by SPICE clients Desktop.
8. the system according to claim 7 for accelerating video based on SPICE protocol, it is characterised in that:The terminal uses IM X 53, SPICE client release are 0.12.0, and SPICE clients use SPICE- client v0.11.
9. the system according to claim 7 or 8 for accelerating video based on SPICE protocol, it is characterised in that:The host clothes It is engaged in that Window7 virtual machines are installed in device.
CN201810205465.9A 2018-03-13 2018-03-13 A kind of method and system accelerating video based on SPICE protocol Pending CN108600860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810205465.9A CN108600860A (en) 2018-03-13 2018-03-13 A kind of method and system accelerating video based on SPICE protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810205465.9A CN108600860A (en) 2018-03-13 2018-03-13 A kind of method and system accelerating video based on SPICE protocol

Publications (1)

Publication Number Publication Date
CN108600860A true CN108600860A (en) 2018-09-28

Family

ID=63626109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810205465.9A Pending CN108600860A (en) 2018-03-13 2018-03-13 A kind of method and system accelerating video based on SPICE protocol

Country Status (1)

Country Link
CN (1) CN108600860A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018873A (en) * 2019-03-31 2019-07-16 山东超越数控电子股份有限公司 A method of based on FPGA optimization virtual desktop transmission

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130147818A1 (en) * 2011-12-07 2013-06-13 Ubitus Inc. System and Method of Leveraging GPU Resources to Enhance Performance of an Interact-able Content Browsing Service
CN105025359A (en) * 2015-07-07 2015-11-04 国鼎网络空间安全技术有限公司 Remote video display method and system based on SPICE protocol
CN105262825A (en) * 2015-10-29 2016-01-20 曲阜师范大学 SPICE cloud desktop transporting and displaying method and system on the basis of H.265 algorithm
CN105812922A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Multimedia file data processing method, system, player and client
CN107147738A (en) * 2017-06-13 2017-09-08 广东瑞恩科技有限公司 The method of performance optimization based on cloud desktop spice communication protocols
CN107222783A (en) * 2017-07-13 2017-09-29 山东超越数控电子有限公司 A kind of video based on SPICE protocol redirects implementation method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130147818A1 (en) * 2011-12-07 2013-06-13 Ubitus Inc. System and Method of Leveraging GPU Resources to Enhance Performance of an Interact-able Content Browsing Service
CN105812922A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Multimedia file data processing method, system, player and client
CN105025359A (en) * 2015-07-07 2015-11-04 国鼎网络空间安全技术有限公司 Remote video display method and system based on SPICE protocol
CN105262825A (en) * 2015-10-29 2016-01-20 曲阜师范大学 SPICE cloud desktop transporting and displaying method and system on the basis of H.265 algorithm
CN107147738A (en) * 2017-06-13 2017-09-08 广东瑞恩科技有限公司 The method of performance optimization based on cloud desktop spice communication protocols
CN107222783A (en) * 2017-07-13 2017-09-29 山东超越数控电子有限公司 A kind of video based on SPICE protocol redirects implementation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018873A (en) * 2019-03-31 2019-07-16 山东超越数控电子股份有限公司 A method of based on FPGA optimization virtual desktop transmission

Similar Documents

Publication Publication Date Title
EP3046331B1 (en) Media control method and system based on cloud desktop
Jurgelionis et al. Platform for distributed 3D gaming.
KR101956411B1 (en) Delivering a single end user experience to a client from multiple servers
WO2021143182A1 (en) Game processing method and apparatus, electronic device, and computer-readable storage medium
US8467631B2 (en) Method and apparatus for identification of image uniqueness
US8385666B2 (en) Classification and encoder selection based on content
US8924507B2 (en) Cross-frame progressive spoiling support for reduced network bandwidth usage
CN108989811A (en) Cloud desktop system and its image sequence compression coding method and medium
US9235452B2 (en) Graphics remoting using augmentation data
CN104349177B (en) It is a kind of to turn to method, virtual machine and the system for playing multimedia file under desktop cloud
US20120082395A1 (en) Entropy Coder for Image Compression
CN112221127B (en) Multi-point control method and device for cloud game
WO2016058534A1 (en) Method and system for serving virtual desktop to client
US20100254616A1 (en) Image compression acceleration using multiple processors
CN112843676A (en) Data processing method, device, terminal, server and storage medium
WO2014121477A1 (en) Video redirection method, device and system, and computer readable medium
Yu et al. Muse: A multimedia streaming enabled remote interactivity system for mobile devices
Shi et al. SHARC: A scalable 3D graphics virtual appliance delivery framework in cloud
CN108600860A (en) A kind of method and system accelerating video based on SPICE protocol
Shi et al. Scalable support for 3D graphics applications in cloud
Hou et al. A cloud gaming system based on NVIDIA GRID GPU
CN102724213B (en) A kind of virtual seamless desktop and implementation method
Kim et al. Cloud-based virtual desktop service using lightweight network display protocol
Wan et al. Design ideas of mobile internet desktop system based on virtualization technology in cloud computing
CN108449635A (en) Detect the method and system of client video process performance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180928

RJ01 Rejection of invention patent application after publication