CN103763303A - Method and device for drama series playing - Google Patents

Method and device for drama series playing Download PDF

Info

Publication number
CN103763303A
CN103763303A CN201310711842.3A CN201310711842A CN103763303A CN 103763303 A CN103763303 A CN 103763303A CN 201310711842 A CN201310711842 A CN 201310711842A CN 103763303 A CN103763303 A CN 103763303A
Authority
CN
China
Prior art keywords
collection
multimedia file
time length
residual time
drama
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.)
Granted
Application number
CN201310711842.3A
Other languages
Chinese (zh)
Other versions
CN103763303B (en
Inventor
鲁伟
彭闻宇
崔俊昌
刘坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing small mutual Entertainment Technology Co., Ltd.
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310711842.3A priority Critical patent/CN103763303B/en
Publication of CN103763303A publication Critical patent/CN103763303A/en
Application granted granted Critical
Publication of CN103763303B publication Critical patent/CN103763303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and device for drama series playing. The method includes the steps that a DMC detects residual playing duration of a current multimedia file episode of DMR; if the residual playing duration of the current multimedia file episode is smaller than or equal to first residual duration, index identification of a next multimedia file episode in the same drama series is utilized to determine the playing address of the next multimedia file episode, and the playing address of the next multimedia file episode is sent to the DMR, and then the DMR adds the playing address of the next multimedia file episode into a playing list. By the adoption of the method and device, users do not need to manually select the content of the next episode to continuously play the drama series, user operations are reduced, and overall watching experience is improved.

Description

A kind of method and apparatus of playing collection of drama
[technical field]
The present invention relates to Computer Applied Technology field, particularly a kind of method and apparatus of playing collection of drama.
[background technology]
DLNA(Digital Living Network Alliance, DLNA) be an alliance organization being formed by consumer electronics, mobile phone and manufacturer computer, the target of this tissue be to create a set of can be so that the product of each manufacturer be connected to each other, the industrial standard adapting to mutually, thus realize Digital Life for consumer.
The DLNA for family relation occurring recently mainly comprises following equipment:
DMS(Digital Media Servier, digital media server), be responsible for providing that media obtain, record, storage and output function.
DMR(Digitial Media Render, Digital Media rendering apparatus), after other equipment configurations, after can obtaining content on DMS and playing up, by apparatus for media playing such as TV, display, play.
DMC(Digital Media Controller, Digital Media controller), be responsible for searching the content of DMS and control the broadcasting that DMR carries out media.DMC equipment can be intelligent terminals such as mobile phone, panel computer.In addition, DMR also can play the Digital Media of DMC this locality.
Family DLNA typical case application scenarios is: user can control DMR by DMC and obtain the Internet video on DMS, and DMR projects the video obtaining such as playing on the apparatus for media playing such as TV.For example DMR obtains video playback address by DLNA from DMC, then by HDMI(High Definition Multimedia Interface, and HDMI (High Definition Multimedia Interface)) on apparatus for media playing, play.
When user watches collection of drama, the broadcast address when last collection video that will play by DMC sends to DMR, DMR plays when last collection video on apparatus for media playing, when this collection video playback finishes, if user wants to continue to play next the collection video in this collection of drama, just need to manually select next collection video by DMC, and the broadcast address of next collection video is sent to DMR, DMR plays next collection video on apparatus for media playing, as shown in Figure 1.Obviously, operate more complicated and trouble of this mode.
[summary of the invention]
In view of this, the invention provides a kind of method and apparatus of playing collection of drama, so that realize the automatic chain broadcast of collection of drama.
Concrete technical scheme is as follows:
A method of playing collection of drama, the method comprises:
The controller DMC of Digital Media detects the rendering apparatus DMR of Digital Media when the broadcasting residual time length of last collection multimedia file;
If when the broadcasting residual time length of last collection multimedia file is less than or equal to the first residual time length, utilize the collection of drama index sign of next collection multimedia file in same collection of drama to determine that next collects the broadcast address of multimedia file, and the broadcast address of next collection multimedia file is sent to described DMR, for described DMR, the broadcast address of next collection multimedia file is added in playlist.
One preferred implementation according to the present invention, described DMC detects DMR and specifically comprises when the broadcasting residual time length of last collection multimedia file:
Described DMC periodically carries and detects the request mark of playing residual time length in DLNA DLNA heartbeat message, receives the DLNA heartbeat message of playing residual time length that comprises of described DMR reply; Or,
Described DMC periodically carries and detects the request mark of playing residual time length in DLNA heartbeat message, receive described DMR and determine the DLNA heartbeat message of playing residual time length that comprises of replying when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, described the second residual time length is more than or equal to described the first residual time length; Or,
Described DMC receives the synchronous total duration when last collection multimedia file of described DMR, according to described total duration, determine when the broadcasting residual time length of last collection video is less than or equal to the 3rd residual time length, in DLNA heartbeat message, periodically carry and detect the request mark of playing residual time length, the DLNA heartbeat message of playing residual time length that comprises that receives described DMR reply, described the 3rd residual time length is more than or equal to described the first residual time length.
One preferred implementation according to the present invention, the sign of the collection of drama index when last collection video that the collection of drama index sign of described next collection multimedia file is synchronously come according to described DMR by described DMC is determined.
One preferred implementation according to the present invention, the described collection of drama index sign of next collection multimedia file in same collection of drama of utilizing determines that the broadcast address of next collection multimedia file specifically comprises:
Described DMC sends to digital media server DMS by the collection of drama index sign of described next stage multimedia file, and receives the broadcast address of the next stage multimedia file that described DMS returns; Or,
Described DMC according to the collection of drama index sign of described next stage multimedia file determine next stage multimedia file in the address of described DMC this locality as broadcast address.
One preferred implementation according to the present invention, if described DMC sends to the collection of drama index sign of described next stage multimedia file after DMS, in setting duration, do not receive the broadcast address of the next stage multimedia file that described DMS returns, again the collection of drama index sign of described next stage multimedia file is sent to DMS, the collection of drama index sign that sends described next stage multimedia file if repeat for N time is not received the broadcast address of described next stage multimedia file yet, process ends, described N is default positive integer.
One preferred implementation according to the present invention, the method also comprises:
The broadcast address of the multimedia file that described DMC selects user according to user's selection sends to described DMR, so that the broadcast address of the multimedia file that described DMR selects user is put into the first place of described playlist.
The present invention also provides a kind of method of playing collection of drama, and the method comprises:
DMR sends to DMC by the broadcasting residual time length when last collection multimedia file;
Receive the broadcast address of next collection multimedia file in the same collection of drama that described DMC sends and be added in playlist; The broadcast address of wherein said next collection multimedia file is that described DMC determines and to send when the broadcasting residual time length of last collection multimedia file is less than or equal to the first residual time length.
One preferred implementation according to the present invention, described DMR sends to DMC specifically to comprise the broadcasting residual time length when last collection multimedia file:
Described DMR receives that described DMC sends while carrying the DLNA heartbeat message that detects the request mark of playing residual time length, to described DMC, replys and comprises the DLNA heartbeat message of playing residual time length; Or,
Described DMR receives that described DMC sends while carrying the DLNA heartbeat message that detects the request mark of playing residual time length, if when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length, described the second residual time length is more than or equal to described the first residual time length; Or,
Described DMR is to described DMC synchronously when total duration of last collection multimedia file, receive that described DMC sends carry the DLNA heartbeat message that detects the request mark of playing residual time length time, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length.
One preferred implementation according to the present invention, the method also comprises:
Described DMR, to described DMC synchronously when the collection of drama index sign of last collection video, determines the collection of drama index sign of next collection multimedia file for described DMC.
One preferred implementation according to the present invention, the method also comprises:
If described DMR receives the broadcast address of the multimedia file that user that described DMC sends selects, the broadcast address of the multimedia file of described user being selected is put into the first place of described playlist.
The present invention also provides a kind of device of playing collection of drama, is arranged in DMC, and this device comprises:
Duration detecting unit, the broadcasting residual time length for detection of DMR when last collection multimedia file;
Address determining unit, if the broadcasting residual time length detecting when last collection multimedia file for described duration detecting unit is less than or equal to the first residual time length, utilize the broadcast address of definite next the collection multimedia file of collection of drama index sign of next collection multimedia file in same collection of drama;
Address transmitting element, for the broadcast address of next collection multimedia file is sent to described DMR, is added into the broadcast address of next collection multimedia file in playlist for described DMR.
One preferred implementation according to the present invention, described duration detecting unit, detects specifically for periodically carrying in DLNA heartbeat message the request mark of playing residual time length, receives the DLNA heartbeat message of playing residual time length that comprises of described DMR reply; Or, in DLNA heartbeat message, periodically carry and detect the request mark of playing residual time length, receive described DMR and determine the DLNA heartbeat message of playing residual time length that comprises of replying when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, described the second residual time length is more than or equal to described the first residual time length; Or, receive the synchronous total duration when last collection multimedia file of described DMR, according to described total duration, determine when the broadcasting residual time length of last collection video is less than or equal to the 3rd residual time length, in DLNA heartbeat message, periodically carry and detect the request mark of playing residual time length, the DLNA heartbeat message of playing residual time length that comprises that receives described DMR reply, described the 3rd residual time length is more than or equal to described the first residual time length.
One preferred implementation according to the present invention, described address determining unit, also identifies for the collection of drama index when last collection video synchronously coming according to described DMR the collection of drama index sign of determining next collection multimedia file.
One preferred implementation according to the present invention, when the collection of drama index of described address determining unit next collection multimedia file in utilizing same collection of drama identifies the broadcast address of determining next collection multimedia file, specifically for the collection of drama index sign of described next stage multimedia file is sent to DMS, and receive the broadcast address of the next stage multimedia file that described DMS returns, or, according to the collection of drama index sign of described next stage multimedia file determine next stage multimedia file in the address of described DMC this locality as broadcast address.
One preferred implementation according to the present invention, if described address determining unit sends to the collection of drama index sign of described next stage multimedia file after DMS, in setting duration, do not receive the broadcast address of the next stage multimedia file that described DMS returns, again the collection of drama index sign of described next stage multimedia file is sent to DMS, the collection of drama index sign that sends described next stage multimedia file if repeat for N time is not received the broadcast address of described next stage multimedia file yet, process ends, described N is default positive integer.
One preferred implementation according to the present invention, this device also comprises:
User's trigger element, for obtaining user's selection;
Described address determining unit, also for determining the broadcast address of the multimedia file that described user selects;
Described address transmitting element, also for sending to described DMR by the broadcast address of the multimedia file of described user's selection, so that the broadcast address of the multimedia file that described DMR selects user is put into the first place of described playlist.
The present invention also provides a kind of device of playing collection of drama, is arranged at DMR, and this device comprises:
Duration provides unit, for the broadcasting residual time length when last collection multimedia file is sent to DMC;
Address receiving element, for receiving the broadcast address of next collection multimedia file of same collection of drama that described DMC sends and being added in playlist; The broadcast address of wherein said next collection multimedia file is that described DMC determines and to send when the broadcasting residual time length of last collection multimedia file is less than or equal to the first residual time length.
One preferred implementation according to the present invention, described duration provides unit, specifically for receive that described DMC sends carry the DLNA heartbeat message that detects the request mark of playing residual time length time, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length; Or, receive that described DMC sends carry the DLNA heartbeat message that detects the request mark of playing residual time length time, if when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length, described the second residual time length is more than or equal to described the first residual time length; Or, to described DMC synchronously when total duration of last collection multimedia file, receive that described DMC sends carry the DLNA heartbeat message that detects the request mark of playing residual time length time, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length.
One preferred implementation according to the present invention, this device also comprises:
Sign lock unit, for to described DMC synchronously when the collection of drama index sign of last collection video, determines the collection of drama index sign of next collection multimedia file for described DMC.
One preferred implementation according to the present invention, described address receiving element, if also, for receiving the broadcast address of the multimedia file that user that described DMC sends selects, the broadcast address of the multimedia file of described user being selected is put into the first place of described playlist.
As can be seen from the above technical solutions, the content that method and apparatus provided by the invention manually selects to play next collection without user can realize the continuous broadcasting of collection of drama, has reduced user's operation, has promoted whole viewing experience.
[accompanying drawing explanation]
Fig. 1 is the method schematic diagram of playing collection of drama in prior art;
The method flow diagram of the broadcasting collection of drama that Fig. 2 provides for the embodiment of the present invention one;
The structure drawing of device of the broadcasting collection of drama that Fig. 3 provides for the embodiment of the present invention two;
The structure drawing of device of the broadcasting collection of drama that Fig. 4 provides for the embodiment of the present invention three.
[embodiment]
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the drawings and specific embodiments, describe the present invention.
It should be noted that, the collection of drama in the embodiment of the present invention refers to a series of multimedia files that are mutually related in content, and each collection multimedia file has common collection of drama title conventionally, but has successional rule in numbering.For example each in TV play collects: the The Romance of the Three Kingdoms the 1st collection, the The Romance of the Three Kingdoms the 2nd collection, the The Romance of the Three Kingdoms the 3rd collection etc., again for example with a series of program: Kangxu has come 131202, Kangxu has come 131203, Kangxu has come 131204 etc., more for example a film carried out to 3 parts that form after cutting: Titanic part1, Titanic part2, Titanic part3.But it should be noted that, the collection of drama in the present invention is not limited to the multimedia file of video type, applicable equally for the broadcast program such as continuous, audio frequency playlet etc.
Embodiment mono-,
The method flow diagram of the broadcasting collection of drama that Fig. 2 provides for the embodiment of the present invention one, in the present embodiment, DMC be take mobile phone as example, multimedia file be take video as example, apparatus for media playing be take TV as example, DMR be take shadow rod as example, and the present invention is not limited to the concrete form of DMR certainly, also can adopt the equipment of other forms.As shown in Figure 2, the method can comprise the following steps:
201: mobile phone sends to shadow rod according to user's selection by the user-selected broadcast address when last collection video and when the video name of last collection video, wherein in this video name, comprises collection of drama title and collection of drama numbering.
When user manually selects to play a certain collection video on mobile phone, mobile phone can send to DMS by the video name of user-selected video (comprising collection of drama title and collection of drama numbering), and from DMS, receives the broadcast address of the user-selected video returning.
For example, user selects to play " The Romance of the Three Kingdoms the 1st collection " on mobile phone, mobile phone sends to DMS by " The Romance of the Three Kingdoms the 1st collection ", and DMS returns to mobile phone through inquiry by the broadcast address of " The Romance of the Three Kingdoms the 1st collection ", then by mobile phone, the broadcast address of " The Romance of the Three Kingdoms the 1st collection " is sent to shadow rod.
Also have a kind of situation, user selects to play a certain collection video of mobile phone this locality, and the last collection video of working as that now mobile phone can be selected user sends to shadow rod in the address of mobile phone this locality as broadcast address.
202: shadow rod obtains when last collection video according to the broadcast address receiving, and offer TV and play.
If when the last collection video video that is DMS, shadow rod obtains when last collection video from DMS according to the broadcast address receiving, and offer TV and play, shown in Fig. 2 is this kind of implementation.If when the last collection video video that is mobile phone this locality, shadow rod obtains when last collection video from mobile phone according to the broadcast address receiving, and offer TV and play.
The application scenarios of the embodiment of the present invention is mainly used in, and shadow rod Real-time Obtaining video flowing also offers the mode that TV is play, and the fluency in order to guarantee to play, also can take some such as the mode of pre-buffering certainly.But for shadow rod download video stream offer mode the present invention that TV plays and support equally in advance.
203: mobile phone detects shadow rod when the broadcasting residual time length of last collection video, if work as the broadcasting residual time length of last collection video, is less than or equal to the first residual time length, carries out 204.
In order to guarantee the connection between mobile phone and shadow rod, coming the connection between detection of handset and shadow rod whether to disconnect by transmission DLNA heartbeat message between mobile phone and shadow rod, if disconnected, re-establish connection.In this step, can utilize DLAN heartbeat message to work as the broadcasting residual time length of last collection video.Main but be not limited to following several implementation:
First kind of way: mobile phone periodically carries and detects the request mark of playing residual time length in DLNA heartbeat message, and shadow rod receives after the DLNA heartbeat message that comprises this request mark, replys and comprises the DLNA heartbeat message of playing residual time length.
The second way: mobile phone periodically carries and detects the request mark of playing residual time length in DLNA heartbeat message.Shadow rod receives after the DLNA heartbeat message that comprises this request mark, can do by myself and do a judgement, if play residual time length, be less than or equal to the second residual time length, reply and comprise the DLNA heartbeat message of playing residual time length again, if play residual time length, be greater than the second residual time length, can reply and not comprise the DLNA heartbeat message of playing residual time length.This second residual time length is more than or equal to the first residual time length.
Give an example, mobile phone periodically carries and detects the request mark of playing residual time length in DLNA heartbeat message, shadow rod receives after the DLNA heartbeat message that comprises this request mark, if determine that the broadcasting residual time length when last collection video starts to be less than 6 minutes, just start reply and comprise the DLNA heartbeat message of playing residual time length.If the broadcasting residual time length of carrying in the DLNA heartbeat message that mobile phone receives is less than or equal to 5 minutes, the broadcast address of next collection video is sent to shadow rod.
The third mode: shadow rod is when obtaining when last collection video, total duration information when last collection video can be synchronized to mobile phone, mobile phone can be play estimating of residual time length according to total duration information, when the residual time length of estimating when mobile phone is less than or equal to the 3rd residual time length, in DLNA heartbeat message, periodically carry again and detect the request mark of playing residual time length, shadow rod receives after the DLNA heartbeat message that comprises this request mark, replys and comprises the DLNA heartbeat message of playing residual time length.The 3rd residual time length is more than or equal to the first residual time length.
Give an example, shadow rod is when obtaining when last collection video, total duration information when last collection video can be synchronized to mobile phone, it is for example 40 minutes, mobile phone can be estimated playing residual time length, when the residual time length of estimating when mobile phone is less than or equal to 10 minutes, starts periodically to carry in DLNA heartbeat message and detects the request mark of playing residual time length, shadow rod receives after the DLNA heartbeat message that comprises this request mark, replys and comprises the DLNA heartbeat message of playing residual time length.If the broadcasting residual time length that mobile phone receives is less than or equal to 5 minutes, the broadcast address of next collection video is sent to shadow rod.
The above-mentioned second way and the third mode first kind of way of comparing, has reduced the network between mobile phone and shadow rod has been taken.
204: mobile phone is determined the collection of drama index id of next collection in same collection of drama according to the collection of drama index id when last collection video.
For the collection of drama of TV play class, conventionally the mode that respectively collects collection of drama numbering employing serial number in video, and be not that all collection of dramas are not always the case, such as variety show class collection of drama, what collection of drama numbering adopted conventionally is to play the date, and play the date, be not likely successional, if adopt collection of drama numbering to be difficult to determine exactly the collection of drama numbering of next stage video.But in most cases, respectively collect video council and have index id in a series of collection of dramas, index id is present in video inside, and the index id in same collection of drama is serial number, shadow rod can obtain index id information when getting video conventionally.Therefore, in embodiments of the present invention, shadow rod, when getting when last collection video, can be synchronized to mobile phone by the index id when last collection video, and mobile phone utilization collects the index id of video when the index id of last collection video determines next.
Certainly, if broadcasting is the video of mobile phone this locality, mobile phone itself just can obtain the index id that respectively collects video, synchronous without carrying out.
205: mobile phone sends to DMS by the collection of drama index id of next collection video, and receive the broadcast address of next collection video that DMS returns.
If collection of drama is the video from DMS, the collection of drama index id that mobile phone can collect next video sends to DMS, to ask the broadcast address of next collection video; If collection of drama is local from mobile phone, the collection of drama index id that mobile phone can collect video according to next determine next collection video in the address of mobile phone this locality as broadcast address.The video of playing from DMS of take in Fig. 2 is example.
206: mobile phone sends to shadow rod by the broadcast address of next collection video and video name.
It should be noted that, in embodiments of the present invention, it is mainly for shadow rod, to carry out the demonstration of playlist that mobile phone sends to the object of shadow rod by video name, is not that the present invention is necessary.
207: shadow rod is added into broadcast address and the video name of next collection video in video play lists.
This step shadow rod can collect next the broadcast address of video and video name and join in video play lists after last collection video.After finishing when last collection video playback, shadow rod will automatically obtain next collection video according to the broadcast address of next collection video and control TV and automatically play next collection video like this.
After this, shadow rod offers the in progress video of TV just as when last collection video, goes to 203 and starts to move in circles.If in 205, mobile phone cannot receive the broadcast address of next collection video from DMS, and this may be because the reasons such as network or equipment cause, and mobile phone can repeat 205 with request broadcast address.For example, if but repetitive requests still cannot receive the broadcast address of next collection video for N time, N is default positive integer, gets 3, is likely that collection of drama finishes, there is not next collection, now can process ends.
If in carrying out the process of above-mentioned flow process, mobile phone receives the video that user selects, interrupt above-mentioned flow process, preferential answering user's selection, be that mobile phone can send to shadow rod by the broadcast address of the video of user's selection, in order to distinguish video that user selects or the video of chain broadcast automatically, can in the message that sends video playback address, carry a flag bit, whether be used to indicate is the video that user selects, if this flag bit indication is the video that user selects, shadow rod obtains video immediately according to the broadcast address of this video, this video being put into the first place of playlist plays.
Be more than the detailed description that method provided by the present invention is carried out, below by embodiment bis-and tri-pairs of devices provided by the invention of embodiment, be described in detail.
Embodiment bis-,
The structure drawing of device of the broadcasting collection of drama that Fig. 3 provides for the embodiment of the present invention two, this device is arranged in DMC, for realizing the performed flow process of embodiment mono-DMC.As shown in Figure 3, this device can comprise: duration detecting unit 31, address determining unit 32 and address transmitting element 33.
Wherein duration detecting unit 31 is responsible for detecting DMR when the broadcasting residual time length of last collection multimedia file.
If the broadcasting residual time length that duration detecting unit 31 detects when last collection multimedia file is less than or equal to the first residual time length, address determining unit 32 utilizes the collection of drama index sign of next collection multimedia file in same collection of drama to determine the broadcast address of next collection multimedia file.
The concrete detection mode adopting of duration detecting unit 31 can include but not limited to following several:
First kind of way: duration detecting unit 31 periodically carries and detects the request mark of playing residual time length in DLNA heartbeat message, receives the DLNA heartbeat message of playing residual time length that comprises of DMR reply.
The second way: duration detecting unit 31 periodically carries and detects the request mark of playing residual time length in DLNA heartbeat message, receive DMR and determine the DLNA heartbeat message of playing residual time length that comprises of replying when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, the second residual time length is more than or equal to the first residual time length.
The third mode: duration detecting unit 31 receives the synchronous total duration when last collection multimedia file of DMR, according to total duration, determine when the broadcasting residual time length of last collection video is less than or equal to the 3rd residual time length, in DLNA heartbeat message, periodically carry and detect the request mark of playing residual time length, the DLNA heartbeat message of playing residual time length that comprises that receives DMR reply, the 3rd residual time length is more than or equal to the first residual time length.
The above-mentioned second way and the third mode first kind of way of comparing, has reduced the network between DMC and DMR has been taken.
Address transmitting element 33, for the broadcast address of next collection multimedia file is sent to DMR, is added into the broadcast address of next collection multimedia file in playlist for DMR.
Further, the sign of the collection of drama index when last collection multimedia file that address determining unit 32 can also synchronously be come according to DMR is determined the collection of drama index sign of next collection multimedia file, this situation is for the multimedia file in DMS, file for DMC this locality, what without the collection of drama index of working as last collection multimedia file, identify is synchronous, and DMC itself can obtain.
If collection of drama is the multimedia file from DMS, address determining unit 32 can send to DMS by the collection of drama index sign of next stage multimedia file, and receives the broadcast address of the next stage multimedia file that DMS returns.
If collection of drama is the multimedia file from DMC this locality, address determining unit 32 can according to the collection of drama index sign of next stage multimedia file determine next stage multimedia file in the address of DMC this locality as broadcast address.
In addition, except broadcast address, DMC can also send to DMR by the title of multimedia file, so that DMR shows in playlist.
If address determining unit 32 sends to the collection of drama index sign of next stage multimedia file after DMS, in setting duration, do not receive the broadcast address of the next stage multimedia file that DMS returns, this may be because the reasons such as network or equipment cause, again the collection of drama index sign of next stage multimedia file is sent to DMS, the collection of drama index sign that sends next stage multimedia file if repeat for N time is not received the broadcast address of next stage multimedia file yet, may be that collection of drama finishes, there is not next collection, end operation, N is default positive integer.
This device mode that still compatible user selects multimedia file to play that the embodiment of the present invention provides, and which preferentially meets with a response.Now, this device also comprises: user's trigger element 34, the selection of being responsible for obtaining user.Then address determining unit 32 is determined the broadcast address of the multimedia file that user selects, if user's selection is the multimedia file of DMC this locality, determines that this multimedia file is in the address of DMC this locality; If what user selected is the multimedia file of DMS, the title of the multimedia file of user being selected sends to DMS, and obtains the broadcast address that DMS returns.The broadcast address of the multimedia file that address transmitting element 33 is selected user sends to DMR, so that DMR puts into the broadcast address of multimedia file the first place of playlist.
The broadcast address that sends to DMR in order to distinguish is the multimedia file selected of user or the multimedia file of chain broadcast automatically, can in the message that sends video playback address, carry a flag bit, whether be used to indicate is the multimedia file that user selects, if this flag bit indication is the multimedia file that user selects, DMR just puts into the broadcast address of multimedia file the first place of playlist.
Embodiment tri-,
The structure drawing of device of the broadcasting collection of drama that Fig. 4 provides for the embodiment of the present invention three, this device is arranged at DMR, can be for completing the performed operation of DMR in embodiment mono-, as shown in Figure 4, this device comprises: duration provides 41He address, unit receiving element 42, can also comprise sign lock unit 43.
Duration provides unit 41 to be responsible for the detection of response DMC, and the broadcasting residual time length when last collection multimedia file is sent to DMC.DMC determines when the broadcasting residual time length of last collection multimedia file is less than or equal to the first residual time length, the broadcast address of next collection multimedia file can be sent to DMR, now, in the same collection of drama that receiving element 42 reception DMC in address send, next collects the broadcast address of multimedia file and is added in playlist.After finishing when last collection multimedia file, just can start to play next collection multimedia file like this.
Wherein, the mode that duration provides unit 41 to send broadcasting residual time length can adopt but be not limited to following several:
First kind of way: duration provides that unit 41 receives that DMC sends while carrying the DLNA heartbeat message that detects the request mark of playing residual time length, replys and comprises the DLNA heartbeat message of playing residual time length to DMC.
The second way: duration provides that unit 41 receives that DMC sends while carrying the DLNA heartbeat message that detects the request mark of playing residual time length, if when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, to DMC, reply and comprise the DLNA heartbeat message of playing residual time length, the second residual time length is more than or equal to the first residual time length.
The third mode: duration provides unit 41 synchronously to work as total duration of last collection multimedia file to DMC, DMC can estimate the broadcasting residual time length when last collection video according to this total duration, if the broadcasting residual time length when last collection video of estimating is less than or equal to the 3rd residual time length, can in DLNA heartbeat message, periodically carries and detect the request mark of playing residual time length.Now duration provides unit 41 to receive the DLNA heartbeat message that carries the request mark that detects broadcasting residual time length that DMC sends, and to DMC, replys and comprises the DLNA heartbeat message of playing residual time length.
Sign lock unit 43 is responsible for, to DMC synchronously when the collection of drama index sign of last collection video, determining the collection of drama index sign of next collection multimedia file for DMC.
This device mode that still compatible user selects multimedia file to play that the embodiment of the present invention provides, and which preferentially meets with a response.If now address receiving element 42 receives the broadcast address of the multimedia file that user that DMC sends selects, the broadcast address of the multimedia file of selecting according to user is put into the first place of playlist.
The broadcast address that sends to DMR in order to distinguish DMC is the multimedia file selected of user or the multimedia file of chain broadcast automatically, can in the message that sends video playback address, carry a flag bit, whether be used to indicate is the multimedia file that user selects, if this flag bit indication is the multimedia file that user selects in the broadcast address place message of the multimedia file that DMR receives, DMR just puts into the broadcast address of multimedia file the first place of playlist.
In several embodiment provided by the present invention, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematically, and for example, the division of described unit, is only that a kind of logic function is divided, and during actual realization, can have other dividing mode.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CDs.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (20)

1. a method of playing collection of drama, is characterized in that, the method comprises:
The controller DMC of Digital Media detects the rendering apparatus DMR of Digital Media when the broadcasting residual time length of last collection multimedia file;
If when the broadcasting residual time length of last collection multimedia file is less than or equal to the first residual time length, utilize the collection of drama index sign of next collection multimedia file in same collection of drama to determine that next collects the broadcast address of multimedia file, and the broadcast address of next collection multimedia file is sent to described DMR, for described DMR, the broadcast address of next collection multimedia file is added in playlist.
2. method according to claim 1, is characterized in that, described DMC detects DMR and specifically comprises when the broadcasting residual time length of last collection multimedia file:
Described DMC periodically carries and detects the request mark of playing residual time length in DLNA DLNA heartbeat message, receives the DLNA heartbeat message of playing residual time length that comprises of described DMR reply; Or,
Described DMC periodically carries and detects the request mark of playing residual time length in DLNA heartbeat message, receive described DMR and determine the DLNA heartbeat message of playing residual time length that comprises of replying when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, described the second residual time length is more than or equal to described the first residual time length; Or,
Described DMC receives the synchronous total duration when last collection multimedia file of described DMR, according to described total duration, determine when the broadcasting residual time length of last collection video is less than or equal to the 3rd residual time length, in DLNA heartbeat message, periodically carry and detect the request mark of playing residual time length, the DLNA heartbeat message of playing residual time length that comprises that receives described DMR reply, described the 3rd residual time length is more than or equal to described the first residual time length.
3. method according to claim 1, is characterized in that, the sign of the collection of drama index when last collection video that the collection of drama index sign of described next collection multimedia file is synchronously come according to described DMR by described DMC is determined.
4. method according to claim 1, is characterized in that, the described collection of drama index sign of next collection multimedia file in same collection of drama of utilizing determines that the broadcast address of next collection multimedia file specifically comprises:
Described DMC sends to digital media server DMS by the collection of drama index sign of described next stage multimedia file, and receives the broadcast address of the next stage multimedia file that described DMS returns; Or,
Described DMC according to the collection of drama index sign of described next stage multimedia file determine next stage multimedia file in the address of described DMC this locality as broadcast address.
5. method according to claim 4, it is characterized in that, if described DMC sends to the collection of drama index sign of described next stage multimedia file after DMS, in setting duration, do not receive the broadcast address of the next stage multimedia file that described DMS returns, again the collection of drama index sign of described next stage multimedia file is sent to DMS, the collection of drama index sign that sends described next stage multimedia file if repeat for N time is not received the broadcast address of described next stage multimedia file yet, process ends, described N is default positive integer.
6. according to the method described in the arbitrary claim of claim 1 to 5, it is characterized in that, the method also comprises:
The broadcast address of the multimedia file that described DMC selects user according to user's selection sends to described DMR, so that the broadcast address of the multimedia file that described DMR selects user is put into the first place of described playlist.
7. a method of playing collection of drama, is characterized in that, the method comprises:
DMR sends to DMC by the broadcasting residual time length when last collection multimedia file;
Receive the broadcast address of next collection multimedia file in the same collection of drama that described DMC sends and be added in playlist; The broadcast address of wherein said next collection multimedia file is that described DMC determines and to send when the broadcasting residual time length of last collection multimedia file is less than or equal to the first residual time length.
8. method according to claim 7, is characterized in that, described DMR sends to DMC specifically to comprise the broadcasting residual time length when last collection multimedia file:
Described DMR receives that described DMC sends while carrying the DLNA heartbeat message that detects the request mark of playing residual time length, to described DMC, replys and comprises the DLNA heartbeat message of playing residual time length; Or,
Described DMR receives that described DMC sends while carrying the DLNA heartbeat message that detects the request mark of playing residual time length, if when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length, described the second residual time length is more than or equal to described the first residual time length; Or,
Described DMR is to described DMC synchronously when total duration of last collection multimedia file, receive that described DMC sends carry the DLNA heartbeat message that detects the request mark of playing residual time length time, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length.
9. method according to claim 7, is characterized in that, the method also comprises:
Described DMR, to described DMC synchronously when the collection of drama index sign of last collection video, determines the collection of drama index sign of next collection multimedia file for described DMC.
10. according to the method described in the arbitrary claim of claim 7 to 9, it is characterized in that, the method also comprises:
If described DMR receives the broadcast address of the multimedia file that user that described DMC sends selects, the broadcast address of the multimedia file of described user being selected is put into the first place of described playlist.
11. 1 kinds of devices of playing collection of drama, are arranged in DMC, it is characterized in that, this device comprises:
Duration detecting unit, the broadcasting residual time length for detection of DMR when last collection multimedia file;
Address determining unit, if the broadcasting residual time length detecting when last collection multimedia file for described duration detecting unit is less than or equal to the first residual time length, utilize the broadcast address of definite next the collection multimedia file of collection of drama index sign of next collection multimedia file in same collection of drama;
Address transmitting element, for the broadcast address of next collection multimedia file is sent to described DMR, is added into the broadcast address of next collection multimedia file in playlist for described DMR.
12. devices according to claim 11, it is characterized in that, described duration detecting unit, detects specifically for periodically carrying in DLNA heartbeat message the request mark of playing residual time length, receives the DLNA heartbeat message of playing residual time length that comprises of described DMR reply; Or, in DLNA heartbeat message, periodically carry and detect the request mark of playing residual time length, receive described DMR and determine the DLNA heartbeat message of playing residual time length that comprises of replying when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, described the second residual time length is more than or equal to described the first residual time length; Or, receive the synchronous total duration when last collection multimedia file of described DMR, according to described total duration, determine when the broadcasting residual time length of last collection video is less than or equal to the 3rd residual time length, in DLNA heartbeat message, periodically carry and detect the request mark of playing residual time length, the DLNA heartbeat message of playing residual time length that comprises that receives described DMR reply, described the 3rd residual time length is more than or equal to described the first residual time length.
13. devices according to claim 11, is characterized in that, described address determining unit also identifies for the collection of drama index when last collection video synchronously coming according to described DMR the collection of drama index sign of determining next collection multimedia file.
14. devices according to claim 11, it is characterized in that, when the collection of drama index of described address determining unit next collection multimedia file in utilizing same collection of drama identifies the broadcast address of determining next collection multimedia file, specifically for the collection of drama index sign of described next stage multimedia file is sent to DMS, and receive the broadcast address of the next stage multimedia file that described DMS returns, or, according to the collection of drama index sign of described next stage multimedia file determine next stage multimedia file in the address of described DMC this locality as broadcast address.
15. devices according to claim 14, it is characterized in that, if described address determining unit sends to the collection of drama index sign of described next stage multimedia file after DMS, in setting duration, do not receive the broadcast address of the next stage multimedia file that described DMS returns, again the collection of drama index sign of described next stage multimedia file is sent to DMS, the collection of drama index sign that sends described next stage multimedia file if repeat for N time is not received the broadcast address of described next stage multimedia file yet, process ends, described N is default positive integer.
16. according to claim 11 to the device described in 15 arbitrary claims, it is characterized in that, this device also comprises:
User's trigger element, for obtaining user's selection;
Described address determining unit, also for determining the broadcast address of the multimedia file that described user selects;
Described address transmitting element, also for sending to described DMR by the broadcast address of the multimedia file of described user's selection, so that the broadcast address of the multimedia file that described DMR selects user is put into the first place of described playlist.
17. 1 kinds of devices of playing collection of drama, are arranged at DMR, it is characterized in that, this device comprises:
Duration provides unit, for the broadcasting residual time length when last collection multimedia file is sent to DMC;
Address receiving element, for receiving the broadcast address of next collection multimedia file of same collection of drama that described DMC sends and being added in playlist; The broadcast address of wherein said next collection multimedia file is that described DMC determines and to send when the broadcasting residual time length of last collection multimedia file is less than or equal to the first residual time length.
18. devices according to claim 17, it is characterized in that, described duration provides unit, specifically for receive that described DMC sends carry the DLNA heartbeat message that detects the request mark of playing residual time length time, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length; Or, receive that described DMC sends carry the DLNA heartbeat message that detects the request mark of playing residual time length time, if when the broadcasting residual time length of last collection multimedia file is less than or equal to the second residual time length, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length, described the second residual time length is more than or equal to described the first residual time length; Or, to described DMC synchronously when total duration of last collection multimedia file, receive that described DMC sends carry the DLNA heartbeat message that detects the request mark of playing residual time length time, to described DMC, reply and comprise the DLNA heartbeat message of playing residual time length.
19. devices according to claim 17, is characterized in that, this device also comprises:
Sign lock unit, for to described DMC synchronously when the collection of drama index sign of last collection video, determines the collection of drama index sign of next collection multimedia file for described DMC.
20. according to claim 17 to the device described in 19 arbitrary claims, it is characterized in that, described address receiving element, if also, for receiving the broadcast address of the multimedia file that user that described DMC sends selects, the broadcast address of the multimedia file of described user being selected is put into the first place of described playlist.
CN201310711842.3A 2013-12-20 2013-12-20 A kind of method and apparatus for playing collection of drama Active CN103763303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310711842.3A CN103763303B (en) 2013-12-20 2013-12-20 A kind of method and apparatus for playing collection of drama

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310711842.3A CN103763303B (en) 2013-12-20 2013-12-20 A kind of method and apparatus for playing collection of drama

Publications (2)

Publication Number Publication Date
CN103763303A true CN103763303A (en) 2014-04-30
CN103763303B CN103763303B (en) 2017-11-14

Family

ID=50530463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310711842.3A Active CN103763303B (en) 2013-12-20 2013-12-20 A kind of method and apparatus for playing collection of drama

Country Status (1)

Country Link
CN (1) CN103763303B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270666A (en) * 2014-10-24 2015-01-07 广东欧珀移动通信有限公司 Multimedia file playing method and system and DMR (digital multimedia renderer)
CN105261379A (en) * 2015-10-20 2016-01-20 广东欧珀移动通信有限公司 Playlist synchronization method, wireless speaker and DMC
CN105933723A (en) * 2016-06-29 2016-09-07 乐视控股(北京)有限公司 Video continuous playing method, device and system
CN107948740A (en) * 2017-10-30 2018-04-20 广州虎牙信息科技有限公司 Video playing control method, device and terminal
CN111669655A (en) * 2020-06-12 2020-09-15 腾讯科技(深圳)有限公司 Media content projection playing method and device, computer equipment and storage medium
CN111741352A (en) * 2020-07-09 2020-10-02 腾讯科技(深圳)有限公司 Screen projection control method, screen projection playing method and related device
CN111787392A (en) * 2020-08-06 2020-10-16 北京字节跳动网络技术有限公司 Video screen projection method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594279A (en) * 2008-05-29 2009-12-02 索尼株式会社 Messaging device, information processing method, program and information processing system
CN102123307A (en) * 2011-01-20 2011-07-13 深圳市同洲电子股份有限公司 Method and system for playing programs
US20130167173A1 (en) * 2009-02-12 2013-06-27 Bruce L. Davis Media Processing Methods and Arrangements
CN103237249A (en) * 2013-04-09 2013-08-07 青岛海信移动通信技术股份有限公司 Method, device and system for play control in digital living network alliance system
CN103457966A (en) * 2012-05-29 2013-12-18 华为技术有限公司 Method, equipment and system for accessing cloud storage equipment on basis of DLNA (digital living network alliance) technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594279A (en) * 2008-05-29 2009-12-02 索尼株式会社 Messaging device, information processing method, program and information processing system
US20130167173A1 (en) * 2009-02-12 2013-06-27 Bruce L. Davis Media Processing Methods and Arrangements
CN102123307A (en) * 2011-01-20 2011-07-13 深圳市同洲电子股份有限公司 Method and system for playing programs
CN103457966A (en) * 2012-05-29 2013-12-18 华为技术有限公司 Method, equipment and system for accessing cloud storage equipment on basis of DLNA (digital living network alliance) technology
CN103237249A (en) * 2013-04-09 2013-08-07 青岛海信移动通信技术股份有限公司 Method, device and system for play control in digital living network alliance system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270666A (en) * 2014-10-24 2015-01-07 广东欧珀移动通信有限公司 Multimedia file playing method and system and DMR (digital multimedia renderer)
CN104270666B (en) * 2014-10-24 2017-06-30 广东欧珀移动通信有限公司 The player method of multimedia file, system and digital multimedia renderer
CN105261379A (en) * 2015-10-20 2016-01-20 广东欧珀移动通信有限公司 Playlist synchronization method, wireless speaker and DMC
CN105261379B (en) * 2015-10-20 2018-01-23 广东欧珀移动通信有限公司 A kind of playlist synchronous method, wireless sound box and DMC
CN105933723A (en) * 2016-06-29 2016-09-07 乐视控股(北京)有限公司 Video continuous playing method, device and system
CN107948740A (en) * 2017-10-30 2018-04-20 广州虎牙信息科技有限公司 Video playing control method, device and terminal
WO2019085574A1 (en) * 2017-10-30 2019-05-09 广州虎牙信息科技有限公司 Video playback control method, apparatus, and terminal
CN107948740B (en) * 2017-10-30 2020-08-28 广州虎牙信息科技有限公司 Video playing control method, device and terminal
CN111669655A (en) * 2020-06-12 2020-09-15 腾讯科技(深圳)有限公司 Media content projection playing method and device, computer equipment and storage medium
CN111741352A (en) * 2020-07-09 2020-10-02 腾讯科技(深圳)有限公司 Screen projection control method, screen projection playing method and related device
CN111787392A (en) * 2020-08-06 2020-10-16 北京字节跳动网络技术有限公司 Video screen projection method and device, electronic equipment and storage medium
WO2022028561A1 (en) * 2020-08-06 2022-02-10 北京字节跳动网络技术有限公司 Video mirroring method and apparatus, and electronic device and storage medium

Also Published As

Publication number Publication date
CN103763303B (en) 2017-11-14

Similar Documents

Publication Publication Date Title
CN103763303A (en) Method and device for drama series playing
US8588824B2 (en) Transferring media context information based on proximity to a mobile device
JP5799512B2 (en) Information processing apparatus, information processing method, and program
US20130173765A1 (en) Systems and methods for assigning roles between user devices
EP3737101B1 (en) A method and a system for performing scrubbing in a video stream
EP2950310B1 (en) Method and system for continuously playing media resources in device
CN106713985B (en) Method and device for recommending network video
KR101971088B1 (en) Method of selecting versions of a document from among a plurality of versions received following a search, and associated receiver
EP2811399B1 (en) Method and terminal for starting music application
CN103686335A (en) Information processing method and electronic equipment
CN105100912A (en) Streaming media processing method and streaming media processing apparatus
CN103618920A (en) Advertisement insertion method and player
WO2016090889A1 (en) Promotion information processing method, device and apparatus, and non-volatile computer storage medium
CN103841464A (en) Video information pushing method and device
CN104010223B (en) Adapter terminal system carries out the method and system of video playback
CN105872758A (en) Intelligent television channel operation and play method and corresponding device
WO2017088395A1 (en) Method and apparatus for multimedia preview, and mobile terminal device and computer device
CN103763575B (en) A kind of programme method of combination and device
CN102164305A (en) Video processing method and device and mobile communication terminal
CN104954874A (en) Multimedia data playing method and apparatus
CN103488784A (en) Method for recommending multimedia files and electronic device
US20090163239A1 (en) Method, apparatus and computer program product for generating media content by recording broadcast transmissions
CN102034520B (en) Electronic device and content reproduction method
US20130054739A1 (en) Data transmission system and data transmission method
CN103618913A (en) Method and device for playing 3D film source in intelligent television

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20161221

Address after: 100193 room 303-305, building, East District, No. 10, Wang Dong Road, Beijing, Haidian District

Applicant after: Beijing small mutual Entertainment Technology Co., Ltd.

Address before: 100085 Beijing, Haidian District, No. ten on the street Baidu building, No. 10

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant