CN104469477B - Media resource method for pushing and device - Google Patents
Media resource method for pushing and device Download PDFInfo
- Publication number
- CN104469477B CN104469477B CN201410721189.3A CN201410721189A CN104469477B CN 104469477 B CN104469477 B CN 104469477B CN 201410721189 A CN201410721189 A CN 201410721189A CN 104469477 B CN104469477 B CN 104469477B
- Authority
- CN
- China
- Prior art keywords
- media
- transmitted
- media resource
- resource
- metadata
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000004891 communication Methods 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000005538 encapsulation Methods 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 101000826116 Homo sapiens Single-stranded DNA-binding protein 3 Proteins 0.000 description 1
- 102100023008 Single-stranded DNA-binding protein 3 Human genes 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8352—Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention is applied to communication technical field there is provided a kind of media resource method for pushing and device, and methods described includes:Obtain the uniform resource position mark URL of media resource to be transmitted;The ID3 attribute informations of the media resource to be transmitted are obtained according to the URL;The uniform resource position mark URL and the ID3 attribute informations are encapsulated as metadata;The metadata is sent to digital Media renderer DMR, to cause URLs of the DMR in the metadata to obtain the media resource to be transmitted;It is achieved thereby that the media resource on internet is played out as digital media server DMS resource supplying to local digital Media renderer DMR;Further, it is of the invention compatible stronger, the scope of application of existing the Internet media resource supplying method is expanded, and without user configuring, simplify the operation of user.
Description
Technical field
The invention belongs to communication technical field, more particularly to media resource method for pushing and device.
Background technology
Intelligent terminal, such as smart mobile phone, tablet personal computer etc., can combine network to share multimedia file.Existing skill
The solution that media resource is shared in the existing perfect and high LAN of reliability of art, such as DLNA and AirPlay etc..Its
In, the DLNA is a kind of wireless network aimed to solve the problem that including personal PC, consumer appliances, mobile device and cable network interconnection
Intercommunication, realizes the solution that Digital Media and content service are unrestrictedly shared.The type of DLNA device mainly includes:Digital matchmaker
Body player DMP, digital Media renderer DMR, digital media server DMS and digital media controller DMC.The DMC and
DMP includes control point DLNA ControlPoint, can browse through the media content that DMS shares, and push matchmaker by interactive controlling
Body is played out to DMR.
However, sharing for the media resource of internet, existing solution and imperfection;And complex operation, lead
Cause its scope of application small.
The content of the invention
In consideration of it, the embodiment of the present invention provides a kind of media resource method for pushing and device, by the media on internet
Resource supplying extends the scope of application of existing media resource method for pushing to local, simplifies the operation of user.
First aspect includes there is provided a kind of media resource method for pushing, methods described:
Obtain the uniform resource position mark URL of media resource to be transmitted;
The ID3 attribute informations of the media resource to be transmitted are obtained according to the URL;
The uniform resource position mark URL and the ID3 attribute informations are encapsulated as metadata;
The metadata is sent to digital Media renderer DMR, to cause the DMR according in the metadata
URL obtains the media resource to be transmitted.
Further, it is described to be included according to the URL ID3 attribute informations for obtaining the media resource to be transmitted:
According to the uniform resource position mark URL, the media formats of the media resource to be transmitted are determined;
The ID3 attribute informations of the media resource to be transmitted are obtained according to the media formats of the media resource to be transmitted.
Further, it is described according to the uniform resource position mark URL, determine the media lattice of the media resource to be transmitted
Formula includes:
The media formats of the media resource to be transmitted are determined according to the suffix name of the uniform resource position mark URL.
Further, methods described also includes:
If the media formats of the media resource to be transmitted can not be determined according to the suffix name of uniform resource position mark URL,
The page stem request message HTTP HEAD of HTTP are then sent, to determine whether uniform resource position mark URL has
Effect.
Further, methods described also includes:
When the uniform resource position mark URL is effective, the ID3 attribute informations of the media resource are set to acquiescence
Value;
It is described that the uniform resource position mark URL and the ID3 attribute informations are encapsulated as metadata and included;
The uniform resource position mark URL and the ID3 attribute informations used as default are encapsulated as metadata.
Second aspect includes there is provided a kind of media resource pusher, described device:
First acquisition module, the uniform resource position mark URL for obtaining media resource to be transmitted;
Second acquisition module, the ID3 attribute informations for obtaining the media resource to be transmitted according to the URL;
Package module, for the uniform resource position mark URL and the ID3 attribute informations to be encapsulated as into metadata;
Pushing module, for the metadata to be sent into digital Media renderer DMR, to cause the DMR according to institute
The URL stated in metadata obtains the media resource to be transmitted.
Further, second acquisition module includes:
Determining unit, for according to the uniform resource position mark URL, determining the media lattice of the media resource to be transmitted
Formula;
Acquiring unit, for obtaining the media resource to be transmitted according to the media formats of the media resource to be transmitted
ID3 attribute informations.
Further, the determining unit specifically for:
The media formats of the media resource to be transmitted are determined according to the suffix name of the uniform resource position mark URL.
Further, described device also includes:
Sending module, in determining module according to can not being determined the suffix name of the uniform resource position mark URL
During the media formats of media resource to be transmitted, the page stem request message HTTP HEAD of HTTP are sent, with true
Whether effective determine uniform resource position mark URL.
Further, the package module is additionally operable to:
When the uniform resource position mark URL is effective, the ID3 attribute informations of the media resource are set to acquiescence
Value;
The package module is additionally operable to:
The uniform resource position mark URL and the ID3 attribute informations used as default are encapsulated as metadata.
Compared with prior art, the present invention is based on DLNA agreements, is determined by the unified resource for obtaining media resource to be transmitted
Position symbol URL, and according to the ID3 attribute informations of the URL acquisitions media resource to be transmitted;The unified resource is positioned
Symbol URL and the ID3 attribute informations are encapsulated as metadata;The metadata is sent to digital Media renderer DMR, to cause
URLs of the DMR in the metadata obtains the media resource to be transmitted;It is achieved thereby that by the media on internet
Resource is played out to local digital Media renderer DMR as digital media server DMS resource supplying;Further
Ground, of the invention is compatible stronger, expands the scope of application of existing the Internet media resource supplying method, and without user
Configuration, simplifies the operation of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the first implementation process figure of the media resource method for pushing that the embodiment of the present invention one is provided;
Fig. 2 is the second implementation process figure of the media resource method for pushing that the embodiment of the present invention two is provided;
Fig. 3 is the composition structure chart for the media resource pusher that the embodiment of the present invention three is provided.
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.
The present invention is based on DLNA agreements, by obtaining the uniform resource position mark URL of media resource to be transmitted, and according to
The URL obtains the ID3 attribute informations of the media resource to be transmitted;The uniform resource position mark URL and the ID3 are belonged to
Property Information encapsulation be metadata;The metadata is sent to digital Media renderer DMR, to cause the DMR according to described
URL in metadata obtains the media resource to be transmitted;It is achieved thereby that regarding the media resource on internet as digital matchmaker
Body server DMS resource supplying is played out to local digital Media renderer DMR;Further, compatibility of the invention
Property is stronger, expands the scope of application of existing the Internet media resource supplying method, and without user configuring, simplify user
Operation.The embodiment of the present invention additionally provides corresponding device, is described in detail individually below.
Embodiment one
Fig. 1 shows the first implementation process of the media resource method for pushing that the embodiment of the present invention one is provided, for the ease of
Illustrate, illustrate only part related to the present invention.
In embodiments of the present invention, methods described is based on DLNA technologies, can be pushed using the control point in DLNA technologies
The characteristics of media resource and digital Media renderer DMR can play media resource, by the media resource got on internet
URL be encapsulated as the DLNA metadata of standard and be transmitted, to cause the DMR for receiving metadata according in the metadata
URL obtains the media resource to be transmitted.Therefore, methods described is applied to as with control point DLNA ControlPoint
Intelligent terminal, i.e., described mobile terminal can be DMC or DMP in DLNA technologies.The intelligent terminal includes but not limited
In smart mobile phone, personal computer PC, notebook computer, tablet personal computer etc..The intelligent terminal is rendered with the Digital Media
Device DMR is in local area network, and other side is found by SSDP SSDP.The intelligent terminal and the numeral
Media renderer DMR is connected by router, and can access internet by the router.
As shown in figure 1, methods described includes:
In step S101, the uniform resource position mark URL of media resource to be transmitted is obtained.
In embodiments of the present invention, the intelligent terminal with control point DLNA ControlPoint is connected by router
Internet, obtains the relevant information of media resource to be transmitted, such as uniform resource position mark URL in internet.
In step S102, the ID3 attribute informations of the media resource to be transmitted are obtained according to the URL.
Preferably, in embodiments of the present invention, step S102 is specifically included:
A. according to the uniform resource position mark URL, the media formats of the media resource to be transmitted are determined.
Preferably, the embodiment of the present invention is after the uniform resource position mark URL of the media resource to be transmitted is got,
The suffix name of the URL is parsed and intercepted, the media formats of the media resource to be transmitted are determined according to the suffix name.Wherein
The media formats include but is not limited to audio format, picture format, video format etc..
B. the ID3 attributes for obtaining the media resource to be transmitted according to the media formats of the media resource to be transmitted are believed
Breath.
In embodiments of the present invention, after the media formats for getting media resource to be transmitted, according to different media formats
The corresponding ID3 data blocks of the media resource to be transmitted are obtained, and accessed ID3 data blocks are parsed, to obtain
The ID3 attribute informations of the media resource to be transmitted.The ID3 attribute informations are the attribute information of media resource to be transmitted, i.e.,
Label information, positioned at the head of media file or afterbody.Exemplarily, when the media resource to be transmitted is mp3 files,
The ID3 attribute informations are the attribute informations for being located at the mp3 files in some bytes at the beginning of mp3 files or end;It is described
Attribute information includes but is not limited to the information such as mp3 singer, title, album name, age and style, can also include song
The information of the Large Copacities such as word, album picture.
In step s 103, the uniform resource position mark URL and the ID3 attribute informations are encapsulated as metadata.
The metadata (MetaData), refers to the data for describing data, to the descriptive information of data and information resources.
Preferably, the metadata is the metadata for meeting UPnP protocol.The UPnP is various smart machines, wireless device
The structure of the peer-to-peer network connection (P2P) spread all over the world is realized with PC etc., is a kind of distributed, open network rack
Structure.UPnP is independent medium, in any operating system, and UPnP device can be used using any programming language.Therefore,
By being the metadata of UPnP protocol, Neng Goukuo by the uniform resource position mark URL and the attribute information ID3 Information encapsulations
Exhibition is applicable and (such as encapsulates or receive) intelligent terminal of the metadata, and then extends the media resource push side that the present invention is provided
The scope of application of method.
Further, because the details of media resource are included in ID3 attribute informations, by the way that unified resource is determined
Position symbol URL and ID3 attribute informations are encapsulated as metadata, enable to connect digital Media renderer DMR other Digital Medias
Controller DMC can obtain the metadata, and then obtain and show the ID3 attribute informations in the metadata, without passing through
DMR forwards the metadata for including ID3 attribute informations again, can reach more preferable compatibility.
In step S104, the metadata is sent to digital Media renderer DMR, to cause the DMR according to institute
The URL stated in metadata obtains the media resource to be transmitted.
Preferably, get after metadata, service SetAVTransportUR1 by audio video transmission is packaged with described
The metadata of URL and ID3 attribute informations is sent to digital Media renderer DMR, and the media resource to be transmitted is pushed to
The digital Media renderer DMR.Play instruction is sent to the DMR again, to cause the DMR to play pointed by the URL
Media resource, i.e. received media resource.
In embodiments of the present invention, by obtaining the uniform resource position mark URL of media resource to be transmitted;According to the system
One URLs URL, determines the media formats of the media resource to be transmitted;According to the media of the media resource to be transmitted
Form obtains the ID3 attribute informations of the media resource to be transmitted;By the uniform resource position mark URL and the ID3 attributes
Information encapsulation is metadata;The metadata is sent to digital Media renderer DMR, to cause the DMR according to the member
URL in data obtains the media resource to be transmitted;It is achieved thereby that regarding the media resource on internet as Digital Media
Server DMS resource supplying is played out to local digital Media renderer DMR;Further, compatibility of the invention
It is stronger, the scope of application of existing the Internet media resource supplying method is expanded, and without user configuring, simplify user's
Operation, be particularly suitable for use in family wireless share system.
Embodiment two
Matchmaker can not be obtained if it can not learn the media formats of media resource from the URL got in Fig. 1 embodiments
The ID3 attribute informations of body resource, the embodiment of the present invention additionally provides the push scheme from URL validity.Fig. 2 shows this
Second implementation process of the media resource method for pushing that inventive embodiments two are provided, for convenience of description, illustrate only and this hair
Bright related part.
As shown in Fig. 2 methods described includes:
In step s 201, the uniform resource position mark URL of media resource to be transmitted is obtained.
In step S202, according to the uniform resource position mark URL, the media lattice of the media resource to be transmitted are determined
Formula.
If can determine the media formats of the media resource to be transmitted according to URL, step S203 is performed;Otherwise, hold
Row step S204.
In step S203, the media resource to be transmitted is obtained according to the media formats of the media resource to be transmitted
ID3 attribute informations.
Above step S201~S203 specifically refers to the description of Fig. 1 embodiments correspondence step S101, S102, herein no longer
Repeat.After step S203 gets the ID3 attribute informations of media resource to be transmitted, step S206 is jumped to.
In step S204, if can not determine that the media to be transmitted are provided according to the suffix name of uniform resource position mark URL
The media formats in source, then send the page stem request message HTTP HEAD of HTTP, to determine that unified resource is determined
Whether position symbol URL is effective.
In step S205, when the uniform resource position mark URL is effective, the ID3 attributes of the media resource are believed
Breath uses as default.
Due to the media formats of media resource to be transmitted can not be known, then its corresponding ID3 attribute information can not be known, this
Inventive embodiments are preferred to use default value to fill the ID3 attribute informations.Therefore, default value is to be used to that ID3 can not to be known
The content of ID3 attribute informations is filled during attribute information.Exemplarily, the ID3 attribute informations of the media resource can be set to
Default value Unknow.
In step S206, the uniform resource position mark URL and ID3 attribute informations are encapsulated as metadata.
In embodiments of the present invention, if the ID3 attribute informations of media resource use as default by step S205,
Unified resource positioning degree URL and the ID3 attribute information is encapsulated as metadata.
The metadata (MetaData), refers to the data for describing data, to the descriptive information of data and information resources.
Preferably, the metadata is the metadata for meeting UPnP protocol.The UPnP is various smart machines, wireless device
The structure of the peer-to-peer network connection (P2P) spread all over the world is realized with PC etc., is a kind of distributed, open network rack
Structure.UPnP is independent medium, in any operating system, and UPnP device can be used using any programming language.Therefore,
By the way that the uniform resource position mark URL and the ID3 attribute informations to be encapsulated as to the metadata of UPnP protocol, it can extend suitable
With the intelligent terminal of the metadata, and then extend the scope of application for the Internet media resource supplying method that the present invention is provided.
Further, because the details of media resource are included in ID3 attribute informations, by the way that unified resource is determined
Position symbol URL and ID3 attribute informations are encapsulated as metadata, enable to connect digital Media renderer DMR other Digital Medias
Controller DMC can obtain the metadata, and then obtain and show the ID3 attribute informations in the metadata, without passing through
DMR forwards the metadata for including ID3 attribute informations again, can reach more preferable compatibility.
In step S207, the metadata is sent to digital Media renderer DMR, to cause the DMR according to institute
The URL stated in metadata obtains the media resource to be transmitted.
In embodiments of the present invention, by obtaining the uniform resource position mark URL of media resource to be transmitted;According to the system
One URLs URL, determines the media formats of the media resource to be transmitted;According to the media of the media resource to be transmitted
Form obtains the ID3 attribute informations of the media resource to be transmitted;By the uniform resource position mark URL and the ID3 attributes
Information encapsulation is metadata;The metadata is sent to digital Media renderer DMR, to cause the DMR according to the member
URL in data obtains the media resource to be transmitted;It is achieved thereby that regarding the media resource on internet as Digital Media
Server DMS resource supplying is played out to local digital Media renderer DMR;Further, institute of the embodiment of the present invention
The method stated it is compatible stronger, expand the scope of application of existing the Internet media resource supplying method, and without user
Configuration, simplifies the operation of user, be particularly suitable for use in family wireless share system.
It should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined with its function and internal logic.Those skilled in the art should also know, in specification
Described embodiment belongs to preferred embodiment, and any limit is constituted without tackling the implementation process of the embodiment of the present invention.
Embodiment three
Fig. 3 shows the composition structure for the media resource push side device that the embodiment of the present invention three is provided;For the ease of saying
It is bright, it illustrate only part related to the present invention.
In embodiments of the present invention, described device is used to realize the media resource push side described in Fig. 1 or Fig. 2 embodiments
Method, can be the unit of the software unit, hardware cell or software and hardware combining that are built in mobile terminal.The mobile terminal is
Intelligent terminal (i.e. described mobile terminal is used as DMC or DMP in DLNA technologies) with DLNA control points function, including but not
It is limited to mobile phone, tablet personal computer, notebook computer etc..
As shown in figure 3, described device includes:
First acquisition module 31, the uniform resource position mark URL for obtaining media resource to be transmitted.
Second acquisition module 32, the ID3 attribute informations for obtaining the media resource to be transmitted according to the URL.
Package module 33, for the uniform resource position mark URL and the ID3 attribute informations to be encapsulated as into metadata.
Pushing module 34, for the metadata to be sent into digital Media renderer DMR, with cause the DMR according to
URL in the metadata obtains the media resource to be transmitted.
Preferably, the embodiment of the present invention obtains ID3 attribute informations by acquired URL, described
Second acquisition module 32 is specifically included:
Determining unit 321, for according to the uniform resource position mark URL, determining the matchmaker of the media resource to be transmitted
Physique formula.
Preferably, the determining unit 321 determines described to be transmitted according to the suffix name of the uniform resource position mark URL
The media formats of media resource.
Acquiring unit 322, is provided for obtaining the media to be transmitted according to the media formats of the media resource to be transmitted
The ID3 attribute informations in source.
Preferably, the ID3 category of media resource to be transmitted can not be obtained from acquired URL in second acquisition module
During property information, described device also includes:
Sending module 35, for institute can not to be determined according to the suffix name of the uniform resource position mark URL in determining module
When stating the media formats of media resource to be transmitted, the page stem request message HTTP HEAD of HTTP are sent, with
Determine whether uniform resource position mark URL is effective.
Preferably, the package module 33 is additionally operable to:
When the URL is effective, the ID3 attribute informations of the media resource are used as default;Will
The uniform resource position mark URL and the ID3 attribute informations used as default are encapsulated as metadata.
In embodiments of the present invention, the metadata (MetaData), refers to the data for describing data, to data and information
The descriptive information of resource.Preferably, the metadata is the metadata for meeting UPnP protocol.The UPnP is various
Smart machine, wireless device and PC etc. realize the structure of the peer-to-peer network connection (P2P) spread all over the world, are a kind of distributions
Formula, the open network architecture.UPnP is independent medium, in any operating system, can using any programming language
Use UPnP device.Therefore, by the way that the uniform resource position mark URL and the attribute information ID3 attribute informations are encapsulated as
The metadata of UPnP protocol, can extend the intelligent terminal for being applicable the metadata, and then extend the media money that the present invention is provided
The scope of application of source method for pushing.
Further, because the details of media resource are included in ID3 attribute informations, by the way that unified resource is determined
Position symbol URL and ID3 attribute informations are encapsulated as metadata, enable to connect digital Media renderer DMR other Digital Medias
Controller DMC can obtain the metadata, and then obtain and show the ID3 attribute informations in the metadata, without passing through
DMR forwards the metadata for including ID3 attribute informations again, can reach more preferable compatibility.
It should be noted that the device in the embodiment of the present invention can be used for realizing whole skills in above method embodiment
Art scheme, the function of its each functional module can be implemented according to the method in above method embodiment, and it is implemented
Process can refer to the associated description in above-described embodiment, and here is omitted.
In embodiments of the present invention, by obtaining the uniform resource position mark URL of media resource to be transmitted;According to the system
One URLs URL, determines the media formats of the media resource to be transmitted;According to the media of the media resource to be transmitted
Form obtains the ID3 attribute informations of the media resource to be transmitted;By the uniform resource position mark URL and the ID3 attributes
Information encapsulation is metadata;The metadata is sent to digital Media renderer DMR, to cause the DMR according to the member
URL in data obtains the media resource to be transmitted;It is achieved thereby that regarding the media resource on internet as Digital Media
Server DMS resource supplying is played out to local digital Media renderer DMR;Further, the embodiment of the present invention
Compatibility is stronger, expands the scope of application of existing the Internet media resource supplying method, and without user configuring, simplify
The operation of user, be particularly suitable for use in family wireless share system.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be by it in several embodiments provided herein, it should be understood that disclosed apparatus and method
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces
Letter connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (8)
1. a kind of media resource method for pushing, it is characterised in that methods described includes:
Obtain the uniform resource position mark URL of media resource to be transmitted;
The ID3 attribute informations of the media resource to be transmitted are obtained according to the URL;
The uniform resource position mark URL and the ID3 attribute informations are encapsulated as metadata, wherein, the metadata is
The metadata of UPnP protocol;
The metadata is sent to digital Media renderer DMR, to cause URLs of the DMR in the metadata to obtain
Take the media resource to be transmitted;
It is described to be included according to the URL ID3 attribute informations for obtaining the media resource to be transmitted:
According to the uniform resource position mark URL, the media formats of the media resource to be transmitted are determined;
The ID3 attribute informations of the media resource to be transmitted are obtained according to the media formats of the media resource to be transmitted.
2. media resource method for pushing as claimed in claim 1, it is characterised in that described according to the URL
URL, determining the media formats of the media resource to be transmitted includes:
The media formats of the media resource to be transmitted are determined according to the suffix name of the uniform resource position mark URL.
3. media resource method for pushing as claimed in claim 1 or 2, it is characterised in that methods described also includes:
If the media formats of the media resource to be transmitted can not be determined according to the suffix name of uniform resource position mark URL, send out
The page stem request message HTTP HEAD of HTTP are sent, to determine whether uniform resource position mark URL is effective.
4. media resource method for pushing as claimed in claim 3, it is characterised in that methods described also includes:
When the uniform resource position mark URL is effective, the ID3 attribute informations of the media resource are used as default;
It is described that the uniform resource position mark URL and the ID3 attribute informations are encapsulated as metadata and included;
The uniform resource position mark URL and the ID3 attribute informations used as default are encapsulated as metadata.
5. a kind of media resource pusher, it is characterised in that described device includes:
First acquisition module, the uniform resource position mark URL for obtaining media resource to be transmitted;
Second acquisition module, the ID3 attribute informations for obtaining the media resource to be transmitted according to the URL;
Package module, for the uniform resource position mark URL and the ID3 attribute informations to be encapsulated as into metadata, wherein, institute
State the metadata that metadata is UPnP protocol;
Pushing module, for the metadata to be sent into digital Media renderer DMR, to cause the DMR according to the member
URL in data obtains the media resource to be transmitted;
Second acquisition module includes:
Determining unit, for according to the uniform resource position mark URL, determining the media formats of the media resource to be transmitted;
Acquiring unit, the ID3 for obtaining the media resource to be transmitted according to the media formats of the media resource to be transmitted
Attribute information.
6. media resource pusher as claimed in claim 5, it is characterised in that the determining unit specifically for:
The media formats of the media resource to be transmitted are determined according to the suffix name of the uniform resource position mark URL.
7. the media resource pusher as described in claim 5 or 6, it is characterised in that described device also includes:
Sending module, it is described to be passed for that can not be determined according to the suffix name of the uniform resource position mark URL in determining module
During the media formats of defeated media resource, the page stem request message HTTP HEAD of HTTP are sent, to determine system
Whether one URLs URL is effective.
8. media resource pusher as claimed in claim 7, it is characterised in that the package module is additionally operable to:
When the uniform resource position mark URL is effective, the ID3 attribute informations of the media resource are used as default;
The package module is additionally operable to:
The uniform resource position mark URL and the ID3 attribute informations used as default are encapsulated as metadata.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410721189.3A CN104469477B (en) | 2014-11-28 | 2014-11-28 | Media resource method for pushing and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410721189.3A CN104469477B (en) | 2014-11-28 | 2014-11-28 | Media resource method for pushing and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104469477A CN104469477A (en) | 2015-03-25 |
CN104469477B true CN104469477B (en) | 2017-08-11 |
Family
ID=52914729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410721189.3A Active CN104469477B (en) | 2014-11-28 | 2014-11-28 | Media resource method for pushing and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104469477B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117490A (en) * | 2015-09-21 | 2015-12-02 | 广东欧珀移动通信有限公司 | Method and device for displaying lyrics of song played by intelligent sound box |
CN106656938B (en) * | 2015-11-02 | 2020-03-03 | 腾讯科技(深圳)有限公司 | Streaming media file processing method and device |
CN105760181B (en) * | 2016-04-07 | 2020-03-17 | 深圳市百米生活股份有限公司 | Cross-code language development framework |
CN106028055A (en) * | 2016-05-20 | 2016-10-12 | 乐视控股(北京)有限公司 | Data processing method and device, and server |
CN106054641A (en) * | 2016-06-29 | 2016-10-26 | Tcl集团股份有限公司 | Method, apparatus, and system for turning on intelligent household appliance control interface |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101395603A (en) * | 2005-12-29 | 2009-03-25 | 索尼爱立信移动通讯股份有限公司 | Portable content sharing |
CN102665134A (en) * | 2012-04-05 | 2012-09-12 | 烽火通信科技股份有限公司 | Method for realizing DLNA media sharing by using set-top box |
CN103259861A (en) * | 2013-05-16 | 2013-08-21 | 深圳市共进电子股份有限公司 | Method and system for recording and watching network videos |
CN103338186A (en) * | 2013-06-05 | 2013-10-02 | 华为技术有限公司 | A content sharing method and an apparatus |
CN103414713A (en) * | 2013-08-05 | 2013-11-27 | 三星电子(中国)研发中心 | Method, device and DLNA device with access to cloud medium resource |
CN104010231A (en) * | 2014-04-30 | 2014-08-27 | 小米科技有限责任公司 | Data synchronizing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9451319B2 (en) * | 2010-12-17 | 2016-09-20 | Microsoft Technology Licensing, Llc | Streaming digital content with flexible remote playback |
-
2014
- 2014-11-28 CN CN201410721189.3A patent/CN104469477B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101395603A (en) * | 2005-12-29 | 2009-03-25 | 索尼爱立信移动通讯股份有限公司 | Portable content sharing |
CN102665134A (en) * | 2012-04-05 | 2012-09-12 | 烽火通信科技股份有限公司 | Method for realizing DLNA media sharing by using set-top box |
CN103259861A (en) * | 2013-05-16 | 2013-08-21 | 深圳市共进电子股份有限公司 | Method and system for recording and watching network videos |
CN103338186A (en) * | 2013-06-05 | 2013-10-02 | 华为技术有限公司 | A content sharing method and an apparatus |
CN103414713A (en) * | 2013-08-05 | 2013-11-27 | 三星电子(中国)研发中心 | Method, device and DLNA device with access to cloud medium resource |
CN104010231A (en) * | 2014-04-30 | 2014-08-27 | 小米科技有限责任公司 | Data synchronizing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104469477A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104469477B (en) | Media resource method for pushing and device | |
DE112010001170B4 (en) | Accessory device and mobile computing device communication using an application communication protocol | |
CN110245123B (en) | Microprocessor-based system for providing media player access to remotely stored digital media content | |
CN103038724B (en) | Communication control console with component aggregates | |
CN102710798B (en) | Browser expansion service based on real-time Communication for Power provides system and method | |
US20090063694A1 (en) | Multimedia Access Device, Multimedia Playing System Comprising the Multimedia Access Device, and Multimedia Data Playing Method | |
CN106330779B (en) | Server, physical switch, and communication system | |
CN102594879A (en) | Media content location awareness and decision making | |
US20120151012A1 (en) | Internet delivery of scheduled multimedia content | |
CN103974111B (en) | By the method, apparatus of the data transfer on intelligent terminal to television terminal | |
CN103259861A (en) | Method and system for recording and watching network videos | |
CN103716339A (en) | Multimedia sharing method, system and device | |
CN103190097B (en) | The method sent and receive the media information file for HTTP streaming | |
CN104503747A (en) | Database storage structure of APP (Application) production platform | |
US20100146123A1 (en) | Resource allocation method of each terminal apparatus using resource management system and resource management server apparatus | |
CN105824895A (en) | KTV song selection method and system | |
CN104244076A (en) | Method and system for simultaneously controlling multiple media devices in grouped mode through DLNA | |
CN104468494A (en) | Method and device for switching media playing device | |
CN102904891A (en) | Multimedia data sharing method and device and multimedia playing equipment | |
CN106484755A (en) | The method of asynchronous quick loading video thumbnails | |
EP2547038B1 (en) | Electronic device for managing a network and operating method of the same | |
CN104394125B (en) | A kind of mobile device shares the method and mobile device of multimedia file | |
CN105095216A (en) | Data assembling method and device and resource communication system | |
CN108632644A (en) | The methods of exhibiting and equipment of preview graph | |
CN103460710A (en) | Communication system, communication device, and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |