CN104202615A - Video redirection method based on cloud computing - Google Patents

Video redirection method based on cloud computing Download PDF

Info

Publication number
CN104202615A
CN104202615A CN201410496604.XA CN201410496604A CN104202615A CN 104202615 A CN104202615 A CN 104202615A CN 201410496604 A CN201410496604 A CN 201410496604A CN 104202615 A CN104202615 A CN 104202615A
Authority
CN
China
Prior art keywords
video
client
data
virtual machine
heads
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
CN201410496604.XA
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.)
Hubei University of Education
Original Assignee
Hubei University of Education
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 Hubei University of Education filed Critical Hubei University of Education
Priority to CN201410496604.XA priority Critical patent/CN104202615A/en
Publication of CN104202615A publication Critical patent/CN104202615A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video redirection method based on cloud computing. The video redirection method comprises the steps of analyzing and separating videos on a virtual machine, acquiring the IP address of a client, spreading the videos in a network, and decoding and displaying the videos at the client. According to the invention, a data channel transmits video heads, as well as video data and audio data of all frames, and coordinates and playback rate of a video display region are transmitted to the client through a main-control channel of the cloud desktop protocol; the video heads transmitted from the virtual machine are analyzed to initialize a decoder of the client, video data of all the frames are input into the decoder, and data capable of being directly displayed are output after being decoded; the audio time is utilized as the standard for audio-video synchronization, the positions of the coordinates transmitted to the client from the virtual machine are utilized to display the decoded video images at the client. A video player and remote desktop software work cooperatively to transmit the remotely played video data to the local place, and the video data are decoded to be fused with a desktop transmitted from the virtual machine to be displayed.

Description

A kind of video reorientation method based on cloud computing
Technical field
The present invention relates to cloud computing technology field, relate to a kind of video reorientation method based on cloud computing, particularly relate to the method that video is redirected to client decoding and shows from virtual machine.
 
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.
?
Summary of the invention
For the deficiencies in the prior art, the invention provides a kind of video reorientation method based on cloud computing, can, by the transmission of video of virtual machine to client decoding, obtain higher user experience energy.
The technical solution adopted in the present invention is: a kind of video reorientation method based on cloud computing, it is characterized in that, and comprise the following steps:
Step 1: original video is analyzed and separated on virtual machine, comprises separation and analysis, the separation of frame of video, the video and separating of audio frequency and obtaining of audio frequency time of video heads;
Step 2: obtain the network address separately (IP) of client and virtual machine by cloud desktop protocol master control passage, as virtual machine and client data passage one to one;
Step 3: data transmission channel, by User Datagram Protocol (UDP), is transferred to client by the video of separation, voice data from virtual machine; By cloud desktop protocol master control passage, the coordinate of viewing area, playing progress rate are passed to client;
Step 4: the data of utilizing local decode to become can directly show to the video passing over, utilize the audio frequency time as the synchronous standard of audio & video; The software or the hardware that utilize local hardware or cpu resource to realize video show.
As preferably, the original video described in step 1, includes a video heads and several frame of video in its video file, and described video heads is used for describing the feature of described video file, comprises form, the code check of video, the length and width of video file; In described each frame of video, all comprise a feature head, for dividing the analysis of variance by video heads and every frame video.
Video flowing redirecting technique of the present invention, video data and the voice data of data channel transmission of video head, every frame, the coordinate of the master control channel transfer video display area by cloud desktop protocol and playing progress rate are to client; By analyzing the video heads transmitting from virtual machine, the decoder of initialization client, is input to decoder by every frame video data, the data that can directly show by output after decoding; Utilize the standard of audio frequency time as audio-visual synchronization, utilize the coordinate position that is delivered to client from virtual machine, decoded video image is presented to client.Make video player and the work of remote desktop software collaboration, the video data of remote playing is first transferred to after local decode and passes after the desktop of coming merges and show with virtual machine.
 
Brief description of the drawings
Fig. 1: the frame diagram that is the embodiment of the present invention.
Fig. 2: the schematic flow sheet that is the embodiment of the present invention.
Fig. 3: the schematic diagram that is the data flow of the embodiment of the present invention.
Fig. 4: the flow chart that is first embodiment of the invention.
Fig. 5: the flow chart that is second embodiment of the invention.
 
Embodiment
Understand and enforcement the present invention for the ease of those of ordinary skill in the art, below in conjunction with drawings and Examples, the present invention is described in further detail, should be appreciated that exemplifying embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
As shown in Fig. 1, the redirected frame diagram of a kind of video based on cloud computing of the present invention, it comprises following several aspect:
1. virtual machine is to be erected on server, passes through first signal path 10 3, secondary signal path 10 4 signalling channel both-way communications between virtual machine and server;
Data channel 101 be virtual machine by internet the data channel to client transmissions video flowing, audio stream;
3. master control path 10 2 is that virtual machine is by the signalling channel of the communication and control between internet and client;
As shown in Figure 2, the redirected schematic flow sheet of a kind of video based on cloud computing of the present invention, it comprises following several step:
Step S210: the separation and analysis of media file; 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.For virtual machine, in video display process, only complete the separation of media file and the transmission work of datagram, load is relatively low.
Step S220: the transmission of video flowing and audio stream; In the present invention, the video flowing of transmission is what to be encoded, and 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, our user's data pack protocol (UDP), can reduce network and take.
Step S230: the decoding of video flowing and the decoding of audio stream; In the present invention, we utilize local cpu resource or hardware video to decode it is decoded to video flowing; To audio stream data, also utilize local cpu resource to decode.
Step S240: obtain video display window data; In the present invention, we obtain the window coordinates of video demonstration, coordinate and other rectangles that video shows from media player, and these data are sent to client, show as next step video data.
Step S250: the broadcasting of decoded video data demonstration and audio stream; In the present invention, we utilize the timestamp of audio stream as the standard of audio-visual synchronization, and in conjunction with S230 step, the strategy that decoded video is not carried out to frame losing improves user and experiences, in the present invention, dynamically adjust the maximum time of every frame video decode according to the behaviour in service of client CPU.
As shown in Figure 3, the present invention is based on the schematic diagram of the redirected data flow of the video of cloud computing, it comprises following steps:
Step S310: the transmission of video flowing and audio stream, in the present invention, video flowing is divided into the video data that video heads and a frame frame were encoded, and audio stream is what to be encoded, so that the network bandwidth takies with respect to other schemes is very little.
Step S320: the transmission of display window, video coordinates, other rectangles, the network bandwidth taking is few.
It is optimum that video is redirected on network takies.
As shown in Figure 4, the present invention is based on the flow chart of the first example that the video of cloud computing is redirected, it comprises following part:
1. S400: R710 dell branded server, the strong processor X5650 of Intel's will 2.66GHz binary channel central processing unit (CPU); 96GB 1333MHz RDIMM internal memory; 1TB SAS hard disk; Two 5709C two-port gigabit ethernets); Can virtual more than 40 virtual machine.
2. S401: terminal is used X86 double-core 1.6GHZ central processing unit, does not support the hardware decoding of video and shows.
3.S410: the separation and analysis of media file; 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; In the present invention, media player is not decoded to video counts, but video data is sent to client by modes such as UDP.For virtual machine, in video display process, only complete the separation of media file and the transmission work of datagram, load is relatively low.
4.S420: the transmission of video flowing and audio stream; In the present invention, the video flowing of transmission is what to be encoded, and 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, our user's data pack protocol (UDP), can reduce network and take.
5.S430: service end agreement and hardware resource; RDP is the bridge of connecting virtual machine, server, client; In the present invention, between virtual machine and client, the network address (IP) obtained by RDP one to one; In the present invention, the window coordinates that video shows, coordinate and other rectangles that video shows, be to be then delivered to client by obtaining in RDP.
6.S440: the decoding of video flowing and the decoding of audio stream; In this example of the present invention, we utilize local cpu resource to decode to video flowing; To audio stream data, also utilize local cpu resource to decode.
7.S450: obtain video display window data; In the present invention, the data of display window are obtained from RDP, in S430, illustrate.
8.S460: the broadcasting of decoded video data demonstration and audio stream; In the present invention, we utilize the timestamp of audio stream as the standard of audio-visual synchronization, and in conjunction with S440, the strategy that decoded video is not carried out to frame losing improves user and experiences, in example of the present invention, dynamically adjust the maximum time of every frame video decode according to the behaviour in service of client CPU.
As shown in Figure 5, the present invention is based on the flow chart of the second example that the video of cloud computing is redirected, it comprises following part:
1. S500: R710 dell branded server, the strong processor X5650 of Intel's will 2.66GHz binary channel central processing unit (CPU); 96GB 1333MHz RDIMM internal memory; 1TB SAS hard disk; Two 5709C two-port gigabit ethernets); Can virtual more than 40 virtual machine.
2. S501: terminal is used Freescale semiconductor Freescale I.MX53 800GHZ central processing unit, supports MPEG2/4, H264, VC-1, hardware decoding and the demonstration of WMV9 video.
3.S510: the separation and analysis of media file; 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; In the present invention, media player is not decoded to video counts, but video data is sent to client by modes such as UDP.For virtual machine, in video display process, only complete the separation of media file and the transmission work of datagram, load is relatively low.
4.S520: the transmission of video flowing and audio stream; In the present invention, the video flowing of transmission is what to be encoded, and 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, our user's data pack protocol (UDP), can reduce network and take.
5.S530: service end agreement and hardware resource; RDP is the bridge of connecting virtual machine, server, client; In the present invention, between virtual machine and client, the network address (IP) obtained by RDP one to one; In the present invention, the window coordinates that video shows, coordinate and other rectangles that video shows, be to be then delivered to client by obtaining in RDP.
6.S540: the decoding of video flowing and the decoding of audio stream; In this example of the present invention, we utilize local cpu resource to decode to video flowing; To audio stream data, also utilize local cpu resource to decode.
7.S550: obtain video display window data; In the present invention, the data of display window are obtained from RDP, in S430, illustrate.
8.S560: the broadcasting of decoded video data demonstration and audio stream; In the present invention, we utilize the timestamp of audio stream as the standard of audio-visual synchronization, and in conjunction with S540, the strategy that decoded video is not carried out to frame losing improves user and experiences, in example of the present invention, dynamically adjust the maximum time of every frame video decode according to the behaviour in service of client CPU.
Should be understood that, the part that this specification does not elaborate all belongs to prior art.
Should be understood that; the above-mentioned description for preferred embodiment is comparatively detailed; can not therefore think the restriction to scope of patent protection of the present invention; those of ordinary skill in the art is under enlightenment of the present invention; do not departing from the scope situation that the claims in the present invention protect; can also make and replacing or distortion, within all falling into protection scope of the present invention, request protection range of the present invention should be as the criterion with claims.

Claims (2)

1. the video reorientation method based on cloud computing, is characterized in that, comprises the following steps:
Step 1: original video is analyzed and separated on virtual machine, comprises separation and analysis, the separation of frame of video, the video and separating of audio frequency and obtaining of audio frequency time of video heads;
Step 2: obtain the network address separately (IP) of client and virtual machine by cloud desktop protocol master control passage, as virtual machine and client data passage one to one;
Step 3: data transmission channel, by User Datagram Protocol (UDP), is transferred to client by the video of separation, voice data from virtual machine; By cloud desktop protocol master control passage, the coordinate of viewing area, playing progress rate are passed to client;
Step 4: the data of utilizing local decode to become can directly show to the video passing over, utilize the audio frequency time as the synchronous standard of audio & video; The software or the hardware that utilize local hardware or cpu resource to realize video show.
2. the video reorientation method based on cloud computing according to claim 1, it is characterized in that: the original video described in step 1, in its video file, include a video heads and several frame of video, described video heads is used for describing the feature of described video file, comprises form, the code check of video, the length and width of video file; In described each frame of video, all comprise a feature head, for dividing the analysis of variance by video heads and every frame video.
CN201410496604.XA 2014-09-25 2014-09-25 Video redirection method based on cloud computing Pending CN104202615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410496604.XA CN104202615A (en) 2014-09-25 2014-09-25 Video redirection method based on cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410496604.XA CN104202615A (en) 2014-09-25 2014-09-25 Video redirection method based on cloud computing

Publications (1)

Publication Number Publication Date
CN104202615A true CN104202615A (en) 2014-12-10

Family

ID=52087831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410496604.XA Pending CN104202615A (en) 2014-09-25 2014-09-25 Video redirection method based on cloud computing

Country Status (1)

Country Link
CN (1) CN104202615A (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
CN106101794A (en) * 2016-06-22 2016-11-09 杭州华三通信技术有限公司 The processing method of a kind of virtual desktop video data, Apparatus and system
CN107864384A (en) * 2017-11-20 2018-03-30 顶联信息产业股份公司 Redirect the method and device that internet video plays on cloud desktop
CN107888594A (en) * 2017-11-15 2018-04-06 北京易讯通信息技术股份有限公司 A kind of high-definition image collecting device reorientation method in virtual desktop environment
CN108055565A (en) * 2017-12-26 2018-05-18 合肥中科云巢科技有限公司 The reorientation method and device of audio and video
CN110891084A (en) * 2019-11-08 2020-03-17 深圳市华科智能有限公司 Thin client remote desktop control system based on autonomous HVDP protocol
WO2023208102A1 (en) * 2022-04-29 2023-11-02 华为技术有限公司 Cloud desktop data transmission method and related apparatus
CN117319592A (en) * 2023-12-01 2023-12-29 银河麒麟软件(长沙)有限公司 Cloud desktop camera redirection method, system and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368787A (en) * 2011-12-02 2012-03-07 浪潮集团有限公司 Cloud computing system based on KVM (Keyboard Video and Mouse) virtualization and media redirection
CN102547394A (en) * 2011-12-27 2012-07-04 福建升腾资讯有限公司 Universal audio/video redirection method for cloud access devices under VDI (Video Desktop Infrastructure) environment
US20140082052A1 (en) * 2012-09-14 2014-03-20 Electronics And Telecommunications Research Institute Data redirection system and method for providing data redirection service
CN104067627A (en) * 2013-02-07 2014-09-24 华为技术有限公司 Video redirecting method, device, system and computer readable medium
CN104168486A (en) * 2013-05-20 2014-11-26 上海范氏科技投资发展集团有限公司 Virtual machine and client video redirection method based on cloud computing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368787A (en) * 2011-12-02 2012-03-07 浪潮集团有限公司 Cloud computing system based on KVM (Keyboard Video and Mouse) virtualization and media redirection
CN102547394A (en) * 2011-12-27 2012-07-04 福建升腾资讯有限公司 Universal audio/video redirection method for cloud access devices under VDI (Video Desktop Infrastructure) environment
US20140082052A1 (en) * 2012-09-14 2014-03-20 Electronics And Telecommunications Research Institute Data redirection system and method for providing data redirection service
CN104067627A (en) * 2013-02-07 2014-09-24 华为技术有限公司 Video redirecting method, device, system and computer readable medium
CN104168486A (en) * 2013-05-20 2014-11-26 上海范氏科技投资发展集团有限公司 Virtual machine and client video redirection method based on cloud computing

Cited By (11)

* 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
CN106101794A (en) * 2016-06-22 2016-11-09 杭州华三通信技术有限公司 The processing method of a kind of virtual desktop video data, Apparatus and system
CN107888594A (en) * 2017-11-15 2018-04-06 北京易讯通信息技术股份有限公司 A kind of high-definition image collecting device reorientation method in virtual desktop environment
CN107864384A (en) * 2017-11-20 2018-03-30 顶联信息产业股份公司 Redirect the method and device that internet video plays on cloud desktop
CN107864384B (en) * 2017-11-20 2020-12-25 顶联信息产业股份公司 Method and device for redirecting internet video playing on cloud desktop
CN108055565A (en) * 2017-12-26 2018-05-18 合肥中科云巢科技有限公司 The reorientation method and device of audio and video
CN110891084A (en) * 2019-11-08 2020-03-17 深圳市华科智能有限公司 Thin client remote desktop control system based on autonomous HVDP protocol
WO2023208102A1 (en) * 2022-04-29 2023-11-02 华为技术有限公司 Cloud desktop data transmission method and related apparatus
CN117319592A (en) * 2023-12-01 2023-12-29 银河麒麟软件(长沙)有限公司 Cloud desktop camera redirection method, system and medium
CN117319592B (en) * 2023-12-01 2024-03-26 银河麒麟软件(长沙)有限公司 Cloud desktop camera redirection method, system and medium

Similar Documents

Publication Publication Date Title
CN104202615A (en) Video redirection method based on cloud computing
US10021438B2 (en) Synchronizing playback of segmented video content across multiple video playback devices
CN104168486A (en) Virtual machine and client video redirection method based on cloud computing
US9172979B2 (en) Experience or “sentio” codecs, and methods and systems for improving QoE and encoding based on QoE experiences
CN110072143B (en) Video stream decoding method and device
US20210266621A1 (en) Devices, systems and processes for facilitating watch parties
WO2017101369A1 (en) Live video transcoding method and apparatus
CN102811368A (en) Mobile video live broadcasting system
WO2020220902A1 (en) Method and apparatus for distributing transmission parameters of video resources
US20140187331A1 (en) Latency reduction by sub-frame encoding and transmission
CN103237191A (en) Method for synchronously pushing audios and videos in video conference
CN105577819A (en) Sharing system, sharing method and sharing device for virtual desktop
CN109547731B (en) Video conference display method and system
CN104144178A (en) Cloud-computing-based method for transmitting video between virtual machine and client terminal
WO2013155766A1 (en) Transmitting and receiving method of multimedia video data and corresponding device
WO2012021174A2 (en) EXPERIENCE OR "SENTIO" CODECS, AND METHODS AND SYSTEMS FOR IMPROVING QoE AND ENCODING BASED ON QoE EXPERIENCES
CN104301742A (en) Video redirecting device between virtual machine and client and use method thereof
CN112351303B (en) Video sharing method and system in network conference and readable storage medium
CN107147887B (en) Wireless display method and device
CN104683823A (en) Multi-screen linked audio and video synchronizing system
US10925014B2 (en) Method and apparatus for synchronization in a network
US9118947B2 (en) Multi-vision virtualization system and method
CN110769179B (en) Audio and video data stream processing method and system
JP2015521402A (en) Dynamic interstitial transition
US20200186580A1 (en) Dynamic rotation of streaming protocols

Legal Events

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

Application publication date: 20141210

RJ01 Rejection of invention patent application after publication