CN105828174B - A kind of method and apparatus for sharing media content - Google Patents

A kind of method and apparatus for sharing media content Download PDF

Info

Publication number
CN105828174B
CN105828174B CN201510003957.6A CN201510003957A CN105828174B CN 105828174 B CN105828174 B CN 105828174B CN 201510003957 A CN201510003957 A CN 201510003957A CN 105828174 B CN105828174 B CN 105828174B
Authority
CN
China
Prior art keywords
media
content
terminal
gateway
resource information
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.)
Active
Application number
CN201510003957.6A
Other languages
Chinese (zh)
Other versions
CN105828174A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510003957.6A priority Critical patent/CN105828174B/en
Priority to PCT/CN2015/081177 priority patent/WO2016110048A1/en
Publication of CN105828174A publication Critical patent/CN105828174A/en
Application granted granted Critical
Publication of CN105828174B publication Critical patent/CN105828174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention relates to a kind of method and apparatus for sharing media content, the present invention connects external server and household internal terminal device by gateway, realize the media resource received on server, and by the remote programming source address of cache in media resource at place local area network local URI, the own media resource information of DMS is formed, is then published in DLNA home network with DLNA canonical form.DMP in terminal need to only access DMS in gateway, according to the media resource information that it is issued, the media content played required for being requested to it.Gateway receives after request according to the corresponding remote procedure source address of the media, obtains media content from server and returns to terminal.The method and apparatus provided in an embodiment of the present invention for sharing television content are utilized realizes DMS function on gateway, so that the media content in the sharing cloud that each terminal in DLNA home network can be convenient.

Description

A kind of method and apparatus for sharing media content
Technical field
The present invention relates to digital home multimedia application field more particularly to a kind of methods and dress for sharing media content It sets.
Background technique
Digital Life Network Alliance DLNA aims to solve the problem that the device interoperability in digital home network, Digital Media and interior Hold the shared without limitation of service.Common equipment has digital media server DMS, Digital Media to broadcast in DLNA digital living network Put device DMP, digital Media renderer DMR and digital media controller DMC etc..DMS is used for multimedia content in DLNA network Interior shared, DMP and DMR are used to play the shared multimedia file of DMS.The equipment that DMS and DMR is to provide service can be sent out Now and it is accessed/operates.DMP and DMC is control point, for finding and accessing/operating DMS the and DMR equipment of the service of offer.
The common application of DLNA is the shared of media content, multi-screen interactive in family lan, not can solve wide The online media content in domain inside of the house shared.
With the development of science and technology life, people begin to use more and more intelligent terminals, such as mobile phone, plate, intelligence TV etc..People watch media, such as media, are no longer limited to conventional television, but like using various intelligent terminals (packet Include mobile phone, tablet computer, smart television etc.), or at home or in travelling, or in local viewing after line is watched or is downloaded. Traditional tv has been not suitable with the modern times using the application model that the set-top box of content quotient or carrier customization connect a TV Development.
At present on the one hand existing method is limited to DTV, is that cannot achieve net based on TV set top box device Network TV is shared in local area network, does not on the other hand consider the copyright protection of programme content.
Summary of the invention
The object of the present invention is to provide a kind of method and apparatus for sharing media content, realize and share in media Hold, while considering the factor of content copyright.
In order to achieve the above object, the embodiment of the invention provides a kind of method for sharing media content, it is applied to gateway, The described method includes:
Receive the playing request that terminal is sent, wherein it is local that the playing request includes at least the corresponding local area network of media Uniform resource identifier URI;
According to the corresponding local area network local URI of the media, the corresponding server URI of media is searched, wherein gateway is local It is stored with the corresponding relationship of local area network local URI and server URI;
According to the corresponding server URI of the media, the transmission request of the content of the media is sent to server, and is obtained The content for the media for taking server to be sent according to the transmission request;
The content of the media is sent to the terminal.
Wherein, before receiving the playing request that terminal is sent, the method also includes:
Media resource information is obtained from server, the media resource information includes at least multiple media identifications, each matchmaker The corresponding server URI of body and the corresponding payment information of each media;
The media resource information is handled, by the corresponding server URI of media in the media resource information It is converted into local area network local URI, and the mapping between the corresponding server URI and local area network local URI of local record media is closed System;
When receiving terminal and obtaining the request of media resource information, treated that media resource information is sent to by described The terminal allows the terminal to send the playing request to the gateway according to the media resource information.
Wherein, before receiving the playing request that the terminal is sent, the method also includes:
Receive the information for certification and the negotiation about Digital Transmission Content Protection DTCP-IP that the terminal is sent, and After certification passes through, the encrypted content transfer channel of DTCP-IP is established with the terminal.
Wherein, after receiving the content from the media that server is sent according to the transmission request, the method is also wrapped It includes:
Whether the content for judging the media is protected content;
When the media content is protected content, the shielded content is subjected to solution guarantor by preset-key Shield obtains media content clear stream;
To the copy control information CCI label of media content clear stream addition DTCP, wherein the CCI, which is marked, includes Forbid copy to mark or only copy once marks;
DTCP encryption is done to the CCI for the being added to DTCP media content clear stream marked, obtains DTCP encipherment protection matchmaker Hold in vivo.
Wherein, the media content is sent to the terminal includes:
The DTCP encipherment protection media content is sent to the terminal by the encrypted content transfer channel.
The embodiment of the present invention also provides a kind of device for sharing media content, applied to the LAN gateway based on DLNA, Include:
First receiving module, for receiving the playing request of terminal transmission, wherein the playing request includes at least media Corresponding local area network local uniform resource identifier URI;
First searching module, for searching the corresponding server of media according to the corresponding local area network local URI of the media URI, wherein the corresponding relationship of local area network local URI and server URI is locally stored in gateway;
First sending module, for being sent in the media to server according to the corresponding server URI of the media The transmission of appearance is requested, and obtains the content for the media that server is sent according to the transmission request;
Second sending module, for the content of the media to be sent to the terminal.
Wherein, described device further include:
First obtains module, and for obtaining media resource information from server, the media resource information includes at least more The corresponding server URI of a media identification, each media and the corresponding payment information of each media;
First processing module, for handling the media resource information, by the matchmaker in the media resource information The corresponding server URI of body is converted into local area network local URI, and in the corresponding server URI of local record media and local area network Mapping relations between local URI;
Third sending module, for when receiving the request of terminal acquisition media resource information, treated by described in Media resource information is sent to the terminal.
Wherein, described device further include:
Channel module is established, the certification about Digital Transmission Content Protection DTCP-IP sent for receiving the terminal The encrypted content transfer channel of DTCP-IP is established with the terminal and after certification passes through with the information of negotiation.
Wherein, described device further include:
First judgment module, for judging whether the media content is protected content;
First solution protective module, for when judgment module judge that the media content is protected content, will described in by The content of protection carries out solution protection by preset-key, obtains media content clear stream;
Mark module is added, is marked for the copy control information CCI to media content clear stream addition DTCP, In, the CCI label includes that copy is forbidden to mark or only copy primary label;
Encryption processing module, the media content clear stream for marking to the CCI for being added to DTCP do DTCP encryption, obtain Obtain DTCP encipherment protection media content.
Wherein, second sending module includes:
Sending submodule, for sending the DTCP encipherment protection media content by the encrypted content transfer channel To the terminal.
The embodiment of the present invention also provides a kind of method for sharing media content, is applied to terminal characterized by comprising
Playing request is initiated to LAN gateway where the terminal;
Receive the media content got from the gateway according to the playing request.
Wherein, before to LAN gateway initiation playing request where the terminal, the method also includes:
It is sent to place LAN gateway and obtains media resource information request;
The media resource information from gateway is received, the media resource information is gateway according to the acquisition media resource Information request handles the media resource information obtained from server, and the corresponding server URI of media therein is carried out The terminal is sent to after local mapping;
According to the media resource information, the corresponding local area network local URI of media for needing to obtain is searched.
Wherein, after receiving the media resource information from gateway, the method also includes:
According to the media resource information, judge to need whether the media obtained are protected medias;
If it is described need the media that obtain be it is shielded, carry out Digital Transmission Content Protection DTCP- with the gateway IP certification and negotiation, and after certification passes through, the encrypted content transfer channel of DTCP-IP is established with the gateway.
Wherein, it receives from gateway and includes: according to the media content that the playing request is got
Pass through media content described in the encrypted content transfer channel reception.
Wherein, after by media content described in the encrypted content transfer channel reception, the method also includes:
Solution protection is carried out to the media content, obtains the CCI mark in the media content;
According to the media content after the CCI mark processing solution protection.
The embodiment of the present invention also provides a kind of device for sharing media content, is applied to terminal, which is characterized in that the dress It sets and includes:
Request module, for initiating playing request to LAN gateway where the terminal;
Second receiving module, for receiving the media content got from the gateway according to the playing request.
Wherein, described device further include:
4th sending module sends for the gateway into place local area network and obtains media resource information request;
Third receiving module, for receiving the media resource information from gateway, the media resource information is gateway handle The media resource information obtained from server is handled, after the corresponding server URI of media therein is carried out local mapping It is sent to the terminal;
Second searching module, for searching the corresponding local of media for needing to obtain according to the media resource information Net local URI;
Wherein, described device further include:
Second judgment module needs whether the media obtained are protected for judging according to the media resource information Media;
Authentication module, when for judging that the media of the request are protected medias when the judgment module, with the net It puts row Digital Transmission Content Protection DTCP-IP certification into and negotiates, and after certification passes through, establish DTCP-IP with the gateway Encrypted content transfer channel.
Wherein, second receiving module includes:
Receiving submodule, for passing through media content described in the encrypted content transfer channel reception.
Wherein, described device further include:
Second solution protective module obtains the CCI mark in the media content for carrying out solution protection to the media content Know;
Second processing module, for according to the media content after the CCI mark processing solution protection.
The beneficial effects of the present invention are: the method provided in an embodiment of the present invention for sharing television content will be from clothes by gateway The corresponding server URI of each media in media resource information that business device obtains is mapped to local area network local URI where gateway, Terminal access gateway, that see is local area network URI, does not need to be concerned about the corresponding server URI of media, terminal is only needed according to need The corresponding local area network URI of the media of request sends playing request, just will receive the media content of needs, using side of the invention Method so that user can be convenient all types of media are played in various terminals.So that DLNA is confined to the local in local area network The characteristics such as media content sharing, multi-screen interactive can extend in the other kinds of media content of wide area network.Simultaneously It solves the problems, such as television content copyright protection, the sharing inside of the house of the copyright owners such as content quotient safety is received Take media.In addition if media are television contents, gateway is directly and television system is interactive, becomes television reception end.Gateway is complete Replace set-top box, broadband services and television services are carried on gateway simultaneously, reduce equipment cost, installation maintenance cost, letter The wiring of Hua Liao family.
Detailed description of the invention
When Fig. 1 is that the method for sharing media content described in the embodiment of the present invention is applied to the LAN gateway based on DLNA Flow chart;
Fig. 2 is that the device of sharing media content described in the embodiment of the present invention is applied to the LAN gateway based on DLNA Structural schematic diagram;
Fig. 3 is applied to flow chart when terminal for the method for sharing media content described in the embodiment of the present invention;
Fig. 4 is that the device of sharing media content described in the embodiment of the present invention is applied to the structural schematic diagram of terminal.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.
The present invention can not divide in multiple terminal for the clouds such as television content media content in the prior art in local area network The problem of enjoying, the method and apparatus for providing a kind of sharing television content pass through the local area network net based on DLNA in the present invention After pass is converted and handled to the media from server, issues in DLNA network by DMS function and share media, make User can be convenient play TV on various intelligent terminals.So that DLNA is confined to the local media content in local area network The characteristics such as shared, multi-screen interactive can extend in the cloud media content of wide area network.Also solves media copy simultaneously The problem of protection, enable the copyright owners such as content quotient safety sharing inside of the house charge media content.
As shown in Figure 1, the embodiment of the invention provides a kind of methods for sharing media content, applied to the office based on DLNA Area network gateway, comprising:
Step 10, the playing request that terminal is sent is received, wherein the playing request includes at least the corresponding local of media Net local uniform resource identifier URI;
Step 11, according to the corresponding local area network local URI of the media, the corresponding server URI of media is searched, wherein The corresponding relationship of local area network local URI and server URI is locally stored in gateway;
Step 12, according to the corresponding server URI of the media, the transmission for sending the content of the media to server is asked It asks, and obtains the content for the media that server is sent according to the transmission request;
Step 13, the content of the media is sent to the terminal.
In a specific embodiment of the present invention, gateway is connected to the DLNA network of external server and household internal, in net The function of realizing DMS in DLNA network is shut, server can be network server IPTV, satellite server or cable service Device.Gateway can send a multicast message to local area network first, tell all terminals in local area network, which has been added the local Net, then gateway can obtain media resource information from server, what needs to be explained here is that, gateway can be according to certain period Media resource information is requested to server, to update media resource information, the media resource information generally obtained from server is Html format has the information more than needed such as HTML symbol label, and gateway therefrom extracts information related with media, in tool of the invention In body embodiment, media can refer to the clouds media files such as video, live television programming, demand TV program on cloud, with For programme televised live, the programme televised live of programme televised live i.e. each TV station extracts media resource information, specifically includes: TV station's title, channel, classification, service IP, serve port, paid cases, have further include: current program name, a upper section Mesh title, next program title etc..The media resource information is converted into the lattice of the own media resource information of DMS by subsequent gateway Formula, and the remote media source on server is mapped to gateway place local area network local URI, and corresponding in local record media Mapping relations between server URI and local area network local URI, while according to the payment information in media resource information by the media Indicate that the program that need to be paid is through DTCP encipherment protection in resource information.Gateway provides the media by processing and format conversion After source information is packaged in the form of UPnP CDS, with DLNA canonical form publication, terminal can access with browsing media list, look into See media information, user can according to need one media of selection, then terminal only need to be to the corresponding place office of requested media Domain nets local URI and sends playing request, can be obtained the corresponding media content of requested media, provided in an embodiment of the present invention The purpose of each terminals share television content in the family lan based on DLNA may be implemented in method.
Of course, it should be understood that in a specific embodiment of the present invention, request program can also be real using the above method It is existing, it is not detailed herein.
In the above embodiment of the invention, before receiving the playing request that the terminal is sent, the method also includes:
Receive the information for certification and the negotiation about Digital Transmission Content Protection DTCP-IP that the terminal is sent, and After certification passes through, the encrypted content transfer channel of DTCP-IP is established with the terminal.
In a specific embodiment of the present invention, if the media content of terminal request is shielded content, gateway can be connect Receive the information for coming certification and the negotiation of the DTCP-IP of self terminal.After certification passes through, both sides establish the encrypted content of DTCP-IP Transmission channel.Hereafter, gateway can receive the playing request for carrying DTCP protection label that terminal is sent, according to the broadcasting Request, gateway can obtain the corresponding media content of media of terminal request from server, and the media content got is passed through The encrypted content transfer channel of above-mentioned foundation is sent to terminal.Certification is not over playing request is rejected, and will not be entered following The step of.
In the above embodiment of the invention, the content of the media sent from server according to the transmission request is received Later, the method also includes:
Judge whether the media content is protected content;
When the media content is protected content, the shielded content is subjected to solution guarantor by preset-key Shield obtains media content clear stream;
To the copy control information CCI label of media content clear stream addition DTCP, wherein the CCI, which is marked, includes Forbid copy to mark or only copy once marks;
DTCP encryption is done to the CCI for the being added to DTCP media content clear stream marked, obtains DTCP encipherment protection matchmaker Hold in vivo;
In a specific embodiment of the present invention, if the playing request that gateway receives carries DTCP protection label, The media of terminal request are protected medias, and gateway does DTCP encipherment protection to the corresponding media content of the media got Processing, handles and then is sent to terminal.If user buys authorization commercially available from content, it is protected that gateway can obtain viewing The user key of media.Gateway carries out solution protection using the shielded content of key pair, obtains media content clear stream.According to user Request, gateway mark CCI to media content clear stream addition DTCP content protecting.For example, user requests to play the program, in content It is marked on clear stream: forbidding copying;User requests to record the program, marks on content clear stream: only copy is primary.Such as mobile phone user Request plays the first arenas of CCTV.First arenas is charge program, and media content is shielded by encryption.User's purchase is broadcast After the authorization put, it is media content clear stream that the key solution that gateway is able to use authorization, which protects the media content,.According to asking for user Authorization conditions are sought or buy, in the media content clear stream plus the label " forbidding copying " of CCI, then gateway is to being added to DTCP The content of content protecting label CCI does DTCP encryption, forms DTCP encipherment protection content, is sent to end by encrypted tunnel End.
As shown in Fig. 2, being applied to gateway the embodiment of the invention also provides a kind of device for sharing media content, comprising:
First receiving module 20, for receiving the playing request of terminal transmission, wherein the playing request includes at least matchmaker The corresponding local area network local uniform resource identifier URI of body;
First searching module 21, for searching the corresponding service of media according to the corresponding local area network local URI of the media Device URI, wherein the corresponding relationship of local area network local URI and server URI is locally stored in gateway;
First sending module 22, for sending the media to server according to the corresponding server URI of the media The transmission of content is requested, and obtains the content for the media that server is sent according to the transmission request;
Second sending module 23, for the content of the media to be sent to the terminal.
In the above embodiment of the invention, described device further include:
First obtains module, and for obtaining media resource information from server, the media resource information includes at least more The corresponding server URI of a media identification, each media and the corresponding payment information of each media;
First processing module, for handling the media resource information, by the matchmaker in the media resource information The corresponding server URI of body is converted into local area network local URI, and in the corresponding server URI of local record media and local area network Mapping relations between local URI;
Third sending module, for when receiving the request of terminal acquisition media resource information, treated by described in Media resource information is sent to the terminal.
In the above embodiment of the invention, described device further include:
Channel module is established, the certification about Digital Transmission Content Protection DTCP-IP sent for receiving the terminal The encrypted content transfer channel of DTCP-IP is established with the terminal and after certification passes through with the information of negotiation.
In the above embodiment of the invention, described device further include:
First judgment module, for judging whether the media content is protected content;
First solution protective module, for when judgment module judge that the media content is protected content, will described in by The content of protection carries out solution protection by preset-key, obtains media content clear stream;
Mark module is added, is marked for the copy control information CCI to media content clear stream addition DTCP, In, the CCI label includes that copy is forbidden to mark or only copy primary label;
Encryption processing module, the media content clear stream for marking to the CCI for being added to DTCP do DTCP encryption, obtain Obtain DTCP encipherment protection media content.
In the above embodiment of the invention, second sending module includes:
Sending submodule, for sending the DTCP encipherment protection media content by the encrypted content transfer channel To the terminal.
It should be noted that the device be with it is above-mentioned be applied to the sharing embodiment of the method for media content of gateway it is corresponding Device, all implementations can also reach identical technology suitable for the embodiment of the device in above method embodiment Effect.
As shown in figure 3, the embodiment of the present invention also provides a kind of method for sharing media content, it is applied to terminal, comprising:
Step 30, playing request is initiated to LAN gateway where the terminal, wherein the playing request includes at least The corresponding local area network local uniform resource identifier URI of media;
Step 31, the media content got from the gateway according to the playing request is received.
In a specific embodiment of the present invention, terminal can be mobile phone, tablet computer or smart television etc., herein, eventually The function that end is realized is equivalent to the function of the realization of the DMP in DLNA network, accessible DMS, as the DMS of terminal access gateway When, that see is the URI of the corresponding local area network of each media, do not need be concerned about server program source location address, only need to The corresponding local area network URI of the media of required request initiates playing request, just will receive corresponding media content.
In the above embodiment of the present invention, before LAN gateway initiation playing request where the terminal, the side Method further include:
It is sent to place LAN gateway and obtains media resource information request;
The media resource information from gateway is received, the media resource information is gateway according to the acquisition media resource Information request handles the media resource information obtained from server, and the corresponding server URI of media therein is carried out The terminal is sent to after local mapping;
According to the media resource information, the corresponding local area network local URI of media for needing to obtain is searched.
In the above embodiment of the invention, after receiving the media resource information from gateway, the method also includes:
According to the media resource information, judge to need whether the media obtained are protected medias;
If it is described need the media that obtain be it is shielded, carry out Digital Transmission Content Protection DTCP- with the gateway IP certification and negotiation, and after certification passes through, the encrypted content transfer channel of DTCP-IP is established with the gateway;
In a specific embodiment of the present invention, when terminal receives media resource information, user believes according to the media resource Media identification selection in breath needs the media that play, and whether terminal can encrypt through DTCP according to the media in media resource information Protection, judge media required for user whether be it is shielded, if required media be it is shielded, terminal can be sent DTCP-IP certification and the information negotiated are to gateway, and after certification passes through, terminal establishes the encrypted content transfer of DTCP-IP with gateway Channel, subsequent terminal send the playing request for carrying DTCP protection label according to media resource information to gateway.
In the above embodiment of the invention, the media content packet got from gateway according to the playing request is received It includes:
Pass through media content described in the encrypted content transfer channel reception;
In the above embodiment of the invention, after by media content described in the encrypted content transfer channel reception, The method also includes:
Solution protection is carried out to the media content, obtains the CCI mark in the media content;
According to the media content after the CCI mark processing solution protection.
In a specific embodiment of the present invention, if the media content of terminal request is protected content, terminal can lead to Cross the encrypted content transfer channel reception media content, media content solution protection of the terminal by gateway Jing Guo DTCP encryption Afterwards, CCI mark is extracted, is identified according to CCI, the media content after processing solution protection, such as the CCI of media content are identified as taboo When only copying, terminal can abandon the media content, user is forbidden to deposit after playing the media content.
As shown in figure 4, the embodiment of the present invention also provides a kind of device for sharing media content, it is applied to terminal, comprising:
Request module 40, for initiating playing request to LAN gateway where the terminal;
Second receiving module 41, for receiving the media content got from the gateway according to the playing request.
In the above embodiment of the invention, described device further include:
4th sending module sends for the gateway into place local area network and obtains media resource information request;
Third receiving module, for receiving the media resource information from gateway, the media resource information is gateway handle The media resource information obtained from server is handled, after the corresponding server URI of media therein is carried out local mapping It is sent to the terminal;
Second searching module, for searching the corresponding local of media for needing to obtain according to the media resource information Net local URI.
In the above embodiment of the invention, described device further include:
Second judgment module judges to need whether the media obtained are protected medias according to the media resource information;
Authentication module, when for judging that the media of the request are protected medias when the judgment module, with the net It puts row Digital Transmission Content Protection DTCP-IP certification into and negotiates, and after certification passes through, establish DTCP-IP with the gateway Encrypted content transfer channel.
In the above embodiment of the invention, second receiving module includes:
Receiving submodule, for passing through media content described in the encrypted content transfer channel reception.
In the above embodiment of the invention, described device further include:
Second solution protective module obtains the CCI mark in the media content for carrying out solution protection to the media content Know;
Second processing module, for according to the media content after the CCI mark processing solution protection.
It should be noted that the device is device corresponding with the embodiment of the method for above-mentioned sharing media content, above-mentioned side All implementations can also reach identical technical effect suitable for the embodiment of the device in method embodiment.
It is that example is done with the 2-Box model of DLNA, the equipment of DLNA only has DMS and DMP in embodiment described above.This Invention extends also in the 3-Box model of DLNA1, including DMS, DMC and DMR equipment.The present invention can be extended to The model of DLNA CVP-2, suitable for the media sharing mode by RUI Server/Client.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, several improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (16)

1. a kind of method for sharing media content, applied to the LAN gateway based on DLNA, which is characterized in that the method packet It includes:
Media resource information is obtained from server, the media resource information includes at least multiple media identifications, each media pair The server URI and the corresponding payment information of each media answered;
The media resource information is handled, the corresponding server URI of media in the media resource information is converted At local area network local URI, and the mapping relations between the corresponding server URI and local area network local URI of local record media;
When receiving terminal and obtaining the request of media resource information, treated that media resource information is sent to is described by described Terminal makes the terminal send playing request to the gateway according to the media resource information;
Receive the playing request that terminal is sent, wherein it is locally unified that the playing request includes at least the corresponding local area network of media Resource identifiers, URIs;
According to the corresponding local area network local URI of the media, the corresponding server URI of media is searched, wherein gateway is locally stored There are the corresponding relationship of local area network local URI and server URI;
According to the corresponding server URI of the media, the transmission request of the content of the media is sent to server, and obtains clothes Device be engaged according to the content for transmitting the media that request is sent;
The content of the media is sent to the terminal.
2. sharing the method for media content as described in claim 1, which is characterized in that receive the broadcasting that the terminal is sent and ask Before asking, the method also includes:
The information for certification and the negotiation about Digital Transmission Content Protection DTCP-IP that the terminal is sent is received, and is being authenticated By rear, the encrypted content transfer channel of DTCP-IP is established with the terminal.
3. sharing the method for media content as claimed in claim 2, which is characterized in that receive from server according to the biography After the content for the media that defeated request is sent, the method also includes:
Whether the content for judging the media is protected content;
When the media content is protected content, the shielded content is subjected to solution protection by preset-key, is obtained Obtain media content clear stream;
To the copy control information CCI label of media content clear stream addition DTCP, wherein the CCI label includes forbidding The primary label of copy label or only copy;
DTCP encryption is done to the CCI for the being added to DTCP media content clear stream marked, is obtained in DTCP encipherment protection media Hold.
4. sharing the method for media content as claimed in claim 3, which is characterized in that be sent to the media content described Terminal includes:
The DTCP encipherment protection media content is sent to the terminal by the encrypted content transfer channel.
5. a kind of device for sharing media content, applied to the LAN gateway based on DLNA characterized by comprising
First obtains module, and for obtaining media resource information from server, the media resource information includes at least multiple matchmakers Body mark, the corresponding server URI of each media and the corresponding payment information of each media;
First processing module, for handling the media resource information, by the media pair in the media resource information The server URI answered is converted into local area network local URI, and local in the corresponding server URI of local record media and local area network Mapping relations between URI;
Third sending module will treated the media for when receiving terminal and obtaining the request of media resource information Resource information is sent to the terminal;
First receiving module, for receiving the playing request of terminal transmission, wherein the playing request is corresponding including at least media Local area network local uniform resource identifier URI;
First searching module, for searching the corresponding server URI of media according to the corresponding local area network local URI of the media, Wherein, the corresponding relationship of local area network local URI and server URI is locally stored in gateway;
First sending module, for sending the content of the media to server according to the corresponding server URI of the media Transmission request, and obtain the content for the media that server is sent according to the transmission request;
Second sending module, for the content of the media to be sent to the terminal.
6. sharing the device of media content as claimed in claim 5, which is characterized in that described device further include:
Channel module is established, certification and association for receiving that the terminal sends about Digital Transmission Content Protection DTCP-IP The information of quotient, and after certification passes through, the encrypted content transfer channel of DTCP-IP is established with the terminal.
7. sharing the device of media content as claimed in claim 6, which is characterized in that described device further include:
First judgment module, for judging whether the media content is protected content;
First solution protective module will be described protected for when judgment module judges that the media content is protected content Content solution protection is carried out by preset-key, obtain media content clear stream;
Mark module is added, is marked for the copy control information CCI to media content clear stream addition DTCP, wherein institute Stating CCI label includes that copy is forbidden to mark or only copy primary label;
Encryption processing module, the media content clear stream for marking to the CCI for being added to DTCP do DTCP encryption, obtain DTCP encipherment protection media content.
8. sharing the device of media content as claimed in claim 7, which is characterized in that second sending module includes:
Sending submodule, for the DTCP encipherment protection media content to be sent to institute by the encrypted content transfer channel State terminal.
9. a kind of method for sharing media content, is applied to terminal characterized by comprising
It is sent to place LAN gateway and obtains media resource information request;
The media resource information from gateway is received, the media resource information is gateway according to the acquisition media resource information Request handles the media resource information obtained from server, the corresponding server URI of media therein is carried out local The terminal is sent to after mapping;
According to the media resource information, the corresponding local area network local URI of media for needing to obtain is searched;
Playing request is initiated to LAN gateway where the terminal, wherein it is corresponding that the playing request includes at least media Local area network local uniform resource identifier URI;
Receive the media content got from the gateway according to the playing request.
10. sharing the method for media content as claimed in claim 9, which is characterized in that receive the media resource from gateway After information, the method also includes:
According to the media resource information, judge to need whether the media obtained are protected medias;
If it is described need the media that obtain be it is shielded, carry out Digital Transmission Content Protection DTCP-IP with the gateway and recognize Card and negotiation, and after certification passes through, the encrypted content transfer channel of DTCP-IP is established with the gateway.
11. sharing the method for media content as claimed in claim 10, which is characterized in that receive and broadcast according to from gateway Put request to media content include:
Pass through media content described in the encrypted content transfer channel reception.
12. sharing the method for media content as claimed in claim 11, which is characterized in that logical by the encrypted content transfer After road receives the media content, the method also includes:
Solution protection is carried out to the media content, obtains the CCI mark in the media content;
According to the media content after the CCI mark processing solution protection.
13. a kind of device for sharing media content, is applied to terminal, which is characterized in that described device includes:
4th sending module sends for the gateway into place local area network and obtains media resource information request;
Third receiving module, for receiving the media resource information from gateway, the media resource information is gateway from clothes The media resource information that business device obtains is handled, and is sent after the corresponding server URI of media therein is carried out local mapping To the terminal;
Second searching module, for searching the corresponding local area network sheet of media for needing to obtain according to the media resource information Ground URI;
Request module, for initiating playing request to LAN gateway where the terminal;
Second receiving module, for receiving the media content got from the gateway according to the playing request.
14. sharing the device of media content as claimed in claim 13, which is characterized in that described device further include:
Second judgment module needs whether the media obtained are protected medias for judging according to the media resource information;
Authentication module, when for judging that the media of the request are protected medias when the judgment module, with the gateway into Row Digital Transmission Content Protection DTCP-IP certification and negotiation, and after certification passes through, adding for DTCP-IP is established with the gateway Close content transmission channel.
15. sharing the device of media content as claimed in claim 14, which is characterized in that second receiving module includes:
Receiving submodule, for passing through media content described in the encrypted content transfer channel reception.
16. sharing the device of media content as claimed in claim 15, which is characterized in that described device further include:
Second solution protective module obtains the CCI mark in the media content for carrying out solution protection to the media content;
Second processing module, for according to the media content after the CCI mark processing solution protection.
CN201510003957.6A 2015-01-05 2015-01-05 A kind of method and apparatus for sharing media content Active CN105828174B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510003957.6A CN105828174B (en) 2015-01-05 2015-01-05 A kind of method and apparatus for sharing media content
PCT/CN2015/081177 WO2016110048A1 (en) 2015-01-05 2015-06-10 Method and apparatus for sharing media content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510003957.6A CN105828174B (en) 2015-01-05 2015-01-05 A kind of method and apparatus for sharing media content

Publications (2)

Publication Number Publication Date
CN105828174A CN105828174A (en) 2016-08-03
CN105828174B true CN105828174B (en) 2019-11-05

Family

ID=56355459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510003957.6A Active CN105828174B (en) 2015-01-05 2015-01-05 A kind of method and apparatus for sharing media content

Country Status (2)

Country Link
CN (1) CN105828174B (en)
WO (1) WO2016110048A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428814B (en) * 2017-09-04 2022-12-02 中兴通讯股份有限公司 Multicast traffic transmission method, related equipment and computer readable storage medium
CN108768961B (en) * 2018-05-11 2021-03-30 中国联合网络通信集团有限公司 Storage processing method and home gateway
WO2020191639A1 (en) 2019-03-26 2020-10-01 Oppo广东移动通信有限公司 Communication method for device, device and storage medium
CN111225252B (en) * 2020-01-06 2022-07-26 广东九联科技股份有限公司 PON gateway UPNP video live broadcast method based on openwrt system
CN115442208B (en) * 2021-05-18 2024-02-23 北京小米移动软件有限公司 Method and device for managing cloud terminal and readable storage medium
CN115150669B (en) * 2022-06-29 2023-08-22 城云科技(中国)有限公司 GB28181 international inter-standard-based media stream sharing method, device and application
CN116017145B (en) * 2022-12-27 2023-08-01 深圳市快美妆科技有限公司 Remote intelligent control system and method for live camera

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009808A (en) * 2006-01-25 2007-08-01 索尼株式会社 System, device and method for transferring content
CN101212384A (en) * 2006-12-31 2008-07-02 华为技术有限公司 Method, system, and equipment for implement home network interconnection
CN102811223A (en) * 2012-08-15 2012-12-05 中兴通讯股份有限公司 DLNA equipment sharing method and device
CN103414713A (en) * 2013-08-05 2013-11-27 三星电子(中国)研发中心 Method, device and DLNA device with access to cloud medium resource
CN103516707A (en) * 2012-11-06 2014-01-15 Tcl集团股份有限公司 Method, system and terminal for achieving access control between DLAN devices
CN103973638A (en) * 2013-01-28 2014-08-06 联想(北京)有限公司 Access control method, electronic equipment and server
CN104202360A (en) * 2014-08-13 2014-12-10 小米科技有限责任公司 Webpage access method, device and router

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3969395B2 (en) * 2004-01-21 2007-09-05 ソニー株式会社 Network system and terminal setting method
US20070143488A1 (en) * 2005-12-20 2007-06-21 Pantalone Brett A Virtual universal plug and play control point
CN101086700A (en) * 2006-06-09 2007-12-12 鸿富锦精密工业(深圳)有限公司 Wire/radio network product web page code loading system and method
CN101466022B (en) * 2007-12-19 2013-08-21 康佳集团股份有限公司 Method for audio/video on demand by digital household network equipment
KR20140111028A (en) * 2012-01-08 2014-09-17 톰슨 라이센싱 Apparatus and method for content directory server presentation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009808A (en) * 2006-01-25 2007-08-01 索尼株式会社 System, device and method for transferring content
CN101212384A (en) * 2006-12-31 2008-07-02 华为技术有限公司 Method, system, and equipment for implement home network interconnection
CN102811223A (en) * 2012-08-15 2012-12-05 中兴通讯股份有限公司 DLNA equipment sharing method and device
CN103516707A (en) * 2012-11-06 2014-01-15 Tcl集团股份有限公司 Method, system and terminal for achieving access control between DLAN devices
CN103973638A (en) * 2013-01-28 2014-08-06 联想(北京)有限公司 Access control method, electronic equipment and server
CN103414713A (en) * 2013-08-05 2013-11-27 三星电子(中国)研发中心 Method, device and DLNA device with access to cloud medium resource
CN104202360A (en) * 2014-08-13 2014-12-10 小米科技有限责任公司 Webpage access method, device and router

Also Published As

Publication number Publication date
WO2016110048A1 (en) 2016-07-14
CN105828174A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN105828174B (en) A kind of method and apparatus for sharing media content
CN103493497B (en) Ethernet decoder device for accessing protected content and method
EP2973281B1 (en) Security and key management of digital content
US9003512B2 (en) Content protection management system
US8413256B2 (en) Content protection and digital rights management (DRM)
CN105245944B (en) Based on the multiple terminals DVB program broadcasting method and system, set-top box and mobile terminal
US7530088B2 (en) Topology based proximity validation for broadcast content
US9203813B2 (en) Content distribution method, content distribution system, source device, and sink device
WO2008121131A2 (en) Methods and apparatus for premises content distribution
DE102005035400A1 (en) Method and apparatus for providing access to data at a user site
CN104869437B (en) Bidirectional terminal barrage implementation method based on Conditional Access of Digital Television
US20150149778A1 (en) Content reception apparatus and method, and content transmission apparatus and method
CN104581369A (en) Multi-channel high-definition live program forwarding method and system based on broadcast television network home gateway
CN103780961B (en) A kind of guard method of data message and equipment
Díaz-Sánchez et al. Extended DLNA protocol: Sharing protected pay TV contents
EP1595383B1 (en) Methods and apparatus for integrating one-way and two-way security systems to enable secure distribution of encrypted services
van Rijnsoever et al. Interoperable content protection for digital TV
Jeffrey et al. Content security for IPTV
CN103634624A (en) Digital television live broadcasting method and system based on IP (Internet protocol) network
CN109460636B (en) Digital copyright management method and system and reverse proxy device
Sakthivel Socio-economic dimensions of communication to public of works: New challenges to broadcasting industry in the context of 4G peer to peer technology
CN105578466A (en) In-flight entertainment file transmission method
KR101401661B1 (en) Device for managing user contents and method for handling content service in dlna system
Mampaey et al. A network-centric DRM for online scenarios
Tapavicki et al. Implementation of DTCP-IP protected content on Android devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant