CN104144178A - Cloud-computing-based method for transmitting video between virtual machine and client terminal - Google Patents

Cloud-computing-based method for transmitting video between virtual machine and client terminal Download PDF

Info

Publication number
CN104144178A
CN104144178A CN201310164257.6A CN201310164257A CN104144178A CN 104144178 A CN104144178 A CN 104144178A CN 201310164257 A CN201310164257 A CN 201310164257A CN 104144178 A CN104144178 A CN 104144178A
Authority
CN
China
Prior art keywords
video
virtual machine
client
data
channel
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
CN201310164257.6A
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.)
Shanghai Guofu Guangqi Cloud Computing Technology Co Ltd
Original Assignee
Shanghai Guofu Guangqi Cloud Computing Technology 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 Shanghai Guofu Guangqi Cloud Computing Technology Co Ltd filed Critical Shanghai Guofu Guangqi Cloud Computing Technology Co Ltd
Priority to CN201310164257.6A priority Critical patent/CN104144178A/en
Publication of CN104144178A publication Critical patent/CN104144178A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a cloud-computing-based method for transmitting a video between a virtual machine and a client terminal. The method is characterized in that video data are not decoded on the side of the virtual machine, separated and sent to the client terminal in the modes such as the UDP. As for the virtual machine, in the video playing process, only separation of media files and sending work of data packages are finished, loads are relatively low, and the data transmission efficiency is high.

Description

Video transmission method between the virtual machine based on cloud computing and client
Technical field
The present invention relates to cloud computing field, particularly video transmission method between a kind of virtual machine based on cloud computing and client.
Background technology
Cloud computing is an important innovation of current computation model.It is multi-level virtual and abstract by various interconnected computational resources are effectively integrated and realized, cloud computing offers user by large-scale calculations resource with the form of reliability services effectively, thereby user is freed from complicated bottom hardware logic, software stack and procotol.The more important thing is, the service assembly that cloud computing brings with supply with greatly improving the utilance of current computational resource as required, reach and reduce costs, reduce the object of energy consumption.
The integrated video card general ability of current server is weak and do not support the hardware decoding of video, and video is play and needed software decode in remote virtual machine; Future server may add advanced graphic process unit (GPU), but advanced GPU supports very limited (now maximum two-way) to the hardware decoding of multi-channel video; And decoded image code stream sharply amplifies, be transferred to the local expense that needs larger networking bandwidth that shows.So a kind of video transmission technologies need to be provided, make can efficiently carry out easily the transmission of video data between virtual machine and client.
Summary of the invention
The object of this invention is to provide video transmission method between a kind of virtual machine based on cloud computing and client, solve defect and deficiency that prior art exists.
The invention provides video transmission method between a kind of virtual machine based on cloud computing and client, comprise the following steps:
Video is separated on virtual machine to video flowing and audio stream, more described video flowing is separated into video heads and frame of video;
By cloud desktop protocol master control passage, obtain the client network address corresponding with virtual machine, set up the data transmission channel of client and virtual machine;
By UDP User Datagram Protocol, the video of described separation, voice data are transferred to client from described data transmission channel;
Obtain the video display window data on virtual machine, and passed through cloud desktop protocol master control channel transfer to client.
By being arranged on, video player in virtual machine carries out video separation on described virtual machine, in the data after separation, and the audio stream of described audio stream after for coding, the frame of video of described frame of video after for coding.
Video display window data on the described virtual machine obtaining, comprise the window coordinates of video demonstration, coordinate, playing progress rate and other rectangle datas that video shows.
Described video heads is used for describing the characteristic parameter of video, comprises video encoding standard, video code rate, length and width parameter.
Described virtual machine is erected on cloud computing server, signalling channel both-way communication between virtual machine and server.
Described cloud desktop protocol master control passage is that virtual machine communicates and the signalling channel of controlling by internet and client.
The data transmission channel of described client and virtual machine be virtual machine by internet the data channel to client transmissions video flowing, audio stream.
Feature of the present invention is video data not to be decoded at virtual machine end, but video data is carried out to separation, then by modes such as UDP User Datagram Protocols, sends it to client.For virtual machine, in video display process, only complete the separation of media file and the transmission work of datagram, load is relatively low, and the efficiency of transfer of data is very high.
Accompanying drawing explanation
Fig. 1 is schematic flow sheet of the present invention;
Fig. 2 is framework schematic diagram of the present invention;
Fig. 3 is data flow schematic diagram of the present invention.
Embodiment
Below in conjunction with drawings and embodiments, further illustrate technical scheme of the present invention.
Referring to Fig. 1, the invention provides video transmission method between a kind of virtual machine based on cloud computing and client, comprise the following steps:
A1, video is separated on virtual machine to video flowing and audio stream, more described video flowing is separated into video heads and frame of video.
As an embodiment, by being arranged on, video player in virtual machine carries out the video separation on described virtual machine.The process of the broadcasting of media player is all that media file is separated into video flowing and audio stream, then video flowing is separated into the video data that video heads and a frame frame were encoded, then media player is not decoded to video counts, but video data is sent to client by modes such as UDP User Datagram Protocols.For virtual machine, in video display process, only complete the separation of media file and the transmission work of datagram, load is relatively low.
A2, by cloud desktop protocol master control passage, obtain the client network address corresponding with virtual machine, set up the data transmission channel of client and virtual machine.
A3, by UDP User Datagram Protocol, the video of described separation, voice data are transferred to client from described data transmission channel.
The transmission of video flowing and audio stream: in the present invention, the video flowing of transmission is what to be encoded, network takies ratio decoder, and to be later sent to client much smaller again.In the present invention, can not need the feature of too strict verification according to video, user's data pack protocol (UDP), can reduce network and take.
A4, obtain the video display window data on virtual machine, and passed through cloud desktop protocol master control channel transfer to client.
Obtain video display window data: in the present invention, from media player, obtain the window coordinates of video demonstration, coordinate and other rectangles that video shows, and these data are sent to client, as the video data demonstration of next step client.
Referring to Fig. 2, the present invention realizes by the framework of Fig. 2, and virtual machine 102 is erected on server 101, between virtual machine 102 and server 101 by signalling channel both-way communication (seeing the arrow of 102 of server 101 and virtual machines).Master control path 10 7 is cloud desktop protocol master control passages, is also that virtual machine 102 is by the signalling channel of the communication and control between internet 104 and client 105.Data transmission channel 106 is to obtain client 105 network address corresponding with virtual machine 102 (IP address) by cloud desktop protocol master control path 10 7, the client 105 of setting up and the data transmission channel of virtual machine 102 are also that virtual machine 102 passes through internet 104 to the data channel of client 105 transmitting video-frequency flows, audio stream.
Referring to Fig. 2 and Fig. 3, as an embodiment, by being arranged on, video player 103 in virtual machine 102 carries out the video separation on described virtual machine 102, in the data after separation, described audio stream is the audio stream after encoding, and described frame of video is the frame of video after encoding.Video display window data on the described virtual machine obtaining 102, comprise the window coordinates of video demonstration, coordinate, playing progress rate and other rectangle datas that video shows.
As an embodiment, described video heads is used for describing the characteristic parameter of video, comprises video encoding standard, video code rate, length and width parameter.
In concrete application, as an application, server can adopt S400 R710 dell branded server: the Xeon X5650 2.66GHz of Intel, binary channel central processing unit (CPU), 96GB 1333MHz RDIMM internal memory; 1TB SAS hard disk; Two 5709C two-port gigabit ethernets); Can virtual 40 above virtual machines.Client terminal can be used X86 double-core 1.6GHZ central processing unit, does not support the hardware decoding of video and shows.Client terminal also can be used Freescale semiconductor Freescale I.MX53 800GHZ central processing unit, supports MPEG2/4, H264, VC-1, hardware decoding and the demonstration of WMV9 video.
Those of ordinary skill in the art will be appreciated that, above execution mode is only for the present invention is described, and be not used as limitation of the invention, as long as within the scope of connotation of the present invention, to the variation of above execution mode, modification, all will drop within the scope of claims of the present invention.

Claims (7)

1. a video transmission method between the virtual machine based on cloud computing and client, is characterized in that, comprises the following steps:
Video is separated on virtual machine to video flowing and audio stream, more described video flowing is separated into video heads and frame of video;
By cloud desktop protocol master control passage, obtain the client network address corresponding with virtual machine, set up the data transmission channel of client and virtual machine;
By UDP User Datagram Protocol, the video of described separation, voice data are transferred to client from described data transmission channel;
Obtain the video display window data on virtual machine, and passed through cloud desktop protocol master control channel transfer to client.
2. the method for claim 1, it is characterized in that, by being arranged on, video player in virtual machine carries out the video separation on described virtual machine, in the data after separation, described audio stream is the audio stream after encoding, and described frame of video is the frame of video after encoding.
3. method as claimed in claim 1 or 2, is characterized in that, described in video display window data on the virtual machine that obtains, comprise the window coordinates that video shows, coordinate, playing progress rate and other rectangle datas that video shows.
4. method as claimed in claim 3, is characterized in that, described video heads is used for describing the characteristic parameter of video, comprises video encoding standard, video code rate, length and width parameter.
5. method as claimed in claim 4, is characterized in that, described virtual machine is erected on cloud computing server, signalling channel both-way communication between virtual machine and server.
6. method as claimed in claim 5, is characterized in that, described cloud desktop protocol master control passage is that virtual machine communicates and the signalling channel of controlling by internet and client.
7. method as claimed in claim 6, is characterized in that, the data transmission channel of described client and virtual machine be virtual machine by internet the data channel to client transmissions video flowing, audio stream.
CN201310164257.6A 2013-05-07 2013-05-07 Cloud-computing-based method for transmitting video between virtual machine and client terminal Pending CN104144178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310164257.6A CN104144178A (en) 2013-05-07 2013-05-07 Cloud-computing-based method for transmitting video between virtual machine and client terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310164257.6A CN104144178A (en) 2013-05-07 2013-05-07 Cloud-computing-based method for transmitting video between virtual machine and client terminal

Publications (1)

Publication Number Publication Date
CN104144178A true CN104144178A (en) 2014-11-12

Family

ID=51853246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310164257.6A Pending CN104144178A (en) 2013-05-07 2013-05-07 Cloud-computing-based method for transmitting video between virtual machine and client terminal

Country Status (1)

Country Link
CN (1) CN104144178A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611394A (en) * 2015-12-21 2016-05-25 福建时迅信息科技有限公司 Method and system for redirecting video under VDI environment
CN106888385A (en) * 2017-01-17 2017-06-23 武汉噢易云计算股份有限公司 Video broadcasting method and system of the client under virtualized environment
CN107205048A (en) * 2017-07-21 2017-09-26 深圳市智网云联科技有限公司 A kind of desktop cloud protocol code system based on PCI E buses
CN107317821A (en) * 2017-07-19 2017-11-03 苏睿 A kind of transmission method of view data, apparatus and system
CN108174283A (en) * 2017-12-27 2018-06-15 威创集团股份有限公司 A kind of vision signal source generating method and device
US11427870B2 (en) 2020-06-11 2022-08-30 National Central University Method for treating encapsulating peritoneal sclerosis
CN115643442A (en) * 2022-10-25 2023-01-24 广州市保伦电子有限公司 Audio and video converging recording and playing method, device, equipment and storage medium
WO2023208102A1 (en) * 2022-04-29 2023-11-02 华为技术有限公司 Cloud desktop data transmission method and related apparatus

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611394A (en) * 2015-12-21 2016-05-25 福建时迅信息科技有限公司 Method and system for redirecting video under VDI environment
CN105611394B (en) * 2015-12-21 2018-11-06 福建时迅信息科技有限公司 Video reorientation method under VDI environment and system
CN106888385A (en) * 2017-01-17 2017-06-23 武汉噢易云计算股份有限公司 Video broadcasting method and system of the client under virtualized environment
CN107317821A (en) * 2017-07-19 2017-11-03 苏睿 A kind of transmission method of view data, apparatus and system
CN107205048A (en) * 2017-07-21 2017-09-26 深圳市智网云联科技有限公司 A kind of desktop cloud protocol code system based on PCI E buses
CN108174283A (en) * 2017-12-27 2018-06-15 威创集团股份有限公司 A kind of vision signal source generating method and device
US11427870B2 (en) 2020-06-11 2022-08-30 National Central University Method for treating encapsulating peritoneal sclerosis
WO2023208102A1 (en) * 2022-04-29 2023-11-02 华为技术有限公司 Cloud desktop data transmission method and related apparatus
CN115643442A (en) * 2022-10-25 2023-01-24 广州市保伦电子有限公司 Audio and video converging recording and playing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104168486A (en) Virtual machine and client video redirection method based on cloud computing
CN104144178A (en) Cloud-computing-based method for transmitting video between virtual machine and client terminal
CN104604286B (en) For transmitting as a stream and the Energy-aware multimedia adaptive of dialogue service
CN104301742A (en) Video redirecting device between virtual machine and client and use method thereof
US11528308B2 (en) Technologies for end of frame detection in streaming content
CN107277612A (en) Method and apparatus for playing Media Stream in web browser
CN105577819B (en) A kind of share system of virtualization desktop, sharing method and sharing apparatus
CN104159150B (en) Cloud terminal, Cloud Server, media data flow play system and method
BR112015000117A2 (en) Quality-based adaptive streaming method by hypertext transfer protocol
WO2016112639A1 (en) Streaming media data transmission method, client and server
CN107529069A (en) A kind of video stream transmission method and device
CN104202615A (en) Video redirection method based on cloud computing
JP2012521718A5 (en)
EP2827596A1 (en) Transmitting and receiving method of multimedia video data and corresponding device
CN102739627A (en) Method and system for switching and playing video
JP2013509768A5 (en)
WO2016177248A1 (en) Method and device for encoding and decoding real-time media stream
CN104202656B (en) Network audio MP3 flows out of order segmentation decoding method
CN107070671A (en) The processing method of share desktop in conference system
CN105227989A (en) A kind of multimedia reorientation method based on VDI Technical Architecture and system
WO2013189430A3 (en) Method, system, and media server for implementing automatic speech recognition service
WO2013082750A1 (en) Real-time transcoding method and device
CN102098587A (en) IPTV quality of service guarantee method and media server
US20140280692A1 (en) System and method for encoding control commands
US20220182713A1 (en) Device and system for streaming media interaction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141112