CN103747326A - Continuous playing method and device for multimedia file - Google Patents
Continuous playing method and device for multimedia file Download PDFInfo
- Publication number
- CN103747326A CN103747326A CN201410016227.5A CN201410016227A CN103747326A CN 103747326 A CN103747326 A CN 103747326A CN 201410016227 A CN201410016227 A CN 201410016227A CN 103747326 A CN103747326 A CN 103747326A
- Authority
- CN
- China
- Prior art keywords
- multimedia file
- playing
- playback equipment
- terminal
- broadcasting
- 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
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a continuous playing method and device for a multimedia file, and belongs to the technical field of the network. The method comprises the following steps: when playing equipment carries out continuous playing, sending a playing ending message to a terminal when one multimedia file is determined to finish playing, causing the terminal to return a next multimedia file, wherein the playing equipment is used for playing the multimedia files of the terminal; and when the playing equipment receives the next multimedia file, playing the next multimedia file. According to the invention, when the playing equipment determines that any multimedia file finishes playing, the playing ending message is sent to the terminal, so that the terminal returns a next multimedia file to the playing equipment when the playing ending message is received to realize continuous playing. The phenomenon that the missed playing of the multimedia file due to the fact that other multimedia files of the terminal are received in the process of playing the current multimedia file by the playing equipment is avoided, and the stability in the continuous playing process is improved.
Description
Technical field
The present invention relates to networking technology area, particularly the continuous playing method and device of a kind of multimedia file.
Background technology
Along with the development of intelligent terminal and intelligent television, terminal can be passed through wireless network, and the data flow of multimedia file is sent to TV, plays on TV.In this process, terminal can trigger the operations such as F.F., time-out, the next file of broadcasting, to control the multimedia file of televising.
Take picture as example, when user determines while Showing Picture on TV, the catalogue that terminal scanning user selects, obtain the path at the every pictures place under this catalogue and the format information of every pictures, according to the picture path getting, for every pictures generates a URI(Uniform Resource Identifier, universal resource identifier), and the URI of current picture to be shown and format information are sent to TV, TV is according to the URI of current picture to be shown, download pictures data, and according to this format information, this image data is decoded, obtain current picture to be shown, be presented on video screen.When terminal detects the operation that shows next picture, the URI of next picture and format information are sent to TV, by TV, show this next one picture.
When user wishes that TV shows plurality of pictures continuously, default duration can be set, terminal is every default duration, and URI and format information to the next picture of television transmission, show this next one picture by TV.
But, because the speed of TV download pictures data is subject to the impact of wireless network, and the size of every pictures, form difference, TV download pictures data or the time used of decoding are also different, so, when wireless network bandwidth is very little or have the interference of wireless signal, in the time of just may causing TV also not decode to a upper picture, received URI and the format information of next picture, thereby omitted the demonstration to a upper picture, poor stability.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of multimedia file continuous playing method and device.Described technical scheme is as follows:
First aspect, provides a kind of multimedia file continuous player method, and described method comprises:
In the process that playback equipment is carrying out playing continuously, determine when arbitrary multimedia file has been play end, to terminal, send and play end, make described terminal return to the next multimedia file in continuous playlist, described playback equipment is for playing the multimedia file of described terminal;
When described playback equipment receives described next multimedia file, play described next multimedia file.
In conjunction with first aspect, in the first possibility implementation of first aspect, in the process that playback equipment is carrying out playing continuously, determine when current multimedia file has been play end, before sending broadcasting end to terminal, described method also comprises:
Described playback equipment receives the playing request that described terminal sends;
Described playback equipment judges whether described playing request comprises continuous broadcasting sign;
When described playback equipment determines that described playing request comprises described continuous broadcasting sign, carry out described continuous playing process.
In conjunction with the first possibility implementation of first aspect, in the second possibility implementation of first aspect, after described playback equipment judges whether described playing request comprises continuous broadcasting sign, described method also comprises:
When described playback equipment determines that described playing request does not comprise described continuous broadcasting sign, obtain multimedia file corresponding to described playing request;
Described playback equipment is play the multimedia file getting;
When the multimedia file getting described in determining has been play end, described playback equipment stops the broadcasting of multimedia file.
In conjunction with first aspect, in the third possibility implementation of first aspect, when described playback equipment receives described next multimedia file, after playing described next multimedia file, described method also comprises:
Described playback equipment continues to send described broadcasting end to described terminal, to continue to play next multimedia file;
When described playback equipment receive that described terminal sends stop playing request time, stop the broadcasting of multimedia file.
May implementation in conjunction with the third of first aspect, the 4th kind of first aspect may implementation in, when described playback equipment receive that described terminal sends stop playing request time, the broadcasting that stops multimedia file comprising:
When described playback equipment receives the playing request of described terminal transmission, judge whether described playing request comprises that stopping broadcasting identifying;
When described playback equipment determines that described playing request stops described in comprising playing sign, carry out the step of the broadcasting that stops multimedia file.
Second aspect, provides a kind of multimedia file continuous playing device, and described device comprises:
The first message transmission module, for the process when carrying out playing continuously, determines when arbitrary multimedia file has been play end, to terminal, sends and plays end, makes described terminal return to the next multimedia file in continuous playlist;
File playing module, for when receiving described next multimedia file, plays described next multimedia file.
In conjunction with second aspect, in the first possibility implementation of second aspect, described device also comprises:
Playing request receiver module, the playing request sending for receiving described terminal;
Sign judge module, for judging whether described playing request comprises continuous broadcasting sign;
Continuous playing module, when comprising that when definite described playing request described continuous broadcasting identifies, carries out described continuous playing process.
In conjunction with the first possibility implementation of second aspect, in the second possibility implementation of second aspect, described device also comprises:
File acquisition module, when not comprising described continuous broadcasting sign when definite described playing request, obtains multimedia file corresponding to described playing request;
File single play module, for playing the multimedia file getting;
First stops playing module, while finishing for having play when the multimedia file getting described in determining, stops the broadcasting of multimedia file.
In conjunction with second aspect, in the third possibility implementation of second aspect, described device also comprises:
The second message transmission module, sends described broadcasting end for continuing to described terminal, to continue to play next multimedia file;
Second stops playing module, for when receive that described terminal sends stop playing request time, stop the broadcasting of multimedia file.
In conjunction with the third possibility implementation of second aspect, in the 4th kind of possibility implementation of second aspect, described second stops playing module comprising:
Judging unit, for when receiving the playing request of described terminal transmission, judges whether described playing request comprises that stopping broadcasting identifying;
Stop broadcast unit, for when stopping described in definite described playing request comprises playing sign, carry out the step of the broadcasting that stops multimedia file.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The method and apparatus that the embodiment of the present invention provides, while determining that arbitrary multimedia file has been play end by playback equipment in the process of playing continuously, to terminal, send and play end, make this terminal when receiving this broadcasting end, just to this playback equipment, return to next multimedia file, realized the continuous broadcasting of this playback equipment to the multimedia file in this terminal, and this playback equipment triggers this terminal and returns to next multimedia file by sending this broadcasting end, guaranteed that this playback equipment is in playing the process of current multimedia file, can not cause the broadcast leakage of multimedia file to be put owing to receiving other multimedia files of this terminal, improved the stability in continuous playing process.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of the continuous player method of a kind of multimedia file that provides of the embodiment of the present invention;
Fig. 2 is the flow chart of the continuous player method of a kind of multimedia file that provides of the embodiment of the present invention;
Fig. 3 is the continuous playing device structural representation of a kind of multimedia file that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of the continuous player method of a kind of multimedia file that provides of the embodiment of the present invention, and referring to Fig. 1, the method comprises:
101, in the process that playback equipment is carrying out playing continuously, determine when arbitrary multimedia file has been play end, to terminal, send and play end, make this terminal return to the next multimedia file in continuous playlist, this playback equipment is for playing the multimedia file of this terminal.
102,, when this playback equipment receives this next one multimedia file, play this next one multimedia file.
The method that the embodiment of the present invention provides, while determining that arbitrary multimedia file has been play end by playback equipment in the process of playing continuously, to terminal, send and play end, make this terminal when receiving this broadcasting end, just to this playback equipment, return to next multimedia file, realized the continuous broadcasting of this playback equipment to the multimedia file in this terminal, and this playback equipment triggers this terminal and returns to next multimedia file by sending this broadcasting end, guaranteed that this playback equipment is in playing the process of current multimedia file, can not cause the broadcast leakage of multimedia file to be put owing to receiving other multimedia files of this terminal, improved the stability in continuous playing process.
Alternatively, in the process that playback equipment is carrying out playing continuously, determine when current multimedia file has been play end, before sending broadcasting end to terminal, the method also comprises:
This playback equipment receives the playing request that this terminal sends;
This playback equipment judges whether this playing request comprises continuous broadcasting sign;
When this playback equipment determines that this playing request comprises that this plays sign continuously, carry out this continuous playing process.
Alternatively, after this playback equipment judges whether this playing request comprises continuous broadcasting sign, the method also comprises:
When this playback equipment determines that this playing request does not comprise that this plays sign continuously, obtain multimedia file corresponding to this playing request;
This playback equipment is play the multimedia file getting;
When definite this multimedia file getting has been play end, this playback equipment stops the broadcasting of multimedia file.
Alternatively, when this playback equipment receives this next one multimedia file, after playing this next one multimedia file, the method also comprises:
This playback equipment continues to send this broadcasting end to this terminal, to continue to play next multimedia file;
When this playback equipment receive that this terminal sends stop playing request time, stop the broadcasting of multimedia file.
Alternatively, when this playback equipment receive that this terminal sends stop playing request time, the broadcasting that stops multimedia file comprising:
When this playback equipment receives the playing request of this terminal transmission, judge whether this playing request comprises that stopping broadcasting identifying;
When this playback equipment determines that this playing request comprises that this stops playing sign, carry out the step of the broadcasting that stops multimedia file.
Above-mentioned all optional technical schemes, can adopt any combination to form optional embodiment of the present invention, and this is no longer going to repeat them.
Fig. 2 is the flow chart of the continuous player method of a kind of multimedia file that provides of the embodiment of the present invention.The interaction agent of this inventive embodiments is terminal and playback equipment, and referring to Fig. 2, described method comprises:
201, this terminal is obtained the address information of each multimedia file in continuous playlist and this continuous playlist.
The embodiment of the present invention is applied under the scene of the multimedia file on continuous playback terminal on playback equipment.Wherein, this playback equipment can be Set Top Box, intelligent television etc., and this terminal can be mobile phone, panel computer etc., and the embodiment of the present invention does not limit the particular type of this playback equipment and this terminal.
Alternatively, this terminal provides continuous play options, when user wishes on this playback equipment continuously the multimedia file on playback terminal, activate this continuous play options, at least one multimedia file that this terminal is selected according to user, generate this continuous playlist, and obtain the address information of each multimedia file in this continuous playlist.
Alternatively, this terminal is obtained the multimedia file in this continuous playlist, and for each multimedia file getting generates a URI, as address information, so that follow-up this playback equipment is by access URI, from terminal, obtains corresponding multimedia file.
It should be noted that, in embodiments of the present invention, between this terminal and this playback equipment, set up data and be connected, based on these data, connect and carry out information interaction.Alternatively, this terminal and this playback equipment are based on DLNA(Digital Living Network Alliance, DLNA) agreement carries out information interaction.
Further alternatively, this terminal comprises document management module and a DLNA protocol stack, this document administration module is for managing the multimedia file of this terminal, for each multimedia file calculated address information, and this document administration module is also used to user that operation interface is provided, this operation interface comprises this continuous play options.And a DLNA protocol stack is as the DMC(Digital Media Controller of DLNA, Digital Media controller), for finding the DMR(Digital Media Render of DLNA, Digital Media renderer), be the DLNA protocol stack of playback equipment, and to the 2nd DLNA protocol stack Transmit message data.This playback equipment comprises file playing module and the 2nd DLNA protocol stack, the 2nd DLNA protocol stack is as the DMR of DLNA, the file data sending for receiving DMC, and send to file playing module, the file data that this document playing module sends for receiving the 2nd DLNA protocol stack, and to playing after this document decoding data and special effect processing.
Accordingly, before this step 201, the method also comprises: this playback equipment powers on, start a DLNA protocol stack, issue DLNA service, this terminal starts the application program of supporting DLNA service, obtain the DLNA service of this playback equipment issue, set up data with this playback equipment and be connected.
202, this terminal sends playing request to this playback equipment, and this playing request is carried the address information of first multimedia file in this continuous playlist.
Wherein, this address information, for representing the memory address of this multimedia file to be played in this terminal, when this playback equipment receives this address information, can, according to this address information, be obtained multimedia file to be played from this terminal.
In embodiments of the present invention, this terminal can be when sending playing request to this playback equipment, carry the address information of this first multimedia file, can also send after playing request to this playback equipment, while receiving the response of this playback equipment, to this playback equipment, send the address information of this first multimedia file, the embodiment of the present invention does not limit this again.
The embodiment of the present invention be take this terminal and is sent to this playback equipment to describe as example the address information of this first multimedia file, in actual application, this terminal can also directly send to this playback equipment by this first multimedia file, and the embodiment of the present invention does not limit this yet.
For at least one multimedia file to be played in this terminal, in the process of playing continuously at this playback equipment, this terminal can send the address information of multimedia file successively to this playback equipment, make this playback equipment can play successively this at least one multimedia file.
Alternatively, this terminal is the order in this continuous playlist according to this at least one multimedia file, to this playback equipment, send successively the address information of this at least one multimedia file, this playback equipment can be play continuously according to the order of multimedia file in this continuous playlist.
Wherein, this continuous playlist can be generated in advance by this terminal, also real-time update in the process that can carry out playing continuously at this playback equipment, as add in to this continuous playlist multimedia file title, from this continuous playlist, delete the title of multimedia file etc., the embodiment of the present invention does not limit this.
Further, when this terminal detects the operation that activates this continuous play options, for playing request to be sent, add and play continuously sign, to this playback equipment, send the playing request of having added continuous broadcasting sign.Wherein, this broadcasting sign is continuously used to indicate this playback equipment and plays continuously, returns to broadcasting end when current multimedia file is play end, so that this terminal continues the address information of the next multimedia file of transmission.
Accordingly, this step 202 comprises: this terminal is added the address information of playing continuously sign and this first multimedia file in playing request to be sent, to this playback equipment, sends this playing request.
Take this multimedia file as picture be example, this playing request can be:
Wherein, " ContinuePlayPicture " is this and plays continuously sign, is used to indicate this playback equipment and Shows Picture continuously.
In addition, this playing request can also be asked for SetMediaURI, in this SetMediaURI request, include CurrentURIMetaData field, this terminal is added the URI of picture in this SetMediaURI request, in this CurrentURIMetaData field, add ContinuePlayPicture sign, send to this playback equipment, this playback equipment is when receiving this SetMediaURI request, judge in this CurrentURIMetaData field and whether comprise that ContinuePlay identifies, when definite this CurrentURIMetaData field comprises ContinuePlayPicture sign, start the process Showing Picture continuously.
In the embodiment of the present invention, this step 202 can be carried out by a DLNA protocol stack, and a DLNA protocol stack sends this playing request to the 2nd DLNA protocol stack.
203, when this playback equipment receives this playing request, judge whether this playing request comprises continuous broadcasting sign, if so, execution step 204, if not, finishes.
In embodiments of the present invention, when this playing request comprises continuous broadcasting sign, represent that this playback equipment plays continuously, and this playing request does not comprise when this plays sign continuously, represent that this playback equipment plays current multimedia file, do not need to play other multimedia file.
The embodiment of the present invention this playback equipment when not comprising that when this playing request this continuously plays sign is no longer carried out any example that is operating as and is described, and in actual application, when this playback equipment determines that this playing request does not comprise that this plays sign continuously, can also play this first multimedia file, when this first multimedia file is play end, stop the broadcasting of multimedia file.
In embodiments of the present invention, this step 203 can be carried out by the 2nd DLNA protocol stack.
204, this playback equipment starts continuous playing process, according to the address information of this first multimedia file, from this terminal, obtains this first multimedia file, and plays this first multimedia file.
Particularly, this playback equipment is when getting this first multimedia file, to this first multimedia file decode processing then first multimedia file after playback process.
Take this address information as URI be example, this playback equipment starts continuous playing process, accesses the URI of this first multimedia file, downloads the file data of this first multimedia file, the file data downloading to is decoded and processed and special effect processing, the file data after playback process.
Wherein, this special effect processing refers to and result of broadcast is set for this multimedia file, as multimedia file start time point insertion of advertising data file, when this multimedia file is picture the demonstration animation effect of picture be set to incision etc., the embodiment of the present invention does not limit this.Further, the concrete processing mode of this special effect processing can be determined by this playback equipment, or adds in this playing request after this terminal is determined, the embodiment of the present invention does not limit this yet.
The process of obtaining this first multimedia file in this step 204 can be carried out by the 2nd DLNA protocol stack, plays the process of this first multimedia file and can be carried out by this document playing module.
205,, when this playback equipment determines that current multimedia file is play end, to this terminal, send and play end.
Wherein, this broadcasting end has been play end for representing the current multimedia file of this playback equipment, can play next multimedia file.
In embodiments of the present invention, this playback equipment can be when determining that current multimedia file is play end, to this terminal, send and play end immediately, after can also presetting waiting time, to this terminal, send and play end again, this default waiting time can be pre-determined by this playback equipment, or after being determined by this terminal, send to this playback equipment, the embodiment of the present invention does not limit this.
Still take picture as example, and this playback equipment shows after a pictures 5s, then sends this broadcasting end to this terminal, makes this playback equipment show that the duration of this pictures is not less than 5s.
In the embodiment of the present invention, this step 205 is specifically as follows: the file playing module of this playback equipment is when determining that current multimedia file is play end, to the 2nd DLNA protocol stack, send this broadcasting end, by the 2nd DLNA protocol stack, to a DLNA protocol stack, send this broadcasting end.
If default duration is set in this terminal, every default this terminal of duration, to this playback equipment, send a multimedia file to be played, when wireless network bandwidth is very little or have the interference of wireless signal or decay, this playback equipment obtains multimedia file, decode and time that special effect processing process is spent may be greater than this default duration, can cause this playback equipment also a upper multimedia file not to be finished dealing with and got next multimedia file, easily occur that the broadcast leakage of multimedia file is put.And in embodiments of the present invention, by this playback equipment, at upper multimedia file, play while finishing, initiatively to this terminal, send and play end, when receiving this broadcasting end, this terminal just to this playback equipment, sends the address information of next multimedia file, guaranteed that a upper multimedia file play end, avoided the broadcast leakage of multimedia file to put.
206,, when this terminal receives this broadcasting end, to this playback equipment, send the address information of next multimedia file.
Giving an example of SetMediaURI request based in step 202, this terminal, when receiving this broadcasting end, is added the URI of next pictures in this SetMediaURI request, again to this terminal, sends this SetMediaURI request.And owing to having added ContinuePlayPicture sign in this CurrentURIMetaData field when sending for the first time this SetMediaURI request, in the SetMediaURI request this time sending, without adding again ContinuePlayPicture, identify.
In embodiments of the present invention, this step 206 can be carried out by a DLNA protocol stack.
207, when this playback equipment receives the address information of next multimedia file, according to the address information of this next one multimedia file, from this terminal, obtain this next one multimedia file, and play this next one multimedia file, continue execution step 205, until receive that this terminal sends stop playing request time, finish.
In embodiments of the present invention, this playback equipment is in carrying out the process of playing continuously, and circulation execution step 205-step 207, has realized the continuous broadcasting of multimedia file.
In carrying out the process of playing continuously, when this terminal is determined this playback equipment last multimedia file in continuous playlist has been finished playing by this, or when this terminal detect that user triggers stop play operation time, to this playback equipment, send and stop playing request, this playback equipment stops the broadcasting of multimedia file.
Similar with this continuous playing request, this stops playing request and comprises that stopping broadcasting identifying, and this stops playing sign and is used to indicate the broadcasting that this playback equipment stops multimedia file.Particularly, this terminal is added and is stopped playing sign when playing request to be sent, to this playback equipment, send and added the playing request that stops playing sign, when this playback equipment receives the playing request of this terminal transmission, judge whether this playing request comprises that stopping broadcasting identifying, and when this playback equipment determines that this playing request comprises that this stops playing sign, stops the broadcasting of multimedia file, same, this playback equipment also no longer sends this broadcasting end to this terminal.
Giving an example of SetMediaURI request based in step 202, this terminal is added StopContinuePlay sign in CurrentURIMetaData field, send to this playback equipment, this playback equipment is when receiving this SetMediaURI request, judge in this CurrentURIMetaData field and whether comprise that StopContinuePlay identifies, when definite this CurrentURIMetaData field comprises StopContinuePlay sign, stop the broadcasting of multimedia file.
Integrating step 203, this playback equipment can receive the SetMediaURI request of this terminal, this SetMediaURI request may be continuous playing request, the single play request that stops playing request or play current multimedia file, this playback equipment is when receiving this SetMediaURI request, judge whether this CurrentURIMetaData field comprises arbitrary sign, while not comprising any sign in determining this CurrentURIMetaData field, determine that this SetMediaURI request is single play request, when definite this CurrentURIMetaData field comprises sign, judge that the ContinuePlay that is designated that this CurrentURIMetaData field comprises identifies still StopContinuePlay sign, when determining that the ContinuePlay that is designated that this CurrentURIMetaData field comprises identifies, determine that this SetMediaURI request is continuous playing request, when determine that this CurrentURIMetaData field comprises be designated StopContinuePlay sign time, determine that this SetMediaURI request is for stopping playing request.
The method that the embodiment of the present invention provides, while determining that arbitrary multimedia file has been play end by playback equipment in the process of playing continuously, to terminal, send and play end, make this terminal when receiving this broadcasting end, just to this playback equipment, return to next multimedia file, realized the continuous broadcasting of this playback equipment to the multimedia file in this terminal, and this playback equipment triggers this terminal and returns to next multimedia file by sending this broadcasting end, guaranteed that this playback equipment is in playing the process of current multimedia file, can not cause the broadcast leakage of multimedia file to be put owing to receiving other multimedia files of this terminal, improved the stability in continuous playing process.
Fig. 3 is the continuous playing device structural representation of a kind of multimedia file that the embodiment of the present invention provides, and referring to Fig. 3, this device comprises:
The first message transmission module 301, for the process when carrying out playing continuously, determines when arbitrary multimedia file has been play end, to terminal, sends and plays end, makes this terminal return to the next multimedia file in continuous playlist;
File playing module 302 is connected with the first message transmission module 301, for when receiving this next one multimedia file, plays this next one multimedia file.
Alternatively, this device also comprises:
Playing request receiver module, the playing request sending for receiving this terminal;
Sign judge module, for judging whether this playing request comprises continuous broadcasting sign;
Continuous playing module, when comprising this when definite this playing request broadcasting identifies continuously, carries out this continuous playing process.
Alternatively, this device also comprises:
File acquisition module, when not comprising that when definite this playing request this continuously plays sign, obtains multimedia file corresponding to this playing request;
File single play module, for playing the multimedia file getting;
First stops playing module, while finishing for having play when definite this multimedia file getting, stops the broadcasting of multimedia file.
Alternatively, this device also comprises:
The second message transmission module, sends this broadcasting end for continuing to this terminal, to continue to play next multimedia file;
Second stops playing module, for when receive that this terminal sends stop playing request time, stop the broadcasting of multimedia file.
Alternatively, this second stops playing module and comprises:
Judging unit, for when receiving the playing request of this terminal transmission, judges whether this playing request comprises that stopping broadcasting identifying;
Stop broadcast unit, when comprising that when definite this playing request this stops playing sign, carry out the step of the broadcasting that stops multimedia file.
The device that the embodiment of the present invention provides, while determining that arbitrary multimedia file has been play end by playback equipment in the process of playing continuously, to terminal, send and play end, make this terminal when receiving this broadcasting end, just to this playback equipment, return to next multimedia file, realized the continuous broadcasting of this playback equipment to the multimedia file in this terminal, and this playback equipment triggers this terminal and returns to next multimedia file by sending this broadcasting end, guaranteed that this playback equipment is in playing the process of current multimedia file, can not cause the broadcast leakage of multimedia file to be put owing to receiving other multimedia files of this terminal, improved the stability in continuous playing process.
It should be noted that: the continuous playing device of multimedia file that above-described embodiment provides is when continuous play multimedia file, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to playback equipment is divided into different functional modules, to complete all or part of function described above.In addition, the continuous playing device of multimedia file that above-described embodiment provides and the continuous player method embodiment of multimedia file belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
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 doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. the continuous player method of multimedia file, is characterized in that, described method comprises:
In the process that playback equipment is carrying out playing continuously, determine when arbitrary multimedia file has been play end, to terminal, send and play end, make described terminal return to the next multimedia file in continuous playlist, described playback equipment is for playing the multimedia file of described terminal;
When described playback equipment receives described next multimedia file, play described next multimedia file.
2. method according to claim 1, is characterized in that, in the process that playback equipment is carrying out playing continuously, determines when current multimedia file has been play end, and before sending broadcasting end to terminal, described method also comprises:
Described playback equipment receives the playing request that described terminal sends;
Described playback equipment judges whether described playing request comprises continuous broadcasting sign;
When described playback equipment determines that described playing request comprises described continuous broadcasting sign, carry out described continuous playing process.
3. method according to claim 2, is characterized in that, after described playback equipment judges whether described playing request comprises continuous broadcasting sign, described method also comprises:
When described playback equipment determines that described playing request does not comprise described continuous broadcasting sign, obtain multimedia file corresponding to described playing request;
Described playback equipment is play the multimedia file getting;
When the multimedia file getting described in determining has been play end, described playback equipment stops the broadcasting of multimedia file.
4. method according to claim 1, is characterized in that, when described playback equipment receives described next multimedia file, after playing described next multimedia file, described method also comprises:
Described playback equipment continues to send described broadcasting end to described terminal, to continue to play next multimedia file;
When described playback equipment receive that described terminal sends stop playing request time, stop the broadcasting of multimedia file.
5. method according to claim 4, is characterized in that, when described playback equipment receive that described terminal sends stop playing request time, the broadcasting that stops multimedia file comprising:
When described playback equipment receives the playing request of described terminal transmission, judge whether described playing request comprises that stopping broadcasting identifying;
When described playback equipment determines that described playing request stops described in comprising playing sign, carry out the step of the broadcasting that stops multimedia file.
6. the continuous playing device of multimedia file, is characterized in that, described device comprises:
The first message transmission module, for the process when carrying out playing continuously, determines when arbitrary multimedia file has been play end, to terminal, sends and plays end, makes described terminal return to the next multimedia file in continuous playlist;
File playing module, for when receiving described next multimedia file, plays described next multimedia file.
7. device according to claim 6, is characterized in that, described device also comprises:
Playing request receiver module, the playing request sending for receiving described terminal;
Sign judge module, for judging whether described playing request comprises continuous broadcasting sign;
Continuous playing module, when comprising that when definite described playing request described continuous broadcasting identifies, carries out described continuous playing process.
8. device according to claim 7, is characterized in that, described device also comprises:
File acquisition module, when not comprising described continuous broadcasting sign when definite described playing request, obtains multimedia file corresponding to described playing request;
File single play module, for playing the multimedia file getting;
First stops playing module, while finishing for having play when the multimedia file getting described in determining, stops the broadcasting of multimedia file.
9. device according to claim 6, is characterized in that, described device also comprises:
The second message transmission module, sends described broadcasting end for continuing to described terminal, to continue to play next multimedia file;
Second stops playing module, for when receive that described terminal sends stop playing request time, stop the broadcasting of multimedia file.
10. device according to claim 9, is characterized in that, described second stops playing module comprising:
Judging unit, for when receiving the playing request of described terminal transmission, judges whether described playing request comprises that stopping broadcasting identifying;
Stop broadcast unit, for when stopping described in definite described playing request comprises playing sign, carry out the step of the broadcasting that stops multimedia file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410016227.5A CN103747326B (en) | 2014-01-14 | 2014-01-14 | The continuous playing method and device of multimedia file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410016227.5A CN103747326B (en) | 2014-01-14 | 2014-01-14 | The continuous playing method and device of multimedia file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103747326A true CN103747326A (en) | 2014-04-23 |
CN103747326B CN103747326B (en) | 2017-08-18 |
Family
ID=50504308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410016227.5A Expired - Fee Related CN103747326B (en) | 2014-01-14 | 2014-01-14 | The continuous playing method and device of multimedia file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103747326B (en) |
Cited By (7)
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) |
CN104581365A (en) * | 2014-12-29 | 2015-04-29 | 广东欧珀移动通信有限公司 | Method for controlling multi-media file pushing, slave device, main device and system |
CN104954874A (en) * | 2014-10-15 | 2015-09-30 | 腾讯科技(北京)有限公司 | Multimedia data playing method and apparatus |
CN105338401A (en) * | 2015-11-16 | 2016-02-17 | 深圳Tcl数字技术有限公司 | Playing method and system of multimedia file |
CN108366271A (en) * | 2018-02-09 | 2018-08-03 | 腾讯音乐娱乐科技(深圳)有限公司 | A kind of playback method of multimedia file, device and storage medium |
CN111741352A (en) * | 2020-07-09 | 2020-10-02 | 腾讯科技(深圳)有限公司 | Screen projection control method, screen projection playing method and related device |
WO2022028561A1 (en) * | 2020-08-06 | 2022-02-10 | 北京字节跳动网络技术有限公司 | Video mirroring method and apparatus, and electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070211728A1 (en) * | 2006-03-09 | 2007-09-13 | Samsung Electronics Co.; Ltd | Method for sharing contents between devices using IEEE 1394 interface in DLNA system |
CN101267330A (en) * | 2008-04-29 | 2008-09-17 | 深圳市迅雷网络技术有限公司 | Method and device for playing multimedia file |
CN103179190A (en) * | 2013-01-31 | 2013-06-26 | 华为技术有限公司 | Method, device and system for transmitting pictures |
CN103281294A (en) * | 2013-04-17 | 2013-09-04 | 华为技术有限公司 | Data sharing method and electronic equipment |
-
2014
- 2014-01-14 CN CN201410016227.5A patent/CN103747326B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070211728A1 (en) * | 2006-03-09 | 2007-09-13 | Samsung Electronics Co.; Ltd | Method for sharing contents between devices using IEEE 1394 interface in DLNA system |
CN101267330A (en) * | 2008-04-29 | 2008-09-17 | 深圳市迅雷网络技术有限公司 | Method and device for playing multimedia file |
CN103179190A (en) * | 2013-01-31 | 2013-06-26 | 华为技术有限公司 | Method, device and system for transmitting pictures |
CN103281294A (en) * | 2013-04-17 | 2013-09-04 | 华为技术有限公司 | Data sharing method and electronic equipment |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954874A (en) * | 2014-10-15 | 2015-09-30 | 腾讯科技(北京)有限公司 | Multimedia data playing method and apparatus |
CN104954874B (en) * | 2014-10-15 | 2018-11-09 | 腾讯科技(北京)有限公司 | multimedia data playing method and device |
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 |
CN104581365A (en) * | 2014-12-29 | 2015-04-29 | 广东欧珀移动通信有限公司 | Method for controlling multi-media file pushing, slave device, main device and system |
CN104581365B (en) * | 2014-12-29 | 2017-10-13 | 广东欧珀移动通信有限公司 | Method, slave unit, main equipment and the system for controlling multimedia file to push |
CN105338401A (en) * | 2015-11-16 | 2016-02-17 | 深圳Tcl数字技术有限公司 | Playing method and system of multimedia file |
WO2017084297A1 (en) * | 2015-11-16 | 2017-05-26 | 深圳Tcl数字技术有限公司 | Method and system for playing back multimedia files |
CN105338401B (en) * | 2015-11-16 | 2019-08-27 | 深圳Tcl数字技术有限公司 | The playback method and system of multimedia file |
CN108366271A (en) * | 2018-02-09 | 2018-08-03 | 腾讯音乐娱乐科技(深圳)有限公司 | A kind of playback method of multimedia file, device and storage medium |
CN111741352A (en) * | 2020-07-09 | 2020-10-02 | 腾讯科技(深圳)有限公司 | Screen projection control method, screen projection playing method and related device |
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 |
---|---|
CN103747326B (en) | 2017-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103747326A (en) | Continuous playing method and device for multimedia file | |
US10448082B2 (en) | Information exchanging method and device, audio terminal and computer-readable storage medium | |
US20200105307A1 (en) | Video recording method and apparatus for mobile terminal | |
CN102547443B (en) | Multi-terminal system resource sharing and interaction realizing method | |
JP6492227B2 (en) | Method for content projection and mobile terminal | |
CN104159151A (en) | Device and method for intercepting and processing of videos on OTT box | |
CN104661057A (en) | Video sharing method and system based on social intercourse platform | |
WO2020200302A1 (en) | Live broadcast method and apparatus, and computer device and storage medium | |
EP2854342A1 (en) | Multi-screen interaction method, apparatus, and terminal device | |
CN103647991A (en) | Method and system for sharing video in intelligent television | |
CN102833365A (en) | File playing method and system based on DLNA (Digital Living Network Alliance) and driving and driven DLNA equipment | |
CN103957218A (en) | Shared media playing method and system | |
EP2950310B1 (en) | Method and system for continuously playing media resources in device | |
RU2502208C2 (en) | Method and device for recording and reproducing programmes, as well as set-top box | |
CN108989883A (en) | A kind of living broadcast advertisement method, apparatus, equipment and medium | |
WO2014190655A1 (en) | Application synchronization method, application server and terminal | |
CN204013943U (en) | A kind of device that carries out video intercepting and process on OTT box | |
CN108989855A (en) | A kind of advertisement cut-in method, device, equipment and medium | |
US20150268808A1 (en) | Method, Device and System for Multi-Speed Playing | |
WO2015180446A1 (en) | System and method for maintaining connection channel in multi-device interworking service | |
CN111064980A (en) | Cloud-based audio and video playing control method and system | |
CN103402137A (en) | Application push method, mobile terminal and digital television (TV) receiving end | |
CN105657527A (en) | Multimedia file pushing method, mobile terminal and system | |
CN102656893B (en) | Time-shifting of live media stream | |
CN109889871B (en) | Digital television live broadcasting method, device and system based on network playing equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170818 Termination date: 20180114 |