+

CN106162217A - A kind of method and apparatus realizing video playback - Google Patents

A kind of method and apparatus realizing video playback Download PDF

Info

Publication number
CN106162217A
CN106162217A CN201510185238.0A CN201510185238A CN106162217A CN 106162217 A CN106162217 A CN 106162217A CN 201510185238 A CN201510185238 A CN 201510185238A CN 106162217 A CN106162217 A CN 106162217A
Authority
CN
China
Prior art keywords
client terminal
video
server
virtual machine
module
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
Application number
CN201510185238.0A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510185238.0A priority Critical patent/CN106162217A/en
Publication of CN106162217A publication Critical patent/CN106162217A/en
Withdrawn 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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/226Characteristics of the server or Internal components of the server
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of method and apparatus realizing video playback, including: when playing when there being video to need, server sends virtual machine information and the essential information of audio frequency and video link to client terminal;Server receives the communication request sent from client terminal by VPN (virtual private network) VPN, sends communication response to client terminal, and realizes video playback to client terminal transmission audio, video data.By the solution of the present invention, achieve video playback when client terminal accesses virtual desktop by VPN.

Description

A kind of method and apparatus realizing video playback
Technical field
The present invention relates to Intel Virtualization Technology, a kind of method and apparatus realizing video playback.
Background technology
Virtual desktop is by operating system virtual machine on server or server, and will clothes The desktop of the virtual machine on business device is sent to a kind of service of long-range client terminal by network.
Virtual desktop system assembly, logically can be divided into system component and the client terminal of server System component.Wherein, the system component of client terminal simple protocol based on independent computation environment (Spice, Simple Protocol for Independent Computing Environment) asks to set up And the connection between the system component of server, the system component response of server from client terminal is System assembly connection request, and set up and the system component of client terminal between desktop experience service be connected.
Virtual desktop architecture (VDI, Virtual Desktop Infrastructure) in Spice is main It is used for the virtual opetrating system (Guest OS) at client terminal and the virtual machine of server and a number is provided According to transmission channels, by this data transmission channels transmission display configuration control number evidence, clipboard data And Disk Mapping controls data etc..
In the existing method realizing video playback, the video playback module of the virtual machine of server needs energy The most directly communicate could realize video playback with client terminal.And client terminal accesses in common network During virtual desktop, for Information Security, need by VPN (virtual private network) (VPN, Virtual Private Network) conduct interviews, owing to the video playback module of the virtual machine of server cannot be straight with client terminal Connecting VPN to communicate and realize video playback, the video playback module of the virtual machine of server cannot be straight Connect and communicate with client terminal, thus video playback cannot be realized.
Summary of the invention
In order to solve the problems referred to above, the present invention proposes a kind of method and apparatus realizing video playback, energy Enough realize video playback when client terminal accesses virtual desktop by VPN
In order to achieve the above object, the present invention proposes a kind of method realizing video playback, including:
When playing when there being video to need, server sends virtual machine information and audio frequency and video link to client terminal Essential information;
Server receives the communication request sent from client terminal by VPN (virtual private network) VPN, to Client terminal sends communication response, and realizes video playback to client terminal transmission audio, video data.
Preferably, described server sends the basic letter of virtual machine information and audio frequency and video link to client terminal Breath includes:
The video playback module of the virtual machine of server sends to the virtual protocol module of the virtual machine of server The essential information of audio frequency and video link;
Virtual protocol module obtains virtual machine information, by the virtual machine information obtained and the base of audio frequency and video link This information is transmitted to client eventually via the simple protocol Spice service module of the independent computation environment of server End;
Described server receives the communication request from client terminal, sends communication response to client terminal, And send audio, video data to client terminal and realize video playback and include:
Described video playback module receives the communication request from client terminal, sends out to described client terminal Send described communication response, and realize video playback to the described client terminal described audio, video data of transmission.
Preferably, described video playback module sends the essential information of audio frequency and video link to virtual protocol module Including:
Described video playback module uses socket to send described sound to described virtual protocol module and regards The essential information of frequency link.
Preferably, the described essential information by the virtual machine information obtained and audio frequency and video link is via server Spice service module be transmitted to client terminal and include:
The virtual machine information of described acquisition and the essential information of audio frequency and video link are sent to described Spice clothes Business module;Described Spice service module is by the virtual machine information received and the basic letter of audio frequency and video link Breath uses Spice to be transmitted to client terminal.
The invention allows for a kind of method realizing video playback, including:
Client terminal receives the virtual machine information from server and the essential information of audio frequency and video link;
Client terminal sends communication request by VPN (virtual private network) VPN to server, receives from clothes The communication response of business device and audio, video data.
Preferably, described client terminal receives from the virtual machine information of server and audio frequency and video link Essential information includes:
Described client terminal receives the simple protocol Spice service of the independent computation environment from server The virtual machine information of module and the essential information of audio frequency and video link.
Preferably, described client terminal sends communication request by VPN to server, receives from clothes Communication response and the audio, video data of business device include:
Described client terminal is sent out to the video playback module of the virtual machine of described server by described VPN Send described communication request, receive the virtual machine from server video playback module communication response and Audio, video data.
The invention allows for a kind of server, at least include:
Video playback module, for when there being video to need to play, sending virtual machine to virtual protocol module Information and the essential information of audio frequency and video link;Receive from client terminal by VPN (virtual private network) VPN The communication request sent;Send communication response to client terminal, and send audio, video data to client terminal Realize video playback;
Virtual protocol module, is used for obtaining virtual machine information, by the virtual machine information obtained and audio frequency and video chain The essential information on road is sent to the simple protocol Spice service module of independent computation environment;
Spice service module, for turning the essential information of the virtual machine information received and audio frequency and video link Issue client terminal.
Preferably, described video playback module specifically for:
When playing when there being video to need, socket is used to send to described virtual protocol module described The essential information of audio frequency and video link;Receive the communication request from described client terminal;To described client eventually End sends communication response, and realizes video playback to described client terminal transmission audio, video data.
Preferably, described Spice service module specifically for:
Spice is used to be transmitted to the essential information of the described virtual machine information received and audio frequency and video link Described client terminal.
The invention allows for a kind of client terminal, at least include:
Receiver module, for receiving the virtual machine information from server and the essential information of audio frequency and video link; Receive the communication response from server and audio, video data;
Sending module, for passing through according to the essential information of the virtual machine information received and audio frequency and video link VPN (virtual private network) VPN sends communication request to server.
Preferably, described receiver module specifically for:
Receive the virtual machine of the simple protocol Spice service module of the independent computation environment from server Information and the essential information of audio frequency and video link;Receive the video playback module of the virtual machine from server Communication response and audio, video data;
Described sending module specifically for:
Described communication request is sent to described video playback module by described VPN.
Compared with prior art, the present invention includes: when playing when there being video to need, and server is to client eventually End sends virtual machine information and the essential information of audio frequency and video link;Server receives and leads to from client terminal Cross the communication request that VPN sends, send communication response to client terminal, and regard to client terminal transmission sound Frequency shows video playback factually.By the solution of the present invention, access virtual table at client terminal by VPN Video playback is achieved during face.
Accompanying drawing explanation
Illustrating the accompanying drawing in the embodiment of the present invention below, the accompanying drawing in embodiment is for this Bright is further appreciated by, and is used for explaining the present invention, is not intended that and the present invention is protected model together with description The restriction enclosed.
Fig. 1 is the flow chart that the present invention realizes the method for video playback;
Fig. 2 is the structure composition schematic diagram of server of the present invention;
Fig. 3 is the structure composition schematic diagram of client terminal of the present invention.
Detailed description of the invention
For the ease of the understanding of those skilled in the art, below in conjunction with the accompanying drawings the present invention is further retouched State, can not be used for limiting the scope of the invention.It should be noted that in the case of not conflicting, Embodiment in the application and the various modes in embodiment can be mutually combined.
Seeing Fig. 1, in one embodiment, the present invention proposes a kind of method realizing video playback, Including:
Step 100, when have video need play time, server to client terminal send virtual machine information and The essential information of audio frequency and video link.
In this step, server sends virtual machine information and the essential information of audio frequency and video link to client terminal Including:
The video playback module of the virtual machine of server sends to the virtual protocol module of the virtual machine of server The essential information of audio frequency and video link;Virtual protocol module obtains virtual machine information, the virtual machine letter that will obtain The essential information of breath and audio frequency and video link is transmitted to client terminal via the Spice service module of server.
Wherein, video playback module can use socket (socket) to send sound to virtual protocol module The essential information of video link.It is to say, it is newly-increased between video playback module and virtual protocol module Socket link for communication.
Wherein, virtual protocol module is sent to server after the virtual machine information of acquisition is combined encapsulation Spice service module.
Wherein, the essential information of the virtual machine information received and audio frequency and video link is adopted by Spice service module It is transmitted to client terminal with Spice.
Wherein, Spice service module is operate in the assembly on virtual level (Hypervisor).
Wherein, video playback module has monitored whether that video needs to play, if it has, then to virtual protocol Module sends the essential information of audio frequency and video link.
Wherein, video playback module can be sent out to virtual protocol module when receiving the instruction playing video Send the essential information of audio frequency and video link.The instruction playing video may come from user.
Step 101, client terminal are according to the virtual machine information received and the essential information of audio frequency and video link Communication request is sent to video playback module by VPN.
Step 102, server send communication response to client terminal, and send audio frequency and video to client terminal Data realize video playback.Specifically include:
Video playback module sends communication response to client terminal, and sends audio, video data to client terminal Realize video playback.
By the solution of the present invention, when playing when there being video to need, server sends virtual to client terminal Machine information and the essential information of audio frequency and video link, client terminal regards according to the virtual machine information received and sound The essential information of frequency link sends communication request to realize video playback by VPN to server.
See Fig. 2, in another embodiment, the invention allows for a kind of server, at least include:
Video playback module, for when there being video to need to play, sending virtual machine to virtual protocol module Information and the essential information of audio frequency and video link;Receiving please by the communication that VPN sends from client terminal Ask;Send communication response to client terminal, and realize video playback to client terminal transmission audio, video data;
Virtual protocol module, is used for obtaining virtual machine information, by the virtual machine information obtained and audio frequency and video chain The essential information on road is sent to Spice service module;
Spice service module, for turning the essential information of the virtual machine information received and audio frequency and video link Issue client terminal.
In the server of the present invention, video playback module specifically for:
When playing when there being video to need, socket is used to send audio frequency and video chain to virtual protocol module The essential information on road;Receive the communication request from client terminal;Communication response is sent to client terminal, And realize video playback to client terminal transmission audio, video data.
In the server of the present invention, video playback module specifically for:
When playing when there being video to need, socket is used to send audio frequency and video chain to virtual protocol module The essential information on road;Receive the communication request from client terminal;Communication response is sent to client terminal, And realize video playback to client terminal transmission audio, video data.
In the server of the present invention, Spice service module specifically for:
Spice is used to be transmitted to client the essential information of the virtual machine information received and audio frequency and video link Terminal.
See Fig. 3, in another embodiment, the invention allows for a kind of client terminal, at least wrap Include:
Receiver module, for receiving the virtual machine information from server and the essential information of audio frequency and video link; Receive communication response and the audio, video data of the video playback module of the virtual machine from server;
Sending module, for passing through according to the essential information of the virtual machine information received and audio frequency and video link VPN (virtual private network) VPN sends communication request to server.
In the client terminal of the present invention, receiver module specifically for:
Receive the virtual machine of the simple protocol Spice service module of the independent computation environment from server Information and the essential information of audio frequency and video link;Receive the video playback module of the virtual machine from server Communication response and audio, video data;
Sending module specifically for:
Described communication request is sent to described video playback module by described VPN.
In another embodiment, present invention also offers a kind of software, this software is used for performing above-mentioned reality Execute the technical scheme described in example.
In another embodiment, present invention also offers a kind of storage medium, this storage medium stores Having above-mentioned software, this storage medium includes but not limited to: CD, floppy disk, hard disk, scratch pad memory, Read only memory/random access memory, magnetic disc etc..
Understand it should be noted that embodiment described above is for only for ease of those skilled in the art , it is not limited to protection scope of the present invention, in the premise of the inventive concept without departing from the present invention Under, any obvious replacement that the present invention is made by those skilled in the art and improvement etc. are all at this Within the protection domain of invention.

Claims (12)

1. the method realizing video playback, it is characterised in that including:
When playing when there being video to need, server sends virtual machine information and audio frequency and video link to client terminal Essential information;
Server receives the communication request sent from client terminal by VPN (virtual private network) VPN, to Client terminal sends communication response, and realizes video playback to client terminal transmission audio, video data.
Method the most according to claim 1, it is characterised in that described server is sent out to client terminal The essential information sending virtual machine information and audio frequency and video link includes:
The video playback module of the virtual machine of server sends to the virtual protocol module of the virtual machine of server The essential information of audio frequency and video link;
Virtual protocol module obtains virtual machine information, by the virtual machine information obtained and the base of audio frequency and video link This information is transmitted to client eventually via the simple protocol Spice service module of the independent computation environment of server End;
Described server receives the communication request from client terminal, sends communication response to client terminal, And send audio, video data to client terminal and realize video playback and include:
Described video playback module receives the communication request from client terminal, sends out to described client terminal Send described communication response, and realize video playback to the described client terminal described audio, video data of transmission.
Method the most according to claim 2, it is characterised in that described video playback module is to virtual Proxy module sends the essential information of audio frequency and video link and includes:
Described video playback module uses socket to send described sound to described virtual protocol module and regards The essential information of frequency link.
Method the most according to claim 2, it is characterised in that the described virtual machine information that will obtain It is transmitted to client terminal with the essential information of audio frequency and video link via the Spice service module of server include:
The virtual machine information of described acquisition and the essential information of audio frequency and video link are sent to described Spice clothes Business module;Described Spice service module is by the virtual machine information received and the basic letter of audio frequency and video link Breath uses Spice to be transmitted to client terminal.
5. the method realizing video playback, it is characterised in that including:
Client terminal receives the virtual machine information from server and the essential information of audio frequency and video link;
Client terminal sends communication request by VPN (virtual private network) VPN to server, receives from clothes The communication response of business device and audio, video data.
Method the most according to claim 5, it is characterised in that described client terminal receive from The virtual machine information of server and the essential information of audio frequency and video link include:
Described client terminal receives the simple protocol Spice service of the independent computation environment from server The virtual machine information of module and the essential information of audio frequency and video link.
Method the most according to claim 5, it is characterised in that described client terminal passes through VPN Send communication request to server, receive communication response and audio, video data from server and include:
Described client terminal is sent out to the video playback module of the virtual machine of described server by described VPN Send described communication request, receive the virtual machine from server video playback module communication response and Audio, video data.
8. a server, it is characterised in that at least include:
Video playback module, for when there being video to need to play, sending virtual machine to virtual protocol module Information and the essential information of audio frequency and video link;Receive from client terminal by VPN (virtual private network) VPN The communication request sent;Send communication response to client terminal, and send audio, video data to client terminal Realize video playback;
Virtual protocol module, is used for obtaining virtual machine information, by the virtual machine information obtained and audio frequency and video chain The essential information on road is sent to the simple protocol Spice service module of independent computation environment;
Spice service module, for turning the essential information of the virtual machine information received and audio frequency and video link Issue client terminal.
Server the most according to claim 8, it is characterised in that described video playback module is concrete For:
When playing when there being video to need, socket is used to send to described virtual protocol module described The essential information of audio frequency and video link;Receive the communication request from described client terminal;To described client eventually End sends communication response, and realizes video playback to described client terminal transmission audio, video data.
Server the most according to claim 8, it is characterised in that described Spice service module Specifically for:
Spice is used to be transmitted to the essential information of the described virtual machine information received and audio frequency and video link Described client terminal.
11. 1 kinds of client terminals, it is characterised in that at least include:
Receiver module, for receiving the virtual machine information from server and the essential information of audio frequency and video link; Receive the communication response from server and audio, video data;
Sending module, for passing through according to the essential information of the virtual machine information received and audio frequency and video link VPN (virtual private network) VPN sends communication request to server.
12. client terminals according to claim 11, it is characterised in that described receiver module is concrete For:
Receive the virtual machine of the simple protocol Spice service module of the independent computation environment from server Information and the essential information of audio frequency and video link;Receive the video playback module of the virtual machine from server Communication response and audio, video data;
Described sending module specifically for:
Described communication request is sent to described video playback module by described VPN.
CN201510185238.0A 2015-04-17 2015-04-17 A kind of method and apparatus realizing video playback Withdrawn CN106162217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510185238.0A CN106162217A (en) 2015-04-17 2015-04-17 A kind of method and apparatus realizing video playback

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510185238.0A CN106162217A (en) 2015-04-17 2015-04-17 A kind of method and apparatus realizing video playback

Publications (1)

Publication Number Publication Date
CN106162217A true CN106162217A (en) 2016-11-23

Family

ID=58057888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510185238.0A Withdrawn CN106162217A (en) 2015-04-17 2015-04-17 A kind of method and apparatus realizing video playback

Country Status (1)

Country Link
CN (1) CN106162217A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387187A (en) * 2011-07-28 2012-03-21 中兴通讯股份有限公司 Server, client as well as method and system for remotely playing video file by using client
US20120317182A1 (en) * 2011-06-07 2012-12-13 Syed Mohammad Amir Husain Zero Client Device With Integrated Network Authentication Capability
CN102918490A (en) * 2010-04-01 2013-02-06 思杰系统有限公司 Interacting with remote applications displayed within a virtual desktop of a tablet computing device
CN103248668A (en) * 2012-02-10 2013-08-14 中兴通讯股份有限公司 Virtual desktop service parameter negotiation method, device and system
CN103888419A (en) * 2012-12-21 2014-06-25 中国电信股份有限公司 Method and system for enabling virtual desktop terminal to obtain video content and CDN sub-system
CN104168486A (en) * 2013-05-20 2014-11-26 上海范氏科技投资发展集团有限公司 Virtual machine and client video redirection method based on cloud computing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102918490A (en) * 2010-04-01 2013-02-06 思杰系统有限公司 Interacting with remote applications displayed within a virtual desktop of a tablet computing device
US20120317182A1 (en) * 2011-06-07 2012-12-13 Syed Mohammad Amir Husain Zero Client Device With Integrated Network Authentication Capability
CN102387187A (en) * 2011-07-28 2012-03-21 中兴通讯股份有限公司 Server, client as well as method and system for remotely playing video file by using client
CN103248668A (en) * 2012-02-10 2013-08-14 中兴通讯股份有限公司 Virtual desktop service parameter negotiation method, device and system
CN103888419A (en) * 2012-12-21 2014-06-25 中国电信股份有限公司 Method and system for enabling virtual desktop terminal to obtain video content and CDN sub-system
CN104168486A (en) * 2013-05-20 2014-11-26 上海范氏科技投资发展集团有限公司 Virtual machine and client video redirection method based on cloud computing

