CN103347215B - A kind of multi-screen interaction method and Set Top Box - Google Patents

A kind of multi-screen interaction method and Set Top Box Download PDF

Info

Publication number
CN103347215B
CN103347215B CN201310247602.2A CN201310247602A CN103347215B CN 103347215 B CN103347215 B CN 103347215B CN 201310247602 A CN201310247602 A CN 201310247602A CN 103347215 B CN103347215 B CN 103347215B
Authority
CN
China
Prior art keywords
shared drive
audio
video flow
client
synchronous regime
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.)
Expired - Fee Related
Application number
CN201310247602.2A
Other languages
Chinese (zh)
Other versions
CN103347215A (en
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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN201310247602.2A priority Critical patent/CN103347215B/en
Publication of CN103347215A publication Critical patent/CN103347215A/en
Application granted granted Critical
Publication of CN103347215B publication Critical patent/CN103347215B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The present invention is applied to multimedia communication technology field, there is provided a kind of multi-screen interaction method and Set Top Box, methods described include:Transport stream TS is converted to the audio/video flow of HTML HTML5 supports, the audio/video flow is stored to shared drive;The audio/video flow is taken out from shared drive and sent to client.The present invention sends to client the audio/video flow that transport stream is converted to HTML5 supports, so that the browser that client passes through to carry can play the audio/video flow, solve prior art presence, the platform and style that be directed to different mobile terminals go exploitation audio/video flow to receive software, cost problem very high.

Description

A kind of multi-screen interaction method and Set Top Box
Technical field
The invention belongs to multimedia communication technology field, more particularly to a kind of multi-screen interaction method and Set Top Box.
Background technology
With the development and user's request of multimedia communication technology, multi-screen interactive will be into the even decades coming years It is one focus function of TV industry, the multi-screen interactive mode of Vehicles Collected from Market is relatively simple, for example, realizes that mobile terminal can be known The audio frequency and video of other Set Top Box, do not support that all of audio frequency and video form, mobile terminal must install a phase due to mobile terminal The audio/video flow answered receives software, and the mobile terminal of in the market includes mobile phone and panel computer, and system platform is different, and style is many Many, the platform and style that be directed to different mobile terminals go exploitation audio/video flow to receive software, and cost is very high, and limitation The development and popularization of multi-screen interactive technology.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of multi-screen interaction method and Set Top Box, to solve prior art presence , multi-screen interactive needs to go exploitation audio/video flow to receive software for the platform and style of different mobile terminals, and cost is very Problem high.
What embodiments of the invention were realized in, a kind of multi-screen interaction method the described method comprises the following steps:
Transport stream TS is converted to the audio/video flow of HTML HTML5 supports, by audio/video flow storage To shared drive;
The audio/video flow is taken out from shared drive and sent to client.
The purpose of another embodiment of the present invention is to provide a kind of multi-screen interactive Set Top Box, and the Set Top Box includes:
Converting unit, the audio/video flow for transport stream TS to be converted to HTML HTML5 supports will be described Audio/video flow is stored to shared drive;
Transmitting element, for the audio/video flow to be taken out and sent to client from shared drive.
The embodiment of the present invention is sent to client by the way that transport stream to be converted to the audio/video flow of HTML5 supports so that visitor The browser that family end passes through to carry can play the audio/video flow, solve prior art presence, be directed to different The platform and style of mobile terminal go exploitation audio/video flow to receive software, cost problem very high.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to embodiment or description of the prior art Needed for the accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description are only more of the invention Embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also be attached according to these Figure obtains other accompanying drawings.
Fig. 1 is that the multi-screen interaction method that one embodiment of the invention is provided realizes flow chart;
Fig. 2 is the function structure chart of the multi-screen interactive Set Top Box that another embodiment of the present invention is provided.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
One embodiment of the invention provides multi-screen interaction method, and methods described is as shown in figure 1, specific steps include:
In step S101, Set Top Box is by transport stream(English:Transport Stream, referred to as:TS)Be converted to super text The audio/video flow that this markup language HTML5 is supported, the audio/video flow is stored to shared drive.
It should be noted that the step S101 is realized by the code stream conversion process of Set Top Box, the TS streams are by machine top Box is played program and is produced, HTML(English:Hypertext Markup Language, referred to as:HTML)5 support Audio/video flow include but is not limited to OGG forms, WEBM forms and MP4 forms, if transport stream is audio signal can change It is OGG forms, if transport stream is vision signal can be converted to WEBM forms or MP4 forms, because partial view device is not propped up WEBM forms, such as IE browser are held, and MP4 is to support that audio signal also supports vision signal, therefore MP4 forms are most preferably Select.
Explanation is needed further exist for, current major browsers include red fox, web browsing(Internet Explorer, Referred to as:IE), Google's browser, proud trip browser, 360 browsers and Tengxun's browser etc. all support HTML5 standards, therefore can To play the audio/video flow of HTML5 supports.
In step s 102, the audio/video flow is taken out and sent to client by Set Top Box from shared drive.
It should be noted that network services of the step S102 by Set Top Box(English:Webserver)Process realization, Webserver processes are used to parse HTTP(English:Hypertext Transport protocol, referred to as: HTTP);Here client refers to mobile terminal, and the client includes but is not limited to mobile phone and panel computer, by Wi-Fi with Set Top Box is attached, and the audio/video flow that HTML5 is supported is sent to client, and client need to only have one to support that HTML5 is marked Accurate browser can play the audio/video flow of MP4 forms, by HTML5 multimedia features by browser to the audio frequency and video Stream is played out and shown.
Preferably, methods described also includes:
Shared drive is divided into the first shared drive by Set Top Box, and first shared drive includes synch bit;
The synch bit that Set Top Box initializes the first shared drive is the first synchronous regime;
When the synch bit of the first shared drive is the first synchronous regime, Set Top Box is by audio/video flow storage the One shared drive, after the first shared drive is filled with, the second synchronous regime is changed to by first synchronous regime;
When the synch bit of the first shared drive is the second synchronous regime, Set Top Box is read in the first shared drive Audio/video flow, client is sent to by the audio/video flow, and it is same that second synchronous regime is changed into first after completing to send Step state.
In the present embodiment, shared drive is divided into the first shared drive by default size or predetermined number, and first is total to First character section, last byte or certain byte specified of internal memory are enjoyed as synch bit;First synchronous regime Expression process only has the authority of write operation without the authority of read operation, and the second synchronous regime represents that process only has the power of read operation Limit is without the authority of write operation;It is the of 257*188 bytes that the shared drive of a 10MB for example is divided into 217 sizes One shared drive, each first shared drive first character section is used as synch bit, the signal A in synch bit(0X0F) Represent that code stream conversion process has the right to carry out write operation to first shared drive, the signal B in synch bit(0XF0)It is net Network service processes have the right to carry out the first shared drive read operation, when Set Top Box starts, by synchronizing signal in the first shared drive Position is initialized as the first synchronous regime, i.e. signal A, code stream conversion process the first shared drive of cycle detection, if it find that synchronous It is signal A in signal position, then the audio/video flow after conversion is write the first shared drive, by first shared drive after writes completely Synch bit in the first synchronous regime be changed to the second synchronous regime, that is, be changed to signal B, network service process finds together It is signal B in step signal position, by the data is activation in corresponding first shared drive of the synch bit to client, has sent The signal B in synch bit is changed to signal A after.
In the present embodiment, data exchange is carried out by way of shared drive, it is to avoid code stream conversion process and network Mass data, the generation of caused frame losing event, it is ensured that HD video data correctly send directly are exchanged between service processes.
Optionally, include before the step S101:
Set Top Box receives the channel table request of data that client sends;
By the channel table data is activation to client;
The play-on-demand program request that client sends is received, locked frequency point is asked according to the play-on-demand program and program is played.
Another embodiment of the present invention provides multi-screen interactive Set Top Box, and the modular structure of the multi-screen interactive Set Top Box is as schemed Shown in 2, specifically include:
Converting unit 21, the audio/video flow for transport stream TS to be converted to HTML HTML5 supports, by institute Audio/video flow is stated to store to shared drive;
Transmitting element 22, for the audio/video flow to be taken out and sent to client from shared drive.
Optionally, the Set Top Box also includes:
Division unit, for shared drive to be divided into the first shared drive, first shared drive includes synchronous letter Number position;
Initialization unit, the synch bit for initializing the first shared drive is the first synchronous regime;
Status Change unit, for when the synch bit of the first shared drive is the first synchronous regime, by the sound Video flowing is stored to the first shared drive, after the first shared drive is filled with, first synchronous regime is changed into second same Step state;
When the synch bit of the first shared drive is the second synchronous regime, the audio frequency and video in the first shared drive are read Stream, client is sent to by the audio/video flow, completes that second synchronous regime is changed into the first synchronous regime after sending.
Optionally, the Set Top Box also includes:
Receiving unit, the channel table request of data for receiving client transmission;
Delivery unit, for by the channel table data is activation to client;
Receiving unit, is additionally operable to receive the play-on-demand program request that client sends, according to play-on-demand program request locking frequency Put and play program.
It should be noted that channel table data are the channel datas for presenting in a tabular form.
One of ordinary skill in the art will appreciate that the modules included by above-described embodiment are to be patrolled according to function Collect what is divided, but be not limited to above-mentioned division, as long as corresponding function can be realized;In addition, each function mould The specific name of block is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Those of ordinary skill in the art are further appreciated that all or part of step realized in above-described embodiment method is can Completed with instructing the hardware of correlation by program, described program can be described in read/write memory medium is stored in Storage medium, including ROM/RAM etc..
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.

Claims (4)

1. a kind of multi-screen interaction method, it is characterised in that methods described includes:
Transport stream TS is converted to the audio/video flow of HTML HTML5 supports, the audio/video flow is stored to altogether Internal memory is enjoyed, wherein, the audio/video flow that the HTML5 is supported includes OGG forms, WEBM forms and MP4 forms;
The audio/video flow is taken out from shared drive and sent to client;
Wherein, it is described the audio/video flow is taken out from shared drive and sent to client specifically include:
Shared drive is divided into the first shared drive, and first shared drive includes synch bit;
The synch bit for initializing the first shared drive is the first synchronous regime;
When the synch bit of the first shared drive is the first synchronous regime, the audio/video flow is stored to first and shares interior Deposit, after the first shared drive is filled with, first synchronous regime is changed to the second synchronous regime;
When the synch bit of the first shared drive is the second synchronous regime, the audio/video flow in the first shared drive is read, The audio/video flow is sent to client, completes that second synchronous regime is changed into the first synchronous regime after sending.
2. the method for claim 1, it is characterised in that described that transport stream TS is converted into HTML Include before the audio/video flow that HTML5 is supported:
Set Top Box receives the channel table request of data that client sends;
By the channel table data is activation to client;
The play-on-demand program request that client sends is received, locked frequency point is asked according to the play-on-demand program and program is played.
3. a kind of multi-screen interactive Set Top Box, it is characterised in that the Set Top Box includes:
Converting unit, the audio/video flow for transport stream TS to be converted to HTML HTML5 supports, the sound is regarded Frequency stream is stored to shared drive, wherein, the audio/video flow that the HTML5 is supported includes OGG forms, WEBM forms and MP4 forms;
Transmitting element, for the audio/video flow to be taken out and sent to client from shared drive;
Wherein, the transmitting element is specifically included:
Division unit, for shared drive to be divided into the first shared drive, first shared drive includes synch bit;
Initialization unit, the synch bit for initializing the first shared drive is the first synchronous regime;
Status Change unit, for when the synch bit of the first shared drive is the first synchronous regime, by the audio frequency and video Stream is stored to the first shared drive, after the first shared drive is filled with, first synchronous regime is changed into the second synchronous shape State;
When the synch bit of the first shared drive is the second synchronous regime, the audio/video flow in the first shared drive is read, The audio/video flow is sent to client, completes that second synchronous regime is changed into the first synchronous regime after sending.
4. Set Top Box as claimed in claim 3, it is characterised in that the Set Top Box also includes:
Receiving unit, the channel table request of data for receiving client transmission;
Delivery unit, for by the channel table data is activation to client;
Receiving unit, is additionally operable to receive the play-on-demand program request that client sends, and locked frequency point is asked simultaneously according to the play-on-demand program Play program.
CN201310247602.2A 2013-06-20 2013-06-20 A kind of multi-screen interaction method and Set Top Box Expired - Fee Related CN103347215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310247602.2A CN103347215B (en) 2013-06-20 2013-06-20 A kind of multi-screen interaction method and Set Top Box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310247602.2A CN103347215B (en) 2013-06-20 2013-06-20 A kind of multi-screen interaction method and Set Top Box

Publications (2)

Publication Number Publication Date
CN103347215A CN103347215A (en) 2013-10-09
CN103347215B true CN103347215B (en) 2017-06-23

Family

ID=49281986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310247602.2A Expired - Fee Related CN103347215B (en) 2013-06-20 2013-06-20 A kind of multi-screen interaction method and Set Top Box

Country Status (1)

Country Link
CN (1) CN103347215B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581707B (en) * 2013-11-08 2017-06-20 华为软件技术有限公司 Two-screen Interactive treating method and apparatus
CN103686349B (en) * 2013-12-27 2017-04-12 深圳市九洲电器有限公司 Multi-screen interaction method and device, set-top box
CN104038813B (en) * 2014-06-20 2017-09-26 深圳市九洲电器有限公司 A kind of multi-screen interaction method and system
CN104079987A (en) * 2014-06-25 2014-10-01 深圳市视维科技有限公司 HBBTV multi-screen interactive system based on digital TV set-top box and implementation method
US20160150011A1 (en) * 2014-11-26 2016-05-26 Qualcomm Incorporated Media output device to transmit and synchronize playback of a media content stream that is received over a point-to-point connection on multiple interconnected devices

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202095051U (en) * 2011-03-17 2011-12-28 广东九联科技股份有限公司 Set-top box for converting video format
WO2012067219A1 (en) * 2010-11-18 2012-05-24 シャープ株式会社 Device for generating content data, method for generating content data, computer program, and recording medium
CN102523510A (en) * 2011-12-24 2012-06-27 深圳市同洲电子股份有限公司 Multiscreen interaction method and apparatus thereof, and digital television all-in-one machine
CN102571726A (en) * 2010-12-23 2012-07-11 中国移动通信集团广东有限公司 Multimedia data sharing method, system and state judgment server
CN102595221A (en) * 2012-02-14 2012-07-18 青岛海信电器股份有限公司 Multi-screen interaction system and corresponding multimedia intelligent terminals
CN102724584A (en) * 2012-06-18 2012-10-10 Tcl集团股份有限公司 Method and device for playing network videos online and smart television

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012067219A1 (en) * 2010-11-18 2012-05-24 シャープ株式会社 Device for generating content data, method for generating content data, computer program, and recording medium
CN102571726A (en) * 2010-12-23 2012-07-11 中国移动通信集团广东有限公司 Multimedia data sharing method, system and state judgment server
CN202095051U (en) * 2011-03-17 2011-12-28 广东九联科技股份有限公司 Set-top box for converting video format
CN102523510A (en) * 2011-12-24 2012-06-27 深圳市同洲电子股份有限公司 Multiscreen interaction method and apparatus thereof, and digital television all-in-one machine
CN102595221A (en) * 2012-02-14 2012-07-18 青岛海信电器股份有限公司 Multi-screen interaction system and corresponding multimedia intelligent terminals
CN102724584A (en) * 2012-06-18 2012-10-10 Tcl集团股份有限公司 Method and device for playing network videos online and smart television

Also Published As

Publication number Publication date
CN103347215A (en) 2013-10-09

Similar Documents

Publication Publication Date Title
CN108337528A (en) A kind of method and apparatus of preview video
CN103347215B (en) A kind of multi-screen interaction method and Set Top Box
KR100567157B1 (en) A method of multiple file streamnig service through playlist in mobile environment and system thereof
CN101287003B (en) System and method for implementing mobile terminal monitored video browse
CN102006519A (en) Method and system for realizing interaction between multi-media terminal and internet protocol (IP) set top box
CN104753989B (en) Screen image transmission playback method based on Web-based OS running environment and device
CN102340706A (en) Digital television program sharing device, method and set-top box
CN102577309A (en) System, method and apparatus for dynamic media file streaming
CN101883097A (en) Method and device for realizing that server equipment shares screen of client equipment
CN101115185B (en) Device for the third party to implement audio-video play in IPTV and method therefor
CN103259861A (en) Method and system for recording and watching network videos
CN103412896A (en) Browser resource showing method and system
CN105611422A (en) Online live broadcast method based on multi-media list and apparatus thereof
CN103430489A (en) File download method, device, and system in content delivery network
CN103024491B (en) The video broadcasting method of mobile terminal and system
WO2013174080A1 (en) Interface display method and system of home gateway applicable to multiple display types
CN103514219A (en) Method and system for sharing Web content between multiple terminals
CN103116645A (en) Method and device for browsing webpage with mobile device
CN103957471A (en) Network video playing method and device
CN103974111A (en) Method and device for transmitting data of intelligent terminal to television terminal
CN101159739B (en) Subtitling display process and communication system and related equipment
CN103856827A (en) Service simulation interaction-based video content obtaining method and system
EP2605586A1 (en) Stream media channel switch method, switch agent, client and terminal
CN105556905A (en) Page insertion method and device
CN102412921A (en) Realization method of multimedia broadcasting service and data card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170623

Termination date: 20200620