CN104080017B - A kind of method for playing tab file, apparatus and system - Google Patents
A kind of method for playing tab file, apparatus and system Download PDFInfo
- Publication number
- CN104080017B CN104080017B CN201410321607.XA CN201410321607A CN104080017B CN 104080017 B CN104080017 B CN 104080017B CN 201410321607 A CN201410321607 A CN 201410321607A CN 104080017 B CN104080017 B CN 104080017B
- Authority
- CN
- China
- Prior art keywords
- file
- dms
- dmc
- media file
- resource identifier
- 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
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present embodiments relate to technical field of mobile terminals, more particularly to a kind of method for playing tab file, apparatus and system.This method includes:DMC obtains the label information in tab file from DMS;For each filename in the label information, the universal resource identifier of the corresponding media file of file name is added in playlist with file name identical media file name, DMC if being found in the media file name in the affiliated file of the tab file being obtained ahead of time;DMC will need the universal resource identifier in the playlist played to be sent to the DMS, make the DMS by the corresponding media file transmitting of the universal resource identifier received to DMR, so that the DMR plays the media file received.This method enables DLNA device to play the corresponding media file of tab file.
Description
Technical field
The present embodiments relate to technical field of mobile terminals, more particularly to a kind of method for playing tab file, device
And system.
Background technology
The purpose of DLNA (Digital Living Network Alliance, DLNA) agreement is exactly
For " allow home computer, the equipment such as household electrical appliance and mobile phone, which can be realized, to interconnect ".DLNA agreements allow a number of units word matchmaker
Body renderer (Digital Media Renderer, DMR) directly accesses and plays digital media server in network
The media files such as image, sound or video resource in (Digital Media Server, DMS).
The former disk of CD is directly output as whole laser disc by the pursuit with people to lossless music, increasing user
Lossless music so that whole special edition All Files all in one file, in order to accurately find each bent position in file,
CUE (Cue Sheet, listing) file is also widely used and come.CUE files refer to Disc image (mirror image) secondary file or
Claim tab file, worked out according to text file format, as the index of imprinting when being mainly used in imprinting at the beginning of appearance, with
The popularization of CUE file formats, is gradually used by a user as the playlist of customization to use.
One CUE file can associate one or more audio files, and each audio file may include a song
Or several bent songs, such CUE files can serve as a song index to be used, wherein according to set form, note
Having recorded the track name of each song in the filename of the audio file to be associated, each audio file, time started (may
Have the end time), the information such as singer.
At present, existing DLNA device has been able to support audio, video and the picture format of most main flows, but for
The support of CUE files does not almost have, i.e. even lacks in current DLNA device and plays the corresponding media file of CUE files
Method.
The content of the invention
The method of tab file, apparatus and system are played the purpose of the present invention is to propose to a kind of, to enable DLNA device
Enough play the corresponding media file of tab file.
On the one hand, the invention provides a kind of method for playing tab file, including:
Digital media controller DMC obtains the label information in tab file from digital media server DMS;
For each filename in the label information, if in the affiliated file of the tab file being obtained ahead of time
Media file name in find with file name identical media file name, then DMC is by the corresponding media of file name
The universal resource identifier of file is added in playlist;
DMC will need the universal resource identifier in the playlist played to be sent to the DMS, make the DMS
Digital Media renderer DMR is given by the corresponding media file transmitting of the universal resource identifier received, so that the DMR is played
The media file received.
Another further aspect, the invention provides a kind of device for playing tab file, including:
Information acquisition unit, for obtaining the label information in tab file from digital media server DMS;
List edit unit, for for each filename in the label information, if in the mark being obtained ahead of time
Note the affiliated file of file in media file name in find with file name identical media file name, then by this article
The universal resource identifier of the corresponding media file of part name is added in playlist;
File transmitting element, it is described for the universal resource identifier in the playlist played will to be needed to be sent to
DMS, makes the DMS give digital Media renderer DMR by the corresponding media file transmitting of the universal resource identifier received, with
The DMR is set to play the media file received.
On the other hand, the invention provides it is a kind of play tab file system, including digital media controller DMC, with
The DMC follows the digital media server DMS and digital Media renderer DMR of same DLNA agreements, wherein,
The DMC is used for:The label information in tab file is obtained from digital media server DMS;For the mark
Each filename in information is remembered, if being looked into the media file name in the affiliated file of the tab file being obtained ahead of time
Find with file name identical media file name, then the universal resource identifier of the corresponding media file of file name is added
It is added in playlist;The universal resource identifier in the playlist played will be needed to be sent to the DMS;
The DMS is used for:The label information in the tab file is sent to the DMC;Receive what the DMC was sent
After universal resource identifier in the playlist, the corresponding media text of the universal resource identifier is sent to the DMR
Part;
The DMR is used for:Play the media file received.
The method of the broadcasting tab file provided in the embodiment of the present invention, apparatus and system so that DLNA device can be broadcast
Put the corresponding media file of tab file.DMC obtains the label information in tab file from DMS in the embodiment of the present invention, and
And for each filename in the label information, if can be in the affiliated file of the tab file being obtained ahead of time
File name is found in media file name, then by the universal resource identifier of the corresponding media file of file name to broadcasting
In list, and the DMS is set to push away the corresponding media file of universal resource identifier played the need in the playlist
DMR is given, so that the DMR plays the corresponding media file of the playlist.Therefore, DMC energy in the embodiment of the present invention
Enough label informations according to acquisition, control DMR plays the corresponding media file of the label information, i.e. in the embodiment of the present invention
DLNA device can play the corresponding media file of tab file.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding the embodiment of the present invention, constitutes the embodiment of the present invention
A part, does not constitute the restriction to the embodiment of the present invention.In the accompanying drawings:
Fig. 1 is that the method for the broadcasting tab file provided in first embodiment of the invention realizes flow chart;
Fig. 2 is that the method for the broadcasting tab file provided in second embodiment of the invention realizes flow chart;
Fig. 3 is that the method for the broadcasting tab file provided in fourth embodiment of the invention realizes flow chart;
Fig. 4 is the result schematic diagram of the device of the broadcasting tab file provided in fifth embodiment of the invention;
Fig. 5 is the result schematic diagram of the system of the broadcasting tab file provided in sixth embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment to the embodiment of the present invention carry out in further detail with complete explanation.It can manage
Solution, specific embodiment described herein is only used for explaining the embodiment of the present invention, rather than the restriction to the embodiment of the present invention.
It also should be noted that, for the ease of description, the part related to the embodiment of the present invention rather than entirely is illustrate only in accompanying drawing
Portion's content.
First embodiment:
Fig. 1 is that the method for the broadcasting tab file provided in first embodiment of the invention realizes flow chart, this method
Executive agent can be:Digital media controller (Digital Media Controller, DMC) in DLNA device.The reality
Existing flow includes:
Step 11, DMC obtain the label information in tab file from DMS.
Wherein, the filename of the label information in the tab file including the tab file media file to be associated,
The information such as title, time started and/or end time of each media item in each media file.One tab file can be with
A media file is associated, multiple media files can also be associated, the media file of the tab file association can be audio
File or, video file etc..
Wherein, the DMC obtains the label information in tab file from DMS, including:
A, the DMC are browsed and are shown the tab file in the DMS, when user selects the tab file of display, to
The DMS, which is sent, obtains instruction, the DMS is received the acquisition instruction, obtains instruction by the tab file according to described
In label information be packaged into extensible markup language form, and return to the label information of extensible markup language form.
Display setting is carried out to DMS in the embodiment of the present invention so that DMS can show tab file, i.e., after can showing
Sew for the file of " .cue ".DMC can be obtained by browse action and be shown the file of the affiliated file of the tab file in DMS
List, when user selects the tab file of display in this document list, DMC is sent to DMS obtains instruction, and DMS is received simultaneously
Response is described to be obtained instruction, the label information in tab file is packaged into extensible markup language (Extensible Markup
Language, XML) form, and return to the label information of XML format.
Wherein, the acquisition instruction can be to obtain label information instruction, and the acquisition instruction can be X_
GetCueInfo is instructed.
When user selects the tab file of display, DMC sends X_GetCueInfo custom instructions to DMS.
B, the DMC receive the label information for the extensible markup language form that the DMS is returned.
DMC receives the label information for the XML format that the DMS is returned, and the label information of the XML numbers of reception is preserved
In internal memory.
Step 12, for each filename in the label information, if belonging to the tab file being obtained ahead of time
Found in media file name in file with file name identical media file name, then DMC is by file name pair
The universal resource identifier (Uniform Resource Identifier, URI) for the media file answered is added to playlist
In.
DMC reads label information from internal memory, for each filename in the label information, judges be obtained ahead of time
The affiliated file of the tab file in media file name in whether there is and file name identical media file name
Claim, if in the presence of the URI of the corresponding media file of file name is added in playlist;Otherwise, file name is not entered
Row operation.
Wherein, the media file name in the affiliated file of the tab file is obtained ahead of time, can include:DMC passes through
Browse action obtains and shows the listed files of the file belonging to the tab file, and by the affiliated file of the tab file
The listed files of folder is stored in internal memory, and media file name that will be in the affiliated file of tab file is stored in internal memory
In.
Wherein, the universal resource identifier by the corresponding media file of file name is added in playlist, can
With including:
A, DMC send the request for obtaining the corresponding media file properties information of file name to the DMS, receive described
The attribute information for the corresponding media file of file name that DMS is returned.
DMC sends the request for obtaining the corresponding media file properties information of file name to DMS, DMS received after the request,
Attribute information corresponding with the request and return attribute information are obtained, DMC receives the corresponding media of file name that DMS is returned
The attribute information of file, wherein, the attribute information is DIDL forms (Digital Item Declaration Language, number
Word declarative language).
B, DMC parse the generic resource mark of the media file from the attribute information of the corresponding media file of file name
Know symbol, and the universal resource identifier is added in playlist.
DMC parses the universal resource identifier of the media file from the attribute information of the corresponding media file of file name
Symbol, and the URI of the media file is added in playlist.Each filename has been performed both by step 12 in label information
When, the brand-new playlist corresponding with the tab file of DMC generations.
Step 13, DMC will need the universal resource identifier in the playlist played to be sent to the DMS, make
The DMS to DMR, receives the corresponding media file transmitting of the universal resource identifier received so that the DMR is played
Media file.
DMC shows the media file in each URI in playlist, and the playlist that needs are played
URI is sent to DMS, and DMS is by the corresponding media file transmittings of the URI received to DMR, and DMR receives and played the matchmaker received
Body file.Wherein, the playlists that are shown by DMC play mode or user to DMC of URI for needing to play in playlist
Operation is determined.
Wherein, DMC will need the universal resource identifier in the playlist played to be sent to the DMS, make institute
DMS is stated by the corresponding media file transmitting of the universal resource identifier received to DMR, so that the DMR plays what is received
Media file, can include:If the DMC is played in order pattern, the DMC orders will be in the playlist it is logical
The DMS is sent to resource identifier, makes the DMS by the corresponding media file transmitting of the universal resource identifier received
To DMR, so that the DMR plays the media file received;If the DMC is shuffle play mode, the DMC is random
Universal resource identifier in the playlist is sent to the DMS, makes the DMS by the universal resource identifier received
Corresponding media file transmitting is accorded with to DMR, so that the DMR plays the media file received.
The play mode that DMC is selected according to itself, order or the random corresponding URI of media file played needing are sent out
DMS is given, DMS is by the corresponding media file transmittings of the URI received to DMR.
DMC can be obtained and shown in the method for the broadcasting tab file provided in first embodiment of the invention, DLNA device
Show the tab file in DMS, additionally it is possible to obtain the label information in tab file, DMC can also control DMR to play tab file
The mode of corresponding media file, i.e. DLNA device can play the corresponding media of tab file in first embodiment of the invention
File, so as to meet demand of the user to the media list of broadcasting CUE forms.
Second embodiment:
Fig. 2 is that the method for the broadcasting tab file provided in second embodiment of the invention realizes flow chart, the step
Executive agent can be:DMS in DLNA device.This realizes that flow includes:
Step 21, DMS send the label information in tab file to DMC.
Wherein, DMS sends the label information in tab file according to DMC control to DMC, including:DMS is according to DMC's
Control, receives from DMC and obtains instruction, is packaged into the label information in the tab file according to the acquisition instruction expansible
Markup language, and to DMC send extensible markup language form label information.
Wherein, the acquisition instruction can be to obtain label information instruction, and the acquisition instruction can be X_
GetCueInfo is instructed.
Universal resource identifier in the playlist that step 22, DMS receive needs broadcasting from DMC, obtains and receives
The corresponding media file of universal resource identifier arrived, and by the corresponding media file transmitting of the universal resource identifier to DMR,
So that the DMR plays the media file received.
Wherein, the universal resource identifier in the playlist that DMS receives needs broadcasting from DMC, acquisition is received
The corresponding media file of universal resource identifier, and by the corresponding media file transmitting of the universal resource identifier to DMR, with
The DMR is played the media file received, can include:When DMS is from DMC in the reception playlist of order
During universal resource identifier, the DMS orders by the corresponding media file of universal resource identifier in the playlist
DMR is pushed to, so that the DMR plays the media file received;When DMS receptions random from the DMC playlist
In universal resource identifier when, the DMS it is random by the corresponding media of universal resource identifier in the playlist
File push is to DMR, so that the DMR plays the media file received.
Mark text can be provided in the method for the broadcasting tab file provided in second embodiment of the invention in DLNA device
The corresponding media file of part, so as to meet demand of the user to the media list of broadcasting CUE forms.
3rd embodiment:
The executive agent of the method for the broadcasting tab file provided in third embodiment of the invention can be:In DLNA device
DMR.This method includes:
The corresponding media file of universal resource identifier in the playlist that DMR receives needs broadcasting from DMS, and play
The media file received.
DMR can play mark in the method for the broadcasting tab file provided in third embodiment of the invention, DLNA device
The corresponding media file of file, so as to meet demand of the user to the media list of broadcasting CUE forms.
Fourth embodiment:
Fig. 3 is that the method for the broadcasting tab file provided in fourth embodiment of the invention realizes flow chart.Such as Fig. 3 institutes
Show, this method includes:
Step 41, judge in the media file whether there is tab file, if in the presence of, continue executing with step 42, it is no
Then, step 47 is jumped to.
Media library allows to show tab file in DMS, that is, allows the file for showing suffix entitled " .cue ".User passes through
During media file in DMC selections DMS media library, if existed in listed files in the affiliated file of the media file
Last four characters are the URI of " .cue ", then there is tab file in the media file;Otherwise, in the media file not
There is tab file.
When DMC, which is detected, there is tab file in DMS, DMC obtains the file row of the affiliated file of tab file
Table information, and the listed files information of the affiliated file of tab file is saved in DMC internal memories.
Step 42, DMC send customized " X_GetCueInfo " instruction to DMS, if being successfully transmitted the self-defining operation,
Then continue executing with step 43;Otherwise, step 48 is jumped to.
Step 43, DMS are received and are responded customized " X_GetCueInfo " instruction, by the label information in tab file
XML format is packaged into, and the label information of XML format is sent to DMC.
For example, the label information in DMS in tab file is as follows:
Label information in tab file is packaged into after XML format, the label information of XML format is as follows:
If step 44, DMC are properly received the label information of XML format, step 45 is continued executing with;Otherwise, step is jumped to
Rapid 48.
Step 45, DMC parse the label information of XML format, the label information by XML format of order and obtains in advance
The listed files information of the affiliated file of tab file compares.
The matchmaker of filename and the affiliated file of tab file obtained in advance in the label information by XML format of order
Body file name compares.
The filename compared in successful label information is added to playlist by step 46, DMC according to comparison result.
For each filename in label information, if the media file name of the affiliated file of the tab file obtained in advance
Exist in title with file name identical media file name, then the category of the corresponding media file of file name is obtained from DMS
Property information, and parse from the attribute information URI of the corresponding media file of file name, by the URI parsed preserve to
In DMC playlists, completed until parsing is compared, the brand-new playlist corresponding with tab file of DMC generations.
Specifically, still by taking the label information enumerated in step 43 as an example, order by filename, " 001. loses-Mo Ming chesses
Wonderful .wma " and filename " 002. lose the-media text of the dream .wma " of capital one and the affiliated file of tab file obtained in advance
Part title compares, if be not present in the media file name of the affiliated file of tab file obtained in advance " 001. lose-
The bright wonderful .wma " of chess of ink, then audio not wonderful to entitled black bright chess do any operation, if belonging to the tab file obtained in advance
In the presence of " 002. loses the-dream .wma " of capital one, then by the audio text of the entitled dream of capital one in the media file name of file
The corresponding URI of part is added in playlist.
Step 47, DMC play the corresponding media files of URI in the playlist by the control of DLNA protocol rules.
Order randomly selects the corresponding media items of URI in playlist and pushes to DMR one by one and plays out.
Step 48, end operation.
Fourth embodiment of the invention provides one kind under Push patterns, by DMS, DMC, and DMR, which cooperates, to be completed to play
The function of CUE files.In traditional DLNA solutions, " .cue " file is not belonging to playable media file, therefore meeting
Filtered out by DMS media libraries, but in the present embodiment, DMS supports the display of " .cue " file, and DMC can be allowed to browse to this
File.DMC can according to DMS transmission come information this document is parsed, and then get each media item in CUE and exist
Address in DMS servers, the order then specified according to user pushes to DMR and played out one by one.
It is the device embodiment and system embodiment of the embodiment of the present invention below, the inventive method embodiment, device are implemented
Example and system embodiment belong to same design, and the detail content of not detailed description in device embodiment and system embodiment can
To refer to above method embodiment.
5th embodiment:
Fig. 4 is the structural representation of the device of the broadcasting tab file provided in fifth embodiment of the invention, such as Fig. 4 institutes
Show, the device described in the present embodiment can be the DMC in DLNA device.The device includes:
Information acquisition unit 51, for obtaining the label information in tab file from digital media server DMS;List
Edit cell 52, for for each filename in the label information, if belonging to the tab file being obtained ahead of time
Found in media file name in file with file name identical media file name, then it is file name is corresponding
The universal resource identifier of media file is added in playlist;File transmitting element 53, for that will need described in broadcasting
Universal resource identifier in playlist is sent to the DMS, makes the DMS by the universal resource identifier received correspondence
Media file transmitting give digital Media renderer DMR so that the DMR plays the media file that receives.
Wherein, described information acquiring unit 51 can specifically include:Transmission sub-unit is instructed, it is described for browsing and showing
Tab file in DMS, when user selects the tab file of display, sends to the DMS and obtains instruction, meet the DMS
Described obtain is received to instruct, the label information in the tab file is packaged into extensible markup language according to the acquisition instruction
Form, and return to the label information of extensible markup language form;Information receiving subelement, for receiving what the DMS was returned
The label information of extensible markup language form.
Wherein, the acquisition instruction can be to obtain label information instruction, and the acquisition instruction can be X_
GetCueInfo is instructed.
Wherein, the file transmitting element 53 can be specifically included:Order transmission sub-unit, if being suitable for the DMC
Sequence play mode, then order the universal resource identifier in the playlist is sent to the DMS, make the DMS will
The corresponding media file transmitting of universal resource identifier received is to DMR, so that the DMR plays the media text received
Part;Random transmission sub-unit, if being shuffle play mode for the DMC, it is random will be general in the playlist
Resource identifier is sent to the DMS, make the DMS by the corresponding media file transmitting of the universal resource identifier received to
DMR, so that the DMR plays the media file received.
Wherein, the list edit unit 52 can be specifically included:Transmission sub-unit is asked, for believing for the mark
Each filename in breath, if being found in media file name in the affiliated file of the tab file being obtained ahead of time
With file name identical media file name, then sent to the DMS and obtain the corresponding media file properties letter of file name
The request of breath, receives the attribute information for the corresponding media file of file name that the DMS is returned;List edit subelement, is used
In the universal resource identifier that the media file is parsed from the attribute information of the corresponding media file of file name, and by institute
Universal resource identifier is stated to be added in playlist.
The installation method of the broadcasting tab file provided by fifth embodiment of the invention, DMR can play tab file
Corresponding media file, so as to meet demand of the user to the media list of broadcasting CUE forms.
Sixth embodiment:
Fig. 5 is the structural representation of the system of the broadcasting tab file provided in sixth embodiment of the invention, such as Fig. 5 institutes
Show, the control system described in the present embodiment includes:DMC61 and the DMC follow the DMS62 and DMR63 of same DLNA agreements.
Wherein, the DMC61 can be used for:The label information in tab file is obtained from DMS62;For the mark
Each filename in information, if being searched in media file name in the affiliated file of the tab file being obtained ahead of time
To with file name identical media file name, then the universal resource identifier of the corresponding media file of file name is added
Into playlist;The universal resource identifier in the playlist played will be needed to be sent to the DMS62;
The DMS2 can be used for:The label information in the tab file is sent to the DMC61;Receive described
After universal resource identifier in the playlist that DMC61 is sent, the universal resource identifier is sent to the DMR63
Corresponding media file;
The DMR63 is used for:Play the media file received.
Wherein, the DMC obtains the label information in tab file from DMS, can specifically include:Browse and show institute
The tab file in DMS is stated, when user selects the tab file of display, is sent to the DMS and obtains instruction, make the DMS
Described obtain is received to instruct, the label information in the tab file is packaged into extensible markup language according to the acquisition instruction
Form is sayed, and returns to the label information of extensible markup language form;Receive the extensible markup language form that the DMS is returned
Label information.
The DMS specifically can be used for:DMS receives described obtain and instructs, obtains instruction by the mark text according to described
Label information in part is packaged into extensible markup language form, and returns to the label information of extensible markup language form.
Wherein, the acquisition instruction can be to obtain label information instruction, and the acquisition instruction can be X_
GetCueInfo is instructed.
Wherein, DMC will need the universal resource identifier in the playlist played to be sent to the DMS, make institute
State DMS and give digital Media renderer DMR by the corresponding media file transmitting of the universal resource identifier received, so that described
DMR plays the media file received, can specifically include:If the DMC is played in order pattern, the DMC orders
Universal resource identifier in the playlist is sent to the DMS, makes the DMS by the universal resource identifier received
Corresponding media file transmitting is accorded with to DMR, so that the DMR plays the media file received;If the DMC is shuffle
Pattern, then what the DMC was random is sent to the DMS by the universal resource identifier in the playlist, incites somebody to action the DMS
The corresponding media file transmitting of universal resource identifier received is to DMR, so that the DMR plays the media text received
Part.
The DMS specifically can be used for:Universal resource identifier from the reception playlist of DMC orders, will
The corresponding media file transmitting of universal resource identifier received is to DMR;From the reception playlists of DMC at random
Universal resource identifier, by the corresponding media file transmitting of the universal resource identifier received to DMR;
The DMR specifically can be used for:Received from DMS and play the corresponding media file of universal resource identifier.
Wherein, the universal resource identifier of the corresponding media file of file name is added in playlist by DMC, has
It can include:The DMC sends the request for obtaining the corresponding media file properties information of file name to the DMS, receives institute
State the attribute information of the corresponding media file of file name of DMS returns;The DMC is from the corresponding media file of file name
The universal resource identifier of the media file is parsed in attribute information, and the universal resource identifier is added to played column
In table.
The DMC specifically can be used for:Received from the DMC and obtain the corresponding media file properties information of file name
Request, returns to the attribute information of the corresponding media file of file name.
The apparatus system of the broadcasting tab file provided by sixth embodiment of the invention, can play tab file correspondence
Media file, so as to meet user to play CUE forms media list demand.
The preferred embodiment of the upper only embodiment of the present invention, is not intended to limit the invention embodiment, for ability
For field technique personnel, the embodiment of the present invention can have various changes and change.All spirit and principle in the embodiment of the present invention
Within any modifications, equivalent substitutions and improvements made etc., should be included within the protection domain of the embodiment of the present invention.
Claims (11)
1. a kind of method of broadcasting tab file applied to DLNA DLNA agreements, it is characterised in that including:
Digital media controller DMC obtains the label information in tab file, the mark text from digital media server DMS
Part is that the label information in CUE files, the tab file includes the filename of the tab file media file to be associated, institute
State the title of the media item of each in media file, and time started and/or end time;
For each filename in the label information, if the matchmaker in the affiliated file of the tab file being obtained ahead of time
Found in body file name with file name identical media file name, then DMC is by the corresponding media file of file name
Universal resource identifier be added in playlist;
DMC will need the universal resource identifier in the playlist played to be sent to the DMS, the DMS will be connect
The corresponding media file transmitting of universal resource identifier received gives digital Media renderer DMR, is received so that the DMR is played
The media file arrived.
2. according to the method described in claim 1, it is characterised in that DMC obtains the label information in tab file from DMS,
Including:
The DMC is browsed and is shown the tab file in the DMS, when user selects the tab file of display, to the DMS
Send and obtain instruction, the DMS is received the acquisition instruction, obtain instruction by the mark in the tab file according to described
Information-package returns to the label information of extensible markup language form into extensible markup language form;
The DMC receives the label information for the extensible markup language form that the DMS is returned.
3. method according to claim 2, it is characterised in that the acquisition instruction instructs to obtain label information, and institute
It is X_GetCueInfo instructions to state acquisition instruction.
4. the method according to claim any one of 1-3, it is characterised in that DMC will need the playlist of broadcasting
In universal resource identifier be sent to the DMS, make the DMS by the universal resource identifier received corresponding media text
Part is pushed to digital Media renderer DMR, so that the DMR plays the media file received, including:
If the DMC be played in order pattern, the DMC orders by the playlist universal resource identifier send out
The DMS is given, makes the DMS by the corresponding media file transmitting of the universal resource identifier received to DMR, so that described
DMR plays the media file received;
If the DMC is shuffle play mode, the DMC is random to send out the universal resource identifier in the playlist
The DMS is given, makes the DMS by the corresponding media file transmitting of the universal resource identifier received to DMR, so that described
DMR plays the media file received.
5. method according to claim 4, it is characterised in that the general money by the corresponding media file of file name
Source identifier is added in playlist, including:
The DMC sends the request for obtaining the corresponding media file properties information of file name to the DMS, receives the DMS
The attribute information of the corresponding media file of file name of return;
The DMC parses the universal resource identifier of the media file from the attribute information of the corresponding media file of file name
Symbol, and the universal resource identifier is added in playlist.
6. a kind of device of broadcasting tab file applied to DLNA DLNA agreements, it is characterised in that including:
Information acquisition unit, for obtaining the label information in tab file, the mark text from digital media server DMS
Part is that the label information in CUE files, the tab file includes the filename of the tab file media file to be associated, institute
State the title of the media item of each in media file, and time started and/or end time;
List edit unit, for for each filename in the label information, if in the mark text being obtained ahead of time
Found in media file name in the affiliated file of part with file name identical media file name, then by file name
The universal resource identifier of corresponding media file is added in playlist;
File transmitting element, for the universal resource identifier in the playlist played will to be needed to be sent to the DMS,
The DMS is set to give digital Media renderer DMR by the corresponding media file transmitting of the universal resource identifier received, so that institute
State DMR and play the media file received.
7. device according to claim 6, it is characterised in that described information acquiring unit is specifically included:
Transmission sub-unit is instructed, for browsing and showing the tab file in the DMS, when user selects the tab file of display
When, sent to the DMS and obtain instruction, the DMS is received the acquisition instruction, obtain instruction by the mark according to described
Label information in file is packaged into extensible markup language form, and returns to the label information of extensible markup language form;
Information receiving subelement, the label information for receiving the extensible markup language form that the DMS is returned.
8. device according to claim 7, it is characterised in that the acquisition instruction instructs to obtain label information, and institute
It is X_GetCueInfo instructions to state acquisition instruction.
9. the device according to claim any one of 6-8, it is characterised in that the file transmitting element is specifically included:
Order transmission sub-unit, if for the DMC be played in order pattern, order will be general in the playlist
Resource identifier is sent to the DMS, make the DMS by the corresponding media file transmitting of the universal resource identifier received to
DMR, so that the DMR plays the media file received;
Random transmission sub-unit, if being shuffle play mode for the DMC, it is random will be general in the playlist
Resource identifier is sent to the DMS, make the DMS by the corresponding media file transmitting of the universal resource identifier received to
DMR, so that the DMR plays the media file received.
10. device according to claim 9, it is characterised in that the list edit unit is specifically included:
Transmission sub-unit is asked, for for each filename in the label information, if in the mark being obtained ahead of time
Found in media file name in the affiliated file of file with file name identical media file name, then to described
DMS sends the request for obtaining the corresponding media file properties information of file name, receives the file name correspondence that the DMS is returned
Media file attribute information;
List edit subelement, for parsing the media file from the attribute information of the corresponding media file of file name
Universal resource identifier, and the universal resource identifier is added in playlist.
11. a kind of system of broadcasting tab file applied to DLNA DLNA agreements, it is characterised in that bag
Include:Digital media controller DMC and the DMC follow the digital media server DMS and Digital Media wash with watercolours of same DLNA agreements
Device DMR is contaminated, wherein,
The DMC is used for:The label information in tab file is obtained from digital media server DMS;The tab file is
Label information in CUE files, the tab file includes the filename of the tab file media file to be associated, the matchmaker
The title of each media item in body file, and time started and/or end time;For each in the label information
Filename, if being found and file name in media file name in the affiliated file of the tab file being obtained ahead of time
Identical media file name, then be added to playlist by the universal resource identifier of the corresponding media file of file name
In;The universal resource identifier in the playlist played will be needed to be sent to the DMS;
The DMS is used for:The label information in the tab file is sent to the DMC;Receive the described of the DMC transmissions
After universal resource identifier in playlist, the corresponding media file of the universal resource identifier is sent to the DMR;
The DMR is used for:Play the media file received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410321607.XA CN104080017B (en) | 2014-07-07 | 2014-07-07 | A kind of method for playing tab file, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410321607.XA CN104080017B (en) | 2014-07-07 | 2014-07-07 | A kind of method for playing tab file, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104080017A CN104080017A (en) | 2014-10-01 |
CN104080017B true CN104080017B (en) | 2017-07-14 |
Family
ID=51601024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410321607.XA Active CN104080017B (en) | 2014-07-07 | 2014-07-07 | A kind of method for playing tab file, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104080017B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104967921B (en) * | 2014-10-11 | 2018-03-27 | 广东欧珀移动通信有限公司 | The caption presentation method and system of a kind of audio frequency and video in DLNA communication process |
CN104394125B (en) * | 2014-11-07 | 2017-11-14 | 广东欧珀移动通信有限公司 | A kind of mobile device shares the method and mobile device of multimedia file |
CN104918099B (en) * | 2015-05-20 | 2018-11-23 | 广东欧珀移动通信有限公司 | A kind of multimedia timer playback method, terminal and system |
CN105392047B (en) * | 2015-10-09 | 2019-02-19 | Oppo广东移动通信有限公司 | The method, apparatus and system of acquisition media file applied to DLNA system |
CN113674724A (en) * | 2021-08-18 | 2021-11-19 | 青岛海信移动通信技术股份有限公司 | Method for generating analysis file of album file and terminal equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056277A (en) * | 2006-04-10 | 2007-10-17 | 三星电子株式会社 | Method for transferring a content in dlna system |
CN101594279A (en) * | 2008-05-29 | 2009-12-02 | 索尼株式会社 | Messaging device, information processing method, program and information processing system |
-
2014
- 2014-07-07 CN CN201410321607.XA patent/CN104080017B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056277A (en) * | 2006-04-10 | 2007-10-17 | 三星电子株式会社 | Method for transferring a content in dlna system |
CN101594279A (en) * | 2008-05-29 | 2009-12-02 | 索尼株式会社 | Messaging device, information processing method, program and information processing system |
Also Published As
Publication number | Publication date |
---|---|
CN104080017A (en) | 2014-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104080017B (en) | A kind of method for playing tab file, apparatus and system | |
US8266244B2 (en) | Method and apparatus for managing bookmark information for content stored in a networked media server | |
US7636509B2 (en) | Media data representation and management | |
US8484227B2 (en) | Caching and synching process for a media sharing system | |
US20100094834A1 (en) | Bridging in a media sharing system | |
US20090005141A1 (en) | Personalized Multiplayer Media Game or Quiz | |
CN101128880A (en) | Retrieving content items for a playlist based on universal content ID | |
JP2010146661A (en) | Terminal device and content data processing method | |
KR101805695B1 (en) | Method for Managing Media Content File Using NFC Card, Managing Server Used Thererin, and Media Being Recorded with Program Executing the Method | |
CN104078069A (en) | Method and equipment for playing file based on DLNA | |
JP6261129B2 (en) | Singing recommendation music information system | |
JP2010147507A (en) | Content reproducing unit | |
US20150340061A1 (en) | Method and device for reproducing content using screen composition information | |
KR101683551B1 (en) | Method for Managing Media Content File Using NFC Card, Managing Server Used Thererin, and Media Being Recorded with Program Executing the Method | |
CN104394125B (en) | A kind of mobile device shares the method and mobile device of multimedia file | |
CN104268208B (en) | A kind of method and device of centralized displaying file | |
CN105516794B (en) | The method and device of file read list is provided | |
US9489169B2 (en) | Method of substituting songs in a playlist | |
CN105845156A (en) | Control method of music playing system, device and system | |
KR101386753B1 (en) | Audio file playback terminal for playing audio and method for playing audio | |
CN101361314A (en) | Method and apparatus for providing dvd content with rendering device in UPnP network | |
JP2005327042A (en) | Musical piece retrieval system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
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 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |