CN104581365B - Method, slave unit, main equipment and the system for controlling multimedia file to push - Google Patents

Method, slave unit, main equipment and the system for controlling multimedia file to push Download PDF

Info

Publication number
CN104581365B
CN104581365B CN201410836893.3A CN201410836893A CN104581365B CN 104581365 B CN104581365 B CN 104581365B CN 201410836893 A CN201410836893 A CN 201410836893A CN 104581365 B CN104581365 B CN 104581365B
Authority
CN
China
Prior art keywords
state
slave unit
broadcast state
multimedia file
main equipment
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
Application number
CN201410836893.3A
Other languages
Chinese (zh)
Other versions
CN104581365A (en
Inventor
任超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410836893.3A priority Critical patent/CN104581365B/en
Publication of CN104581365A publication Critical patent/CN104581365A/en
Application granted granted Critical
Publication of CN104581365B publication Critical patent/CN104581365B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present embodiments relate to network communication technology field, more particularly to method, slave unit, main equipment and the system that control multimedia file is pushed.This method includes:Slave unit detects the broadcast state of playback engine, according to broadcast state testing result, generation includes the notification message of the current play status information of playback engine and sent to main equipment, to indicate that main equipment is based on notification message, the action to slave unit push multimedia file is controlled, wherein the broadcast state is a state just in broadcast state, broadcasting done state, pause broadcast state and stopping broadcast state.Technical scheme provided in an embodiment of the present invention, main equipment is set to be apparent from which broadcast state is slave unit playback engine be currently at, decided whether to push multimedia file to slave unit according to the broadcast state, main equipment is set preferably to control the push of multimedia file, realize good fit between main equipment and slave unit, lifting user experience.

Description

Method, slave unit, main equipment and the system for controlling multimedia file to push
Technical field
The present embodiments relate to network communication technology field, more particularly to control multimedia file push method, from Equipment, main equipment and system.
Background technology
In recent years, DLNA (Digital Living Network Alliance, DLNA) technology is obtained Extensive development, increasing media device, audiovisual terminals or playing platform all support DLNA technologies.The technology allows to set For under network connection state, it can be found that possessing the equipment of other functions, and check and the media resource in sharing service device Played out into some player.The type of DLNA device mainly includes digital media player (Digital MediaPlayer, DMP), digital Media renderer (Digital Media Renderer, DMR), digital media server (Digital Media Server, DMS) and digital media controller (Digital Media Controller, DMC).
DLNA defines a kind of push mode, i.e. push patterns, and the pattern requires at least 3 kinds equipment in network, DMR, DMS and DMC.Wherein DMC is as the control device in DLNA technologies, it can be found that other two equipment, and can browse through DMS In the multimedia file shared, multimedia file therein is pushed into DMR and played out.
In the prior art, DMR, DMS and DMC can using UPnP (Universal Plug and Play, UPnP) agreement carries out the network interconnection, and still, the cooperation based on DMC and DMR under existing UPnP protocol is unsatisfactory.Because, Then DMC makes down typically by current play status of the acquisition request to DMR to multimedia file for the acquisition result The action of one step, such as pushes next multimedia file or stops pushing.Based on existing UPnP protocol, what DMC can be got DMR includes to the current play status of multimedia file:Playing (is used to represent that DMR plays multimedia file), Pause (being used to represent that multimedia file is played in DMR pauses) and Stopped (for representing that DMR is not played to multimedia file, That is DMR is in idle working condition), but different DMC is when receiving Stopped, may judge that DMR is in stopping and played Idle condition, it is also possible to judge that DMR is in present multimedia file and played and completed, it is etc. to be played next many The idle condition of media file.For example:When a computer is provided with the MediaPlayer that Windows systems carry, (media are broadcast Put device) software when, Media Player open DMC functions after, equivalent to one DMC equipment of the computer, when use the software After one song of push is played out to any one DMR (intelligent television for such as possessing DMR functions), if broadcasting in the song During putting, user uses the remote control matched with DMR to stop the playback of songs, then DMC can receive DMR states and be changed into Stopped message, and the DMC can take for DMR and be in current song and play to have completed, it is etc. to be played next The idle condition of multimedia file, so as to perform the flow for continuing to push next song, causes to be stopped playing by user originally DMR commence play out next song again, to user using making troubles.
The content of the invention
The purpose of the present invention is to propose to control method, slave unit, main equipment and the system that multimedia file is pushed, to avoid Judge to judge by accident during multimedia file broadcast state, and then cause mistake to push multimedia file.
In a first aspect, the embodiments of the invention provide a kind of method for controlling multimedia file to push, including:
Slave unit detects the broadcast state of playback engine, wherein the broadcast state is just in broadcast state, plays and terminate A state in state, pause broadcast state and stopping broadcast state;
The slave unit is according to broadcast state testing result, it is determined whether trigger event notifies service;
The slave unit includes the currently playing shape of the playback engine based on the Event Notification Service after triggering, generation The notification message of state information, and the notification message is sent to the main equipment with the slave unit with master slave relation, to refer to Show that the main equipment is based on the notification message, control to push the action of multimedia file to the slave unit.
Second aspect, the embodiments of the invention provide a kind of method for controlling multimedia file to push, including:
Main equipment receives the notification message that slave unit is sent;
Main equipment is parsed to the notification message, to extract working as the playback engine included in the notification message Preceding broadcast state information;
Main equipment controls to push the action of multimedia file to slave unit according to result is extracted.
The third aspect, the embodiments of the invention provide a kind of slave unit for controlling multimedia file to push, including:
Broadcast state detection module, the broadcast state for detecting playback engine, wherein the broadcast state is to broadcast State is put, done state, pause broadcast state is played and stops a state in broadcast state;
Event Notification Service trigger module, for according to broadcast state testing result, it is determined whether trigger event notifies clothes Business;
Notification message generation module, for based on the Event Notification Service after triggering, generation to include the playback engine Current play status information notification message;
Notification message sending module, for the notification message to be sent to the master with the slave unit with master slave relation Equipment, to indicate that the main equipment is based on the notification message, controls to push the action of multimedia file to the slave unit.
Fourth aspect, the embodiments of the invention provide a kind of main equipment for controlling multimedia file to push, including:
Notification message receiving module, the notification message for receiving slave unit transmission;
Notification message parsing module, is parsed for main equipment to the notification message, to extract the notification message Included in playback engine current play status information;
Control module is pushed, for according to result is extracted, controlling to push the action of multimedia file to slave unit.
5th aspect, the embodiments of the invention provide a kind of system for controlling multimedia file to push, including:
Digital Media renderer, and there is with the digital Media renderer at least one Digital Media control of master slave relation Device processed;Wherein:
The digital Media renderer, the broadcast state for detecting playback engine;According to broadcast state testing result, really It is fixed that whether trigger event notifies service;Based on the Event Notification Service after triggering, generation includes the current of the playback engine The notification message of broadcast state information, and the notification message is sent to the digital Media renderer there is master slave relation At least one described digital media controller;
At least one described digital media controller, for receiving the notification message that the digital Media renderer is sent; The notification message is parsed, believed with the current play status for extracting the playback engine included in the notification message Breath;According to result is extracted, control to push the action of multimedia file to the digital Media renderer.
Method, slave unit, main equipment and system that the control multimedia file provided in the embodiment of the present invention is pushed, can Avoid judging to judge by accident during multimedia file broadcast state, and then cause mistake to push multimedia file.The embodiment of the present invention The method that the control multimedia file of middle offer is pushed, slave unit detects the broadcast state of playback engine, examined according to broadcast state Survey result, it is determined whether trigger event notifies service, based on the Event Notification Service after triggering, generation includes playback engine The notification message of current play status information, and notification message is sent to the main equipment with slave unit with master slave relation, with Indicate that main equipment is based on notification message, control to push the action of multimedia file to slave unit, wherein the broadcast state is just A state in broadcast state, broadcasting done state, pause broadcast state and stopping broadcast state, main equipment can understand Know which broadcast state is slave unit playback engine be currently at, decide whether to push away to slave unit according to the broadcast state Send multimedia file, make the push that multimedia file is preferably controlled as the main equipment of control device, realize main equipment and from It is good fit between equipment, lift user experience.
Brief description of the drawings
Fig. 1 is the schematic flow sheet for the method that the control multimedia file that the embodiment of the present invention one is provided is pushed;
Fig. 2 is the schematic flow sheet for the method that the control multimedia file that the embodiment of the present invention two is provided is pushed;
Fig. 3 is the schematic flow sheet for the method that the control multimedia file that the embodiment of the present invention three is provided is pushed;
Fig. 4 is the structured flowchart for the slave unit that the control multimedia file that the embodiment of the present invention four is provided is pushed;
Fig. 5 is the structured flowchart for the main equipment that the control multimedia file that the embodiment of the present invention five is provided is pushed;
Fig. 6 is the structured flowchart for the system that the control multimedia file that the embodiment of the present invention six is provided is pushed.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.It may be appreciated It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for explanation , for the ease of description, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
Embodiment one
Fig. 1 is the schematic flow sheet for the method that the control multimedia file that the embodiment of the present invention one is provided is pushed, this method The slave unit that can be pushed by control multimedia file is performed.As shown in figure 1, this method includes:
Step 101, slave unit detect the broadcast state of playback engine, and wherein broadcast state is just in broadcast state, broadcasting A state in done state, pause broadcast state and stopping broadcast state.
In the present embodiment, main equipment concretely digital media controller, i.e. DMC;Slave unit concretely digital matchmaker Body renderer, i.e. DMR.In DLNA push patterns, at least 3 kinds equipment, DMR, DMS and DMC in network.Wherein DMC makees For the control device in DLNA agreements, it can be found that other two equipment, and can browse through the multimedia text shared in DMS Part, and multimedia file therein is pushed into DMR played out.Wherein, the detailed process of push is that DMC is obtained in DMS Network address corresponding to multimedia file, DMR is pushed to by the network address, and DMR obtains multimedia text further according to the network address from DMS The stream medium data of part is simultaneously played out.
The broadcast state of playback engine, refers specifically to the broadcasting shape of playback engine that DMC detects to present multimedia file State.The DMC with DMR with subordinate relation can be one or more, and present multimedia file refers to that wherein some DMC is pushed away Deliver to a DMR multimedia file.The broadcast state of playback engine is just to be broadcast in broadcast state, broadcasting done state, pause Put state and stop a state in broadcast state.Wherein, just in broadcast state, refer to playback engine and playing current many matchmakers Body file;Done state is played, refers to playback engine and has just played present multimedia file, prepares to play next multimedia text Part;Suspend broadcast state, refer to playback engine to the broadcasting of present multimedia file placed in a suspend state, current many matchmakers under the state Body file is not played and finished;Stop broadcast state, refer to playback engine and be in the state being stopped.
Step 102, slave unit are according to broadcast state testing result, it is determined whether trigger event notifies service.
The broadcast state of playback engine is informed DMC by DMR in the way of sending event and notify, what the event that sends was notified can be with It is preferably to be sent when the broadcast state of playback engine changes for transmission in real time, or prefixed time interval is sent, The broadcast state of playback engine is such as detected by just when broadcast state becomes pause broadcast state, then trigger event notifies clothes Business.Generally, DMR is controlled by DMC, but DMR supporting would generally be set by user to be entered just like remote control etc. The device that row is independently manipulated, so the manipulation of user can cause the broadcast state of playback engine to change.For example, DMR is Play a song song, when user is not desired to continue to listen song, it is desirable to when stopping playing, and can stop playing by manipulating remote control, Now, the broadcast state of playback engine will be become to stop broadcast state by just in broadcast state;When user feels current song It is unpleasant, it is desirable to when playing next, the broadcasting of current song, now, playback engine can be terminated by manipulating remote control Broadcast state will be become to play done state by just in broadcast state.
Step 103, slave unit include the currently playing shape of playback engine based on the Event Notification Service after triggering, generation The notification message of state information, and notification message is sent to the main equipment with slave unit with master slave relation, to indicate main equipment Based on notification message, control to push the action of multimedia file to slave unit.
After DMR trigger events notify to service, the logical of the current play status information that includes playback engine will be generated Know message, the notification message can be sent to by the DMC of present multimedia file push to the DMR, can also to it is all with The DMC of the DMR connections broadcasts the notification message.DMC is received after the notification message, based on the notification message, controls to push away to DMR Multimedia action is sent, such as continues to push next multimedia file to the DMR, or stop push etc..
The method that the control multimedia file that the embodiment of the present invention one is provided is pushed, slave unit detects the broadcasting of playback engine State, according to broadcast state testing result, it is determined whether trigger event notifies service, based on the Event Notification Service after triggering, Generation includes the notification message of the current play status information of playback engine, and notification message is sent to slave unit had The main equipment of master slave relation, to indicate that main equipment is based on notification message, controls to push the action of multimedia file to slave unit, its Described in broadcast state for just broadcast state, play done state, pause broadcast state and stop broadcast state in one State, main equipment can be apparent from which broadcast state is slave unit playback engine be currently at, according to the broadcast state To decide whether to push multimedia file to slave unit, make preferably to control multimedia file as the main equipment of control device Push, realize good fit between main equipment and slave unit, lifting user experience.
Embodiment two
Fig. 2 is the schematic flow sheet for the method that the control multimedia file that the embodiment of the present invention two is provided is pushed, this method The slave unit that can be pushed by control multimedia file is performed.As shown in Fig. 2 this method includes:
Step 201, the subscription information to Event Notification Service for receiving main equipment transmission.
In the present embodiment, main equipment concretely DMC, slave unit concretely DMR.Using general between DMC and DMR Plug and play (Universal Plug and Play, UPnP) agreement is communicated.The Event Notification Service is UPnP protocol In media transmission service.
Step 202, slave unit detect the broadcast state of playback engine, and wherein broadcast state is just in broadcast state, broadcasting A state in done state, pause broadcast state and stopping broadcast state.
Further, broadcast state can also be the state of making a mistake, refer to be currently needed for play multimedia file due to The reasons such as format error make playback engine can not normal play.
If the broadcast state that step 203, slave unit detect playback engine changes, trigger event notifies clothes Business.
Step 204, slave unit include the currently playing shape of playback engine based on the Event Notification Service after triggering, generation The notification message of state information, and notification message is sent to the main equipment with slave unit with master slave relation, to indicate main equipment Based on notification message, control to push the action of multimedia file to slave unit.
Wherein, generation includes the notification message of the current play status information of playback engine, including:By what is pre-defined Playback engine state variable is entered as state value corresponding with the current play status of playback engine;Generation includes playback engine The notification message of the state value of state variable.
Exemplary, pre-defined playback engine state variable refers in existing former UPnP protocol increased one Playback engine state variable, specifically, can the media transmission in former UPnP protocol service under a self-defined playback engine shape State variable, i.e., in urn:schemas-upnp-org:service:AVTransport:Under 1 service, definition status variable X _ EnginState。
After DMR triggering media transmission services, pre-defined playback engine state variable is entered as and playback engine The corresponding state value of current play status.Exemplary, the current play status of playback engine and the corresponding relation of state value For:It is PLAYING just in the state value of broadcast state, the state value for playing done state is PLAY_DONE, suspends broadcast state State value be PAUSE, the state value for stopping broadcast state is STOP, and the state value of the state that makes a mistake is ERROR.
Then, DMR generations include the notification message (LastChange) of the state value of the playback engine state variable, And send LastChange to the DMC with DMR with master slave relation, to indicate that DMC is based on LastChange, control to DMR Push the action of multimedia file.
The embodiment of the present invention two further illustrates Event Notification Service and inserted i.e. to be general on the basis of embodiment one With the media transmission service in agreement;Generation includes the notification message of the current play status information of playback engine, including:Will Pre-defined playback engine state variable is entered as state value corresponding with the current play status of playback engine, and generation is included There is the notification message of the state value of playback engine state variable.By the way that existing former UPnP protocol is expanded and optimized, A self-defined playback engine state variable under media transmission service in the agreement, makes DMC and DMR based on the UPnP after expansion Agreement is communicated, and realizes good fit between DMC and DMR, lifting user experience.
Embodiment three
Fig. 3 is the schematic flow sheet for the method that the control multimedia file that the embodiment of the present invention three is provided is pushed, this method The main equipment that can be pushed by control multimedia file is performed.The method that the control multimedia file that the present embodiment is provided is pushed, Performed with the method that the control multimedia file performed from slave unit that can be provided with any embodiment of the present invention is pushed.Such as Shown in Fig. 3, the method that the present embodiment is provided includes:
Step 301, main equipment receive the notification message that slave unit is sent.
In the present embodiment, main equipment concretely DMC, slave unit concretely DMR.Using general between DMC and DMR Plug and play (Universal Plug and Play, UPnP) agreement is communicated.The Event Notification Service is UPnP protocol In media transmission service.
Step 302, main equipment are parsed to notification message, to extract working as the playback engine included in notification message Preceding broadcast state information.
Step 303, main equipment control to push the action of multimedia file to slave unit according to result is extracted.
Specifically, the step 303 includes:If the result extracted is shape corresponding with the broadcasting done state of playback engine State value, then main equipment push next multimedia file to slave unit;Broadcast if the result extracted is the stopping with playback engine The corresponding state value of state is put, then main equipment stops pushing multimedia file to slave unit.
Further, main equipment is corresponding also to control while control pushes the action of multimedia file to slave unit The different user interface (User Interface, UI) of system display.Exemplary, when the state value is PLAYING, DMC Multimedia file will not be pushed to DMR, while DMC shows the UI of " in broadcasting ", may also display the multimedia file played The relevant information such as title, singer (or performer), duration;When the state value is PLAY_DONE, DMC pushes next to DMR Individual multimedia file;When the state value is PAUSE, DMC will not push multimedia file to DMR, while DMC is shown " temporarily Break and put " UI, may also display in pause play in the correlation such as title, singer (or performer), the duration of multimedia file Information;When the state value is STOP, DMC stops pushing multimedia file to DMR, while DMC is shown " stopping playing " UI;When the state value is ERROR, DMC stops pushing multimedia file to DMR, while DMC shows the UI of " error ", enters One step, it may also display the prompt message of error reason.
The method that the control multimedia file that the embodiment of the present invention three is provided is pushed, main equipment receives and parses through slave unit hair The notification message sent, to extract the current play status information of the playback engine included in notification message, according to extraction result, The action to slave unit push multimedia file is controlled, wherein broadcast state is just in broadcast state, broadcasting done state, pause A state in broadcast state and stopping broadcast state, main equipment can be apparent from slave unit playback engine and be currently at Which broadcast state, decides whether to push multimedia file to slave unit according to the broadcast state, makes as control device Main equipment preferably control the push of multimedia file, realize good fit between main equipment and slave unit, lift user Usage experience.
Example IV
Fig. 4 is the structured flowchart for the slave unit that the control multimedia file that the embodiment of the present invention four is provided is pushed, should be from setting The standby method that can be pushed by the control multimedia file performed in the embodiment of the present invention one or embodiment two, to control multimedia The push of file.As shown in figure 4, the slave unit includes:
Broadcast state detection module 401, the wherein broadcast state for detecting playback engine, broadcast state are to play State, the state played in done state, pause broadcast state and stopping broadcast state;Event Notification Service trigger module 402, for according to broadcast state testing result, it is determined whether trigger event notifies service;Notification message generation module 403, is used Event Notification Service after based on triggering, generation includes the notification message of the current play status information of playback engine;It is logical Message transmission module 404 is known, for notification message to be sent to the main equipment with slave unit with master slave relation, to indicate that master sets It is standby to be based on notification message, control to push the action of multimedia file to slave unit.
Further, Event Notification Service trigger module 402, if occurred for the broadcast state for detecting playback engine Change, then trigger event notice service.
Further, notification message generation module 403 includes assignment unit and generation unit.Wherein, assignment unit, is used for Pre-defined playback engine state variable is entered as state value corresponding with the current play status of the playback engine;It is raw Into unit, the notification message for generating the state value for including the playback engine state variable.
Further, slave unit also include subscription information receiving module, for receive main equipment transmission to the event Notify the subscription information of service.
The slave unit that the control multimedia file that the embodiment of the present invention four is provided is pushed, by broadcast state detection module 401 The broadcast state of playback engine is detected, Event Notification Service trigger module 402 is according to broadcast state testing result, it is determined whether touch Event Notification Service is sent out, notification message generation module 403 includes playback engine based on the Event Notification Service after triggering, generation Current play status information notification message, finally by notification message sending module 404 by notification message send to from setting The standby main equipment with master slave relation, to indicate that main equipment is based on notification message, controls to push multimedia file to slave unit Action, wherein the broadcast state is just in broadcast state, broadcasting done state, pause broadcast state and stopping broadcast state A state, main equipment can be apparent from which broadcast state is slave unit playback engine be currently at, be broadcast according to this Put state to decide whether to push multimedia file to slave unit, make preferably to control multimedia as the main equipment of control device The push of file, realizes good fit between main equipment and slave unit, lifting user experience.
Embodiment five
Fig. 5 is the structured flowchart for the main equipment that the control multimedia file that the embodiment of the present invention five is provided is pushed, and the master sets The standby method that can be pushed by the control multimedia file performed in the embodiment of the present invention three, to control pushing away for multimedia file Send.As shown in figure 5, the slave unit includes:
Notification message receiving module 501, the notification message for receiving slave unit transmission;Notification message parsing module 502, Notification message is parsed for main equipment, believed with the current play status for extracting the playback engine included in notification message Breath;Control module 503 is pushed, for according to result is extracted, controlling to push the action of multimedia file to slave unit.
It is exemplary, push control module 503 specifically for:
If the result extracted is state value corresponding with the broadcasting done state of the playback engine, the main equipment Next multimedia file is pushed to the slave unit;
If the result extracted is state value corresponding with the stopping broadcast state of the playback engine, the main equipment Stop pushing multimedia file to the slave unit.
The main equipment that the control multimedia file that the embodiment of the present invention five is provided is pushed, notification message receiving module 501 connects The notification message that slave unit is sent is received, notification message parsing module 502 parses the notification message, wrapped to extract in notification message The current play status information of the playback engine contained, is finally controlled to slave unit by push control module 503 according to result is extracted The action of multimedia file is pushed, wherein broadcast state is just in broadcast state, broadcasting done state, pause broadcast state and stopped An only state in broadcast state, main equipment can be apparent from slave unit playback engine which is currently at playing shape State, decides whether to push multimedia file to slave unit according to the broadcast state, makes more preferable as the main equipment of control device Control multimedia file push, realize it is good fit between main equipment and slave unit, lifted user experience.
Embodiment six
Fig. 6 is the structured flowchart for the system that the control multimedia file that the embodiment of the present invention six is provided is pushed, and the system can Multimedia is controlled to push by performing the method for the embodiment of the present invention.As shown in fig. 6, the system includes:Digital Media is rendered Device 601, and there is with the digital Media renderer at least one digital media controller 602 of master slave relation.Wherein:
Digital Media renderer 601, the broadcast state for detecting playback engine;According to broadcast state testing result, really It is fixed that whether trigger event notifies service;Based on the Event Notification Service after triggering, generation includes the currently playing of playback engine The notification message of status information, and by notification message send to digital Media renderer 601 have master slave relation described in extremely A few digital media controller 602;
At least one digital media controller 602, the notification message for receiving the transmission of digital Media renderer 601;It is right Notification message is parsed, to extract the current play status information of the playback engine included in notification message;According to extraction As a result, the action to the push multimedia file of digital Media renderer 601 is controlled.
The system that the control multimedia file that the embodiment of the present invention six is provided is pushed, is detected by digital Media renderer 601 The broadcast state of playback engine, generation includes the notification message of current play status information, and send to Digital Media wash with watercolours Contaminating device 601 has at least one digital media controller 602 of master slave relation, and digital media controller 602 extracts notification message Included in playback engine current play status information, and according to extract result, control to push away to digital Media renderer 601 The action of multimedia file is sent, wherein broadcast state is just in broadcast state, broadcasting done state, pause broadcast state and stopping A state in broadcast state, digital media controller 602 can be apparent from the playback engine of digital Media renderer 601 Which broadcast state is currently at, is decided whether to push multimedia to digital Media renderer 601 according to the broadcast state File, makes the push that multimedia file is preferably controlled as the digital media controller 602 of control device, realizes Digital Media It is good fit between controller 602 and digital Media renderer 601, lift user experience.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (11)

1. a kind of method for controlling multimedia file to push, it is characterised in that including:
Slave unit detect playback engine broadcast state, wherein the broadcast state for just broadcast state, play done state, Pause broadcast state, stop broadcast state and the state that makes a mistake in a state;
The slave unit is according to broadcast state testing result, it is determined whether trigger event notifies service;
The slave unit is based on the Event Notification Service after triggering, and generation includes the current play status letter of the playback engine The notification message of breath, and the notification message is sent to the main equipment with the slave unit with master slave relation, to indicate State main equipment and be based on the notification message, control to push the action of multimedia file to the slave unit;
Wherein, the broadcast state for just broadcast state, suspend broadcast state and stop broadcast state, make a mistake state When, main equipment does not push multimedia file to slave unit;The broadcast state is plays during done state, and main equipment is to slave unit Push multimedia file;
Wherein, the notification message for the state value that generation includes playback engine state variable is specially:It will be made by oneself in UPnP protocol The state variable X_EnginState of justice is entered as state value corresponding with the current play status of playback engine.
2. according to the method described in claim 1, it is characterised in that the slave unit according to broadcast state testing result, it is determined that Whether trigger event notifies service, including:
If the broadcast state that the slave unit detects the playback engine changes, trigger event notifies service.
3. according to the method described in claim 1, it is characterised in that before the broadcast state that slave unit detects playback engine, Also include:
Receive the subscription information to the Event Notification Service that the main equipment is sent.
4. the method according to any one of claim 1-3, it is characterised in that the Event Notification Service is inserted to be general Use the media transmission service in agreement.
5. a kind of method for controlling multimedia file to push, it is characterised in that including:
Main equipment receives the notification message that slave unit is sent;
Main equipment is parsed to the notification message, is broadcast with extracting the current of the playback engine included in the notification message Put status information;
Main equipment controls to push the action of multimedia file to slave unit according to result is extracted;
Wherein, the broadcast state for just broadcast state, suspend broadcast state and stop broadcast state, make a mistake state When, main equipment does not push multimedia file to slave unit;The broadcast state is plays during done state, and main equipment is to slave unit Push multimedia file;
Wherein, customized state variable X_EnginState in UPnP protocol is entered as and playback engine by the notification message The corresponding state value of current play status.
6. method according to claim 5, it is characterised in that main equipment controls to push to slave unit according to result is extracted The action of multimedia file, including:
If the result extracted is state value corresponding with the broadcasting done state of the playback engine, the main equipment is to institute State slave unit and push next multimedia file;
If the result extracted is state value corresponding with the stopping broadcast state of the playback engine, the main equipment stops Multimedia file is pushed to the slave unit.
7. a kind of slave unit for controlling multimedia file to push, it is characterised in that including:
Broadcast state detection module, the broadcast state for detecting playback engine, wherein the broadcast state is to play shape State, play done state, suspend broadcast state, stop broadcast state and the state that makes a mistake in a state;
Event Notification Service trigger module, for according to broadcast state testing result, it is determined whether trigger event notifies service;
Notification message generation module, for based on the Event Notification Service after triggering, generation to include working as the playback engine The notification message of preceding broadcast state information;
Notification message sending module, sets for the notification message to be sent to the master for having master slave relation with the slave unit It is standby, to indicate that the main equipment is based on the notification message, control to push the action of multimedia file to the slave unit;
Wherein, the broadcast state for just broadcast state, suspend broadcast state and stop broadcast state, make a mistake state When, main equipment does not push multimedia file to slave unit;The broadcast state is plays during done state, and main equipment is to slave unit Push multimedia file;
Wherein, assignment unit, for customized state variable X_EnginState in UPnP protocol to be entered as drawing with broadcasting The corresponding state value of current play status held up;
Generation unit, the notification message for generating the state value for including the playback engine state variable.
8. slave unit according to claim 7, it is characterised in that the Event Notification Service trigger module, if for The broadcast state for detecting the playback engine changes, then trigger event notifies service.
9. slave unit according to claim 7, it is characterised in that also include:
Subscription information receiving module, for receiving the subscription information to the Event Notification Service that the main equipment is sent.
10. a kind of main equipment for controlling multimedia file to push, it is characterised in that including:
Notification message receiving module, the notification message for receiving slave unit transmission;
Notification message parsing module, is parsed for main equipment to the notification message, to extract institute in the notification message Comprising playback engine current play status information;
Control module is pushed, for according to result is extracted, controlling to push the action of multimedia file to slave unit;
Wherein, the broadcast state for just broadcast state, suspend broadcast state and stop broadcast state, make a mistake state When, main equipment does not push multimedia file to slave unit;The broadcast state is plays during done state, and main equipment is to slave unit Push multimedia file;
Wherein, customized state variable X_EnginState in UPnP protocol is entered as and playback engine by the notification message The corresponding state value of current play status.
11. a kind of system for controlling multimedia file to push, it is characterised in that including:Digital Media renderer, and with the number Word media renderer has at least one digital media controller of master slave relation;Wherein:
The digital Media renderer, the broadcast state for detecting playback engine;According to broadcast state testing result, it is determined that being No trigger event notifies service;Based on the Event Notification Service after triggering, generation includes the currently playing of the playback engine The notification message of status information, and the notification message is sent to the institute with the digital Media renderer with master slave relation State at least one digital media controller;
At least one described digital media controller, for receiving the notification message that the digital Media renderer is sent;To institute State notification message to be parsed, to extract the current play status information of the playback engine included in the notification message;Root According to result is extracted, control to push the action of multimedia file to the digital Media renderer;
Wherein, the broadcast state for just broadcast state, suspend broadcast state and stop broadcast state, make a mistake state When, main equipment does not push multimedia file to slave unit;The broadcast state is plays during done state, and main equipment is to slave unit Push multimedia file;
Wherein, customized state variable X_EnginState in UPnP protocol is entered as and playback engine by the notification message The corresponding state value of current play status.
CN201410836893.3A 2014-12-29 2014-12-29 Method, slave unit, main equipment and the system for controlling multimedia file to push Expired - Fee Related CN104581365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410836893.3A CN104581365B (en) 2014-12-29 2014-12-29 Method, slave unit, main equipment and the system for controlling multimedia file to push

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410836893.3A CN104581365B (en) 2014-12-29 2014-12-29 Method, slave unit, main equipment and the system for controlling multimedia file to push

Publications (2)

Publication Number Publication Date
CN104581365A CN104581365A (en) 2015-04-29
CN104581365B true CN104581365B (en) 2017-10-13

Family

ID=53096410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410836893.3A Expired - Fee Related CN104581365B (en) 2014-12-29 2014-12-29 Method, slave unit, main equipment and the system for controlling multimedia file to push

Country Status (1)

Country Link
CN (1) CN104581365B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455328B (en) * 2013-08-16 2017-06-06 奥博杰天软件(西安)有限公司 The player method of the controlling media play device based on multi-level state machine
CN104980301A (en) * 2015-05-08 2015-10-14 广东欧珀移动通信有限公司 Implementation method and implementation device for configuring equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355470A (en) * 2007-07-26 2009-01-28 华为技术有限公司 System, method and apparatus for implementing business continuity in household network circumstance
CN101594279A (en) * 2008-05-29 2009-12-02 索尼株式会社 Messaging device, information processing method, program and information processing system
CN103747326A (en) * 2014-01-14 2014-04-23 华为技术有限公司 Continuous playing method and device for multimedia file
CN103796076A (en) * 2014-03-03 2014-05-14 联想(北京)有限公司 Data processing method and corresponding media playing device and playing control device
CN104079986A (en) * 2014-06-05 2014-10-01 上海聚力传媒技术有限公司 Method and device for achieving video playing between devices

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110130173A (en) * 2010-05-27 2011-12-05 엘지전자 주식회사 Electronic device and method of controlling the same
KR101761616B1 (en) * 2010-10-29 2017-08-04 엘지전자 주식회사 Mobile terminal, display device and method for controlling the same
US9451319B2 (en) * 2010-12-17 2016-09-20 Microsoft Technology Licensing, Llc Streaming digital content with flexible remote playback
US20130304860A1 (en) * 2011-01-17 2013-11-14 Lg Electronics Inc. Method and apparatus for controlling the transceiving of content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355470A (en) * 2007-07-26 2009-01-28 华为技术有限公司 System, method and apparatus for implementing business continuity in household network circumstance
CN101594279A (en) * 2008-05-29 2009-12-02 索尼株式会社 Messaging device, information processing method, program and information processing system
CN103747326A (en) * 2014-01-14 2014-04-23 华为技术有限公司 Continuous playing method and device for multimedia file
CN103796076A (en) * 2014-03-03 2014-05-14 联想(北京)有限公司 Data processing method and corresponding media playing device and playing control device
CN104079986A (en) * 2014-06-05 2014-10-01 上海聚力传媒技术有限公司 Method and device for achieving video playing between devices

Also Published As

Publication number Publication date
CN104581365A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104506492B (en) A kind of method and device of multiple terminals account number synchronization
CN105139877B (en) Connection method, main equipment, control terminal and the system of multimedia play equipment
CN105227397B (en) Method for discovering equipment, main equipment, slave device and corresponding system
KR102177013B1 (en) A system and method for managing playback of streaming digital content
WO2010111932A1 (en) Apparatus for processing multiple hardware systems data and method for inputting information thereof
US9621945B2 (en) Method and system for continuously playing media resource in device
CN104837157B (en) Speaker adding method, device, mobile terminal and intelligent sound box
CN104821929B (en) Multi-medium data sharing method and terminal
CN103346953B (en) A kind of method of group communication data interaction, Apparatus and system
CN106713982A (en) Screen protection method and system of smart television
CN105959828A (en) Audio/video sharing method and device, audio/video playing method and device and electronic equipment
CN103391277A (en) Media playing method, device and system
CN104581365B (en) Method, slave unit, main equipment and the system for controlling multimedia file to push
CN107948566A (en) Realize that plug and play passes the method and device of screen
WO2010145182A1 (en) Short message monitoring method and system
CN104244076A (en) Method and system for simultaneously controlling multiple media devices in grouped mode through DLNA
CN101252547A (en) Middleware system for realizing interactive increase value traffic based on IP set top box and method thereof
CN106875667A (en) The control method of television equipment
CN104539509B (en) The method and apparatus that notification channel starts broadcasting
CN103747067A (en) Data configuration method based on digital home intelligent gateway
CN103684992A (en) Home gateway, terminal and data sharing method
CN104080017A (en) Method, device and system for playing tab files
CN109831691A (en) A kind of multi-screen interaction method
CN106231393B (en) Video information processing method, device and system
CN108513216A (en) A kind of method of information processing and a kind of line control earphone

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.

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: 20171013