Similar Documents

Publication Publication Date Title
US9578034B2 (en) Trusted peripheral device for a host in a shared electronic environment
US8762544B2 (en) Selectively communicating data of a peripheral device to plural sending computers
TWI655543B (en) Method for simulating a configuration space and peripheral device
CN105518611B (en) Remote direct data access method, device and system
US9244817B2 (en) Remote debugging in a cloud computing environment
CN105159753B (en) The method, apparatus and pooling of resources manager of accelerator virtualization
JP6710790B2 (en) Method and apparatus for operating a smart network interface card
CN104598257B (en) The method and apparatus of remote application operation
CN102868728B (en) Network proxy method based on virtual channel in virtual desktop infrastructure (VDI) environment
WO2017124842A1 (en) Method and device for taking screenshots
CN110191031A (en) Network resource access method, device, electronic equipment
US20170201563A1 (en) Video data providing method, video playback method, device, and system
CN102316043B (en) Port virtualization method, switch and communication system
JP2008210115A (en) System for operating usb device of local terminal on remote computer, method therefor and program therefor
CN104580399A (en) A cloud desktop implementation method based on OpenStack and Spice
CN104378410A (en) A micro-private cloud storage and transmission system and method
CN115484258B (en) Peripheral device processing method based on cloud desktop, electronic device and storage medium
CN116860391A (en) GPU computing power resource scheduling method, device, equipment and medium
CN115766830A (en) Computing power network processing method, device, equipment and storage medium
CN105828094A (en) Private cloud system based on smart TV and implementation method thereof
CN109347899A (en) Method of writing log data in distributed storage system
US9760315B2 (en) Dynamic device allocation apparatus, dynamic device allocation system, dynamic device allocation method and storage medium storing dynamic device allocation program
EP3276914A1 (en) Data sharing method and device for virtual desktop
CN110430478B (en) Networking communication method, device, terminal equipment and storage medium
CN103873924B (en) Method, device and system for video redirection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20161123

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载