CN102547442A - Television program sharing method based on UPnP (universal plug and play) - Google Patents
Television program sharing method based on UPnP (universal plug and play) Download PDFInfo
- Publication number
- CN102547442A CN102547442A CN2011104403277A CN201110440327A CN102547442A CN 102547442 A CN102547442 A CN 102547442A CN 2011104403277 A CN2011104403277 A CN 2011104403277A CN 201110440327 A CN201110440327 A CN 201110440327A CN 102547442 A CN102547442 A CN 102547442A
- Authority
- CN
- China
- Prior art keywords
- equipment
- media
- dmr
- http
- dmc
- 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
Links
Images
Abstract
The invention discloses a television program sharing method based on UPnP (universal plug and play), which relates to the field of UPnP technology. The method is technically characterized in that a DMC (digital media controller) subscribes CMS (connection manager service), RCS (rendering control service) and AVTS (audio/video transport service) of a DMR (digital media renderer) and CMS, MRS (Microsoft registrar service) and CDS (content directory service) of a DMS (digital media server) through the SOAP (simple object access protocol)/ GENA (general event notification architecture) protocol; the DMC acquires media list information of a media catalogue and a television program catalogue from the DMS; the DMC transmits a corresponding HTTP (hyper text transfer protocol) media address of a program channel number selected by a user to the DMR; the DMR sets the current HTTP media address as the corresponding HTTP media address of the selected program and sends HTTP request to the DMS; the DMS decodes, encodes and packages the audio/video content of the selected channel program and distributes the packaged content data to the DMR in real time through the HTTP; and the DMR closes the HTTP request to the DMS to stop HTTP media playing.
Description
Technical field
(english abbreviation is: UPnP) technology, especially a kind of method of sharing based on the TV programme of UPnP agreement to the present invention relates to UPnP.
Background technology
Popularizing to the user of DTV brought new audio frequency and video to experience; But an existing STB add a CA card mode confinement the user's viewing mode; Make the user want in the bedroom, when TV is watched in the study; Must STB of new clothes and monthly pay license fee, this has increased user's consumer cost nothing but greatly.
Summary of the invention
The objective of the invention is based on present TV set-top box hardware from strength to strength, basically all with the characteristics of audio/video coding function; A kind of TV programme sharing method based on the UPnP agreement is proposed; The present invention can be under the situation that does not increase STB newly, through existing LAN; Realization is shared with equipment such as smart mobile phone, PAD, intelligent television with the audio-video frequency content of the EPG (electronic program guides, i.e. television channel program list among this paper) of TV programme and TV programme and watches.
The technical scheme that the present invention adopts is such: a kind of TV programme sharing method based on UPnP comprises:
Step 1:DMS device initialize, searching storage and television channel program list are also set up media catalog information and media list information, in local area network (LAN), carry out register advertisements through the SSDP agreement; The DMR device initialize carries out register advertisements through the SSDP agreement in local area network (LAN);
Step 2:DMC device initialize through search of SSDP agreement and audiomonitor, obtains DMS equipment all in the current local area network (LAN) and DMR equipment;
Step 3:DMC equipment is subscribed to CMS, RCS, AVTS service on the DMR equipment through the SOAP/GENA agreement; DMC equipment is subscribed to CMS, MRS, CDS service on the DMS equipment through the SOAP/GENA agreement simultaneously;
Step 4:DMC equipment calls through the SOAP/GENA agreement and obtains the media catalog information instruction under the CDS service of DMS equipment;
Step 5:DMS device responds is obtained the media catalog information instruction from DMC equipment, returns media catalog information and gives DMC equipment; Said media catalog information comprises film, music, picture and TV programme;
Step 6:DMC equipment calls the media list information instruction under the TV programme catalogue of obtaining under the CDS service of DMS equipment through the SOAP/GENA agreement;
Step 7:DMS device responds is from the media list information instruction under the TV programme catalogue of obtaining of DMC equipment, the media list information below DMC equipment returns the TV programme catalogue; Media list information below the said TV programme catalogue comprises ID number of all TV programme, title and HTTP media address;
Step 8: when the user selects certain the program channel m in the media list information under the TV programme catalogue on DMC; DMC equipment calls the instruction that the media delivery address is set in the AVTS service of DMR equipment through the SOAP/GENA agreement, and the HTTP media address that program channel m is corresponding is transferred to DMR equipment;
Step 9:DMR device responds is from the instruction that the media delivery address is set of DMC equipment, and the HTTP media address that current broadcast is set is the corresponding HTTP media address of program channel m;
Step 10:DMC equipment calls the play instruction under the AVTS service of DMR equipment through the SOAP/GENA agreement;
Step 11:DMR device responds is initiated the HTTP request that the address is the corresponding HTTP media address of program channel m from the play instruction of DMC to DMS equipment, starts the HTTP media play of standard;
Step 12:DMS device responds is from the HTTP request of DMR equipment; Start the decoding and the coding of the audio-video frequency content of channel program m; With the Container Format encapsulation of the audio/video flow behind the coding according to appointment; And the container data after will encapsulating is distributed to DMR equipment in real time through http protocol, up to DMR initiatively close HTTP when connecting DMS stop decoding, coding, Container Format encapsulation and HTTP and distribute in real time;
Step 13: when the user finished program viewing, DMC equipment called the play instruction that stops under the AVTS service of DMR equipment through the SOAP/GENA agreement;
Step 14:DMR device responds is closed the HTTP request to DMS equipment from the play instruction that stops of DMC equipment, stops the HTTP media play.
Preferably, all video files are categorized into film in the said media catalog information, and audio file is categorized into music, and picture file is categorized into picture, and the television channel program list is categorized into TV programme.
Preferably, in the step 12, with the Container Format encapsulation of the audio/video flow behind the coding according to FLV or TS.
In sum, owing to adopted technique scheme, the invention has the beneficial effects as follows:
1. easy to use, the DMC/DMR client that a standard only need be installed on intelligent terminal gets final product;
2. device extension property is strong, can on fixing or portable intelligent terminal such as intelligent television, smart mobile phone, PAD, use arbitrarily;
3. connected mode is free: as long as local area network building is arranged, no matter be cable network, or wireless network, can both self adaptation use;
4. transparent, easy, freely realized content of TV program sharing from STB to other screen with connecting.
Description of drawings
Fig. 1 is the mutual sketch map of DMS, DMR, DMC equipment among the present invention.
Embodiment
Disclosed all characteristics in this specification, or the step in disclosed all methods or the process except mutually exclusive characteristic and/or the step, all can make up by any way.
Disclosed arbitrary characteristic in this specification (comprising any accessory claim, accompanying drawing) is only if special narration all can be replaced by other equivalences or the alternative features with similar purpose.That is, only if special narration, each characteristic is an example in a series of equivalences or the similar characteristics.
The present invention is directed to the hardware platform of band audio/video coding function, propose a kind of TV programme sharing method, easily content of TV program is shared other any intelligent terminal based on the UPnP agreement.
Referring to Fig. 1, relate to following three kinds of equipment among the present invention, correspond respectively to service end and client:
1. service end comprises:
Meet the DMS equipment (Digital Media Server) of UPnP AV Architecture, comprising: the facility registration of standard, the CMS of standard (Connection Manager Service), the MRS (Microsoft Registrar Service) of standard, improved CDS (Content Directory Service), newly-increased media transcoding/container encloses/based on the HTTP distribution of encapsulation back data;
2. client comprises:
Meet the DMR (Digital Media Renderer) of UPnP AV Architecture, comprising: the RCS (Rendering Control Service) of the facility registration of standard, the CMS of standard (Connection Manager Service), standard, the AVTS (AV Transport Service) of standard, the HTTP media play of standard;
Meet the DMC (Digital Media Controllor) of UPnP AV Architecture, comprising: the DMS/DMR equipment control of standard, the DMS/DMR Service Management of standard.
Come technical scheme of the present invention is done further elaboration through specific embodiment below:
Step 1; Be S1 and R1:DMS equipment (the IP address the is 192.168.0.100) initialization (UpnpAddRootDevice) among Fig. 1; Media file on the searching storage and television channel program list, classification (might as well suppose: 50 video files are categorized into film, 20 audio files and are categorized into music, 5 picture resources and are categorized into picture, increase 10 cover television channels that this STB can watch to TV programme), the media list information after forming media catalog information and ordering and handling are carried out register advertisements (UpnpSendAdvertisement) through SSDP (Simple Service Discover Protocol) agreement in local area network (LAN); DMR equipment (the IP address is 192.168.0.101) initialization (UpnpAddRootDevice) is carried out register advertisements (UpnpSendAdvertisement) through the SSDP agreement in local area network (LAN);
Step 3, promptly the C2:DMC equipment among Fig. 1 (the IP address is 192.168.0.102) is subscribed to CMS, RCS, the AVTS service of (UpnpSubscribe) DMR equipment through SOAP (Simple Object Access Protocol)/GENA (General Event Notification Architecture) agreement; In like manner, DMC equipment is subscribed to CMS, MRS, the CDS service of (UpnpSubscribe) DMS equipment through the SOAP/GENA agreement;
Step 5, promptly the S2:DMS device responds among Fig. 1 from DMC equipment obtain media catalog information instruction Action:Browse (ObjectID=0, BrowseFlag=BrowseMetadata), return media catalog information:
< ObjectID=1 title=film parentID=0 childCount=50 >,
< ObjectID=2 title=music parentID=0 childCount=20 >,
< ObjectID=3 title=picture parentID=0 childCount=5 >,
< ObjectID=4 title=TV programme parentID=0 childCount=10 >;
Step 6; Be that C4:DMC equipment among Fig. 1 calls media list information instruction Action:Browse (ObjectID=4, the Flag=BrowseDirectChildren) under the TV programme that obtain under the CDS service of (UpnpSendAction) DMS equipment through the SOAP/GENA agreement, obtain the media list information below the TV programme;
Step 7; Be S3:DMS device responds among Fig. 1 from media list information instruction Action:Browse (ObjectID=4, the Flag=BrowseDirectChildren) under the TV programme that obtain of DMC equipment, return 10 media list information below the TV programme:
(id=5、parentID=4、title=CCTV1、protocolInfo=http-get:*:video/mpeg:*、contentUri=http://192.168.0.100:42000/web/5.flv)、
(id=6、parentID=4、title=CCTV2、protocolInfo=http-get:*:video/mpeg:*、contentUri=http://192.168.0.100:42000/web/6.flv)、
……、
(id=14、parentID=4、title=CCTV10、protocolInfo=http-get:*:video/mpeg:*、contentUri=http://192.168.0.100:42000/web/14.flv);
Step 8; Be the C5 among Fig. 1: if the user has selected the program channel CCTV2 in the media list of TV programme on DMC; The following instruction Action:SetAVTransportURI that the media delivery address is set of the AVTS service that DMC equipment calls (UpnpSendAction) DMR through SOAP/GENA (InstanceID=0, CurrentURI=http: // 192.168.0.100:42000/web/6.flv), the HTTP media address of program channel CCTV2 correspondence is passed to DMR equipment;
Step 9; Be among Fig. 1 the R2:DMR device responds from the instruction Action:SetAVTransportURI that the media delivery address is set of DMC equipment (InstanceID=0, CurrentURI=http: // 192.168.0.100:42000/web/6.flv), the HTTP media address of current broadcast is set;
Step 10, promptly the C6:DMC equipment among Fig. 1 calls the play instruction Action:Play (InstanceID=0) under the AVTS service of (UpnpSendAction) DMR equipment through the SOAP/GENA agreement;
Step 11; Be that R3:DMR device responds among Fig. 1 is from the play instruction Action:Play (InstanceID=0) of DMC equipment; Initiate the HTTP request that the address is http: // 192.168.0.100:42000/web/6.flv to DMS equipment, start the HTTP media play of standard;
Step 12; Be that S4:DMS device responds among Fig. 1 is from the HTTP of DMR equipment request; Corresponding relation according to contentURI and title; Start behind decoding (the CCTV2 program video is that MPEG2 coded format, audio frequency are the MPEG1/2 coded format) and coding (is that H264 form, audio coding are the AAC form with video coding), the coding of audio-video frequency content of CCTV2 program audio/video flow according to FLV or the encapsulation of TS Container Format, and will encapsulate after FLV or TS container data be distributed to DMR in real time through http protocol, DMS stops decoding, coding when DMR initiatively closes the HTTP connection, Container Format encapsulates and HTTP distributes in real time;
Step 13, i.e. C7 among Fig. 1: when the user finished program viewing, DMC equipment called through the SOAP/GENA agreement and stops play instruction Action:Stop (InstanceID=0) under the AVTS service of (UpnpSendAction) DMR;
Step 14, promptly the R4:DMR device responds among Fig. 1 from DMC equipment stop play instruction Action:Stop (InstanceID=0), close HTTP request to DMS equipment, stop the HTTP media play.
About not mentioned part among the UPnP AV Architecture, all are UPnP AV Architecture flow processs of standard among the present invention, therefore, this paper no longer gives unnecessary details its concrete realization flow.
As long as TV programme under the id of above-mentioned media categories, each media categories or file id, and HTTP media address different to reach the purpose of difference, are not limited to the numbering in the present embodiment.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature or any new combination that discloses in this manual, and the arbitrary new method that discloses or step or any new combination of process.
Claims (3)
1. the TV programme sharing method based on UPnP is characterized in that, comprising:
Step 1:DMS device initialize, searching storage and television channel program list are also set up media catalog information and media list information, in local area network (LAN), carry out register advertisements through the SSDP agreement; The DMR device initialize carries out register advertisements through the SSDP agreement in local area network (LAN);
Step 2:DMC device initialize through search of SSDP agreement and audiomonitor, obtains DMS equipment all in the current local area network (LAN) and DMR equipment;
Step 3:DMC equipment is subscribed to CMS, RCS, AVTS service on the DMR equipment through the SOAP/GENA agreement; DMC equipment is subscribed to CMS, MRS, CDS service on the DMS equipment through the SOAP/GENA agreement simultaneously;
Step 4:DMC equipment calls through the SOAP/GENA agreement and obtains the media catalog information instruction under the CDS service of DMS equipment;
Step 5:DMS device responds is obtained the media catalog information instruction from DMC equipment, returns media catalog information and gives DMC equipment; Said media catalog information comprises film, music, picture and TV programme;
Step 6:DMC equipment calls the media list information instruction under the TV programme catalogue of obtaining under the CDS service of DMS equipment through the SOAP/GENA agreement;
Step 7:DMS device responds is from the media list information instruction under the TV programme catalogue of obtaining of DMC equipment, the media list information below DMC equipment returns the TV programme catalogue; Media list information below the said TV programme catalogue comprises ID number of all TV programme, title and HTTP media address;
Step 8: when the user selects certain the program channel m in the media list information under the TV programme catalogue on DMC; DMC equipment calls the instruction that the media delivery address is set in the AVTS service of DMR equipment through the SOAP/GENA agreement, and the HTTP media address that program channel m is corresponding is transferred to DMR equipment;
Step 9:DMR device responds is from the instruction that the media delivery address is set of DMC equipment, and the HTTP media address that current broadcast is set is the corresponding HTTP media address of program channel m;
Step 10:DMC equipment calls the play instruction under the AVTS service of DMR equipment through the SOAP/GENA agreement;
Step 11:DMR device responds is initiated the HTTP request that the address is the corresponding HTTP media address of program channel m from the play instruction of DMC to DMS equipment, starts the HTTP media play of standard;
Step 12:DMS device responds is from the HTTP request of DMR equipment; Start the decoding and the coding of the audio-video frequency content of channel program m; With the Container Format encapsulation of the audio/video flow behind the coding according to appointment; And the container data after will encapsulating is distributed to DMR equipment in real time through http protocol, up to DMR initiatively close HTTP when connecting DMS stop decoding, coding, Container Format encapsulation and HTTP and distribute in real time;
Step 13: when the user finished program viewing, DMC equipment called the play instruction that stops under the AVTS service of DMR equipment through the SOAP/GENA agreement;
Step 14:DMR device responds is closed the HTTP request to DMS equipment from the play instruction that stops of DMC equipment, stops the HTTP media play.
2. a kind of TV programme sharing method according to claim 1 based on UPnP; It is characterized in that all video files are categorized into film in the said media catalog information, audio file is categorized into music; Picture file is categorized into picture, and the programme channel list is categorized into TV programme.
3. a kind of TV programme sharing method based on UPnP according to claim 1 is characterized in that, in the step 12, just the audio/video flow behind the coding is according to the Container Format encapsulation of FLV or TS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104403277A CN102547442A (en) | 2011-12-26 | 2011-12-26 | Television program sharing method based on UPnP (universal plug and play) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104403277A CN102547442A (en) | 2011-12-26 | 2011-12-26 | Television program sharing method based on UPnP (universal plug and play) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102547442A true CN102547442A (en) | 2012-07-04 |
Family
ID=46353189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011104403277A Pending CN102547442A (en) | 2011-12-26 | 2011-12-26 | Television program sharing method based on UPnP (universal plug and play) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102547442A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103269454A (en) * | 2013-05-08 | 2013-08-28 | 天津三星电子有限公司 | Method for sharing television programs and television set using method |
CN104243469A (en) * | 2014-09-10 | 2014-12-24 | 广东欧珀移动通信有限公司 | Playing control method, device and system |
CN105392047A (en) * | 2015-10-09 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method, device and system for acquiring media file and being applied to DLNA system |
CN106648978A (en) * | 2016-12-05 | 2017-05-10 | 上海斐讯数据通信技术有限公司 | Mobile terminal based on DLNA (Digital Living Network Alliance) and data backup system and method |
CN110072152A (en) * | 2012-09-19 | 2019-07-30 | 谷歌有限责任公司 | Identification and the method and apparatus that internet accessible content is presented |
CN110830341A (en) * | 2019-11-29 | 2020-02-21 | 浪潮云信息技术有限公司 | UPnP-based family multimedia resource sharing method and system |
CN111225249A (en) * | 2019-10-21 | 2020-06-02 | 视联动力信息技术股份有限公司 | Method and device for processing coded data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1871820A (en) * | 2003-10-27 | 2006-11-29 | 皇家飞利浦电子股份有限公司 | Recording of scheduled broadcasts in UPnP |
CN101022354A (en) * | 2006-02-13 | 2007-08-22 | 三星电子株式会社 | Method and apparatus for providing broadcast content in UPnP network |
CN101472128A (en) * | 2007-12-25 | 2009-07-01 | 株式会社东芝 | Playback controlling apparatus and image processing apparatus |
CN101820527A (en) * | 2009-02-27 | 2010-09-01 | 索尼公司 | Content player and receiving system, content reproducing method and the system and program |
CN102111647A (en) * | 2009-12-28 | 2011-06-29 | 索尼公司 | Reproducing apparatus, reproducing control method, and program |
-
2011
- 2011-12-26 CN CN2011104403277A patent/CN102547442A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1871820A (en) * | 2003-10-27 | 2006-11-29 | 皇家飞利浦电子股份有限公司 | Recording of scheduled broadcasts in UPnP |
CN101022354A (en) * | 2006-02-13 | 2007-08-22 | 三星电子株式会社 | Method and apparatus for providing broadcast content in UPnP network |
CN101472128A (en) * | 2007-12-25 | 2009-07-01 | 株式会社东芝 | Playback controlling apparatus and image processing apparatus |
CN101820527A (en) * | 2009-02-27 | 2010-09-01 | 索尼公司 | Content player and receiving system, content reproducing method and the system and program |
CN102111647A (en) * | 2009-12-28 | 2011-06-29 | 索尼公司 | Reproducing apparatus, reproducing control method, and program |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110072152A (en) * | 2012-09-19 | 2019-07-30 | 谷歌有限责任公司 | Identification and the method and apparatus that internet accessible content is presented |
CN110072152B (en) * | 2012-09-19 | 2020-11-03 | 谷歌有限责任公司 | Method and apparatus for identifying and presenting internet-accessible content |
CN103269454A (en) * | 2013-05-08 | 2013-08-28 | 天津三星电子有限公司 | Method for sharing television programs and television set using method |
CN104243469A (en) * | 2014-09-10 | 2014-12-24 | 广东欧珀移动通信有限公司 | Playing control method, device and system |
CN104243469B (en) * | 2014-09-10 | 2017-10-31 | 广东欧珀移动通信有限公司 | A kind of method for controlling to play, apparatus and system |
CN105392047A (en) * | 2015-10-09 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method, device and system for acquiring media file and being applied to DLNA system |
CN105392047B (en) * | 2015-10-09 | 2019-02-19 | Oppo广东移动通信有限公司 | The method, apparatus and system of acquisition media file applied to DLNA system |
CN106648978A (en) * | 2016-12-05 | 2017-05-10 | 上海斐讯数据通信技术有限公司 | Mobile terminal based on DLNA (Digital Living Network Alliance) and data backup system and method |
CN111225249A (en) * | 2019-10-21 | 2020-06-02 | 视联动力信息技术股份有限公司 | Method and device for processing coded data |
CN111225249B (en) * | 2019-10-21 | 2022-05-17 | 视联动力信息技术股份有限公司 | Method and device for processing coded data |
CN110830341A (en) * | 2019-11-29 | 2020-02-21 | 浪潮云信息技术有限公司 | UPnP-based family multimedia resource sharing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102547442A (en) | Television program sharing method based on UPnP (universal plug and play) | |
EP2663027B1 (en) | Apparatus and method for sharing a bookmark with other user in a home network | |
US8613016B2 (en) | Apparatus for receiving adaptive broadcast signal and method thereof | |
US8135844B2 (en) | Content providing server, information processing device and method, and computer program | |
KR101771003B1 (en) | Content output system and codec information sharing method thereof | |
US8143508B2 (en) | System for providing lyrics with streaming music | |
JP2007018496A (en) | Content integration platform | |
WO2007137611A1 (en) | Method and tv receiver for storing contents associated to tv programs | |
US20110162021A1 (en) | Internet protocol tv(iptv) receiver and a method for receiving application information in an iptv receiver | |
CN105828174A (en) | Media content sharing method and media content sharing device | |
CN101986643A (en) | Mobile television program home network sharing method and system | |
US10237627B2 (en) | System for providing audio recordings | |
EP2271048B1 (en) | Method for provisioning a multimedia service | |
Punchihewa et al. | Tutorial on IPTV and its latest developments | |
JP2012531863A5 (en) | ||
CN105430460B (en) | A kind of video data method for pushing and device based on mobile terminal | |
KR20120072100A (en) | Web media control apparatus and method for connecting web content service and home networking | |
CN101257612B (en) | IPTV receiver and methods for processing rating information in the IPTV receiver | |
US20130132983A1 (en) | Method and apparatus for enabling user feedback from digital media content | |
CN103297822A (en) | Set-top box and digital signal processing method thereof for television programs | |
Matsubara et al. | DTV architecture design for multimedia network environments | |
Punchihewa et al. | Internet protocol television (iptv) | |
CN103634696A (en) | Home multimedia file discovery and interaction method | |
Maia et al. | Using the iDTV as the Center of an Ubiquitous Environment | |
KR20110132194A (en) | Method and apparatus for providing remote ui service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120704 |