CN104243469B - A kind of method for controlling to play, apparatus and system - Google Patents
A kind of method for controlling to play, apparatus and system Download PDFInfo
- Publication number
- CN104243469B CN104243469B CN201410459267.7A CN201410459267A CN104243469B CN 104243469 B CN104243469 B CN 104243469B CN 201410459267 A CN201410459267 A CN 201410459267A CN 104243469 B CN104243469 B CN 104243469B
- Authority
- CN
- China
- Prior art keywords
- dmr
- dms
- played
- multimedia file
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The present embodiments relate to technical field of mobile terminals, more particularly to a kind of method for controlling to play, apparatus and system.This method includes:After digital media controller DMC is restarted, the digital media server DMS identification codes prestored and the digital Media renderer DMR identification codes prestored are obtained, and DMS corresponding with the DMS identification codes and the corresponding DMR of the DMR identification codes set up connection;It is determined that the DMR plays multimedia file, and when determining to exist in the DMS file belonging to the multimedia file played, generate the corresponding playlist of each multimedia file in the file, and control the DMS to push multimedia file to the DMR according to the playlist, the DMR is played the multimedia file received.This method can be after DMC be restarted, it is ensured that the continuity of multimedia file is played.
Description
Technical field
The present embodiments relate to technical field of mobile terminals, more particularly to a kind of method for controlling to play, device and it is
System.
Background technology
The purpose of DLNA (Digital Living Network Alliance, DLNA) agreement is exactly
For " allow home computer, the equipment such as household electrical appliance and mobile phone, which can be realized, to interconnect ".DLNA agreements allow a display to set
It is standby directly access and play the image in digital media server in network (Digital Media Server, DMS), sound or
The multimedia files such as person's video resource.
Digital media controller (Digital Media Controller, DMC) is the control device in DLNA agreements, is led to
Cross it and may browse through the multimedia file that DMS in the network segment shares, such as DMC obtains the multimedia for needing to play from its playlist
The numbering of file, and the numbering for needing the multimedia file played is sent to DMS, make the DMS by the numbering pair received
The multimedia file answered is pushed to digital Media renderer (Digital Media Renderer, DMR), DMR is played reception
The media file arrived.
After DMC is exited, DMR remains able to play the multimedia file that the DMS controlled before DMC is exited is pushed to DMR, its
In, the multimedia file that the DMS of control is pushed to DMR before DMC is exited is probably the multimedia that DMR is being played when DMC is restarted
File.But, the playlist before exiting is not present after DMC is restarted, in DMC, therefore DMR plays many matchmakers played
After body file, DMC can not control DMS to push next multimedia file to be played to DMR, cause multimedia file can not
Enough continuitys are played, so as to influence the use of user.
The content of the invention
The purpose of the present invention is to propose to a kind of method for controlling to play, apparatus and system, with can be true after causing DMC to restart
The continuity for protecting multimedia file is played.
On the one hand, the invention provides the side that a kind of control applied to DLNA DLNA agreements is played
Method, including:
After digital media controller DMC is restarted, obtain the digital media server DMS identification codes prestored and deposit in advance
The digital Media renderer DMR identification codes of storage, and DMS corresponding with the DMS identification codes and the DMR identification codes are corresponding
DMR sets up connection;
It is determined that the DMR plays multimedia file, and determine to exist in the DMS multimedia text played
During file belonging to part, the corresponding playlist of each multimedia file in the file is generated, and play according to described
DMS described in list controls pushes multimedia file to the DMR, the DMR is played the multimedia file received.
Another further aspect, the invention provides the dress that a kind of control applied to DLNA DLNA agreements is played
Put, including:
Equipment selecting unit, after restarting for digital media controller DMC, obtains the digital media server prestored
DMS identification codes and the digital Media renderer DMR identification codes prestored, and DMS corresponding with the DMS identification codes and described
The corresponding DMR of DMR identification codes sets up connection;
First determining unit, for determining whether the DMR plays multimedia file;
Second determining unit, for determining in the DMS with the presence or absence of the file belonging to the multimedia file played
Folder;
List generation unit, for it is determined that the DMR plays multimedia file, and determines exist in the DMS
During file belonging to the multimedia file played, the corresponding played column of each multimedia file in the file is generated
Table;
Playing control unit, for controlling the DMS to push multimedia file to the DMR according to the playlist,
The DMR is set to play the multimedia file received.
On the other hand, it is the invention provides what a kind of control applied to DLNA DLNA agreements was played
System, including digital media controller DMC and the DMC follow the digital media server DMS and digital matchmaker of same DLNA agreements
Body renderer DMR, the DMC are used to control DMS to DMR transmission multimedia files, and DMR is used for the multimedia text for playing reception
Part, wherein,
The DMC is used for:After restarting, the DMS identification codes that acquisition is prestored and the DMR identification codes prestored, and with
The corresponding DMS of DMS identification codes and the corresponding DMR of the DMR identification codes set up connection;
It is determined that the DMR plays multimedia file, and determine to exist in the DMS multimedia text played
During file belonging to part, the corresponding playlist of each multimedia file in the file is generated, and play according to described
DMS described in list controls pushes multimedia file to the DMR, the DMR is played the multimedia file received.
The method of the control broadcasting provided in the embodiment of the present invention, apparatus and system, after DMC is restarted, it can be ensured that many
The continuity of media file is played.After DMC is restarted in the embodiment of the present invention, the DMS identification codes prestored and DMR marks are obtained
Code, and DMS corresponding with the DMS identification codes and the corresponding DMR of the DMR identification codes set up connection;Determine the DMR
Multimedia file is played, and when determining to exist in the DMS file belonging to the multimedia file played, generation is described
The corresponding playlist of each multimedia file in file, and control the DMS to be pushed away to the DMR according to the playlist
Multimedia file is sent, the DMR is played the multimedia file received.Wherein, the playlist and DMC generated after DMC is restarted
Playlist before exiting is identical, therefore DMC is able to ensure that the continuity of multimedia file is played in the embodiment of the present invention.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding the embodiment of the present invention, constitutes the embodiment of the present invention
A part, does not constitute the restriction to the embodiment of the present invention.In the accompanying drawings:
Fig. 1 is the implementation process figure of the method for the broadcasting control provided in first embodiment of the invention;
Fig. 2 is the implementation process figure of the method for the broadcasting control provided in second embodiment of the invention;
Fig. 3 is the implementation process figure for the method that the present invention the 3rd applies the broadcasting control provided in example;
Fig. 4 is the result schematic diagram of the device of the broadcasting control provided in fourth embodiment of the invention;
Fig. 5 is the result schematic diagram of the system of the broadcasting control provided in fifth embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment to the embodiment of the present invention carry out in further detail with complete explanation.It can manage
Solution, specific embodiment described herein is only used for explaining the embodiment of the present invention, rather than the restriction to the embodiment of the present invention.
It also should be noted that, for the ease of description, the part related to the embodiment of the present invention rather than entirely is illustrate only in accompanying drawing
Portion's content.
First embodiment:
Fig. 1 is the implementation process figure for the method that the control provided in first embodiment of the invention is played, the execution of this method
Main body can be:Digital media controller (Digital Media Controller, DMC) in DLNA device.The realization stream
Journey includes:
After step 11, digital media controller DMC are restarted, the digital media server DMS identification codes prestored are obtained
With the digital Media renderer DMR identification codes prestored, and DMS corresponding with the DMS identification codes and the DMR identification codes
Corresponding DMR sets up connection.
After DMC is restarted, the DMS identification codes that prestore can be obtained from the configuration file of itself and are prestored
DMR identification codes.Wherein DMS identification codes are corresponded with DMS, and DMR identification codes are corresponded with DMR, i.e., one DMS identification code
Unique DMS is corresponded only to, a DMS also corresponds only to unique DMS identification codes;One DMR identification code is corresponded only to uniquely
DMR, a DMR also corresponds only to unique DMR identification codes.Wherein, DMS identification codes can be DMS hardware (Media
Access Control, MAC) address, DMR identification codes can also be DMR hardware address.
DMC is obtained after DMR identification codes and DMS identification codes, respectively DMR and DMS identification codes pair corresponding with DMR identification codes
The DMS answered sets up connection so that the corresponding DMR of the corresponding DMS and DMR identification codes of DMC, DMS identification code is assisted in same DLNA
View, can be in communication with each other between them, and DMC can control the corresponding DMR of the corresponding DMS and DMR identification codes of DMS identification codes.
Step 12, it is determined that the DMR plays multimedia file, and determine there is what is played in the DMS
During file belonging to multimedia file, the corresponding playlist of each multimedia file in the file is generated, and according to
The playlist controls the DMS to push multimedia file to the DMR, the DMR is played the multimedia file received.
Specifically, DMC can send " obtaining transmission information (GetTransportInfo) " instruction to DMR, obtain DMR and work as
Preceding working condition, to determine DMR whether in broadcast state.It is determined that DMR is after broadcast state, DMC can be to DMR
" obtaining positional information (GetPositionInfo) " instruction is sent, the multimedia file that DMR is being played is obtained, is broadcast
The multimedia file put not is space-time, determines that the DMR plays multimedia file.
When it is determined that there is the file belonging to the multimedia file played in the DMS, in generation this document folder
The corresponding playlist of each multimedia file, and control the DMS to push multimedia text to the DMR according to the playlist
Part, makes the DMR play the multimedia file received.
Wherein, after it is determined that the DMR plays multimedia file, it can also include:Obtain many matchmakers played
The numbering of body file;Control the DMS to push multimedia file to the DMR according to the playlist, play the DMR
The multimedia file of reception, can include:
A, the numbering according to the multimedia file played, position the multimedia played in the playlist
The position of file.
After DMC determines that DMR plays multimedia file, the numbering for the multimedia file played also is obtained.
After creating playlist, according to the numbering for the multimedia file played, playing many are positioned in the play list
The position of media file.The numbering for the multimedia file played is searched in the play list, that is, orients what is played
The position of multimedia file in the play list.
B, the position according to the playlist and the multimedia file played, determine next many matchmakers to be played
The numbering of body file, and the numbering of next multimedia file to be played is sent to the DMS, make the DMS will
The corresponding multimedia media file of numbering received is pushed to DMR so that the DMR play receive it is next to be played
Multimedia file.
Positions of the DMC according to the multimedia file played in the play list, determines next many matchmakers to be played
The numbering of next multimedia file to be played is sent to the DMS by the numbering of body file, DMC, DMS is performed following behaviour
Make:Receive the numbering of next multimedia file to be played;Search the numbering correspondence of next multimedia file to be played
Multimedia file, and the multimedia file found is pushed to the DMR, DMR is played the multimedia file received.
Belonging to the playlist created after DMC is restarted in first embodiment of the invention and the multimedia file played
File correspondence, therefore each multimedia file that the playlist includes, it is each that the playlist before being exited with DMC includes
Multimedia file is identical.The method that the control provided in the present embodiment is played, many matchmakers pushed before DMC is exited are played in DMR
After body file, additionally it is possible to continue to push next multimedia file, it is ensured that the continuity of multimedia file is played;In addition, this
The establishment process of playlist can be completed on DMC in embodiment, be participated in without user, with good compatibility.
Second embodiment:
Fig. 2 is the implementation process figure for the method that the control provided in second embodiment of the invention is played, the execution of this method
Main body can be:DMC in DLNA device.The implementation process includes:
Step 21, the DMC access DMS in file when, by the corresponding DMS identification codes of DMS and access file
In routing information deposit DMC.
, i.e., can be by when DMC accesses the file belonging to multimedia file in DMS in file during DMC accesses DMS
The corresponding DMS identification codes of DMS and this document press from both sides the configuration file that corresponding folder path information is stored in DMC.Therefore, DMC roots
Connected DMS information, and the folder information that DMC is accessed are resulted according to the configuration file of itself.
Step 22, when the DMC is connected with DMR, the corresponding DMR identification codes of DMR for playing multimedia file are stored in
In the DMC.
When DMC is connected with DMR, for example, when setting up DMC and DMR connection, or in DMC control DMS that multimedia is literary
When part is pushed to DMR, the corresponding DMR identification codes of DMR for playing multimedia file are stored in DMC configuration file.Therefore,
DMC results in connected DMR information according to the configuration file of itself.
After step 23, DMC are restarted, obtain the DMS identification codes that prestore and the DMR identification codes prestored, and with institute
State the corresponding DMS of DMS identification codes and the corresponding DMR of the DMR identification codes sets up connection.
After DMC is restarted, the DMR marks that the DMS identification codes prestored are obtained from the configuration file of itself and are prestored
Know code.DMC can also set up connection by the corresponding DMS of DMR and DMS identification codes corresponding with DMR identification codes respectively so that DMC,
The corresponding DMR of the corresponding DMS and DMR identification codes of DMS identification codes is in same DLNA agreements, can be in communication with each other between them,
And DMC can control the corresponding DMR of the corresponding DMS and DMR identification codes of DMS identification codes.
Step 24, it is determined that the DMR plays multimedia file, and determine there is what is played in the DMS
During file belonging to multimedia file, the corresponding playlist of each multimedia file in the file is generated, and according to
The playlist controls the DMS to push multimedia file to the DMR, the DMR is played the multimedia file received.
Whether DMC can obtain the current working conditions of DMR, to determine DMR in broadcast state.It is determined that at DMR
In after broadcast state, DMC can obtain the multimedia file that DMR is being played, and not be sky in the multimedia file played
When, determine that the DMR plays multimedia file.
When it is determined that there is the file belonging to the multimedia file played in the DMS, in generation this document folder
The corresponding playlist of each multimedia file, and control the DMS to push multimedia text to the DMR according to the playlist
Part, makes the DMR play the multimedia file received.
Wherein it is determined that there is the file belonging to the multimedia file played in the DMS, it can include:Institute
State when the corresponding file of the folder path information is found in DMS, determine there are many matchmakers played in the DMS
File belonging to body file.
The DMS currently selected root is browsed, if being found in the root and the folder path information
First layer path identical fileinfo, then continue to search the with the folder path information in first layer fileinfo
Two layers of path identical fileinfo, duplicate paths search operation, until finding text corresponding with this document folder routing information
Untill part is pressed from both sides.If finding file corresponding with this document folder routing information, it is determined that exist in the DMS currently selected described
File belonging to multimedia file;Otherwise, it determines the file belonging to the multimedia file is not present in the DMS currently selected
Folder, and end operation.
Wherein, after it is determined that the DMR plays multimedia file, it can also include:Obtain many matchmakers played
The numbering of body file;Control the DMS to push multimedia file to the DMR according to the playlist, play the DMR
The multimedia file of reception, can include:According to the numbering for the multimedia file played, positioned in the playlist
The position for the multimedia file played;According to the position of the playlist and the multimedia file played, it is determined that
The numbering of next multimedia file to be played, and the numbering of next multimedia file to be played is sent to institute
DMS is stated, makes the DMS that the corresponding multimedia media file of the numbering received is pushed into DMR, is connect so that the DMR is played
The next multimedia file to be played received.
It should be noted that be not construed as limiting in the embodiment of the present invention to the form of configuration file in DMC, need to only be stored with
The routing information of the corresponding DMR identification codes of DMR of DMC connections, DMR identification codes corresponding with the DMR of DMC connections, and file
.
The method that the control provided in second embodiment of the invention is played, before DMC is exited, in DMC configuration file
It is middle to store what DMS identification codes corresponding with the DMS of DMC connections, DMR identification codes corresponding with the DMR of DMC connections, and DMC were accessed
Folder path information;After DMC is restarted, when the DMR plays multimedia file, the playlist of generation with
File correspondence belonging to the multimedia file of broadcasting, therefore the multimedia file that the playlist includes, it is exited with DMC
The multimedia file that preceding playlist includes is identical, the method that the control provided in the present embodiment is played, and is playing
After multimedia file has been played, the next many matchmakers to be played of multimedia file played described in playing are can continue to
Body file.In addition, the establishment process of multimedia file can be completed on DMC in the present embodiment, participated in without user, with very
Good compatibility.
3rd embodiment:
Fig. 3 is the implementation process figure for the method that the control provided in third embodiment of the invention is played, the execution of the step
Main body can be:DMC in DLNA device.The implementation process includes:
Step 31, the DMC access DMS in file when, by the corresponding DMS identification codes of DMS and access file
In routing information deposit DMC.
In file during DMC accesses DMS, the corresponding DMS identification codes of DMS and this document can be pressed from both sides corresponding file
Routing information is stored in DMC configuration file.Therefore, DMC results in connected DMS according to the configuration file of itself and believed
Breath, and the folder information that DMC is accessed.
Step 32, when the DMC is connected with DMR, the corresponding DMR identification codes of DMR for playing multimedia file are stored in
In the DMC.
When DMC is connected with DMR, the corresponding DMR identification codes of the DMR for playing multimedia file can be stored matching somebody with somebody for DMC
Put in file.Therefore, DMC results in connected DMR information according to the configuration file of itself.
It should be noted that being not construed as limiting in the embodiment of the present invention to the execution sequence of step 31 and step 32.
After step 33, DMC are restarted, obtain the DMS identification codes that prestore and the DMR identification codes prestored, and with institute
State the corresponding DMS of DMS identification codes and the corresponding DMR of the DMR identification codes sets up connection.
After DMC is restarted, the DMR marks that the DMS identification codes prestored are obtained from the configuration file of itself and are prestored
Know code.The corresponding DMS of DMR and DMS identification codes corresponding with DMR identification codes sets up connection, i.e. DMC, DMS identification code to DMC respectively
The corresponding DMR of corresponding DMS and DMR identification codes is in same DLNA agreements.
Step 34, determine the DMR whether be in broadcast state, if then continuing executing with step 35;Otherwise, step is jumped to
In rapid 310.
DMC can send " obtaining transmission information (GetTransportInfo) " instruction to DMR, and DMR, which is received, " to be obtained and pass
After defeated information (GetTransportInfo) " instruction, DMR broadcast state is sent to DMC.If the broadcast state sent is " just
Playing ", it is determined that the DMR is in broadcast state;Otherwise, it determines DMR is not at just in broadcast state.
Step 35, determine whether the DMR plays multimedia file, if so, continuing executing with step 36;Otherwise, jump
Go in step 310.
DMC can send " obtaining positional information (GetPositionInfo) " instruction to DMR, and it is many that acquisition is being played
Media data, if the multi-medium data played not is sky, it is determined that DMR plays multimedia file;Otherwise, it determines
DMR is not playing multimedia file.
Step 36, the numbering for recording the multimedia file.
Step 37, determine in the DMS whether there is the corresponding file of the folder path information, if in the presence of,
Continue executing with step 38;Otherwise jump in step 310.
If there is the corresponding file of the folder path information in the DMS, it is determined that there is institute in the DMS
State the file belonging to multimedia file;Otherwise, it determines the corresponding file of folder path information is not present in the DMS.
The corresponding playlist of each multimedia file in step 38, the generation file.
Step 39, the numbering according to the multimedia file, position the multimedia played in the playlist
The position of file, determines the numbering of next multimedia file to be played, and next multimedia to be played is literary
The numbering of part is sent to the DMS, makes the DMS that the corresponding multimedia media file of the numbering received is pushed into DMR, makes
The DMR plays the next multimedia file to be played received.
Step 310, end operation.
The operation that finishing control is played, i.e. DMC plays multimedia file according to the operational control DMR and DMS of user.
The method that the control provided in third embodiment of the invention is played, DMC records access when accessing DMS catalogues
The corresponding DMS identification codes of DMS, and corresponding DMR identification codes of DMR, and preserve the folder path information of current accessed to DMC
Configuration file in;After DMC is exited, configuration file will not be cleared or delete.After DMC is restarted, first pass through and prestore
DMS identification codes and the DMR identification codes that prestore obtain DMC and exit the DMS and DMR connected before, if now DMR is
Multimedia file is played, then according to the folder path information prestored in configuration file, is successively accessed by browse action
Untill DMS catalogue, the file belonging to multimedia file played until finding, each many matchmakers in generation this document folder
The corresponding playlist of body file, and multimedia file is played using the playlist control of generation.
It is the device embodiment and system embodiment of the embodiment of the present invention below, the inventive method embodiment, device are implemented
Example and system embodiment belong to same design, and the detail content of not detailed description in device embodiment and system embodiment can
To refer to above method embodiment.
Fourth embodiment:
Fig. 4 is the structural representation for the device that the control provided in fourth embodiment of the invention is played, as shown in figure 4, this
Device described in embodiment can be the DMC in DLNA device.The device includes:Equipment selecting unit 41, for Digital Media
After controller DMC is restarted, obtain the digital media server DMS identification codes prestored and the Digital Media prestored renders
Device DMR identification codes, and DMS corresponding with the DMS identification codes and the corresponding DMR of the DMR identification codes set up connection;First is true
Order member 42, for determining whether the DMR plays multimedia file;Second determining unit 43, for determining the DMS
In with the presence or absence of the file belonging to the multimedia file played;List generation unit 44, for it is determined that the DMR just
Multimedia file is being played, and when determining to exist in the DMS file belonging to the multimedia file played, is generating institute
State the corresponding playlist of each multimedia file in file;Playing control unit 45, for according to the playlist control
Make the DMS and push multimedia file to the DMR, the DMR is played the multimedia file received.
Wherein, the device can also include:Numbering obtaining unit, the volume for obtaining the multimedia file played
Number;The playing control unit 45 can specifically include:Position locator unit, for according to the multimedia file played
Numbering, the position for the multimedia file played is positioned in the playlist;It is continuous to play subelement, for basis
The position of the playlist and the multimedia file played, determines the numbering of next multimedia file to be played,
And the numbering of next multimedia file to be played is sent to the DMS, make the DMS by the numbering pair received
The multimedia media file answered is pushed to DMR, and the DMR is played the next multimedia file to be played received.
Wherein, the device can also include:First pre-storing unit, for the DMC access DMS in file when,
By in the corresponding DMS identification codes of DMS and the folder path information accessed deposit DMC;Second pre-storing unit, for described
When DMC is connected with DMR, the corresponding DMR identification codes of DMR for playing multimedia file are stored in the DMC.
Wherein, second determining unit specifically can be used for:The folder path information is found in the DMS
During corresponding file, the file for having belonging to the multimedia file played in the DMS is determined.
The device that the control provided in fourth embodiment of the invention is played, DMC records access when accessing DMS catalogues
The corresponding DMS identification codes of DMS, and corresponding DMR identification codes of DMR, and preserve the folder path information of current accessed to DMC
Configuration file in;After DMC is exited, configuration file will not be cleared or delete.After DMC is restarted, first pass through and prestore
DMS identification codes and the DMR identification codes that prestore obtain DMC and exit the DMS and DMR connected before, if now DMR is
Multimedia file is played, then according to the folder path information prestored in configuration file, is successively accessed by browse action
Untill DMS catalogue, the file belonging to multimedia file played until finding, each many matchmakers in generation this document folder
The corresponding playlist of body file, and multimedia file is played using the playlist control of generation.
5th embodiment:
Fig. 5 is the structural representation for the system that the control provided in fifth embodiment of the invention is played, as shown in figure 5, this
Control system described in embodiment includes:DMC51 and the DMC follow the DMS52 and DMR53 of same DLNA agreements, described
DMC51 is used to control DMS52 to send multimedia file to DMR53, and DMR53 is used to play the multimedia file received, its feature
It is, wherein,
The DMC51 can be used for:After restarting, the DMS identification codes prestored and the DMR prestored mark are obtained
Code, and DMS corresponding with the DMS identification codes and the corresponding DMR of the DMR identification codes set up connection;It is determined that the DMR just
Multimedia file is being played, and when determining to exist in the DMS file belonging to the multimedia file played, is generating institute
The corresponding playlist of each multimedia file in file is stated, and the DMS is controlled to the DMR according to the playlist
Multimedia file is pushed, the DMR is played the multimedia file received.
Wherein, the DMC51 can include equipment selecting unit, the first determining unit, the second determining unit, list generation
Unit and playing control unit, can also include the pre-storing unit of numbering obtaining unit first and the second pre-storing unit, wherein,
The playing control unit can specifically include position locator unit and continuous broadcasting subelement.
The system that the control provided by fifth embodiment of the invention is played, can continue to play DMC after DMC is restarted
The next multimedia file to be played for the multimedia file that DMR is being played when exiting, realizes the company of multimedia file
Continuous property is played.
The preferred embodiment of the upper only embodiment of the present invention, is not intended to limit the invention embodiment, for ability
For field technique personnel, the embodiment of the present invention can have various changes and change.All spirit and principle in the embodiment of the present invention
Within any modification, equivalent substitution and improvements made etc., should be included within the protection domain of the embodiment of the present invention.
Claims (7)
1. a kind of method that control applied to DLNA DLNA agreements is played, it is characterised in that including:
After digital media controller DMC is restarted, obtain the digital media server DMS identification codes that prestore and prestore
Digital Media renderer DMR identification codes, and DMS corresponding with the DMS identification codes and the corresponding DMR of the DMR identification codes build
Vertical connection, the DMS identification codes are corresponded with DMS, and DMR identification codes are corresponded with DMR;
Whether the DMC is sent to DMR obtains transmission information command, obtains the current working conditions of DMR, to determine DMR at place
In broadcast state, it is determined that DMR is after broadcast state, the DMC is sent to DMR obtains positional information instruction, is obtaining DMR just
It not is space-time in the multimedia file played in the multimedia file of broadcasting, determines that the DMR is playing multimedia text
Part, obtains the numbering for the multimedia file played;
When it is determined that there is the file belonging to the multimedia file played in the DMS, generate in the file
The corresponding playlist of each multimedia file, and according to the numbering for the multimedia file played, in the playlist
Position the position for the multimedia file played;
According to the position of the playlist and the multimedia file played, next multimedia file to be played is determined
Numbering, and the numbering of next multimedia file to be played is sent to the DMS, the DMS will be received
The corresponding multimedia media file of numbering be pushed to DMR, and the DMR is played the next many matchmakers to be played received
Body file.
2. according to the method described in claim 1, it is characterised in that before DMC is restarted, in addition to:
In file during the DMC accesses DMS, the corresponding DMS identification codes of DMS and the folder path information accessed are stored in
In DMC;
When the DMC is connected with DMR, the corresponding DMR identification codes of DMR for playing multimedia file are stored in the DMC.
3. method according to claim 2, it is characterised in that determine to exist in the DMS multimedia text played
File belonging to part, including:
When the corresponding file of the folder path information is found in the DMS, determine to exist in the DMS and broadcast
The file belonging to multimedia file put.
4. the device that a kind of control applied to DLNA DLNA agreements is played, it is characterised in that including:
Equipment selecting unit, after restarting for digital media controller DMC, obtains the digital media server DMS prestored
Identification code and the digital Media renderer DMR identification codes prestored, and the DMS and DMR corresponding with the DMS identification codes
The corresponding DMR of identification code sets up connection, and the DMS identification codes are corresponded with DMS, and DMR identification codes are corresponded with DMR;
Numbering obtaining unit, sends to DMR for the DMC and obtains transmission information command, obtains the current working conditions of DMR,
Whether to determine DMR in broadcast state, it is determined that DMR is after broadcast state, the DMC sends to DMR and obtains position
Information command, obtains the multimedia file that DMR is being played, and not is space-time in the multimedia file played, it is determined that described
DMR plays multimedia file, obtains the numbering for the multimedia file played;
Second determining unit, for determining in the DMS with the presence or absence of the file belonging to the multimedia file played;
List generation unit, for determining to exist in the DMS during file belonging to the multimedia file played, generation
The corresponding playlist of each multimedia file in the file;
Playing control unit, is specifically included:
Position locator unit, for the numbering according to the multimedia file played, is positioned just in the playlist
In the position of the multimedia file of broadcasting;
It is continuous to play subelement, for the position according to the playlist and the multimedia file played, determine next
The numbering of individual multimedia file to be played, and the numbering of next multimedia file to be played is sent to described
DMS, makes the DMS that the corresponding multimedia media file of the numbering received is pushed into DMR, and the DMR is played reception
The next multimedia file to be played arrived.
5. device according to claim 4, it is characterised in that also include:
First pre-storing unit, for the DMC access DMS in file when, by the corresponding DMS identification codes of DMS and access
Folder path information deposit DMC in;
Second pre-storing unit, for when the DMC is connected with DMR, the corresponding DMR of DMR for playing multimedia file to be marked
Know code to be stored in the DMC.
6. device according to claim 5, it is characterised in that second determining unit specifically for:
When the corresponding file of the folder path information is found in the DMS, determine to exist in the DMS and broadcast
The file belonging to multimedia file put.
7. the system that a kind of control applied to DLNA DLNA agreements is played, including digital media controller
DMC and the DMC follow the digital media server DMS and digital Media renderer DMR of same DLNA agreements, the DMC use
Multimedia file is sent to DMR in control DMS, DMR is used to play the multimedia file received, it is characterised in that wherein,
The DMC is used for:After restarting, obtain the DMS identification codes that prestore and the DMR identification codes prestored, and with it is described
The corresponding DMS of DMS identification codes and the corresponding DMR of the DMR identification codes set up connection, a pair of the DMS identification codes and DMS 1
Should, and DMR identification codes and DMR one-to-one corresponding;The DMC is sent to DMR obtains transmission information command, obtains the current works of DMR
Make state, whether to determine DMR in broadcast state, it is determined that DMR is after broadcast state, the DMC sends to DMR and obtained
Take positional information to instruct, obtain the multimedia file that DMR is being played, be not space-time in the multimedia file played, really
The fixed DMR plays multimedia file, obtains the numbering for the multimedia file played;
When it is determined that there is the file belonging to the multimedia file played in the DMS, generate in the file
The corresponding playlist of each multimedia file, and according to the numbering for the multimedia file played, in the playlist
Position the position for the multimedia file played;
According to the position of the playlist and the multimedia file played, next multimedia file to be played is determined
Numbering, and the numbering of next multimedia file to be played is sent to the DMS, the DMS will be received
The corresponding multimedia media file of numbering be pushed to DMR, and the DMR is played the next many matchmakers to be played received
Body file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410459267.7A CN104243469B (en) | 2014-09-10 | 2014-09-10 | A kind of method for controlling to play, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410459267.7A CN104243469B (en) | 2014-09-10 | 2014-09-10 | A kind of method for controlling to play, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104243469A CN104243469A (en) | 2014-12-24 |
CN104243469B true CN104243469B (en) | 2017-10-31 |
Family
ID=52230819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410459267.7A Active CN104243469B (en) | 2014-09-10 | 2014-09-10 | A kind of method for controlling to play, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104243469B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104918099B (en) * | 2015-05-20 | 2018-11-23 | 广东欧珀移动通信有限公司 | A kind of multimedia timer playback method, terminal and system |
CN105261379B (en) * | 2015-10-20 | 2018-01-23 | 广东欧珀移动通信有限公司 | A kind of playlist synchronous method, wireless sound box and DMC |
CN105338401B (en) * | 2015-11-16 | 2019-08-27 | 深圳Tcl数字技术有限公司 | The playback method and system of multimedia file |
CN109495571B (en) * | 2018-11-22 | 2022-03-22 | 北京远特科技股份有限公司 | File management method and file management system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2387198A1 (en) * | 2010-05-12 | 2011-11-16 | Hitachi Solutions, Ltd. | Content distribution system and gateway device, and program |
CN102547442A (en) * | 2011-12-26 | 2012-07-04 | 四川长虹电器股份有限公司 | Television program sharing method based on UPnP (universal plug and play) |
CN102665134A (en) * | 2012-04-05 | 2012-09-12 | 烽火通信科技股份有限公司 | Method for realizing DLNA media sharing by using set-top box |
CN102724196A (en) * | 2012-06-21 | 2012-10-10 | 中兴通讯股份有限公司 | Method and device for playing media resource data |
CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | Media play controlling method and device |
CN103888515A (en) * | 2014-02-26 | 2014-06-25 | 四川长虹电器股份有限公司 | Media resource sharing method based on browser |
-
2014
- 2014-09-10 CN CN201410459267.7A patent/CN104243469B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2387198A1 (en) * | 2010-05-12 | 2011-11-16 | Hitachi Solutions, Ltd. | Content distribution system and gateway device, and program |
CN102547442A (en) * | 2011-12-26 | 2012-07-04 | 四川长虹电器股份有限公司 | Television program sharing method based on UPnP (universal plug and play) |
CN102665134A (en) * | 2012-04-05 | 2012-09-12 | 烽火通信科技股份有限公司 | Method for realizing DLNA media sharing by using set-top box |
CN102724196A (en) * | 2012-06-21 | 2012-10-10 | 中兴通讯股份有限公司 | Method and device for playing media resource data |
CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | Media play controlling method and device |
CN103888515A (en) * | 2014-02-26 | 2014-06-25 | 四川长虹电器股份有限公司 | Media resource sharing method based on browser |
Also Published As
Publication number | Publication date |
---|---|
CN104243469A (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104219791B (en) | general environment expander | |
CN104243469B (en) | A kind of method for controlling to play, apparatus and system | |
CN106101825B (en) | A kind of method and server of terminal monitoring | |
KR102109985B1 (en) | Application discovery | |
CN105100961B (en) | Video thumbnail generation method and generating means | |
CN104125200B (en) | Multi-screen interaction method, equipment and system | |
CN105847880A (en) | Audio-video sharing method, server and terminal | |
CN103152624A (en) | Remote control processing method, device and system | |
KR20140051850A (en) | Play control of content on a display device | |
CN104635501A (en) | Intelligent home control method and system | |
CN104244076B (en) | A kind of method and system for grouping being realized by DLNA while manipulating more media devices | |
CN102364957A (en) | Method, device and equipment for playing internet videos | |
CN105023575A (en) | Speech recognition method, apparatus and system | |
US20120297075A1 (en) | Device interconnection and service discovery via a communication cloud | |
CN104333813A (en) | Video playing method, device and system | |
CN105100711A (en) | Information-transmitting method and device | |
CN104837157A (en) | Sound box adding method, sound box adding device, mobile terminal and intelligent sound box | |
CN102298590B (en) | Home interconnected information display system and method, and display terminals and server for the same | |
CN104301400B (en) | Multi-screen collaboration and resource share method based on Samba agreements | |
CN105812185A (en) | Communication connection method for playing device | |
CN102547481B (en) | Mobile streaming media online play list setting and content fast-switching method and system | |
CN104303517B (en) | Information processing equipment and method, user equipment and computer readable recording medium storing program for performing | |
CN105447084B (en) | A kind of method and device that list is played simultaneously | |
CN104394125B (en) | A kind of mobile device shares the method and mobile device of multimedia file | |
CN104936010B (en) | TV remote controlling method, device and system based on input method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |