CN104506508B - A kind of the file information synchronous method and relevant device - Google Patents
A kind of the file information synchronous method and relevant device Download PDFInfo
- Publication number
- CN104506508B CN104506508B CN201410778636.9A CN201410778636A CN104506508B CN 104506508 B CN104506508 B CN 104506508B CN 201410778636 A CN201410778636 A CN 201410778636A CN 104506508 B CN104506508 B CN 104506508B
- Authority
- CN
- China
- Prior art keywords
- media
- file
- store path
- media file
- currently playing
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 21
- 238000000151 deposition Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
A kind of the file information synchronous method and relevant device.The embodiment of the invention discloses a kind of the file information synchronous method, comprising: the store path of the currently playing media file of media renderer is obtained from media server;The store path of the currently playing media file is sent to the media renderer, so that the store path of the currently playing media file is sent to the associated all media controllers of the media renderer by the media renderer, so that all media controllers obtain the resource information of the currently playing media file according to the store path of the currently playing media file from the media server.The embodiment of the invention also discloses a kind of media controller and media renderers.Using the embodiment of the present invention, the resource information of the media file in multiple media controllers can be synchronized, to realize that multiple media controllers play out control operation to same playlist.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of the file information synchronous method and relevant device.
Background technique
DLNA (Digital Living Network Alliance, terminal Interworking Solution) technology obtains at present
Extensive development, more and more media devices, audiovisual terminals or playing platform all support DLNA agreement.The technology allows equipment
Under network connection state, it can be found that possessing the equipment of other function, and check with the media resource in sharing service device extremely
It is played out in some player.The type of DLNA device mainly has a media player, media renderer, media server and
Media controller.
DLNA defines a kind of push push mode, which requires at least 3 kinds of equipment in network, media renderer,
Media server and media controller.Wherein, media controller is as control point, it can be found that other two equipment, and
It can browse through the media file in media server, and the media file transmitting to media renderer played out.Media clothes
Business device and media renderer support the access control of more media controllers, but can not share well or synchronize more at present
The content of a media controller browses the money of the media file if some media controller accesses media server media file
Source information, and the media file transmitting to media renderer is played, then other media controllers cannot obtain in network segment
To the resource information of media file being played on, the resource information that cannot achieve media file is synchronous.
Summary of the invention
The embodiment of the present invention provides a kind of the file information synchronous method and relevant device.Multiple media controllers can be synchronized
In media file resource information, thus realize multiple media controllers to same playlist play out control operation.
The embodiment of the invention provides a kind of the file information synchronous method, comprising:
Specified media controller obtains the storage road of the currently playing media file of media renderer from media server
Diameter;
The store path of the currently playing media file is sent to the media wash with watercolours by the specified media controller
Device is contaminated, so that the store path of the currently playing media file is sent to the media renderer by the media renderer
Associated all media controllers, so that storage road of all media controllers according to the currently playing media file
Diameter obtains the resource information of the currently playing media file, all media controller packets from the media server
Include the specified media controller and other media controllers.
Wherein, the store path that the currently playing media file of media renderer is obtained from media server it
Before, further includes:
The specified media controller obtains the resource information of media file from the media server;
The resource information of the media file is sent to the media renderer by the specified media controller, so that institute
It states media renderer and the media file progress is obtained from the media server according to the resource information of the media file
It plays.
Wherein, the store path that the currently playing media file of media renderer is obtained from media server it
Before, further includes:
The specified media controller subscribes to project control service to the media renderer, wherein other described media
Controller subscribes to project control service to the media renderer simultaneously.
The embodiment of the invention provides another the file information synchronous method, comprising:
Media renderer receives the media hype got in the slave media server that specified media controller is sent
The store path of the currently playing media file of device;
The store path of the currently playing media file is sent to the media renderer by the media renderer
Associated all media controllers, so that storage road of all media controllers according to the currently playing media file
Diameter obtains the resource information of the currently playing media file, all media controller packets from the media server
Include the specified media controller and other media controllers.
Wherein, described to receive the media renderer got in the slave media server that specified media controller is sent
Before the store path of currently playing media file, further includes:
The media renderer receives the resource information for the media file that the specified media controller is sent;
The media renderer obtains the matchmaker according to the resource information of the media file from the media server
Body file plays out.
Wherein, it is associated to be sent to the media renderer for the store path by the currently playing media file
Before all media controllers, further includes:
The media renderer will once be broadcast before the store path of the currently playing media file and current record
The store path for the media file put is compared;
If the store path of the media renderer currently playing media file is previous with the current record
The store path of the media file of secondary broadcasting is not identical, then executes the store path by the currently playing media file
The step of being sent to the media renderer associated all media controllers.
Correspondingly, the embodiment of the invention provides a kind of media controllers, comprising:
Path obtains module, for obtaining the storage of the currently playing media file of media renderer from media server
Path;
Path sending module, for the store path of the currently playing media file to be sent to the media hype
Device closes so that the store path of the currently playing media file is sent to the media renderer by the media renderer
All media controllers of connection, so that store path of all media controllers according to the currently playing media file
The resource information of the currently playing media file is obtained from the media server, all media controllers include
Specified media controller and other media controllers.
Wherein, the media controller further include:
Data obtaining module, for obtaining the resource information of media file from the media server;
Information sending module, for the resource information of the media file to be sent to the media renderer, so that institute
It states media renderer and the media file progress is obtained from the media server according to the resource information of the media file
It plays.
Wherein, the media controller further include:
Service subscription module, for subscribing to project control service to the media renderer, wherein other described media controls
Device processed subscribes to project control service to the media renderer simultaneously.
Correspondingly, the embodiment of the invention provides a kind of media renderers, comprising:
Path receiving module, for receiving the matchmaker got in the slave media server that specified media controller is sent
The store path of the currently playing media file of body renderer;
Path sending module, for the store path of the currently playing media file to be sent to the media hype
The associated all media controllers of device, so that storage of all media controllers according to the currently playing media file
Path obtains the resource information of the currently playing media file, all media controllers from the media server
Including the specified media controller and other media controllers.
Wherein, the media renderer further include:
Information receiving module, for receiving the resource information for the media file that the specified media controller is sent;
Information playing module obtains institute for the resource information according to the media file from the media server
Media file is stated to play out.
Wherein, the path sending module is also used to the store path of the currently playing media file and current
The store path of the preceding media file once played of record is compared;And if the currently playing media file is deposited
It is not identical as the store path of the preceding media file once played of the current record to store up path, then executes and works as described in described incite somebody to action
The store path of the media file of preceding broadcasting is sent to the step of media renderer associated all media controllers.
Implement the embodiment of the present invention, specified media controller obtains media renderer first from media server and currently broadcasts
The store path for the media file put;Then the store path of currently playing media file is sent to media renderer, with
Make media renderer that the store path of currently playing media file is sent to the associated all media of media renderer to control
Device is currently broadcast so that all media controllers are obtained from media server according to the store path of currently playing media file
The resource information for the media file put, can synchronize the resource information of the media file in multiple media controllers, to realize
Multiple media controllers play out control operation to same playlist.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field
For those of ordinary skill, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of first embodiment of the file information synchronous method proposed by the present invention;
Fig. 2 is a kind of flow chart of another embodiment of the file information synchronous method proposed by the present invention;
Fig. 3 is a kind of structural schematic diagram for media controller that the embodiment of the present invention proposes;
Fig. 4 is a kind of structural schematic diagram for media renderer that the embodiment of the present invention proposes;
Fig. 5 is a kind of structural schematic diagram for the file information synchronization system that the embodiment of the present invention proposes.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
In the present invention, media server may include set-top box, PVR (Personal Video Recorder, individual
Video record), PCS (Personal Cloud Storage, personal cloud storage), the stereo and home theater with hard disk,
Broadcasting tuner or Video Image Capturing equipment (such as camera, video camera or mobile phone).Media controller can be remote control
Device or mobile phone with media controller function.Media renderer may include that television set, audio frequency and video frequency receivers, video are shown
Device or wireless music loudspeaker etc..
Referring to FIG. 1, Fig. 1 is a kind of flow chart of first embodiment of the file information synchronous method proposed by the present invention.Such as
Shown in figure, the method in the embodiment of the present invention includes:
S101, specified media controller obtain depositing for the currently playing media file of media renderer from media server
Store up path.
In the specific implementation, specified media controller subscribes to project control service to the media renderer first, wherein its
He subscribes to project control service to the media renderer simultaneously at media controller.Then media controller browsing media clothes are specified
The resource information for some media file being engaged in device, and the resource information of the media file is obtained, by the money of the media file
Source information is sent to the media renderer, so that the media renderer plays out the media file.At this point, specified
Media controller can obtain the store path of the currently playing media file of media renderer from media server.Wherein,
The store path of media file may include media server mark UUID (Universally Unique Identifier,
General exclusive identification code) and media file mark ObjectID.
The store path of the currently playing media file is sent to the matchmaker by S102, the specified media controller
Body renderer, so that the store path of the currently playing media file is sent to the media wash with watercolours by the media renderer
The associated all media controllers of device are contaminated, so that all media controllers depositing according to the currently playing media file
Storage path obtains the resource information of the currently playing media file, all media controls from the media server
Device includes the specified media controller and other media controllers.
In the specific implementation, specified media controller can call the project control service subscribed in advance, such as: X_
The store path of the currently playing media file is sent to by SetNowplayingDmsContainerId power function
The media renderer.
In addition, working as by described in after the store path that media renderer receives the currently playing media file
The store path of the media file of preceding broadcasting is compared with the store path for the media file that the preceding of current record once plays;
If the storage of the store path of the currently playing media file and the preceding media file once played of the current record
Path is not identical, then it is associated all the store path of the currently playing media file to be sent to the media renderer
Media controller, so that all media controllers are according to the store path of the currently playing media file from the matchmaker
The resource information of the currently playing media file is obtained in body server;If the storage of the currently playing media file
Path is identical as the store path of the preceding media file once played of the current record, then illustrates that media renderer is previous
The media file of secondary broadcasting is identical as currently playing media file, thus all media controllers preserved it is currently playing
Media file store path, no longer need to for the store path of currently playing media file to be sent to all media controls
Device.Wherein, media renderer can be by predefined state variable such as: X_NowplayingDmsContainerId is to described
The store path of the preceding media file once played is recorded.
After the store path that all media controllers receive the currently playing media file, the institute
There is media controller respectively by the store path of the currently playing media file received and the media of current accessed text
The store path of part in the media server is compared, if the store path of the currently playing media file and current visit
The store path of the media file asked in the media server is not identical, then according to the storage of the currently playing media file
Path obtains the resource information of the currently playing media file from the media server, to realize all matchmakers
The resource information of media file in body controller is synchronous.If the store path of the currently playing media file and current visit
The store path of the media file asked in the media server is identical, then media controller has preserved currently playing media text
The resource information of part is not required to reacquire the resource information of the currently playing media file from the media server.
In embodiments of the present invention, it specifies media controller to obtain media renderer first from media server currently to broadcast
The store path for the media file put;Then the store path of currently playing media file is sent to media renderer, with
Make media renderer that the store path of currently playing media file is sent to the associated all media of media renderer to control
Device is currently broadcast so that all media controllers are obtained from media server according to the store path of currently playing media file
The resource information for the media file put, can synchronize the resource information of the media file in multiple media controllers, to realize
Multiple media controllers play out control operation to same playlist.
Referring to FIG. 2, Fig. 2 is a kind of flow chart of the second embodiment of the file information synchronous method proposed by the present invention.Such as
Shown in figure, the method in the embodiment of the present invention includes:
S201, specified media controller obtain the resource information of media file from the media server.
In the specific implementation, specified media controller subscribes to project control service to the media renderer first, wherein its
He subscribes to project control service to the media renderer simultaneously at media controller.Then media controller browsing media clothes are specified
The resource information for some media file being engaged in device, and obtain the resource information of the media file
The resource information of the media file is sent to the media renderer by S202, specified media controller, so that
The media renderer according to the resource information of the media file obtained from the media server media file into
Row plays.
S203, media renderer according to the resource information of the media file, obtained from the media server described in
Media file plays out.
S204, specified media controller obtain depositing for the currently playing media file of media renderer from media server
Store up path.Wherein, the store path of media file may include mark UUID (the Universally Unique of media server
Identifier, general exclusive identification code) and media file mark ObjectID.
The store path of the currently playing media file is sent to the media wash with watercolours by S205, specified media controller
Device is contaminated, so that the store path of the currently playing media file is sent to the media renderer by the media renderer
Associated all media controllers.
In the specific implementation, specified media controller can call the project control service subscribed in advance, such as: X_
The store path of the currently playing media file is sent to by SetNowplayingDmsContainerId power function
The media renderer.
The store path of the currently playing media file is sent to the media renderer by S206, media renderer
Associated all media controllers, so that storage road of all media controllers according to the currently playing media file
Diameter obtains the resource information of the currently playing media file from the media server.
In the specific implementation, after the store path that media renderer receives the currently playing media file, it will
The store path of the preceding media file once played of the store path and current record of the currently playing media file into
Row compares;If the preceding media file once played of the store path of the currently playing media file and the current record
Store path it is not identical, then the store path of the currently playing media file is sent to the media renderer and is associated with
All media controllers so that all media controllers according to the store path of the currently playing media file from
The resource information of the currently playing media file is obtained in the media server;If the currently playing media file
Store path it is identical as the store path of the preceding media file once played of the current record, then illustrate media renderer
The preceding media file once played is identical as currently playing media file, therefore all media controllers have been preserved currently
The store path of the media file of broadcasting no longer needs to for the store path of currently playing media file to be sent to all media controls
Device processed.Wherein, media renderer can by predefined state variable as: X_NowplayingDmsContainerId is to institute
The store path of the media file once played before stating is recorded.
In addition, after the store path that all media controllers receive the currently playing media file,
All media controllers are respectively by the store path of the currently playing media file received and current accessed
The store path of media file in the media server is compared, if the store path of the currently playing media file with
The store path of the media file of current accessed in the media server is not identical, then according to the currently playing media file
Store path the resource information of the currently playing media file is obtained from the media server, thus described in realizing
The resource information of media file in all media controllers is synchronous.If the store path of the currently playing media file with
The store path of the media file of current accessed in the media server is identical, then media controller has been preserved currently playing
The resource information of media file is not required to reacquire the resource of the currently playing media file from the media server
Information.
In embodiments of the present invention, it specifies media controller to obtain media renderer first from media server currently to broadcast
The store path for the media file put;Then the store path of currently playing media file is sent to media renderer, with
Make media renderer that the store path of currently playing media file is sent to the associated all media of media renderer to control
Device is currently broadcast so that all media controllers are obtained from media server according to the store path of currently playing media file
The resource information for the media file put, can synchronize the resource information of the media file in multiple media controllers, to realize
Multiple media controllers play out control operation to same playlist.
Referring to FIG. 3, Fig. 3 is a kind of structural schematic diagram for media controller that the embodiment of the present invention proposes.As shown,
Media controller in the embodiment of the present invention includes:
Service subscription module 301, for subscribing to project control service to the media renderer, wherein other described matchmakers
Body controller subscribes to project control service to the media renderer simultaneously.
Data obtaining module 302, for obtaining the resource information of media file from the media server.
Information sending module 303, for the resource information of the media file to be sent to the media renderer, so that
The media renderer according to the resource information of the media file obtained from the media server media file into
Row plays.
Path obtains module 304, for obtaining the currently playing media file of media renderer from media server
Store path.Wherein, the store path of media file may include the mark UUID (Universally of media server
Unique Identifier, general exclusive identification code) and media file mark ObjectID.
Path sending module 305, for the store path of the currently playing media file to be sent to the media
Renderer, so that the store path of the currently playing media file is sent to the media hype by the media renderer
The associated all media controllers of device, so that storage of all media controllers according to the currently playing media file
Path obtains the resource information of the currently playing media file, all media controllers from the media server
Including the specified media controller and other media controllers.
In the specific implementation, specified media controller can call the project control service subscribed in advance, such as: X_
The store path of the currently playing media file is sent to by SetNowplayingDmsContainerId power function
The media renderer.
In addition, working as by described in after the store path that media renderer receives the currently playing media file
The store path of the media file of preceding broadcasting is compared with the store path for the media file that the preceding of current record once plays;
If the storage of the store path of the currently playing media file and the preceding media file once played of the current record
Path is not identical, then it is associated all the store path of the currently playing media file to be sent to the media renderer
Media controller, so that all media controllers are according to the store path of the currently playing media file from the matchmaker
The resource information of the currently playing media file is obtained in body server;If the storage of the currently playing media file
Path is identical as the store path of the preceding media file once played of the current record, then illustrates primary before media renderer
The media file of broadcasting is identical as currently playing media file, thus all media controllers preserved it is currently playing
The store path of media file no longer needs to the store path of currently playing media file being sent to all media controllers.
Wherein, media renderer can be by predefined state variable such as: X_NowplayingDmsContainerId is to before described
The store path of the media file once played is recorded.
After the store path that all media controllers receive the currently playing media file, the institute
There is media controller respectively by the store path of the currently playing media file received and the media of current accessed text
The store path of part in the media server is compared, if the store path of the currently playing media file and current visit
The store path of the media file asked in the media server is not identical, then according to the storage of the currently playing media file
Path obtains the resource information of the currently playing media file from the media server, to realize all matchmakers
The resource information of media file in body controller is synchronous.If the store path of the currently playing media file and current visit
The store path of the media file asked in the media server is identical, then media controller has preserved currently playing media text
The resource information of part is not required to reacquire the resource information of the currently playing media file from the media server.
In embodiments of the present invention, it specifies media controller to obtain media renderer first from media server currently to broadcast
The store path for the media file put;Then the store path of currently playing media file is sent to media renderer, with
Make media renderer that the store path of currently playing media file is sent to the associated all media of media renderer to control
Device is currently broadcast so that all media controllers are obtained from media server according to the store path of currently playing media file
The resource information for the media file put, can synchronize the resource information of the media file in multiple media controllers, to realize
Multiple media controllers play out control operation to same playlist.
Referring to FIG. 4, Fig. 4 is a kind of structural schematic diagram for media renderer that the embodiment of the present invention proposes.As shown,
Media renderer in the embodiment of the present invention includes:
Information receiving module 401, for receiving the resource information for the media file that the specified media controller is sent.
In the specific implementation, specified media controller subscribes to project control service to the media renderer first, wherein its
He subscribes to project control service to the media renderer simultaneously at media controller.Then media controller browsing media clothes are specified
The resource information for some media file being engaged in device, and the resource information of the media file is obtained, by the money of the media file
Source information is sent to the media renderer.
Information playing module 402 is obtained from the media server for the resource information according to the media file
The media file plays out.
Path receiving module 403, for receiving the institute got in the slave media server that specified media controller is sent
State the store path of the currently playing media file of media renderer.
In the specific implementation, specified media controller can when the media renderer plays out the media file
To obtain the store path of the currently playing media file of media renderer from media server.Wherein, the storage of media file
Path may include mark UUID (Universally Unique Identifier, the general unique identification of media server
Code) and media file mark ObjectID, and the store path of the currently playing media file is sent to described
Media renderer.
Path sending module 404, for the store path of the currently playing media file to be sent to the media
The associated all media controllers of renderer, so that all media controllers are according to the currently playing media file
Store path obtains the resource information of the currently playing media file, all media controls from the media server
Device processed includes the specified media controller and other media controllers.
In the specific implementation, after the store path that media renderer receives the currently playing media file, it will
The store path of the preceding media file once played of the store path and current record of the currently playing media file into
Row compares;If the preceding media file once played of the store path of the currently playing media file and the current record
Store path it is not identical, then the store path of the currently playing media file is sent to the media renderer and is associated with
All media controllers so that all media controllers according to the store path of the currently playing media file from
The resource information of the currently playing media file is obtained in the media server;If the currently playing media file
Store path it is identical as the store path of the preceding media file once played of the current record, then illustrate media renderer
The preceding media file once played is identical as currently playing media file, therefore all media controllers have been preserved currently
The store path of the media file of broadcasting no longer needs to for the store path of currently playing media file to be sent to all media controls
Device processed.Wherein, media renderer can by predefined state variable as: X_NowplayingDmsContainerId is to institute
The store path of the media file once played before stating is recorded.
In addition, after the store path that all media controllers receive the currently playing media file,
All media controllers are respectively by the store path of the currently playing media file received and current accessed
The store path of media file in the media server is compared, if the store path of the currently playing media file with
The store path of the media file of current accessed in the media server is not identical, then according to the currently playing media file
Store path the resource information of the currently playing media file is obtained from the media server, thus described in realizing
The resource information of media file in all media controllers is synchronous.If the store path of the currently playing media file with
The store path of the media file of current accessed in the media server is identical, then media controller has been preserved currently playing
The resource information of media file is not required to reacquire the resource of the currently playing media file from the media server
Information.
In embodiments of the present invention, it specifies media controller to obtain media renderer first from media server currently to broadcast
The store path for the media file put;Then the store path of currently playing media file is sent to media renderer, with
Make media renderer that the store path of currently playing media file is sent to the associated all media of media renderer to control
Device is currently broadcast so that all media controllers are obtained from media server according to the store path of currently playing media file
The resource information for the media file put, can synchronize the resource information of the media file in multiple media controllers, to realize
Multiple media controllers play out control operation to same playlist.
Referring to FIG. 5, Fig. 5 is a kind of structural schematic diagram for the file information synchronization system that the embodiment of the present invention proposes.Such as
Shown in figure, the file information synchronization system in the embodiment of the present invention includes:
Media controller 300, for obtaining depositing for the currently playing media file of media renderer from media server
Store up path;And the store path of the currently playing media file is sent to the media renderer, so that the matchmaker
The store path of the currently playing media file is sent to the associated all media of the media renderer by body renderer
Controller, so that all media controllers take according to the store path of the currently playing media file from the media
The resource information of the currently playing media file is obtained in business device, all media controllers include the specified media
Controller and other media controllers.
Media renderer 400, described in receiving and being got in the slave media server that specified media controller is sent
The store path of the currently playing media file of media renderer;And by the store path of the currently playing media file
The associated all media controllers of the media renderer are sent to, so that all media controllers are currently broadcast according to described
The store path for the media file put obtains the resource information of the currently playing media file from the media server,
All media controllers include the specified media controller and other media controllers.
It should be noted that for simple description, therefore, it is stated as a systems for each embodiment of the method above-mentioned
The combination of actions of column, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because
For according to the present invention, certain some step can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily this hair
Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment
Part, reference can be made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: flash disk, read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English
Text: Random Access Memory, referred to as: RAM), disk or CD etc..
It is provided for the embodiments of the invention content download method above and relevant device, system are described in detail,
Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used
In facilitating the understanding of the method and its core concept of the invention;At the same time, for those skilled in the art, according to the present invention
Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as
Limitation of the present invention.
Claims (10)
1. a kind of the file information synchronous method, which is characterized in that the described method includes:
Specified media controller obtains the store path of the currently playing media file of media renderer from media server;
The specified media controller is by calling the project control service subscribed in advance by the currently playing media file
Store path be sent to the media renderer so that the media renderer depositing the currently playing media file
If storage path is compared and described currently playing with the store path of the preceding media file once played of current record
The store path of the store path of media file and the preceding media file once played of the current record is not identical then by institute
The store path for stating currently playing media file is sent to the associated all media controllers of the media renderer, so that institute
All media controllers are stated respectively for the matchmaker of the store path of the currently playing media file received and current accessed
If the store path of body file in the media server is compared and the store path of the currently playing media file
It is not identical then according to the currently playing media text as the store path of the media file of current accessed in the media server
The store path of part obtains the resource information of the currently playing media file, all matchmakers from the media server
Body controller includes the specified media controller and other media controllers.
2. the method as described in claim 1, which is characterized in that the media renderer that obtains from media server is currently broadcast
Before the store path for the media file put, further includes:
The specified media controller obtains the resource information of media file from the media server;
The resource information of the media file is sent to the media renderer by the specified media controller, so that the matchmaker
Body renderer obtains the media file according to the resource information of the media file from the media server and plays out.
3. the method as described in claim 1, which is characterized in that the media renderer that obtains from media server is currently broadcast
Before the store path for the media file put, further includes:
The specified media controller subscribes to project control service to the media renderer, wherein other media control
Device subscribes to project control service to the media renderer simultaneously.
4. a kind of the file information synchronous method, which is characterized in that the described method includes:
Media renderer receives the slave media clothes that specified media controller is sent by calling the project control subscribed in advance to service
The store path of the currently playing media file of the media renderer got in business device;
The media renderer will once play before the store path of the currently playing media file and current record
The store path of media file is compared;
If the store path of the currently playing media file and the preceding media file once played of the current record
Store path is not identical, and the store path of the currently playing media file is then sent to the matchmaker by the media renderer
The associated all media controllers of body renderer, so that all media controllers are described currently playing by what is received respectively
Media file store path be compared with the store path of the media file of current accessed in the media server and
If the storage road of the store path of the currently playing media file and the media file of current accessed in the media server
Diameter is not identical, is obtained from the media server according to the store path of the currently playing media file described current
The resource information of the media file of broadcasting, all media controllers include the specified media controller and other media
Controller.
5. method as claimed in claim 4, which is characterized in that it is described receive that specified media controller sends from media services
Before the store path of the currently playing media file of the media renderer got in device, further includes:
The media renderer receives the resource information for the media file that the specified media controller is sent;
The media renderer obtains the media text according to the resource information of the media file from the media server
Part plays out.
6. a kind of media controller, which is characterized in that the media controller includes:
Path obtains module, for obtaining the storage road of the currently playing media file of media renderer from media server
Diameter;
Path sending module, for by calling the project control service subscribed in advance by the currently playing media file
Store path is sent to the media renderer, so that the media renderer is by the storage of the currently playing media file
If path is compared with the store path of the preceding media file once played of current record and the currently playing matchmaker
The store path of the store path of body file and the preceding media file once played of the current record is not identical then will be described
The store path of currently playing media file is sent to the associated all media controllers of the media renderer, so that described
All media controllers are respectively by the media of the store path of the currently playing media file received and current accessed
If the store path of file in the media server be compared and the store path of the currently playing media file with
The store path of the media file of current accessed in the media server is not identical then according to the currently playing media file
Store path the resource information of the currently playing media file is obtained from the media server.
7. media controller as claimed in claim 6, which is characterized in that the media controller further include:
Data obtaining module, for obtaining the resource information of media file from the media server;
Information sending module, for the resource information of the media file to be sent to the media renderer, so that the matchmaker
Body renderer obtains the media file according to the resource information of the media file from the media server and plays out.
8. media controller as claimed in claim 6, which is characterized in that the media controller further include:
Service subscription module, for subscribing to project control service to the media renderer.
9. a kind of media renderer, which is characterized in that the media renderer includes:
Path receiving module, for receive specified media controller by call subscribe in advance the project control service send from
The store path of the currently playing media file of the media renderer got in media server;
Path sending module, for will once be played before the store path of the currently playing media file and current record
The store path of media file be compared, if the store path of the currently playing media file and the current record
The preceding media file once played store path it is not identical, then the store path of the currently playing media file is sent out
It send to the associated all media controllers of the media renderer, so that the institute that all media controllers will receive respectively
The store path of the media file of the store path and current accessed of stating currently playing media file in the media server into
If capable comparison and the store path of the currently playing media file and the media file of current accessed are in media server
In store path it is not identical, obtained from the media server according to the store path of the currently playing media file
Take the resource information of the currently playing media file, all media controllers include the specified media controller with
And other media controllers.
10. media renderer as claimed in claim 9, which is characterized in that the media renderer further include:
Information receiving module, for receiving the resource information for the media file that the specified media controller is sent;Information plays
Module obtains the media file from the media server and is broadcast for the resource information according to the media file
It puts.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410778636.9A CN104506508B (en) | 2014-12-12 | 2014-12-12 | A kind of the file information synchronous method and relevant device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410778636.9A CN104506508B (en) | 2014-12-12 | 2014-12-12 | A kind of the file information synchronous method and relevant device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104506508A CN104506508A (en) | 2015-04-08 |
CN104506508B true CN104506508B (en) | 2019-02-05 |
Family
ID=52948223
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410778636.9A Expired - Fee Related CN104506508B (en) | 2014-12-12 | 2014-12-12 | A kind of the file information synchronous method and relevant device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104506508B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209022A (en) * | 2010-03-31 | 2011-10-05 | 华为终端有限公司 | Device control method, network device and network system |
CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | Media play controlling method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9374607B2 (en) * | 2012-06-26 | 2016-06-21 | Sonos, Inc. | Media playback system with guest access |
JP2010026983A (en) * | 2008-07-24 | 2010-02-04 | Panasonic Corp | Content providing device, mobile terminal device, content providing method, and content managing method |
-
2014
- 2014-12-12 CN CN201410778636.9A patent/CN104506508B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209022A (en) * | 2010-03-31 | 2011-10-05 | 华为终端有限公司 | Device control method, network device and network system |
CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | Media play controlling method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104506508A (en) | 2015-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10757471B2 (en) | Systems and methods for networked music playback | |
CN108933948B (en) | Video playing progress synchronization method and device | |
US20220377123A1 (en) | Playback device media item replacement | |
US9883251B2 (en) | Method and apparatus for managing connection between broadcast receiving device and another device connected by network | |
MX2015004730A (en) | Apparatus and method for processing an interactive service. | |
US10554745B2 (en) | Method and apparatus for managing connection between broadcasting reception device and another device which are connected through network | |
CN103796061A (en) | System and method for achieving synchronized broadcast and control of media files in multiple intelligent terminals | |
CN105323628B (en) | Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device | |
CN103391277A (en) | Media playing method, device and system | |
CN103024491B (en) | The video broadcasting method of mobile terminal and system | |
CN104918069A (en) | Play scene reduction method, system, playing terminal and control terminal | |
US10708330B2 (en) | Multimedia resource management method, cloud server and electronic apparatus | |
US8776139B2 (en) | Scheduling content to be rendered | |
CN103731339A (en) | Digital life network alliance system and method for sharing online multimedia resources in digital life network alliance system | |
US20130340015A1 (en) | Method for accessing multimedia content within a home | |
CN104079589A (en) | Display method and system for external subtitles as well as digital multimedia renderer | |
CN104506508B (en) | A kind of the file information synchronous method and relevant device | |
CN105100882B (en) | The control method and terminal device of a kind of mobile terminal to Intelligent television terminal | |
CN104270666A (en) | Multimedia file playing method and system and DMR (digital multimedia renderer) | |
CN104902320B (en) | A kind of playback method and playback equipment of media file | |
CN103412752B (en) | A kind of event broadcasts adaptation services method and system | |
CN104424968A (en) | Information processing method and electronic equipment | |
CN104065659A (en) | DLNA apparatus stealth method, and master and slave DLNA apparatuses | |
CN104244077A (en) | Media playing method and media playing device based on DLNA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
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: 20190205 |