CN102710968A - Method for synchronizing video streams in cloud television system - Google Patents

Method for synchronizing video streams in cloud television system Download PDF

Info

Publication number
CN102710968A
CN102710968A CN2012101610994A CN201210161099A CN102710968A CN 102710968 A CN102710968 A CN 102710968A CN 2012101610994 A CN2012101610994 A CN 2012101610994A CN 201210161099 A CN201210161099 A CN 201210161099A CN 102710968 A CN102710968 A CN 102710968A
Authority
CN
China
Prior art keywords
cloud
video flowing
station
synchronous
image
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
CN2012101610994A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2012101610994A priority Critical patent/CN102710968A/en
Publication of CN102710968A publication Critical patent/CN102710968A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to the technical field of cloud televisions, in particular to a method for synchronizing video streams. The method comprises the following steps: (211) adding an ID (identity) number, television station names, a format type and adaptive terminals into a header file of a video steam; (212) adding a time stamp into the video stream; (213) writing the ID number, the television station names, the format type and the adaptive terminals into a message server; (2141) dividing the video stream generated in the step (212) into two paths, wherein one path of video stream is to be broadcasted, while the other path of video stream is to be synchronized; (2142) in the video stream to be synchronized, extracting a frame of an image at intervals, storing the image into the message server to cover a previous frame of the image; (2143) in the message server, covering the time stamp of the previous frame of the image by using the time stamp of the extracted image; and (2144) acquiring images of all current ID numbers. Visual channel selection and voice channel selection are realized by the method.

Description

Video flowing method for synchronous in the cloud television system
Technical field
The present invention relates to the cloud TV technology, particularly a kind of method for synchronous.
Background technology
The cloud TV is a kind of virtual home TV, lets the user have the cloud client, have network Anywhere, can both regulate and control as family's TV as the TV in special.For example, the user can be anywhere, and virtual is the domestic consumer of Pekinese, watches all TV stations that can see of Beijing.The user also can a virtual California, USA family's TV user, watch the TV station that all Californians can see.
The user can see each TV station of virtual home TV on client, can select certain TV station to play.But the user can not play any program up to this TV station now through the title of TV station, and whether this program is interested.Therefore, the selection that the user can only be blindly certain, could whether need continue to transfer up to platform after seeing play content.This channel selection mode has blindness, and efficient is low.
In addition, some crowd is very inconvenient for seeing TV station's title.For example caliginous old man is not familiar with the children of word etc.Only show on playback terminal that TV station's title has no directive function to its channel selection.
Therefore, need a kind of guidance method of more intelligent, more convenient, channel selection efficiently, can reach visual channel selection or voice channel selection.
Summary of the invention
The present invention provides video flowing method for synchronous in a kind of cloud television system, comprises:
Step 211: in the video flowing header file, add ID number the terminal class of TV station's title, form classification, adaptation;
Step 212: the joining day stabs in video flowing;
Step 213: this ID number, the terminal class of this timestamp, TV station's title, form classification, adaptation are write message server;
Step 2141: the video flowing that step 212 produced is divided into two-way, and one the tunnel waits to broadcast, and treat synchronously on another road;
Step 2142: in treating synchronous video flowing, whenever be separated by a period of time, extract a two field picture, be saved in message server, cover the former frame image;
Step 2143: in message server, use the timestamp that is covered the former frame image by the timestamp of abstract image;
Step 2144: obtain current all ID numbers image.
Video flowing method for synchronous in the cloud television system as above, wherein, this a period of time is 5 minutes.
Video flowing method for synchronous in the cloud television system as above, wherein, this a period of time is 10 minutes.
Video flowing method for synchronous in the cloud television system as above, wherein, the method for this step 2144 is: when each TV station of needs preview, the high in the clouds control device sends preview request, comprises in this preview request: request time, Termination ID number;
The cloud manager receives this preview request, verifies that whether this Termination ID number watches authority, if not, then returns the prompting of a lack of competence of high in the clouds control device; In this way, the viewing list of then transmitting this preview request and this Termination ID number is given Cloud Server;
Cloud Server is pushed to the present image that all these Termination ID of cloud TV client number have the TV station of authority.
Video flowing method for synchronous in the cloud television system as above wherein, also comprises following steps:
Speech recognition equipment is gathered phonetic order;
Speech recognition obtains TV station's title;
This TV station's title is sent to Cloud Server.
The invention has the beneficial effects as follows: video flowing method for synchronous in a kind of cloud television system is provided, has let the image of the TV station that client showed and the progress basically identical that current this TV station plays, reached the effect of visual channel selection or voice channel selection.
Description of drawings
Specify the present invention below in conjunction with accompanying drawing and embodiment:
Fig. 1 is a cloud television system sketch map of the present invention.
Fig. 2 is the sketch map of video flowing method for synchronous in the cloud television system of the present invention.
Fig. 3 is the method for terminal plays in the video flowing method for synchronous in the cloud television system of the present invention.
Fig. 4 is the method for synchronous in the video flowing method for synchronous in the cloud television system of the present invention.
Fig. 5 is the authority register method in the video flowing method for synchronous in the cloud television system of the present invention.
Embodiment
For technological means, creation characteristic that the present invention is realized, reach purpose and effect and be easy to understand and understand, below in conjunction with concrete diagram, further set forth the present invention.
Fig. 1 has represented the structure chart of cloud television system.
The cloud television system comprises:
1 to N decoder 1, N is the natural number more than or equal to 2;
1 to N Cloud Server 2, corresponding this 1 to N decoder 1 that connects.In the practical application, Cloud Server 2 can be hundreds of or several thousand, is distributed in different places, and the video resource of magnanimity is placed on high in the clouds.
1 to M cloud television terminal 3 is connected with one or more Cloud Server 2 networks; M is the natural number more than or equal to 2.This network connects and comprises: World Wide Web (WWW), 3G network etc.; Carry out data interaction through socket real time communication agreement between cloud television terminal 3 and the Cloud Server 2.In the practical application, cloud television terminal 3 can be for several ten thousand, hundreds of thousands, millions of terminal uses, and quantity is not limit.
Each cloud television terminal 3 has a high in the clouds control device 4, can be smart mobile phone, like IPHONE or Android mobile phone, also can be the remote controller of Web TV or the input-output equipment of PC.Control device 4 networks in high in the clouds connect this Cloud Server 2.
Carry out communication through Socket duplex agreement between high in the clouds control device 4 and the cloud television terminal 3.
Cloud manager 5, network connects this one or more Cloud Server 2, this cloud television terminal 3, this high in the clouds control device 4.According to the request of high in the clouds control device 4, virtual one family TV service is set up the link between Cloud Server 2 and the cloud television terminal 3, and the video flowing of the corresponding TV station that high in the clouds control device 4 is asked is transferred to cloud television terminal 3 and plays.
Video flowing of the present invention can be various source video sequences such as cable TV signal, Web TV or VCD, and therefore the video source of magnanimity can be provided.
The cloud television terminal can be Web TV, IPAD, IPHONE mobile phone, Android mobile phone, PC etc.
Decoder 1 is carried out the step 1 of video flowing method for synchronous in the cloud television system of the present invention: the video flowing to the various forms that obtain is decoded, and decoded video flowing is inputed to Cloud Server 2.
Cloud Server 2 has:
Coding module 21 connects this decoder 1, carries out the inventive method step 2: to this decoded video flowing coding.To the kind of this cloud television terminal, take multiple coding method, produce the video flowing of multiple form, be applicable to various terminals such as Web TV, IPAD, IPHONE mobile phone, Android mobile phone, PC respectively.
In one of them embodiment of the present invention,, be applicable to IPAD and IPHONE mobile phone according to h264 method coding.
In one of them embodiment of the present invention,, be applicable to the Android mobile phone according to OGG method coding.
In one of them embodiment of the present invention,, be applicable to PC according to WebM method coding.
The parameter of coding can be adjusted, and to change the size of video flowing, the unobstructed situation of link is not adjusted the video flowing size simultaneously when supplying to play.
On the header file of video flowing, carry out and separate code labeling, like this, different cloud television terminals 3 just can oneself be discerned different coding.
As shown in Figure 2, the concrete grammar of coding comprises:
Step 211 adds ID number (tuning field) in the video flowing header file, the terminal class of Chinese (or foreign language) TV station title, form classification, adaptation is waited for subsequent treatment.
Step 212, the joining day stabs in the video flowing header file.On the one hand make the broadcast of video on cloud television terminal 3 more smooth, on the other hand, be the follow-up time mark of carrying out synchronously.
If video flowing is play-overed on cloud television terminal 3, video actions can be neglected fast neglecting slowly.Stab and solved this problem service time of the present invention, and as shown in Figure 3, the broadcast on the cloud television terminal 3 comprises following steps:
Step 2121: cushion first two field picture, the record very first time is stabbed T1.During a two field picture in receiving video flowing, coding module 21 adds the time stamp T 1 of these frames, and cushions this two field picture F1;
Step 2122: cushion second two field picture, write down second time stamp T 2.When receiving the next frame image, the joining day is stabbed T2, and deposits the F2 frame in buffering area.
Step 2123: send the F1 frame to cloud playback terminal 3, and the time stamp T 1 of filling in the F1 frame.
Step 2124: receive F1 at cloud playback terminal 3, and put into buffering area, wait for and playing.
Step 2125: when playing, first playing image F1, take-off time stabs T2 again, carries out next frame and plays regularly, and timing is: T2-T1.
Step 2126: when the time passes T2-T1, take out the F2 frame from buffering area and play.
By above-mentioned visible, stab service time of the present invention, in video flowing is play, makes the more smooth nature of video.
Step 213 writes the message server 22 of Cloud Server 2 with this ID number, the terminal class of this timestamp, TV station's title, form classification, adaptation.
Step 214, preview screen on each ID number video flowing and the high in the clouds control device 4 is synchronous.This step makes the current picture of certain TV station that shows on the high in the clouds control device 4 progress basic and that video flowing is play at present synchronous; Make the user of cloud TV when selecting TV station, just know what content this TV station is playing; No longer blindly transfer platform, accomplished visual accent platform.Concrete method for synchronous is following, as shown in Figure 4:
Step 2141: the video flowing that step 212 produced is divided into two-way, and one the tunnel waits to broadcast, and treat synchronously on another road.
Step 2142: in treating synchronous video flowing, whenever be separated by one self-defining period, Automatic Extraction one two field picture is saved in the message server of Cloud Server 2, covers the former frame image.This self-defining time can be 5 minutes, also can be 10 minutes.Those skilled in the art should understand, and according to application demand, this time can define, also can default settings.
Step 2143: in message server, use the timestamp that is covered the former frame image by the timestamp of abstract image.
Step 2144: high in the clouds control device 4 obtains current all ID numbers image on the Cloud Server 2.Concrete acquisition methods is: when each TV station of needs preview, the browser of high in the clouds control device 4 sends preview request, comprises in this preview request: request time, Termination ID number.Cloud manager 5 receives these preview request, verifies that whether this Termination ID number watches authority, if not, then returns the prompting of 4 one lacks of competence of high in the clouds control device; In this way; Then transmit the viewing list of this preview request and this Termination ID number and give Cloud Server 2; Cloud Server 2 is pushed to the present image of TV station that cloud TV client 3 all these Termination ID number have authority for preview, has set up the communication link between Cloud Server 2 and the cloud television terminal 3 simultaneously.Since covered in the step 2132 with up-to-date image old, therefore, the image and the present playing progress rate basic synchronization of video flowing of certain TV station that cloud TV user end 3 arrives through 4 previews of high in the clouds control device.
When the user clicks certain TV station or its correspondence image on the browser of control device 4 beyond the clouds; The ID of this TV station number the classification with this cloud television terminal 3 is sent to Cloud Server 2; This terminal class that Cloud Server 2 transmission is this ID number video flowing to the cloud television terminal 3 of corresponding form; This transmission course continues always, up to receiving halt instruction.
In step 2144, after Cloud Server 2 and cloud television terminal 3 had been set up communication link, cloud manager 5 monitored whether this communication link is unobstructed, which Cloud Server is using, and which cloud television terminal is using.If communication link is unobstructed, then send high-quality video flowing, if obstructed, then send low-quality video flowing, reduce bandwidth occupancy.Monitor the operating position of Cloud Server, can when a plurality of cloud TV clients 3 are asked same video flowing simultaneously, accomplish load balancing.
The method for synchronous of step 214 is also for realizing that voice accent platform provides precondition.Among one of them embodiment of the present invention, a speech recognition equipment is set in the control device 4 beyond the clouds, gathers the user's voice instruction,, obtain TV station's title through speech recognition then like " Channel 1 on China Central Television (CCTV) ".The classification of this TV station's title and this cloud television terminal 3 is sent to Cloud Server 2, video flowing to the cloud television terminal 3 of the pairing form of this terminal class of Cloud Server 2 these TV stations of transmission.
Step 215, compression.With three kinds of compression algorithms, generate the video flowing of three kinds of forms, be applicable to Web TV, IPAD or IPHONE mobile phone, Android mobile phone respectively, and, be convenient to corresponding playback terminal and play with form classification logotype different-format.Though be example with the video flowing that generates three kinds of forms here, those skilled in the art should be appreciated that and be merely usefulness for example here, in order to meet the requirement of other playback terminals, can use other compression methods to produce the video flowing of extended formatting.
Control of authority module 23 connects this high in the clouds control device 4, and all cloud television terminals 3 are carried out control of authority.Comprise the authority registration, play two methods of rights management, wherein, the authority register method is as shown in Figure 5, comprises:
Step 231: obtain Termination ID number.On every cloud television terminal 3, two-dimension code is installed, is identified this terminal.The two-dimension code recognition system is installed on each high in the clouds control device 4, the two-dimension code on high in the clouds control device 4 these cloud television terminals 3 of scanning, read this ID number, send to control of authority module 23.
Step 232: the licensing status of this Termination ID of mark number.Which TV station this licensing status has comprised can be seen this terminal, and which is for forbidding.
Step 233: send digital certificate to high in the clouds control device 4.
Step 234: high in the clouds control device 4 these digital certificates of operation.
The method of playing rights management comprises:
Step 235: high in the clouds control device 4 sends playing request to control of authority modules 23, and this playing request comprises: Termination ID number, the ID of TV station number, digital certificate field, this digital certificate field is one of following state: empty, effective, invalid.
Step 236 is empty like digital certificate field, then returns registration new user interface to a high in the clouds control device 4; Like digital certificate field is effectively, then this TV station ID number is compared with the licensing status of record in the authority management module 23, judges whether this terminal has the authority of this TV station of broadcast; As do not have authority, and then returning a page of having no right to play, prompting user (paying) obtains authority; If any authority, then set up the WebSocekt interface channel between Cloud Server 2 and the cloud television terminal 3, and play instruction is sent to propelling movement module 24.This play instruction comprises: Termination ID number, the ID of TV station number.
Push module 24, connect this message server 22, this control of authority module 23 and this cloud television terminal 3, carry out video flowing method for synchronous step 3 in the cloud television system of the present invention: according to playing request, transmission of video flow to the cloud television terminal through the real-time high in the clouds of 3G network.In one of them embodiment of the present invention, with Socket agreement real-time Transmission.
By above-mentioned visible, the present invention has realized real cloud TV: the virtual home TV, and let the user have the cloud client Anywhere, can both see virtual TV.
More than show and described basic principle of the present invention, principal character and advantage of the present invention.The technical staff of the industry should understand; That describes in the foregoing description and the specification just explains principle of the present invention; Protection scope of the present invention is not restricted to the described embodiments; The present invention also has various changes and modifications under the prerequisite that does not break away from spirit and scope of the invention, and these variations and improvement all fall in the scope of requirement protection of the present invention.Protection scope of the present invention is defined by appended claims and equivalent thereof.

Claims (5)

1. video flowing method for synchronous in the cloud television system is characterized in that, comprises:
Step 211: in the video flowing header file, add ID number the terminal class of TV station's title, form classification, adaptation;
Step 212: the joining day stabs in video flowing;
Step 213: this ID number, the terminal class of this timestamp, TV station's title, form classification, adaptation are write message server;
Step 2141: the video flowing that step 212 produced is divided into two-way, and one the tunnel waits to broadcast, and treat synchronously on another road;
Step 2142: in treating synchronous video flowing, whenever be separated by a period of time, extract a two field picture, be saved in message server, cover the former frame image;
Step 2143: in message server, use the timestamp that is covered the former frame image by the timestamp of abstract image;
Step 2144: obtain current all ID numbers image.
2. according to video flowing method for synchronous in the cloud television system of claim 1, it is characterized in that this a period of time is 5 minutes.
3. according to video flowing method for synchronous in the cloud television system of claim 1, it is characterized in that this a period of time is 10 minutes.
4. according to video flowing method for synchronous in the cloud television system of claim 1, it is characterized in that the method for this step 2144 is: when each TV station of needs preview, the high in the clouds control device sends preview request, comprises in this preview request: request time, Termination ID number;
The cloud manager receives this preview request, verifies that whether this Termination ID number watches authority, if not, then returns the prompting of a lack of competence of high in the clouds control device; In this way, the viewing list of then transmitting this preview request and this Termination ID number is given Cloud Server;
Cloud Server is pushed to the present image that all these Termination ID of cloud TV client number have the TV station of authority.
5. according to video flowing method for synchronous in the cloud television system of claim 4, it is characterized in that, also comprise following steps:
Speech recognition equipment is gathered phonetic order;
Speech recognition obtains TV station's title;
This TV station's title is sent to Cloud Server.
CN2012101610994A 2012-05-22 2012-05-22 Method for synchronizing video streams in cloud television system Pending CN102710968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101610994A CN102710968A (en) 2012-05-22 2012-05-22 Method for synchronizing video streams in cloud television system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101610994A CN102710968A (en) 2012-05-22 2012-05-22 Method for synchronizing video streams in cloud television system

Publications (1)

Publication Number Publication Date
CN102710968A true CN102710968A (en) 2012-10-03

Family

ID=46903499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101610994A Pending CN102710968A (en) 2012-05-22 2012-05-22 Method for synchronizing video streams in cloud television system

Country Status (1)

Country Link
CN (1) CN102710968A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159153A (en) * 2014-07-22 2014-11-19 乐视网信息技术(北京)股份有限公司 Method and system for switching user role
CN104301784A (en) * 2013-07-19 2015-01-21 深圳市同洲电子股份有限公司 Digital television terminal capable of screenshot return, screenshot return method and screenshot return system
CN107239414A (en) * 2017-06-06 2017-10-10 威创集团股份有限公司 A kind of method and device based on QT frame signals previews

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1148728A1 (en) * 2000-04-05 2001-10-24 THOMSON multimedia Trick play signal generation for a digital video recorder
CN1960268A (en) * 2006-08-16 2007-05-09 中兴通讯股份有限公司 Method for implementing multiple video strems in mobile multimedia broadcast
CN101031069A (en) * 2006-12-13 2007-09-05 北京大学 Method and system for navigating video electronic programm in network TV-set
CN101753973A (en) * 2008-12-12 2010-06-23 华为技术有限公司 Channel switching method, device and system
CN101854533A (en) * 2010-06-10 2010-10-06 华为技术有限公司 Frequency channel switching method, device and system
CN101859565A (en) * 2010-06-11 2010-10-13 深圳创维-Rgb电子有限公司 System and method for realizing voice recognition on television
CN102186038A (en) * 2011-05-17 2011-09-14 浪潮(山东)电子信息有限公司 Method for synchronously playing multi-viewing-angle pictures on digital television screen

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1148728A1 (en) * 2000-04-05 2001-10-24 THOMSON multimedia Trick play signal generation for a digital video recorder
CN1960268A (en) * 2006-08-16 2007-05-09 中兴通讯股份有限公司 Method for implementing multiple video strems in mobile multimedia broadcast
CN101031069A (en) * 2006-12-13 2007-09-05 北京大学 Method and system for navigating video electronic programm in network TV-set
CN101753973A (en) * 2008-12-12 2010-06-23 华为技术有限公司 Channel switching method, device and system
CN101854533A (en) * 2010-06-10 2010-10-06 华为技术有限公司 Frequency channel switching method, device and system
CN101859565A (en) * 2010-06-11 2010-10-13 深圳创维-Rgb电子有限公司 System and method for realizing voice recognition on television
CN102186038A (en) * 2011-05-17 2011-09-14 浪潮(山东)电子信息有限公司 Method for synchronously playing multi-viewing-angle pictures on digital television screen

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301784A (en) * 2013-07-19 2015-01-21 深圳市同洲电子股份有限公司 Digital television terminal capable of screenshot return, screenshot return method and screenshot return system
CN104159153A (en) * 2014-07-22 2014-11-19 乐视网信息技术(北京)股份有限公司 Method and system for switching user role
CN107239414A (en) * 2017-06-06 2017-10-10 威创集团股份有限公司 A kind of method and device based on QT frame signals previews

Similar Documents

Publication Publication Date Title
US11240543B2 (en) Synchronizing playback of segmented video content across multiple video playback devices
CN101888409B (en) Remote information issuing and monitoring system based on wide area network and control method thereof
KR102628139B1 (en) Customized video streaming for multi-device presentations
CN100429901C (en) Method and structure for realizing live channel switching in Internet protocol audio-video broadcast network
CN106507186B (en) Media information switching method, server and storage medium
KR101852893B1 (en) Information pushing method, device, and system
US20130135179A1 (en) Control method and device thereof
CN104683834A (en) Method And Device For Processing A Media Content Stream
CN106464933B (en) Apparatus and method for remotely controlling rendering of multimedia content
CN103491431A (en) Method, terminal and system for audio and video sharing of digital television
CN105072458A (en) Method for realizing time shifting in live broadcasting process of set top box based on HLS protocol
CN105142012A (en) Smart television live channel list acquiring, channel switching and one-screen watching method
CN105142003B (en) Television program playing method and device
CN112616065A (en) Screen image initiating method and device, computer equipment, readable storage medium and screen image presenting system
KR101282413B1 (en) Apparatus for controlling internet protocol television service and method for providing internet protocol television service using the same
CN105992062A (en) Method and device for sharing media program
CN106209824A (en) The cloud edit methods of data, system and the client of cloud editor
CN110557686A (en) System and method for realizing playing satellite low-bit-rate live broadcast program by mobile terminal
CN102710967A (en) Cloud television system and method
CN102710968A (en) Method for synchronizing video streams in cloud television system
CN105933759A (en) Red envelope grabbing method for digital television, server and system
KR101666246B1 (en) Advance metadata provision augmented broadcasting apparatus and method
CN102123320A (en) Information sending and receiving method and system based on bidirectional digital television network
CN111385590A (en) Live broadcast data processing method and device and terminal
KR102533674B1 (en) Receiving device, sending device and data processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121003