WO2019085925A1 - Media content synchronization method, device and storage medium - Google Patents

Media content synchronization method, device and storage medium Download PDF

Info

Publication number
WO2019085925A1
WO2019085925A1 PCT/CN2018/112880 CN2018112880W WO2019085925A1 WO 2019085925 A1 WO2019085925 A1 WO 2019085925A1 CN 2018112880 W CN2018112880 W CN 2018112880W WO 2019085925 A1 WO2019085925 A1 WO 2019085925A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
application client
information
media information
media content
Prior art date
Application number
PCT/CN2018/112880
Other languages
French (fr)
Chinese (zh)
Inventor
杨广煜
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2019085925A1 publication Critical patent/WO2019085925A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • 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
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components

Definitions

  • the present application relates to the field of information technology, and in particular, to a media content synchronization method, apparatus, and storage medium.
  • the application example of the present application proposes a media content synchronization method, which can realize synchronous play of the same media content between different media application clients.
  • the method includes: the first media application client sends a media information request message, requesting to obtain media information of the media content being played by the second media application client; the first media application client receives the media information; and the first media application client Playing the media content corresponding to the media information according to the media information.
  • An example of the present application also proposes a media application client, including:
  • the sending module sends a media information request message to request to obtain media information of the media content being played by the second media application client, in response to the operation of requesting media information of the other user terminal;
  • a receiving module configured to receive the media information
  • a playing module configured to play media content corresponding to the media information according to the media information.
  • the application example further provides a storage medium storing readable instructions, so that at least one processor can execute the above-mentioned media content synchronous playing method.
  • FIG. 1A is a schematic structural diagram of a system according to an example of the present application.
  • FIG. 1B is a schematic structural diagram of a system according to another example of the present application.
  • FIG. 2 is a flowchart of a method for synchronizing media content according to an embodiment of the present application
  • 3A is a flowchart of a method for synchronizing media content according to an embodiment of the present application
  • FIG. 3B is a flowchart of a method for processing a media application client after obtaining media information according to an embodiment of the present application
  • 3C is a flowchart of a method for processing a media application client after obtaining media information according to another embodiment of the present disclosure
  • FIG. 4 is an example of displaying a media content list by a media application client of a user terminal according to an embodiment of the present disclosure
  • FIG. 5 is an example of a media content synchronization method according to another embodiment of the present application.
  • 6A is a flowchart of a method for synchronizing media content according to another embodiment of the present application.
  • FIG. 6B is a flowchart of a method for processing a media application client after obtaining media information according to an embodiment of the present application
  • 6C is a flowchart of a method for processing a media application client after obtaining media information according to another embodiment of the present application
  • FIG. 7 is a flowchart of a method for synchronizing media content according to another embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a media application client according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a media application client according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a media application server according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of hardware of a media application client or a media application server according to an embodiment of the present application.
  • an example of the present application provides a method for synchronously playing media content, which is applied to a media application client of a user terminal, and is used to implement synchronous playback of media content between different media application clients in a network.
  • the media application client on any user terminal in the local area network is playing a certain media content
  • other user terminals in the local area network can automatically obtain the media content being played by the media application client when the media application client is started. And even play progress, and you can directly choose to watch the media content that the other party is watching.
  • the playback of the media application client on each user terminal in the network is independent, and each user's playback progress is free, and each user can fast forward and rewind without mutual interference.
  • FIG. 1A is a schematic diagram showing the structure of a system to which the media synchronization playing method according to some examples of the present application is applied.
  • the system of the present application includes at least two or more user terminals 11, a network 12, and an application server 13.
  • the user terminal 11 may be a smart terminal device such as a smart phone, a personal computer, a smart TV, and a tablet computer.
  • the user terminal 11 includes a display device such as a display or a touch screen.
  • various application clients can be installed on the user terminal 11, for example, a media application client that can play media content, such as an application client such as a Tencent video or a cloud audio Aurora.
  • the network 12 may refer to the Internet, and the two or more user terminals 11 may respectively access the Internet and connect to the application server 13 via the Internet to communicate with each other.
  • the network 12 described above may also be referred to as a local area network.
  • the above two or more user terminals 11 and the application server 13 can be constructed together into a local area network, and mutually communicate with each other through a local area network, for example, connected by a hub.
  • the application server 13 is also connected to the local area network.
  • the specific communication protocol can select the IEEE 802.3 protocol of the local area network (LAN), the IEEE 802.11 protocol of the WLAN, the Wi-Fi protocol, and the like.
  • the two or more user terminals 11 and the user terminal 11 and the application server 13 can communicate with each other through the local area network.
  • mutual discovery and mutual communication between different devices may be implemented between the two or more user terminals 11 and between the user terminal 11 and the application server 13 through the TCP/IP protocol.
  • the network 12 described above may also be a network including a local area network, a routing device 14, and the Internet 15.
  • the specific network structure may be as shown in FIG. 1B.
  • the foregoing local area network may be a wired local area network or a wireless local area network.
  • the above two or more user terminals 11 can be constructed together with the routing device 14 into a local area network, and mutually communicate with each other through a local area network.
  • the specific communication protocol can select, for example, the IEEE 802.3 protocol of a local area network (LAN), and the IEEE 802.11 protocol of the WLAN. And the Wi-Fi protocol and more.
  • the above two or more user terminals 11 can also be connected to the Internet 15 via the routing device 14, thereby enabling communication with the application server 13 that is also connected to the Internet 14.
  • the application server 13 is an application server corresponding to an application client installed on the user terminal 11, and may be, for example, a media application server or the like.
  • the application server software in the application server 13 provides services to the user together with the application client software in the user terminal 11, for example, playing a video file or the like.
  • the application server 13 described above may be a separate server or a cluster server composed of a plurality of servers.
  • the above application server 13 may be a server inside a local area network or a public server on the Internet. When the application server 13 is a server inside the local area network, the user terminal 11 inside the network 12 can be directly connected to the application server 13 through the network 12.
  • the application server 13 When the application server 13 is a public server on the Internet, the user terminal 11 inside the network 12 will be linked to the routing device in the network 12 through the network 12, and then connected to the application server 13 on the Internet through the routing device.
  • the example of the present application does not limit the connection manner between the user terminal 11 and the application server 13. That is, in the example of the present application, the application server 13 may be a server inside the local area network or a public server on the Internet, and the user terminal 11 may be different user terminals under the same local area network or may be connected to the Internet respectively. These different network settings do not affect the application of the embodiments of the present application.
  • the example of the present application provides a media content synchronization method, which can be applied to a media application client on the user terminal 11, and can implement two The media content between the above media application clients is played synchronously.
  • the examples of the present application are applicable to a plurality of user terminals connected through a network, for example, when a family members watch a certain program broadcasted by a smart TV together, if one or more of them want to return to their own rooms respectively.
  • the method can be applied when other user terminals continue to watch the program.
  • a user can apply the method to simultaneously watch other users or programs that the user views on other terminal devices.
  • the requester that the media content is synchronized is the first media application client, and the requested party is the second media application client.
  • FIG. 2 is a flowchart of a method for synchronously playing media content provided by an example of the present application. The method is performed by the first media application client on the user terminal 11, as shown in FIG. 2, and includes the following steps:
  • Step 201 Send a media information request message, requesting to obtain media information of the media content being played by the second media application client.
  • Step 202 Receive media information of media content being played by the second media application client.
  • Step 203 Play the media content corresponding to the media information according to the media information.
  • the operation of the first media application client is different in different network environments of the local area network or the Internet.
  • the processing methods in different network environments will be described in detail through different embodiments.
  • FIG. 3A is a flowchart of a method for synchronously playing media content provided by an example of the present application. The method is performed by the media application client on the user terminal 11, as shown in FIG. 3A, and includes the following steps:
  • Step 301 Send a media information request message to one or more second media application clients, requesting that the media information of the media content being played back be fed back.
  • the above step 301 can be triggered to be executed under various conditions.
  • the above step 301 can be performed when the terminal where the first media application client is located is started, for example, when the device is powered on.
  • the above step 301 can also be performed when the first media application client is started to run, for example, when the user clicks the media application client icon or option to start the media application client.
  • the user terminal accesses the network as a node, that is, connects to the network.
  • the above network may be a local area network.
  • the media information request may be a broadcast message, that is, the activated media application client may send a media information request to all other second media application clients in the local area network by broadcasting.
  • the above step 301 can also be performed when selecting to request other media application client media information.
  • the “View media content being played in the local area network” function option can be set in the interface or menu of the media application client.
  • the media application client can A media information request is sent by broadcast to all other nodes in the local area network.
  • the above step 301 can also be performed when selecting to synchronize to other media application client media playback.
  • the “Sync to media content being played by other users in the LAN” function option can be set in the interface or menu of the media application client.
  • the media The application client can broadcast a media information request to all other nodes in the LAN.
  • each node in the local area can discover the existence of other nodes through the communication protocol and obtain the identifiers of other nodes, it is also possible to further set the "synchronize to the media content being played by other users in the local area network" function option.
  • the media information request may further carry the user identifier of the user corresponding to the synchronized second media application client.
  • the media application client may directly send a media information request to the target second media application client selected by the user, and request feedback information.
  • each node since there is no central node in the local area network, each node has no primary and secondary points. Therefore, each node can request media information played on other nodes, and can also receive requests from other nodes and feed back the media information played by itself. .
  • each node distinguishes different nodes by device identifiers such as MAC addresses and device names of the user terminal devices.
  • the media application client on the user terminal can be sure that the other nodes in the same local area network are already connected, that is, the device identifiers of other user terminal devices in the local area network can be obtained.
  • the media application client may obtain device identifiers of other user terminal devices in the local area network through a local area network protocol, such as TCP/IP, IPX/SPX, WAPI, and the like.
  • the media information may include: an identification of the media content.
  • the identification of the above media content refers to an identifier that can uniquely determine the media content.
  • the media application client may send a query request to the server according to the identifier of the media content to obtain the address of the media content corresponding to the media content identifier and other information such as the total duration of the play, and therefore, the media application client is identified by the media content. The end can get the address of the media content, such as the URL of the media content.
  • the foregoing media information may directly include: an address of the media content.
  • the media information may further include playing progress information of the media content, such as the played duration or the played ratio.
  • the media information may further include play setting information of the media content, such as a full screen setting, a barrage setting, or a playback double speed setting.
  • the media application client on the user terminal may request media information of the media content being played to other user terminals in the network by using a network protocol.
  • a timeout period such as 5 seconds, may also be set as a time threshold for receiving a response corresponding to the above request.
  • the media information request may be a brand new message or implemented by using a pre-reserved field in the existing message, and a pre-agreed string such as "ABC" may be configured in the field.
  • a media application client received by a user terminal receives the new message sent by another media application client or detects that a reserved field in a message is occupied, it can be determined that a media application client is Request media information for the media content that is playing on itself.
  • the media information request may be a unicast message that is sent to each user terminal in the network one by one, in addition to the foregoing broadcast mode. It should be noted that the format and specific implementation manner of the media information request are not limited in this application.
  • the media application client that receives the request first determines its own playing state, and does not reply if it is in an idle state; if it is playing a certain media content, it feeds back the media information of the currently playing media content. Send the requested media application client.
  • the user can also select the function of "masking” or “turning off” others to read their own media information through the function settings.
  • the media application client will not reply to the request when it receives a media information request from another media application client.
  • Step 302 Receive media information fed back by one or more second media application clients.
  • a timer is started at the same time as the media information request is sent, and when the timer expires to the above timeout period, the timer is stopped, during which, if not received Media information can end the process or prompt the user to send a media information request again. If the user chooses to send the media information request again, it can return to the above step 301 to continue the execution. If the media information fed back by one or more media application clients is received before the timer expires, the subsequent steps may be continued.
  • the foregoing media information may be sent according to a pre-agreed format.
  • the pre-agreed format may be an identifier, an address, a total playing duration, and a playback progress of the media content.
  • a media content can be Chucho Chuan 01https://v.qq.com/x/page/f0391428sgt.html 50 15.
  • the media application client of the user terminal 11 receives the media information sent in the agreed format in the above example, first obtains the identifier of the media content by parsing into "Chu Qiaochuan 01", and then obtains https://v.
  • Qq.com/x/page/f0391428sgt.html is the URL of the media content
  • "50” is the total duration of the playback (the total duration of the media content is 50 minutes)
  • "15” is the playback progress (played for 15 minutes).
  • the media application client does not receive the media information, that is, does not receive a response from any of the nodes in the network, it indicates that there is no media content that can be played synchronously in the current network.
  • the first media application client may have multiple processing manners to play the media content corresponding to the received media information. The details will be described below.
  • FIG. 3B shows a process after the first media application client acquires the media information according to an embodiment of the present application.
  • the first media application client may perform the following steps after acquiring the media information.
  • Step 303B Display the received media information fed back by the one or more second media application clients.
  • the step of displaying the media information may include: adding the received media information fed back by the one or more second media application clients to a media list, and displaying the current interface The list of media.
  • the media application client adds the received media information, such as the identification of the media content, such as a poster, play duration, play progress, and address, to the media list, and displays the media list through its own display device. Users choose according to their liking. It should be noted that, when displaying the media list, only part of the content of the media information may be displayed, for example, only the identifier of the media content, such as a poster, or only the identifier of the media content and the playing progress, and the address of the media content may be displayed. It can also not be displayed.
  • FIG. 4 is an example of a media application client displaying a media list by the user terminal 11.
  • the left side of the media application client interface is a media content play window 401
  • the right side is an episode list 403 of media content currently being played
  • the media content list 402 that other users are playing is currently popular.
  • the media content list 402 displays the identifier and/or other information of the media content currently being played by other user terminals in the network, for example, the name or poster of the media content, and the like.
  • Step 304B Receive a selection operation for the displayed certain media information.
  • Step 305B Request media content corresponding to the media information from the media application server according to the selected media information.
  • Step 306B Download and play the media content.
  • the media application client in response to the user selecting a displayed piece of media information, such as a selection of a piece of media information in the media list, configures the address in the selected media information to In its own media player, the media application server is requested to download the media content according to the address.
  • FIG. 3C shows a process after the first media application client acquires the media information according to another embodiment of the present application. As shown in FIG. 3C, the process after the first media application client obtains the media information may include the following steps.
  • Step 303C Request, according to the received media information fed back by the one or more second media application clients, the media content corresponding to the media information to the media application server.
  • Step 304C Download and play the media content.
  • the first media application client may configure the address in the received media information into its own media player, request the media application server to download the media content according to the address, and play the content.
  • the first media application client may select one media information from the media application server, and then request the media corresponding to the media information from the media application server. Content and play the media content.
  • the specific selection method may be random selection, according to a preset user selection preset by the user or according to a priority of the second media application client preset by the user, and preferentially playing the media that the media application client with high priority is playing. content.
  • the first media application client may also display the media information, that is, the media from the plurality of second media application clients. The information is presented to the user, asking the user to select the media content they wish to play.
  • the specific display and selection method can refer to the method shown in FIG. 3B. I will not repeat them here.
  • the first media application client plays the media content from the beginning or may further request, according to the address in the media information and the playing progress, to download the portion of the media content that is not but is about to be played. And playing, that is, the playback progress recorded in the subsequent media information continues to play the media content.
  • the first media application client may further perform setting of playing according to the play setting information. For example, if the play setting information includes full-screen play and 1.5 times play, the first media application client can directly play the current media content directly in full screen and at 1.5 times speed.
  • the user may control the playing of the media content through a play control button on the media application client interface, for example, pause, fast forward, rewind, or play a progress bar by dragging. To adjust the playback progress independently and so on.
  • the user may continue to be prompted to request the media information of the other media application client again.
  • the user may continue to be prompted to request the media information of the other media application client again.
  • the above process is ended.
  • the user terminal 11 may also receive a media information request sent by another node as a node while transmitting a media information request to other nodes in the network.
  • the process of receiving the media information request and the process of sending the media information request are asynchronous at the same time.
  • FIG. 5 is a flowchart of a method for realizing synchronous playback of media content when the user terminal 11 functions as a second media application client of the receiving node.
  • the user may select whether to feed the media information of the media content currently being viewed to other media application clients according to their own needs, for example, in the above media application.
  • the client's setting selection provides an option of whether to share the playing media content.
  • the user can set whether to share the media information of the media content that is being played by other media application clients, so that the user can control whether it is in accordance with his own needs.
  • the media information of the media content that is being played back is received when receiving the media information request from the other media application client.
  • the media application client will respond to media information requests from other media application clients only when the user chooses to share the media information of the media content that is being played.
  • the following example is based on the user's choice to share the media information of the media content being played by itself. As shown in FIG. 5, the method may include the following steps:
  • Step 501 Receive a media information request from the first media application client.
  • the media application client on the user terminal 11 when the media application client on the user terminal 11 is activated and enters the network as a node, in addition to the media information of the media content that can be played on the other media application client, the media information can be received.
  • Media information requests from other media application clients.
  • the foregoing media information request may be a completely new message or implemented by using a pre-reserved field (referred to as a media information field) in the existing message.
  • a media information field a pre-reserved field
  • the media application client receives the new message sent by another media application client or detects that the media information field in a message is occupied, it can be determined that the message is a media information request. That is, the media application client is requesting media information of the media content that it is playing.
  • Step 502 Determine whether media content is currently playing, if there is media content being played, perform step 503; if not, end the process.
  • Step 503 Feed the media information of the media to the first media application client.
  • the media information of the media content is fed back to the first media application client.
  • the media information may include information such as an identifier of the media content (eg, a poster), an address, a duration of playing, and a progress of playing.
  • the above method may include: providing an interface setting for the user whether to share its own media information, and performing media content sharing setting in response to the media content sharing setting operation.
  • the user may not be required to pre-set the setting of whether to share the media information, or may further prompt the user to perform the current step 503 before performing the foregoing step 503 on the basis of the user selecting the shared media information.
  • the device identifier can be displayed
  • a pop-up dialog box prompts the user "device ** wants to know you If you are watching something wonderful, tell him.”
  • step 503 is continued; otherwise, the process ends.
  • the foregoing media content synchronization playing method can implement synchronous media playback of different media application clients in the same network (for example, the same local area network), so that users can view the same through different media application clients.
  • Media content can even further maintain the consistent playback progress of different media application clients.
  • each media application client still has independent playback control rights, that is, during the playback of the media content, the playback progress of the media content can still be controlled, the user's operation is facilitated, and the user experience is improved.
  • the above method for automatically synchronizing media content playback can avoid various operations of searching for media content and adjusting playback progress when the user plays the same media content on different media application clients, thereby avoiding repeated playback and reducing the number of operations.
  • the interaction between the user terminal and the server improves the efficiency of the terminal device while also saving time, network and power resources.
  • the present application also provides a The media content synchronization method is applied to the media application client and the media application server, respectively.
  • the requester of the media content synchronization (requesting the media content to the media application client of the other media application client) and the requested party (the media application client synchronized by the requested media content) are associated.
  • Such associations may be different media application clients with the same user identification (ID) or different media application clients with different user IDs that have been established in connection, such as two user IDs that are mutual attention or mutual friends.
  • a corresponding media application client or a media application client corresponding to two user IDs having a one-way attention relationship is not a general assumption that the requester for media content synchronization is the first media application client and the requested party is the second media application client.
  • FIG. 6A is a flowchart of a method for synchronizing media content according to an embodiment of the present application. The method is applied to a first media application client. As shown in FIG. 6A, the method includes the following steps:
  • Step 601 Send a media information request to the media application server, requesting feedback to the media information of the media content being played by the second media application client.
  • the foregoing step 601 may be performed when the terminal where the first media application client is started, or when the first media application client is started to run, for example, the user clicks on the media application client icon or option.
  • the user terminal accesses the network as a node, that is, connects to the network.
  • the media application client may send a media information request to the media application server, and request the media information of the media content that is being played by the media application client that has other associations with itself.
  • the media information request may not carry the user identifier of the requested party whose media content is synchronized.
  • the media information request may also carry the user identifier of the requested party whose media content is synchronized, for example, may carry the user identifier of the login media application server or the default user identifier set by itself.
  • the foregoing step 601 may also be performed when selecting to request other media application client media information.
  • the media content of other media users may be set in the interface or menu of the media application client.
  • “Function option when the user clicks the function option of "viewing the media content being played in the local area network", the media application client can send a media information request to the media application server, requesting it to feed back other media application clients associated with itself.
  • the media application client may also give a list of user identifiers associated with the user for the user to select, or give a dialog box for the user to input the user representation, and ask the user to input the user identifier corresponding to the second media application client. In this way, the media information request may carry the user identifier selected or input by the user.
  • the above step 601 can also be performed when selecting to synchronize to other media application client media playback.
  • the “Sync to other users are playing media content” function option can be set in the interface or menu of the media application client.
  • the media application client When the user clicks the function option of “viewing the media content being played in the local area network”, the media application client The media information request may be sent to the media application server to request media information of the media content being played by the media application client associated with the other.
  • the media application client may further display a menu option including a user identifier of another user associated with the user, for the user to select a target user whose media content is synchronized. In this way, the media information request may carry the user identifier corresponding to the second media application client selected by the user.
  • the above media information may include: an identifier of the media content.
  • the media information may also include: an address of the media content and a total duration of playing.
  • the media information may further include: play progress information.
  • the media information may further include: playing setting information.
  • the media application client on the user terminal may request media information of the media content being played to other user terminals in the network by using a network protocol.
  • a timeout period such as 5 seconds, may also be set as a time threshold for receiving a response corresponding to the above request.
  • the media information request may be a brand new message or implemented by using a pre-reserved field in the existing message, and a pre-agreed string such as "ABC" may be configured in the field.
  • a media application client received by a user terminal receives the new message sent by another media application client or detects that a reserved field in a message is occupied, it can be determined that a media application client is Request media information for the media content that is playing on itself.
  • the media information request may be a unicast message that is sent to each user terminal in the network one by one, in addition to the foregoing broadcast mode. It should be noted that the format and specific implementation manner of the media information request are not limited in this application.
  • the media application server that receives the request is authorized to play the playing state of the second media application client, and if it is playing a certain media content, the media information of the media content currently being played by the second media application client is fed back to the sending.
  • the requested first media application client If it is idle, it may not reply or reply to a response that did not get the response data.
  • the media information request may further include a device identifier of the first terminal and a corresponding user identifier.
  • the device identifier may be a Globally Unique Identifier (GUID) of the first terminal or other identifier that can uniquely identify the device itself.
  • GUID Globally Unique Identifier
  • IMSI International Mobile Subscriber Identity
  • IMEI International Mobile Equipment Identity
  • ESN Electronic Serial Number
  • MEID Mobile Equipment Identity
  • Step 602 Receive media information that is being played by one or more media application clients fed back by the media application server.
  • a timer is started at the same time as the media information request is sent, and when the timer expires to the above timeout period, the timer is stopped, during which, if not received Media information can end the process or prompt the user to send a media information request again. If the user chooses to send the media information request again, he can return to step 601 above to continue the execution. If the media information fed back by the media application server is received before the timer expires, the subsequent steps may be continued.
  • the foregoing media information may be sent according to a pre-agreed format.
  • the pre-agreed format may be an identifier, an address, a play duration, and a play progress of the media content.
  • FIG. 6B shows a process after the first media application client acquires media information according to an embodiment of the present application. As shown in FIG. 6B, the first media application client may perform the following steps after acquiring the media information.
  • Step 603B Display media information of the one or more second media application clients that are received by the media application server.
  • the step of displaying the media information may include: adding the received media information of the one or more second media application clients to a media list, and displaying the current interface Media list.
  • the media application client adds the received media information, such as the identification of the media content, such as a poster, play duration, play progress, and address, to the media list, and displays the media list through its own display device. Users choose according to their liking. It should be noted that, when displaying the media list, only part of the media information may be displayed, for example, only the identifier of the media content, such as a poster, or only the identifier of the media content and the playing progress and/or the playing duration, but for the media. The address of the content can be displayed or not. For an example of the first media application client displaying the media list, reference may also be made to FIG. 4 above.
  • Step 604B Receive a selection operation for the displayed certain media information.
  • Step 605B Request media content corresponding to the media information from the media application server according to the selected media information.
  • Step 606B Download and play the media content.
  • FIG. 6C shows that the processing after the first media application client obtains the media information according to another embodiment of the present application may include the following steps.
  • Step 603C request, according to the received media information of the one or more second media application clients, the media content corresponding to the media information to the media application server;
  • Step 604C Download and play the media content.
  • the first media application client may configure the address in the received media information into its own media player, request the media application server to download the media content according to the address, and play the content.
  • FIG. 7 is a flowchart of a method for synchronizing media content according to an embodiment of the present application. This method is applied to a media application server. As shown in FIG. 7, the method includes the following steps:
  • Step 701 Receive a media information request from the first media application client.
  • the media information request may include the requested party of the media content synchronization, that is, the second media application client, and the corresponding user identifier.
  • the media information request further includes a requester that synchronizes the media content, that is, the first media application client, the corresponding user identifier, and the device identifier.
  • Step 702 Acquire, according to the received media information request, media information of the media content currently being played by the second media application client.
  • the second media that has an association relationship with the user identifier corresponding to the first media application client that is carried in the media information request is obtained.
  • the user identifier corresponding to the client is used, and then the media information of the media content currently being played by the second media application client is obtained according to the user identifier corresponding to the second media application client.
  • the media information request carries the user identifier corresponding to the second media application client
  • the second media application client is currently playing according to the user identifier corresponding to the second media application client carried in the media information request.
  • Media information for media content
  • the media application server can obtain the media of the media application that the second media application client is playing according to the user identifier. information.
  • Step 703 Feed back the obtained media information to the first media application client.
  • the media information may include information such as an identifier (eg, a poster) of the media content, an address, a play duration, and a playback progress.
  • an identifier eg, a poster
  • the media content may include information such as an address, a play duration, and a playback progress.
  • the foregoing media content synchronous playing method can implement synchronous media playback of different media application clients on the same network (for example, the Internet), so that different users can view the same media content, and even further maintain The playback progress of different media application clients is the same. Further, each media application client still has independent playback control rights, that is, during the playback of the media content, the playback progress of the media content can still be controlled, the user's operation is facilitated, and the user experience is improved.
  • the above method for automatically synchronizing media content playback can avoid various operations of searching for media content and adjusting playback progress when different users play the same media content on different media application clients, thereby avoiding repeated playback and reducing
  • the interaction between the user terminal and the server improves the efficiency of the terminal device while also saving time, network and power resources.
  • the present application further provides a media application client 800 that implements the above method.
  • the media application client 800 that implements the media content synchronization playing method may be implemented by the structure diagram shown in FIG. 7, and includes: a sending module 801 and a receiving module 802, and the functions of each module are as follows:
  • the sending module 801 is configured to send a media information request to request to obtain media information of the media content being played by the second media application client;
  • the receiving module 802 is configured to receive media information.
  • the playing module 803 is configured to play the media content corresponding to the media information according to the media information.
  • the media application client 800 may further include:
  • a display module configured to display media information of the one or more media application clients.
  • the media application client 800 may further include:
  • a media content requesting module configured to request, from the media application server, the media content corresponding to the media information according to the selected media information, in response to the selecting operation of the displayed certain media information;
  • the first download module is configured to download the media content.
  • the media application client 800 may further include:
  • a second downloading module configured to request the media content corresponding to the media information from the media application server according to the received one of the media information, and download the media content.
  • the present application further provides a media application client 900 that implements the above method.
  • the first receiving module 901 is configured to receive a media information request from the first media application client.
  • the first determining module 902 is configured to determine whether media content is currently being played, and if media content is being played, obtain media information of the media content currently being played.
  • the first feedback module 903 is configured to feed back media information of the media to the first media application client.
  • the media application client 900 may further include: a setting module, configured to provide an interface setting for the user to share the media information of the user, and perform the media content sharing setting in response to the media content sharing setting operation.
  • a setting module configured to provide an interface setting for the user to share the media information of the user, and perform the media content sharing setting in response to the media content sharing setting operation.
  • the present application further provides a media application server 1000 that implements the above method.
  • the second receiving module 1001 is configured to receive a media information request from the first media application client.
  • the second determining module 1002 is configured to request, according to the media information, the media information of the media content currently being played by the second media application client.
  • the second feedback module 1003 is configured to feed the obtained media information to the first media application client.
  • the application server may further include: a determining module, configured to determine whether the user identifier corresponding to the second media application client is included in the media information request.
  • the second determining module when the media information request includes the user identifier corresponding to the second media application client, acquires that the second media application client corresponding to the user identifier is currently playing. Obtaining media information of the media content; and acquiring, when the media information request does not include the user identifier corresponding to the second media application client, acquiring a second media application client having an association relationship with the first media application client The media information of the media content currently being played.
  • FIG. 11 is a diagram showing the structure of a computing device 1100 in which a user terminal 1100 that implements a media content synchronous playback method is located.
  • the computing device includes one or more processors (CPUs) 1102, communication modules 1104, memory 1106, user interfaces 1110, and a communication bus 1108 for interconnecting these components.
  • processors CPUs
  • communication modules 1104, memory 1106, user interfaces 1110, and a communication bus 1108 for interconnecting these components.
  • communication bus 1108 for interconnecting these components.
  • the processor 1102 can receive and transmit data through the communication module 1104 to effect network communication and/or local communication.
  • User interface 1110 includes one or more output devices 1112 that include one or more speakers and/or one or more visual displays.
  • User interface 1110 also includes one or more input devices 1114 including, for example, a keyboard, a mouse, a voice command input unit or loudspeaker, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input button or control, and the like.
  • the memory 1106 can be a high speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state storage device; or a nonvolatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, Or other non-volatile solid-state storage devices.
  • a high speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state storage device
  • nonvolatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, Or other non-volatile solid-state storage devices.
  • the memory 1106 stores a set of instructions executable by the processor 1102, including:
  • An operating system 1116 including a program for processing various basic system services and for performing hardware related tasks
  • the application 1118 includes various applications for implementing a media content synchronous playback method, and the application can implement the processing flow in each of the above examples, such as a media that can include the media content synchronous playback method shown in FIGS. 8, 9, and 10.
  • the client 800, 900 and some or all of the units in the media application server 1000 are applied.
  • At least one of the modules or modules may store machine executable instructions.
  • the processor 1102 can implement the functions of at least one of the modules described above by executing machine executable instructions in at least one of the modules in the memory 1106.
  • the hardware modules in the embodiments may be implemented in a hardware manner or a hardware platform plus software.
  • the above software includes machine readable instructions stored in a non-volatile storage medium.
  • embodiments can also be embodied as software products.
  • some examples of the present application also provide a computer readable storage medium having computer instructions stored thereon, wherein the computer instructions are executed by a processor to implement the method of any of Figures 2-4 above. step.
  • the hardware may be implemented by specialized hardware or hardware that executes machine readable instructions.
  • the hardware can be a specially designed permanent circuit or logic device (such as a dedicated processor such as an FPGA or ASIC) for performing a particular operation.
  • the hardware may also include programmable logic devices or circuits (such as including general purpose processors or other programmable processors) that are temporarily configured by software for performing particular operations.
  • each instance of the present application can be implemented by a data processing program executed by a data processing device such as a computer.
  • the data processing program constitutes the present application.
  • a data processing program usually stored in a storage medium is executed by directly reading a program out of a storage medium or by installing or copying the program to a storage device (such as a hard disk and or a memory) of the data processing device. Therefore, such a storage medium also constitutes the present application, and the present application also provides a non-volatile storage medium in which a data processing program is stored, which can be used to execute any of the above-mentioned method examples of the present application. An example.
  • the machine readable instructions corresponding to the modules in Figures 8, 9 and 10 may cause an operating system or the like operating on a computer to perform some or all of the operations described herein.
  • the non-transitory computer readable storage medium may be inserted into a memory provided in an expansion board within the computer or written to a memory provided in an expansion unit connected to the computer.
  • the CPU or the like installed on the expansion board or the expansion unit can perform part and all of the actual operations according to the instructions.
  • the devices and modules in the various examples of the present application may be integrated into one processing unit, or each module may exist physically separately, or two or more devices or modules may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Provided in the application are a media content synchronization method. The method comprises: sending, by a first media application client, a media information request, requesting to obtain media information of media content being played by a second media application client; receiving, by the first media application client, the media information; and playing, by the first media application client, the media content corresponding to the media information according to the media information. Correspondingly, also provided in the present application is a device for implementing the media content synchronization method.

Description

一种媒体内容同步方法、装置及存储介质Method, device and storage medium for synchronizing media content
本申请要求于2017年10月31日提交中国专利局、申请号为201711046801.1、名称为“一种媒体内容同步方法、装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application entitled "Media Content Synchronization Method, Apparatus and Storage Medium" by the Chinese Patent Office, filed on October 31, 2017, the number of which is hereby incorporated by reference. In this application.
技术领域Technical field
本申请涉及信息技术领域,尤其涉及一种媒体内容同步方法、装置及存储介质。The present application relates to the field of information technology, and in particular, to a media content synchronization method, apparatus, and storage medium.
背景background
在当前,随着互联网的发展,用户对媒体资源共享的需求越来越多。因此,出现了多个用户希望可以分别在不同地点使用不同终端设备同时观看同一个视频的需求,以及同一个用户在观看一个视频的过程中想变换地点或者变换终端设备继续观看的需求。At present, with the development of the Internet, users are increasingly demanding media resource sharing. Therefore, there is a need for a plurality of users who wish to use different terminal devices to simultaneously watch the same video at different locations, and a need for the same user to change the location or change the terminal device to continue watching while watching a video.
技术内容Technical content
本申请实例提出了一种媒体内容同步方法,可以在不同的媒体应用客户端之间实现同一媒体内容的同步播放。该方法包括:第一媒体应用客户端发送媒体信息请求消息,请求获取第二媒体应用客户端正在播放的媒体内容的媒体信息;第一媒体应用客户端接收媒体信息;以及第一媒体应用客户端根据所述媒体信息播放所述媒体信息对应的媒体内容。The application example of the present application proposes a media content synchronization method, which can realize synchronous play of the same media content between different media application clients. The method includes: the first media application client sends a media information request message, requesting to obtain media information of the media content being played by the second media application client; the first media application client receives the media information; and the first media application client Playing the media content corresponding to the media information according to the media information.
本申请的实例还提出了一种媒体应用客户端,包括:An example of the present application also proposes a media application client, including:
发送模块,响应于请求其他用户终端媒体信息的操作,发送媒体 信息请求消息,请求获取第二媒体应用客户端正在播放的媒体内容的媒体信息;The sending module sends a media information request message to request to obtain media information of the media content being played by the second media application client, in response to the operation of requesting media information of the other user terminal;
接收模块,用于接收所述媒体信息;以及a receiving module, configured to receive the media information;
播放模块,用于根据所述媒体信息播放所述媒体信息对应的媒体内容。a playing module, configured to play media content corresponding to the media information according to the media information.
本申请实例还提供了一种存储介质,存储有可读指令,可以使至少一个处理器执行上述媒体内容同步播放方法。The application example further provides a storage medium storing readable instructions, so that at least one processor can execute the above-mentioned media content synchronous playing method.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1A为本申请一实例的系统结构示意图;1A is a schematic structural diagram of a system according to an example of the present application;
图1B为本申请另一实例的系统结构示意图;1B is a schematic structural diagram of a system according to another example of the present application;
图2为本申请实施例所述的媒体内容同步方法的流程图;2 is a flowchart of a method for synchronizing media content according to an embodiment of the present application;
图3A为本申请一实施例所述的媒体内容同步方法的流程图;3A is a flowchart of a method for synchronizing media content according to an embodiment of the present application;
图3B为本申请一实施例所述的媒体应用客户端在获得媒体信息后的处理方法流程图;FIG. 3B is a flowchart of a method for processing a media application client after obtaining media information according to an embodiment of the present application;
图3C为本申请另一实施例所述的媒体应用客户端在获得媒体信息后的处理方法流程图;3C is a flowchart of a method for processing a media application client after obtaining media information according to another embodiment of the present disclosure;
图4为本申请一实施例所述的用户终端的媒体应用客户端展示媒体内容列表的示例;4 is an example of displaying a media content list by a media application client of a user terminal according to an embodiment of the present disclosure;
图5为本申请另一实施例所述的媒体内容同步方法的示例;FIG. 5 is an example of a media content synchronization method according to another embodiment of the present application;
图6A为本申请又一实施例所述的媒体内容同步方法的流程图;6A is a flowchart of a method for synchronizing media content according to another embodiment of the present application;
图6B为本申请一实施例的媒体应用客户端在获得媒体信息后的处理方法流程图;FIG. 6B is a flowchart of a method for processing a media application client after obtaining media information according to an embodiment of the present application;
图6C为本申请另一实施例的媒体应用客户端在获得媒体信息后的处理方法流程图;6C is a flowchart of a method for processing a media application client after obtaining media information according to another embodiment of the present application;
图7为本申请又一实施例所述的媒体内容同步方法的流程图;FIG. 7 is a flowchart of a method for synchronizing media content according to another embodiment of the present application;
图8为本申请一实施例的媒体应用客户端的结构示意图;FIG. 8 is a schematic structural diagram of a media application client according to an embodiment of the present application;
图9为本申请一实施例的媒体应用客户端的结构示意图;FIG. 9 is a schematic structural diagram of a media application client according to an embodiment of the present application;
图10为本申请一实施例的媒体应用服务器的结构示意图;以及FIG. 10 is a schematic structural diagram of a media application server according to an embodiment of the present application;
图11为本申请一实施例的媒体应用客户端或媒体应用服务器的硬件结构示意图。FIG. 11 is a schematic structural diagram of hardware of a media application client or a media application server according to an embodiment of the present application.
实施方式Implementation
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
为了描述上的简洁和直观,下文通过描述若干代表性的实施例来对本发明的方案进行阐述。实施例中大量的细节仅用于帮助理解本发明的方案。但是很明显,本发明的技术方案实现时可以不局限于这些细节。为了避免不必要地模糊了本发明的方案,一些实施方式没有进行细致地描述,而是仅给出了框架。下文中,“包括”是指“包括但不限于”,“根据……”是指“至少根据……,但不限于仅根据……”。 下文中没有特别指出一个成分的数量时,意味着该成分可以是一个也可以是多个,或可理解为至少一个。For the sake of brevity and clarity of the description, the aspects of the present invention are set forth below by describing several representative embodiments. Numerous details in the examples are only provided to aid in understanding the aspects of the invention. However, it is obvious that the technical solution of the present invention can be implemented without being limited to these details. In order to avoid unnecessarily obscuring aspects of the present invention, some embodiments are not described in detail, but only the framework is given. Hereinafter, "including" means "including but not limited to", and "according to" means "at least according to ..., but not limited to only based on". When the number of one component is not specifically indicated below, it means that the component may be one or plural, or may be understood as at least one.
如前所述,在互联网飞速发展的过程中,目前出现了多个用户希望可以分别在不同地点使用不同终端同时观看同一个视频的需求以及同一个用户在观看一个视频的过程中想变换地点或者变换终端设备继续观看的需求。这就需要实现同一个媒体内容在不同终端设备之间的共享及同步。现有的媒体同步播放的方法基本上有两种,一种方法是多个用户分别打开媒体播放客户端,找到相同媒体,再分别进行观看;另外一种方法是在有观看历史的用户终端上用同一账号登录,通过之前保存的观看历史实现播放同步。但是以上这两种方案不能自动获取并展示其他用户正在播放的媒体内容而且操作繁琐,用户体验不佳。As mentioned above, in the rapid development of the Internet, there are currently many users who want to use different terminals to view the same video at different locations in the same place, and the same user wants to change the location during the process of watching a video or Transform the needs of the terminal device to continue watching. This requires sharing and synchronization of the same media content between different terminal devices. There are basically two methods for synchronous playback of existing media. One method is that multiple users open the media playback client separately, find the same media, and then separately watch; another method is on the user terminal with the viewing history. Log in with the same account and synchronize playback with the previously saved viewing history. However, the above two solutions cannot automatically acquire and display the media content that other users are playing, and the operation is cumbersome and the user experience is not good.
为了解决上述问题,本申请的实例提出了一种媒体内容同步播放方法,该方法应用于用户终端的媒体应用客户端,用于实现在网络中,不同媒体应用客户端之间媒体内容的同步播放。例如,当局域网内任一台用户终端上的媒体应用客户端正在播放某一媒体内容时,该局域网内其它用户终端在启动媒体应用客户端时可以自动获取上述媒体应用客户端正在播放的媒体内容,甚至播放进度,并且可以直接选择观看对方正在观看的媒体内容。同时,网络中每个用户终端上媒体应用客户端的播放又各自独立,每个用户的播放进度自由,可以各自快进快退,互不干扰。In order to solve the above problem, an example of the present application provides a method for synchronously playing media content, which is applied to a media application client of a user terminal, and is used to implement synchronous playback of media content between different media application clients in a network. . For example, when the media application client on any user terminal in the local area network is playing a certain media content, other user terminals in the local area network can automatically obtain the media content being played by the media application client when the media application client is started. And even play progress, and you can directly choose to watch the media content that the other party is watching. At the same time, the playback of the media application client on each user terminal in the network is independent, and each user's playback progress is free, and each user can fast forward and rewind without mutual interference.
图1A显示了本申请一些实例所述的媒体同步播放方法所适用的系统结构示意图。如图1所示,本申请的系统至少包括:两个以上用户终端11、网络12和应用服务器13。FIG. 1A is a schematic diagram showing the structure of a system to which the media synchronization playing method according to some examples of the present application is applied. As shown in FIG. 1, the system of the present application includes at least two or more user terminals 11, a network 12, and an application server 13.
在本申请的一些实例中,上述用户终端11可以是智能手机、个 人计算机、智能电视和平板电脑等智能终端设备。该用户终端11上包含有显示装置,比如显示器或触摸屏等。一般情况下,在用户终端11上可以安装各种应用客户端,比如,可以播放媒体内容的媒体应用客户端,例如腾讯视频、云视听极光等应用客户端。In some examples of the present application, the user terminal 11 may be a smart terminal device such as a smart phone, a personal computer, a smart TV, and a tablet computer. The user terminal 11 includes a display device such as a display or a touch screen. Generally, various application clients can be installed on the user terminal 11, for example, a media application client that can play media content, such as an application client such as a Tencent video or a cloud audio Aurora.
在本申请的一些实例中,上述网络12可以是指互联网,上述两个以上的用户终端11可以分别接入互联网并通过互联网分别连接到应用服务器13,分别与其进行通信。In some examples of the present application, the network 12 may refer to the Internet, and the two or more user terminals 11 may respectively access the Internet and connect to the application server 13 via the Internet to communicate with each other.
在本申请的一些实例中,上述网络12还可以是指局域网。上述两个以上的用户终端11以及应用服务器13可以一起构建成一个局域网,并通过局域网实现彼此之间的相互通信,例如通过集线器连接到一起。应用服务器13也连接至该局域网。具体的通信协议可以选择局域网(LAN)的IEEE 802.3协议,WLAN的IEEE 802.11协议以及Wi-Fi协议等等。此时,上述两个以上的用户终端11之间以及用户终端11和应用服务器13之间可以通过该局域网实现相互通信。此外,上述两个以上的用户终端11之间以及用户终端11和应用服务器13之间还可以通过TCP/IP协议实现不同设备之间的相互发现以及相互通信。In some examples of the present application, the network 12 described above may also be referred to as a local area network. The above two or more user terminals 11 and the application server 13 can be constructed together into a local area network, and mutually communicate with each other through a local area network, for example, connected by a hub. The application server 13 is also connected to the local area network. The specific communication protocol can select the IEEE 802.3 protocol of the local area network (LAN), the IEEE 802.11 protocol of the WLAN, the Wi-Fi protocol, and the like. At this time, the two or more user terminals 11 and the user terminal 11 and the application server 13 can communicate with each other through the local area network. In addition, mutual discovery and mutual communication between different devices may be implemented between the two or more user terminals 11 and between the user terminal 11 and the application server 13 through the TCP/IP protocol.
在本申请的一些实例中,上述网络12还可以是包括局域网、路由设备14以及互联网15的网络。其具体的网络结构可以如图1B所示,具体而言,上述局域网可以是有线局域网络或无线局域网络。上述两个以上的用户终端11可以和路由设备14一起构建成一个局域网,通过局域网实现彼此之间的相互通信,具体的通信协议可以选择例如局域网(LAN)的IEEE 802.3协议,WLAN的IEEE 802.11协议以及Wi-Fi协议等等。此外,上述两个以上的用户终端11还可以通过路由设备14连接至互联网15,从而实现与同样连接到互联网14的应用服 务器13的通信。In some examples of the present application, the network 12 described above may also be a network including a local area network, a routing device 14, and the Internet 15. The specific network structure may be as shown in FIG. 1B. Specifically, the foregoing local area network may be a wired local area network or a wireless local area network. The above two or more user terminals 11 can be constructed together with the routing device 14 into a local area network, and mutually communicate with each other through a local area network. The specific communication protocol can select, for example, the IEEE 802.3 protocol of a local area network (LAN), and the IEEE 802.11 protocol of the WLAN. And the Wi-Fi protocol and more. Furthermore, the above two or more user terminals 11 can also be connected to the Internet 15 via the routing device 14, thereby enabling communication with the application server 13 that is also connected to the Internet 14.
应用服务器13为与用户终端11上安装的应用客户端对应的应用服务器,例如,可以是媒体应用服务器等等。应用服务器13中的应用服务器软件与用户终端11中的应用客户端软件一起为用户提供服务,例如,播放视频文件等。上述应用服务器13可以是单独的服务器也可以是多个服务器组成的集群服务器。上述应用服务器13可以是局域网内部的服务器也可以是互联网上的公共服务器。当应用服务器13为局域网内部的服务器时,网络12内部的用户终端11可以通过网络12直接连接到应用服务器13。而当应用服务器13为互联网上的公共服务器时,网络12内部的用户终端11将通过网络12链接到网络12中的路由设备,再通过路由设备连接到互联网上的应用服务器13。需要说明的是,本申请的实例对用户终端11和应用服务器13之间的连接方式并不作限定。也即,在本申请的实例中,上述应用服务器13可以是局域网内部的服务器也可以是互联网上的公共服务器,上述用户终端11可以是同一个局域网下的不同用户终端也可以是分别连接至互联网的不同用户终端,这些网络设置并不影响本申请实施方式的应用。The application server 13 is an application server corresponding to an application client installed on the user terminal 11, and may be, for example, a media application server or the like. The application server software in the application server 13 provides services to the user together with the application client software in the user terminal 11, for example, playing a video file or the like. The application server 13 described above may be a separate server or a cluster server composed of a plurality of servers. The above application server 13 may be a server inside a local area network or a public server on the Internet. When the application server 13 is a server inside the local area network, the user terminal 11 inside the network 12 can be directly connected to the application server 13 through the network 12. When the application server 13 is a public server on the Internet, the user terminal 11 inside the network 12 will be linked to the routing device in the network 12 through the network 12, and then connected to the application server 13 on the Internet through the routing device. It should be noted that the example of the present application does not limit the connection manner between the user terminal 11 and the application server 13. That is, in the example of the present application, the application server 13 may be a server inside the local area network or a public server on the Internet, and the user terminal 11 may be different user terminals under the same local area network or may be connected to the Internet respectively. These different network settings do not affect the application of the embodiments of the present application.
在此前提下,基于上述图1A和图1B所示的系统结构,本申请的实例提供了一种媒体内容同步方法,该方法可应用于用户终端11上的媒体应用客户端,可以实现两个以上媒体应用客户端之间的媒体内容同步播放。如前所述,本申请的实例适用于通过网络连接的多个用户终端,例如,在家里家人一起观看智能电视播放的某个节目时,如果其中某一人或多人想分别回到自己房间通过其他用户终端继续观看该节目时就可以应用该述方法。又例如,一个用户可以应用该方法同步观看其他用户或者该用户在其他终端设备上观看的节目。In this premise, based on the system structure shown in FIG. 1A and FIG. 1B above, the example of the present application provides a media content synchronization method, which can be applied to a media application client on the user terminal 11, and can implement two The media content between the above media application clients is played synchronously. As described above, the examples of the present application are applicable to a plurality of user terminals connected through a network, for example, when a family members watch a certain program broadcasted by a smart TV together, if one or more of them want to return to their own rooms respectively. The method can be applied when other user terminals continue to watch the program. As another example, a user can apply the method to simultaneously watch other users or programs that the user views on other terminal devices.
这里,不失一般性的假设,称媒体内容同步的请求方为第一媒体应用客户端,被请求方为第二媒体应用客户端。Here, without losing the general assumption, the requester that the media content is synchronized is the first media application client, and the requested party is the second media application client.
图2示出了本申请实例提供的媒体内容同步播放方法的流程图。该方法由用户终端11上的第一媒体应用客户端执行,如图2所示,包括以下步骤:FIG. 2 is a flowchart of a method for synchronously playing media content provided by an example of the present application. The method is performed by the first media application client on the user terminal 11, as shown in FIG. 2, and includes the following steps:
步骤201:发送媒体信息请求消息,请求获取第二媒体应用客户端正在播放的媒体内容的媒体信息;Step 201: Send a media information request message, requesting to obtain media information of the media content being played by the second media application client.
步骤202:接收第二媒体应用客户端正在播放的媒体内容的媒体信息;以及Step 202: Receive media information of media content being played by the second media application client; and
步骤203:根据所述媒体信息播放所述媒体信息对应的媒体内容。Step 203: Play the media content corresponding to the media information according to the media information.
由于在局域网或者互联网不同的网络环境下,第一媒体应用客户端的操作有所不同,下面将通过不同的实施例详细说明不同网络环境下的处理方法。The operation of the first media application client is different in different network environments of the local area network or the Internet. The processing methods in different network environments will be described in detail through different embodiments.
图3A示出了本申请一个实例提供的媒体内容同步播放方法的流程图。该方法由用户终端11上的媒体应用客户端执行,如图3A所示,包括以下步骤:FIG. 3A is a flowchart of a method for synchronously playing media content provided by an example of the present application. The method is performed by the media application client on the user terminal 11, as shown in FIG. 3A, and includes the following steps:
步骤301:向一个或者多个第二媒体应用客户端发送媒体信息请求消息,请求其反馈正在播放的媒体内容的媒体信息。Step 301: Send a media information request message to one or more second media application clients, requesting that the media information of the media content being played back be fed back.
在本申请的一个实施例中,上述步骤301可以在多种条件下被触发执行。例如,可以在第一媒体应用客户端所在的终端被启动时,例如开机时,执行上述步骤301。也可以在启动运行第一媒体应用客户端时,例如,用户点击媒体应用客户端图标或者选项来启动运行该媒体应用客户端时,执行上述步骤301。当某个用户启动运行一个用户终端上的媒体应用客户端时,该用户终端将自身作为一个节点接入网络,也即连接到网络中。需要说明的是,上述网络可以是局域网。此 时,上述媒体信息请求可以是一个广播消息,也即该被启动的媒体应用客户端可以通过广播的方式发送一个媒体信息请求至局域网内的所有其他第二媒体应用客户端。In one embodiment of the present application, the above step 301 can be triggered to be executed under various conditions. For example, the above step 301 can be performed when the terminal where the first media application client is located is started, for example, when the device is powered on. The above step 301 can also be performed when the first media application client is started to run, for example, when the user clicks the media application client icon or option to start the media application client. When a user starts to run a media application client on a user terminal, the user terminal accesses the network as a node, that is, connects to the network. It should be noted that the above network may be a local area network. At this time, the media information request may be a broadcast message, that is, the activated media application client may send a media information request to all other second media application clients in the local area network by broadcasting.
在本申请的另一个实施例中,还可以在选择请求其他媒体应用客户端媒体信息时执行上述步骤301。例如,可以在媒体应用客户端的界面或者菜单中设置“查看局域网内正在播放的媒体内容”功能选项,当用户点击该“查看局域网内正在播放的媒体内容”的功能选项时,媒体应用客户端可以通过广播的方式发送一个媒体信息请求至局域网内的所有其他节点。In another embodiment of the present application, the above step 301 can also be performed when selecting to request other media application client media information. For example, the “View media content being played in the local area network” function option can be set in the interface or menu of the media application client. When the user clicks the function option of “viewing the media content being played in the local area network”, the media application client can A media information request is sent by broadcast to all other nodes in the local area network.
在本申请的又一个实施例中,还可以在选择同步至其他媒体应用客户端媒体播放时执行上述步骤301。例如,可以在媒体应用客户端的界面或者菜单中设置“同步至局域网内其他用户正在播放的媒体内容”功能选项,当用户点击该“同步至其他用户正在播放的媒体内容”的功能选项时,媒体应用客户端可以通过广播的方式发送一个媒体信息请求至局域网内的所有其他节点。此外,由于局域内的各个节点可以通过通信协议发现其他节点的存在并获取其他节点的标识,因此,还可以在设置“同步至局域网内其他用户正在播放的媒体内容”功能选项的基础之上进一步设置包含局域网内所有其他节点标识的菜单选项,供用户选择媒体内容同步的目标用户。如此,媒体信息请求中还可以携带被同步的第二媒体应用客户端所对应用户的用户标识。这样,除了上述广播方式之外,媒体应用客户端还可以直接发媒体信息请求至用户选择的目标第二媒体应用客户端,请其反馈媒体信息。In still another embodiment of the present application, the above step 301 can also be performed when selecting to synchronize to other media application client media playback. For example, the “Sync to media content being played by other users in the LAN” function option can be set in the interface or menu of the media application client. When the user clicks the function option of “synchronize to media content being played by other users”, the media The application client can broadcast a media information request to all other nodes in the LAN. In addition, since each node in the local area can discover the existence of other nodes through the communication protocol and obtain the identifiers of other nodes, it is also possible to further set the "synchronize to the media content being played by other users in the local area network" function option. Set menu options that include all other node IDs in the LAN for the user to select the target user for media content synchronization. In this way, the media information request may further carry the user identifier of the user corresponding to the synchronized second media application client. In this way, in addition to the above broadcast mode, the media application client may directly send a media information request to the target second media application client selected by the user, and request feedback information.
此外,由于在局域网络中没有中心节点,各个节点没有主次之分,因此,每个节点都可以请求其他节点上播放的媒体信息,同时也可以接收其他节点的请求并反馈自身播放的媒体信息。其中,在该局域网 络中,各个节点以用户终端设备的设备标识比如MAC地址、设备名称等,来区分不同的节点。在接入局域网络后,该用户终端上的媒体应用客户端可以确知已经接入同一局域网络内的其他节点,也即可以获取该局域网络内其他用户终端设备的设备标识。具体而言,媒体应用客户端可以通过局域网络协议,例如TCP/IP、IPX/SPX、WAPI等等,获取该局域网络内其他用户终端设备的设备标识。In addition, since there is no central node in the local area network, each node has no primary and secondary points. Therefore, each node can request media information played on other nodes, and can also receive requests from other nodes and feed back the media information played by itself. . Among them, in the local area network, each node distinguishes different nodes by device identifiers such as MAC addresses and device names of the user terminal devices. After accessing the local area network, the media application client on the user terminal can be sure that the other nodes in the same local area network are already connected, that is, the device identifiers of other user terminal devices in the local area network can be obtained. Specifically, the media application client may obtain device identifiers of other user terminal devices in the local area network through a local area network protocol, such as TCP/IP, IPX/SPX, WAPI, and the like.
在一些实例中,上述媒体信息可以包括:媒体内容的标识。上述媒体内容的标识是指可以唯一确定媒体内容的标识。一般情况下,媒体应用客户端可以根据媒体内容的标识向服务器发送查询请求以获取与该媒体内容标识对应的媒体内容的地址以及播放总时长等其他信息,因此,通过媒体内容的标识媒体应用客户端可以得到媒体内容的地址,例如媒体内容的URL。另外,上述媒体信息可以直接包括:媒体内容的地址。在本申请的实施例中,上述媒体信息还可以包括媒体内容的播放进度信息,例如已播放的时长或者已播放的比例。在本申请的实施例中,上述媒体信息还可以包括媒体内容的播放设置信息,例如全屏幕设置、弹幕设置或者播放倍速设置等。In some examples, the media information may include: an identification of the media content. The identification of the above media content refers to an identifier that can uniquely determine the media content. In general, the media application client may send a query request to the server according to the identifier of the media content to obtain the address of the media content corresponding to the media content identifier and other information such as the total duration of the play, and therefore, the media application client is identified by the media content. The end can get the address of the media content, such as the URL of the media content. In addition, the foregoing media information may directly include: an address of the media content. In the embodiment of the present application, the media information may further include playing progress information of the media content, such as the played duration or the played ratio. In the embodiment of the present application, the media information may further include play setting information of the media content, such as a full screen setting, a barrage setting, or a playback double speed setting.
在一些实例中,上述用户终端上的媒体应用客户端可以利用网络协议向上述网络中的其他用户终端请求正在播放的媒体内容的媒体信息。In some examples, the media application client on the user terminal may request media information of the media content being played to other user terminals in the network by using a network protocol.
更进一步的,还可以设定一个超时时间,比如5秒,作为接到与上述请求对应的响应的时间阈值。Further, a timeout period, such as 5 seconds, may also be set as a time threshold for receiving a response corresponding to the above request.
这里,上述媒体信息请求可以是一个全新的报文或者利用现有报文中预先保留的字段实现,该字段里可以配置一个预先约定的字符串,比如“ABC”。当一个用户终端收上的媒体应用客户端接收到另一个媒体应用客户端发送的上述新报文或者检测到某个报文中的保留字 段被占用时,即可确知一个媒体应用客户端正在请求自身正在播放的媒体内容的媒体信息。此外,除了上述广播方式之外,上述媒体信息请求还可以是逐一发送给网络内各个用户终端的单播报文。需要说明的是,本申请对媒体信息请求的格式以及具体实现方式不作限定。Here, the media information request may be a brand new message or implemented by using a pre-reserved field in the existing message, and a pre-agreed string such as "ABC" may be configured in the field. When a media application client received by a user terminal receives the new message sent by another media application client or detects that a reserved field in a message is occupied, it can be determined that a media application client is Request media information for the media content that is playing on itself. In addition, the media information request may be a unicast message that is sent to each user terminal in the network one by one, in addition to the foregoing broadcast mode. It should be noted that the format and specific implementation manner of the media information request are not limited in this application.
此时,收到请求的媒体应用客户端首先判断自身的播放状态,如果自身处于空闲状态,则不回复;如果自身正在播放某一媒体内容,则把当前正在播放的媒体内容的媒体信息反馈给发送请求的媒体应用客户端。At this time, the media application client that receives the request first determines its own playing state, and does not reply if it is in an idle state; if it is playing a certain media content, it feeds back the media information of the currently playing media content. Send the requested media application client.
此外,用户也可以通过功能设置选择“屏蔽”或者“关闭”他人读取自身的媒体信息的功能。此时,媒体应用客户端在收到来自其他媒体应用客户端的媒体信息请求时将不会回复该请求。In addition, the user can also select the function of "masking" or "turning off" others to read their own media information through the function settings. At this point, the media application client will not reply to the request when it receives a media information request from another media application client.
步骤302:接收一个或多个第二媒体应用客户端反馈的媒体信息。Step 302: Receive media information fed back by one or more second media application clients.
在本申请的实例中,如果设置了上述超时时间,则在发送媒体信息请求的同时启动一个计时器,并且在上述计时器计时到上述超时时间时,停止计时,在此期间,如果没有接收到媒体信息,则可以结束本流程或者提示用户是否再次发送媒体信息请求。如果用户选择再次发送媒体信息请求,则可以返回上述步骤301继续执行。如果在上述计时器超时之前,接收到一个或多个媒体应用客户端反馈的媒体信息,则可以继续执行后续步骤。In the example of the present application, if the above timeout period is set, a timer is started at the same time as the media information request is sent, and when the timer expires to the above timeout period, the timer is stopped, during which, if not received Media information can end the process or prompt the user to send a media information request again. If the user chooses to send the media information request again, it can return to the above step 301 to continue the execution. If the media information fed back by one or more media application clients is received before the timer expires, the subsequent steps may be continued.
这里,上述媒体信息可以按照预先约定的格式发送,具体的,预先约定格式可以为媒体内容的标识、地址、播放总时长以及播放进度。比如,一项媒体内容可以为楚乔传01https://v.qq.com/x/page/f0391428sgt.html 50 15。当用户终端11的媒体应用客户端接收到上面例子中按照约定格式发送的媒体信息时,首先通过解析到“楚乔传01”获得媒体内容的标识、然后再通过解析得到 https://v.qq.com/x/page/f0391428sgt.html为媒体内容的URL、“50”为播放总时长(媒体内容总时长50分钟)、“15”为播放进度(已播放15分钟)。在一些实例中,如果媒体应用客户端没有接收到媒体信息,也即没有接收到上述网络中任何一个节点的响应,则说明当前网络中没有能够同步播放的媒体内容。Here, the foregoing media information may be sent according to a pre-agreed format. Specifically, the pre-agreed format may be an identifier, an address, a total playing duration, and a playback progress of the media content. For example, a media content can be Chucho Chuan 01https://v.qq.com/x/page/f0391428sgt.html 50 15. When the media application client of the user terminal 11 receives the media information sent in the agreed format in the above example, first obtains the identifier of the media content by parsing into "Chu Qiaochuan 01", and then obtains https://v. Qq.com/x/page/f0391428sgt.html is the URL of the media content, "50" is the total duration of the playback (the total duration of the media content is 50 minutes), and "15" is the playback progress (played for 15 minutes). In some examples, if the media application client does not receive the media information, that is, does not receive a response from any of the nodes in the network, it indicates that there is no media content that can be played synchronously in the current network.
在收到一个或多个媒体应用客户端反馈的媒体信息之后,第一媒体应用客户端可以有多种的处理方式来播放所接收媒体信息对应的媒体内容。下面将分情况进行详细说明。After receiving the media information fed back by the media application client, the first media application client may have multiple processing manners to play the media content corresponding to the received media information. The details will be described below.
图3B显示了根据本申请的一个实施例的第一媒体应用客户端在获取了媒体信息之后的处理过程。如图3B所示,第一媒体应用客户端在获取了媒体信息之后可以执行如下步骤的操作。FIG. 3B shows a process after the first media application client acquires the media information according to an embodiment of the present application. As shown in FIG. 3B, the first media application client may perform the following steps after acquiring the media information.
步骤303B:显示接收到的所述一个或多个第二媒体应用客户端反馈的媒体信息。 Step 303B: Display the received media information fed back by the one or more second media application clients.
在本申请的一些实施例中,上述显示媒体信息的步骤可以包括:将接收到的所述一个或多个第二媒体应用客户端反馈的媒体信息加入一个媒体列表中,并在当前界面上显示所述媒体列表。In some embodiments of the present application, the step of displaying the media information may include: adding the received media information fed back by the one or more second media application clients to a media list, and displaying the current interface The list of media.
在一些实例中,媒体应用客户端将接收到的媒体信息,比如媒体内容的标识,例如海报、播放时长、播放进度和地址加入到媒体列表中,并通过自身的显示设备显示该媒体列表以供用户根据自己喜欢选择。需要说明的是,显示媒体列表时可以只显示上述媒体信息中的部分内容,例如只显示媒体内容的标识,例如海报,或者只显示媒体内容的标识和播放进度,而对于媒体内容的地址可以显示也可以不显示。In some examples, the media application client adds the received media information, such as the identification of the media content, such as a poster, play duration, play progress, and address, to the media list, and displays the media list through its own display device. Users choose according to their liking. It should be noted that, when displaying the media list, only part of the content of the media information may be displayed, for example, only the identifier of the media content, such as a poster, or only the identifier of the media content and the playing progress, and the address of the media content may be displayed. It can also not be displayed.
例如,图4为用户终端11的媒体应用客户端显示媒体列表的示例。如图4所示,媒体应用客户端界面的左侧为媒体内容播放窗口401,右侧分别为当前正在播放的媒体内容的剧集列表403,其他用户正在 播放的媒体内容列表402以及当前比较热门媒体内容排行榜404。其中,媒体内容列表402内显示了网络内其他用户终端当前正在播放的媒体内容的标识和/或其他信息,例如,媒体内容的名称或海报等等。For example, FIG. 4 is an example of a media application client displaying a media list by the user terminal 11. As shown in FIG. 4, the left side of the media application client interface is a media content play window 401, and the right side is an episode list 403 of media content currently being played, and the media content list 402 that other users are playing is currently popular. Media Content Leaderboard 404. The media content list 402 displays the identifier and/or other information of the media content currently being played by other user terminals in the network, for example, the name or poster of the media content, and the like.
步骤304B:接收对所显示某一媒体信息的选择操作。 Step 304B: Receive a selection operation for the displayed certain media information.
步骤305B:根据所选择的媒体信息向媒体应用服务器请求该媒体信息对应的媒体内容。 Step 305B: Request media content corresponding to the media information from the media application server according to the selected media information.
步骤306B:下载并播放所述媒体内容。 Step 306B: Download and play the media content.
在一些实例中,响应于用户对所显示的某一项媒体信息的选择,例如对所述媒体列表中某一项媒体信息的选择,媒体应用客户端将所选择的媒体信息中的地址配置到自身的媒体播放器中,根据所述地址向媒体应用服务器请求下载该媒体内容。In some examples, in response to the user selecting a displayed piece of media information, such as a selection of a piece of media information in the media list, the media application client configures the address in the selected media information to In its own media player, the media application server is requested to download the media content according to the address.
图3C显示了根据本申请的另一个实施例的第一媒体应用客户端在获取了媒体信息之后的处理过程。如图3C所示,第一媒体应用客户端在获取了媒体信息之后的处理过程可以包括如下步骤。FIG. 3C shows a process after the first media application client acquires the media information according to another embodiment of the present application. As shown in FIG. 3C, the process after the first media application client obtains the media information may include the following steps.
步骤303C:根据接收到的所述一个或多个第二媒体应用客户端反馈的媒体信息向媒体应用服务器请求一项媒体信息对应的媒体内容。 Step 303C: Request, according to the received media information fed back by the one or more second media application clients, the media content corresponding to the media information to the media application server.
步骤304C:下载并播放所述媒体内容。Step 304C: Download and play the media content.
具体而言,第一媒体应用客户端可以将所接收的媒体信息中的地址配置到自身的媒体播放器中,根据所述地址向媒体应用服务器请求下载该媒体内容,并播放。Specifically, the first media application client may configure the address in the received media information into its own media player, request the media application server to download the media content according to the address, and play the content.
如果第一媒体应用客户端接收到的媒体信息是来自多个第二媒体应用客户端的,第一媒体应用客户端可以从中选择一个媒体信息,然后,向媒体应用服务器请求所述媒体信息对应的媒体内容并播放所述媒体内容。具体的选择方法可以是随机选择、根据用户预先设定的 默认用户选择或者根据用户预先设定的第二媒体应用客户端的优先级来选择,优先播放优先级高的媒体应用客户端正在播放的媒体内容。此外,如果第一媒体应用客户端接收到的媒体信息是来自多个第二媒体应用客户端的,第一媒体应用客户端还可以显示这些媒体信息,即将来自这多个第二媒体应用客户端的媒体信息呈现给用户,请用户选择其希望播放的媒体内容。具体的显示以及选择方法可以参考图3B所示的方法。在此不再赘述。If the media information received by the first media application client is from multiple second media application clients, the first media application client may select one media information from the media application server, and then request the media corresponding to the media information from the media application server. Content and play the media content. The specific selection method may be random selection, according to a preset user selection preset by the user or according to a priority of the second media application client preset by the user, and preferentially playing the media that the media application client with high priority is playing. content. In addition, if the media information received by the first media application client is from multiple second media application clients, the first media application client may also display the media information, that is, the media from the plurality of second media application clients. The information is presented to the user, asking the user to select the media content they wish to play. The specific display and selection method can refer to the method shown in FIG. 3B. I will not repeat them here.
在上述多个实施例中,第一媒体应用客户端从头播放媒体内容或者可以进一步根据该媒体信息中的地址以及播放进度,向媒体应用服务器请求下载该媒体内容未被但是即将被播放的部分,并播放,也即接续媒体信息中记录的播放进度继续播放该媒体内容。In the foregoing multiple embodiments, the first media application client plays the media content from the beginning or may further request, according to the address in the media information and the playing progress, to download the portion of the media content that is not but is about to be played. And playing, that is, the playback progress recorded in the subsequent media information continues to play the media content.
此外,如果媒体信息还包括媒体内容的播放设置信息,则第一媒体应用客户端还可以根据上述播放设置信息进行播放的设置。例如,播放设置信息包括全屏播放以及1.5倍播放则第一媒体应用客户端可以直接全屏以及以1.5倍速播放当前媒体内容。In addition, if the media information further includes play setting information of the media content, the first media application client may further perform setting of playing according to the play setting information. For example, if the play setting information includes full-screen play and 1.5 times play, the first media application client can directly play the current media content directly in full screen and at 1.5 times speed.
需要说明的是,在上述媒体内容的播放过程中,用户可以通过媒体应用客户端界面上的播放控制按键控制该媒体内容的播放,例如,暂停、快进、快退或通过拖动播放进度条来独立调整播放进度等等。It should be noted that, during the playing of the media content, the user may control the playing of the media content through a play control button on the media application client interface, for example, pause, fast forward, rewind, or play a progress bar by dragging. To adjust the playback progress independently and so on.
更进一步的,当所述媒体内容播放结束时,可以继续提示用户是否再次请求其他媒体应用客户端的媒体信息,此时,响应于请求其他媒体应用客户端的媒体信息的操作,则返回上述步骤301;而响应于不请求其他媒体应用客户端的媒体信息的操作,则结束上述进程。Further, when the media content is played, the user may continue to be prompted to request the media information of the other media application client again. At this time, in response to the operation of requesting the media information of the other media application client, return to the above step 301; In response to the operation of not requesting media information of other media application clients, the above process is ended.
更进一步的,当用户终端11作为一个节点进入到上述网络时,用户终端11在向上述网络中的其他节点发送媒体信息请求的同时,也可以作为一个节点,接收其他节点发送的媒体信息请求。其中,接 收媒体信息请求的进程和发送媒体信息请求的进程是同时异步的。Further, when the user terminal 11 enters the network as a node, the user terminal 11 may also receive a media information request sent by another node as a node while transmitting a media information request to other nodes in the network. The process of receiving the media information request and the process of sending the media information request are asynchronous at the same time.
图5为用户终端11作为接收节点第二媒体应用客户端时实现媒体内容同步播放方法的流程。FIG. 5 is a flowchart of a method for realizing synchronous playback of media content when the user terminal 11 functions as a second media application client of the receiving node.
需要说明的是,在本申请的实例中,为了保护用户的隐私,用户可以根据自身的需要选择是否向其他媒体应用客户端反馈当前正在观看的媒体内容的媒体信息,例如,可以在上述媒体应用客户端的设置选择中提供一个是否共享播放媒体内容的选项,用户可以通过这个选项设置是否向其他媒体应用客户端共享自身正在播放的媒体内容的媒体信息,从而由用户根据自身的需求来控制是否在接收到来自其他媒体应用客户端的媒体信息请求时反馈自身正在播放的媒体内容的媒体信息。只有当用户选择共享自身正在播放的媒体内容的媒体信息时,媒体应用客户端才会响应来自其他媒体应用客户端的媒体信息请求。下面的例子,就是基于用户选择共享自身正在播放的媒体内容的媒体信息这种设置的情况。如图5所示,该方法可以包括以下步骤:It should be noted that, in the example of the present application, in order to protect the privacy of the user, the user may select whether to feed the media information of the media content currently being viewed to other media application clients according to their own needs, for example, in the above media application. The client's setting selection provides an option of whether to share the playing media content. The user can set whether to share the media information of the media content that is being played by other media application clients, so that the user can control whether it is in accordance with his own needs. The media information of the media content that is being played back is received when receiving the media information request from the other media application client. The media application client will respond to media information requests from other media application clients only when the user chooses to share the media information of the media content that is being played. The following example is based on the user's choice to share the media information of the media content being played by itself. As shown in FIG. 5, the method may include the following steps:
步骤501:接收来自第一媒体应用客户端的媒体信息请求。Step 501: Receive a media information request from the first media application client.
在本申请的实例中,当用户终端11上的媒体应用客户端启动并作为一个节点进入到网络时,除了可以请求正在其他媒体应用客户端上播放的媒体内容的媒体信息之外,还可以接收来自其他媒体应用客户端的媒体信息请求。In the example of the present application, when the media application client on the user terminal 11 is activated and enters the network as a node, in addition to the media information of the media content that can be played on the other media application client, the media information can be received. Media information requests from other media application clients.
如前所述,上述媒体信息请求可以是一个全新的报文或者利用现有报文中预先保留的字段(简称为媒体信息字段)实现。当媒体应用客户端收到的接收到另一个媒体应用客户端发送的上述新报文或者检测到某个报文中的媒体信息字段被占用时,即可确知该报文为媒体信息请求,也即该媒体应用客户端正在请求自身正在播放的媒体内容的媒体信息。As described above, the foregoing media information request may be a completely new message or implemented by using a pre-reserved field (referred to as a media information field) in the existing message. When the media application client receives the new message sent by another media application client or detects that the media information field in a message is occupied, it can be determined that the message is a media information request. That is, the media application client is requesting media information of the media content that it is playing.
步骤502:确定当前是否有媒体内容正在播放,如果有媒体内容正在播放,执行步骤503;如果没有,则结束本流程。Step 502: Determine whether media content is currently playing, if there is media content being played, perform step 503; if not, end the process.
步骤503:将所述媒体的媒体信息反馈给第一媒体应用客户端。Step 503: Feed the media information of the media to the first media application client.
在一些实例中,第二媒体应用客户端确定当前正在播放媒体内容时,将上述媒体内容的媒体信息反馈给第一媒体应用客户端。如前所述,上述媒体信息可以包括:媒体内容的标识(例如海报)、地址、播放时长以及播放进度等信息。In some examples, when the second media application client determines that the media content is currently being played, the media information of the media content is fed back to the first media application client. As described above, the media information may include information such as an identifier of the media content (eg, a poster), an address, a duration of playing, and a progress of playing.
在本申请的一些实例中,上述方法可以包括:为用户提供接口设置是否分享自身的媒体信息,以及响应于媒体内容分享设置操作,进行媒体内容分享设置。In some examples of the present application, the above method may include: providing an interface setting for the user whether to share its own media information, and performing media content sharing setting in response to the media content sharing setting operation.
需要说明的是,作为上述方法的替代方案,可以不要求用户预先进行是否分享媒体信息的设置,或者在用户选择分享媒体信息的基础之上进一步在执行上述步骤503之前,还可以再次提示用户当前有其他媒体应用客户端(例如可以显示设备标识)请求自身当前正在播放的媒体内容的媒体信息,请其选择是否同意分享自身的媒体信息,例如,弹出对话框提示用户“设备**想知道你在看什么精彩的节目,是否告诉他”。在用户选择同意分享自身的媒体信息时,则继续执行步骤503,否则,结束本流程。It should be noted that, as an alternative to the foregoing method, the user may not be required to pre-set the setting of whether to share the media information, or may further prompt the user to perform the current step 503 before performing the foregoing step 503 on the basis of the user selecting the shared media information. There are other media application clients (for example, the device identifier can be displayed) to request the media information of the media content currently being played by them, and please choose whether to agree to share their own media information, for example, a pop-up dialog box prompts the user "device ** wants to know you If you are watching something wonderful, tell him." When the user chooses to agree to share his own media information, step 503 is continued; otherwise, the process ends.
通过以上技术方案可以看出,上述媒体内容同步播放方法一方面可以实现在同一网络(例如同一局域网络)中不同媒体应用客户端的同步媒体播放,使得用户可以通过不同的媒体应用客户端观看同一个媒体内容,甚至还可以进一步保持不同媒体应用客户端的播放进度一致。更进一步,各个媒体应用客户端仍然具有相互独立播放控制权限,也即在媒体内容的播放过程中,仍然可以控制媒体内容的播放进度,方便用户的操作,提高了用户体验。另一方面,通过上述自动同步媒 体内容播放的方法可以避免用户在不同媒体应用客户端上播放同一媒体内容时,搜索媒体内容以及调整播放进度的各种操作,既避免了重复播放,又减少了用户终端与服务器之间的交互,在提高终端设备的效率同时也节约了时间、网络和电力资源。As can be seen from the foregoing technical solutions, the foregoing media content synchronization playing method can implement synchronous media playback of different media application clients in the same network (for example, the same local area network), so that users can view the same through different media application clients. Media content can even further maintain the consistent playback progress of different media application clients. Further, each media application client still has independent playback control rights, that is, during the playback of the media content, the playback progress of the media content can still be controlled, the user's operation is facilitated, and the user experience is improved. On the other hand, the above method for automatically synchronizing media content playback can avoid various operations of searching for media content and adjusting playback progress when the user plays the same media content on different media application clients, thereby avoiding repeated playback and reducing the number of operations. The interaction between the user terminal and the server improves the efficiency of the terminal device while also saving time, network and power resources.
需要说明的是,上述实施例是以局域网等用户终端11之间可以直接通信的网络结构为例进行说明的,为了能够实现在当前的互联网上的媒体内容同步播放,本申请还提供了一种媒体内容同步方法,分别应用于媒体应用客户端和媒体应用服务器。在该方法中,媒体内容同步的请求方(请求媒体内容同步到其他媒体应用客户端的媒体应用客户端)和被请求方(被请求媒体内容同步的媒体应用客户端)是具有关联关系的。这种关联关系可以是具有相同用户标识(ID)的不同媒体应用客户端或者之间已建立联系的具有不同用户ID的不同媒体应用客户端,例如是相互关注或者互为好友的两个用户ID对应的媒体应用客户端或者具有单向关注关系的两个用户ID对应的媒体应用客户端。这里,不是一般性的假设,称媒体内容同步的请求方为第一媒体应用客户端,被请求方为第二媒体应用客户端。It should be noted that the above embodiment is described by taking a network structure that can be directly communicated between user terminals 11 such as a local area network. In order to enable synchronous playback of media content on the current Internet, the present application also provides a The media content synchronization method is applied to the media application client and the media application server, respectively. In this method, the requester of the media content synchronization (requesting the media content to the media application client of the other media application client) and the requested party (the media application client synchronized by the requested media content) are associated. Such associations may be different media application clients with the same user identification (ID) or different media application clients with different user IDs that have been established in connection, such as two user IDs that are mutual attention or mutual friends. A corresponding media application client or a media application client corresponding to two user IDs having a one-way attention relationship. Here, it is not a general assumption that the requester for media content synchronization is the first media application client and the requested party is the second media application client.
图6A是本申请一个实施例所述的一种媒体内容同步方法的流程图。该方法应用于第一媒体应用客户端。如图6A所示,该方法包括以下步骤:FIG. 6A is a flowchart of a method for synchronizing media content according to an embodiment of the present application. The method is applied to a first media application client. As shown in FIG. 6A, the method includes the following steps:
步骤601:向媒体应用服务器发送媒体信息请求,请求其反馈第二媒体应用客户端正在播放的媒体内容的媒体信息。Step 601: Send a media information request to the media application server, requesting feedback to the media information of the media content being played by the second media application client.
在本申请的一个实施例中,可以在启动第一媒体应用客户端所在的终端时,或在启动运行第一媒体应用客户端时执行上述步骤601,例如,用户点击媒体应用客户端图标或者选项来启动运行该媒体应用 客户端的操作。当某个用户启动运行一个用户终端上的媒体应用客户端时,该用户终端将自身作为一个节点接入网络,也即连接到网络中。此时,该媒体应用客户端可以向媒体应用服务器发送媒体信息请求,请求其反馈其他与自身具有关联关系的媒体应用客户端正在播放的媒体内容的媒体信息。在本申请的一些实施例中,上述媒体信息请求可以不携带媒体内容同步的被请求方的用户标识。在本申请的一些实例中,上述媒体信息请求也可以携带媒体内容同步的被请求方的用户标识,例如可以携带自身登录媒体应用服务器的用户标识或者自身设置的默认的用户标识。In an embodiment of the present application, the foregoing step 601 may be performed when the terminal where the first media application client is started, or when the first media application client is started to run, for example, the user clicks on the media application client icon or option. To start the operation of running the media application client. When a user starts to run a media application client on a user terminal, the user terminal accesses the network as a node, that is, connects to the network. At this time, the media application client may send a media information request to the media application server, and request the media information of the media content that is being played by the media application client that has other associations with itself. In some embodiments of the present application, the media information request may not carry the user identifier of the requested party whose media content is synchronized. In some examples of the present application, the media information request may also carry the user identifier of the requested party whose media content is synchronized, for example, may carry the user identifier of the login media application server or the default user identifier set by itself.
在本申请的另一个实施例中,还可以在选择请求其他媒体应用客户端媒体信息时执行上述步骤601,例如,可以在媒体应用客户端的界面或者菜单中设置“查看其他用户正在播放的媒体内容”功能选项,当用户点击该“查看局域网内正在播放的媒体内容”的功能选项时,媒体应用客户端可以向媒体应用服务器发送媒体信息请求,请求其反馈其他与自身具有关联关系的媒体应用客户端正在播放的媒体内容的媒体信息。此外,媒体应用客户端还可以给出和该用户具有关联关系的用户标识列表供用户选择,或者给出用户输入用户表示的对话框,请用户输入第二媒体应用客户端对应的用户标识。如此,上述媒体信息请求中可携带用户选择或者输入的用户标识。In another embodiment of the present application, the foregoing step 601 may also be performed when selecting to request other media application client media information. For example, the media content of other media users may be set in the interface or menu of the media application client. "Function option, when the user clicks the function option of "viewing the media content being played in the local area network", the media application client can send a media information request to the media application server, requesting it to feed back other media application clients associated with itself. The media information of the media content being played. In addition, the media application client may also give a list of user identifiers associated with the user for the user to select, or give a dialog box for the user to input the user representation, and ask the user to input the user identifier corresponding to the second media application client. In this way, the media information request may carry the user identifier selected or input by the user.
在本申请的又一个实施例中,还可以在选择同步至其他媒体应用客户端媒体播放时执行上述步骤601。例如,可以在媒体应用客户端的界面或者菜单中设置“同步至其他用户正在播放的媒体内容”功能选项,当用户点击该“查看局域网内正在播放的媒体内容”的功能选项时,媒体应用客户端可以向媒体应用服务器发送媒体信息请求,请求其反馈其他与自身具有关联关系的媒体应用客户端正在播放的媒 体内容的媒体信息。此外,该媒体应用客户端还可以进一步显示包含与该用户具有关联关系的其他用户的用户标识的菜单选项,供用户选择媒体内容同步的目标用户。如此,媒体信息请求中即可以携带用户选择的第二媒体应用客户端对应的用户标识。In still another embodiment of the present application, the above step 601 can also be performed when selecting to synchronize to other media application client media playback. For example, the “Sync to other users are playing media content” function option can be set in the interface or menu of the media application client. When the user clicks the function option of “viewing the media content being played in the local area network”, the media application client The media information request may be sent to the media application server to request media information of the media content being played by the media application client associated with the other. In addition, the media application client may further display a menu option including a user identifier of another user associated with the user, for the user to select a target user whose media content is synchronized. In this way, the media information request may carry the user identifier corresponding to the second media application client selected by the user.
如前所述,上述媒体信息可以包括:媒体内容的标识。上述媒体信息还可以包括:媒体内容的地址以及播放总时长。上述媒体信息还可以包括:播放进度信息。上述媒体信息还可以包括:播放设置信息。As mentioned above, the above media information may include: an identifier of the media content. The media information may also include: an address of the media content and a total duration of playing. The media information may further include: play progress information. The media information may further include: playing setting information.
在一些实例中,上述用户终端上的媒体应用客户端可以利用网络协议向上述网络中的其他用户终端请求正在播放的媒体内容的媒体信息。In some examples, the media application client on the user terminal may request media information of the media content being played to other user terminals in the network by using a network protocol.
更进一步的,还可以设定一个超时时间,比如5秒,作为接到与上述请求对应的响应的时间阈值。Further, a timeout period, such as 5 seconds, may also be set as a time threshold for receiving a response corresponding to the above request.
这里,上述媒体信息请求可以是一个全新的报文或者利用现有报文中预先保留的字段实现,该字段里可以配置一个预先约定的字符串,比如“ABC”。当一个用户终端收上的媒体应用客户端接收到另一个媒体应用客户端发送的上述新报文或者检测到某个报文中的保留字段被占用时,即可确知一个媒体应用客户端正在请求自身正在播放的媒体内容的媒体信息。此外,除了上述广播方式之外,上述媒体信息请求还可以是逐一发送给网络内各个用户终端的单播报文。需要说明的是,本申请对媒体信息请求的格式以及具体实现方式不作限定。Here, the media information request may be a brand new message or implemented by using a pre-reserved field in the existing message, and a pre-agreed string such as "ABC" may be configured in the field. When a media application client received by a user terminal receives the new message sent by another media application client or detects that a reserved field in a message is occupied, it can be determined that a media application client is Request media information for the media content that is playing on itself. In addition, the media information request may be a unicast message that is sent to each user terminal in the network one by one, in addition to the foregoing broadcast mode. It should be noted that the format and specific implementation manner of the media information request are not limited in this application.
此时,收到请求的媒体应用服务器获权第二媒体应用客户端的播放状态,如果其正在播放某一媒体内容,则把第二媒体应用客户端当前正在播放的媒体内容的媒体信息反馈给发送请求的第一媒体应用客户端。如果其处于空闲状态,则可以不回复或者回复一个未获取到响应数据的响应。At this time, the media application server that receives the request is authorized to play the playing state of the second media application client, and if it is playing a certain media content, the media information of the media content currently being played by the second media application client is fed back to the sending. The requested first media application client. If it is idle, it may not reply or reply to a response that did not get the response data.
在本申请一些实例中,上述媒体信息请求还可以包括第一终端的设备标识以及对应的用户标识。上述设备标识可以是第一终端的全球唯一标识(Globally Unique Identifier,GUID)或者其他可以唯一标识设备本身的标识。例如,国际移动用户识别码(IMSI);国际移动设备识别码(IMEI);电子序列号(ESN)或移动设备标识(MEID)等等。In some examples of the present application, the media information request may further include a device identifier of the first terminal and a corresponding user identifier. The device identifier may be a Globally Unique Identifier (GUID) of the first terminal or other identifier that can uniquely identify the device itself. For example, International Mobile Subscriber Identity (IMSI); International Mobile Equipment Identity (IMEI); Electronic Serial Number (ESN) or Mobile Equipment Identity (MEID), and the like.
步骤602:接收所述媒体应用服务器反馈的一个或多个媒体应用客户端正在播放的媒体信息。Step 602: Receive media information that is being played by one or more media application clients fed back by the media application server.
在本申请的实例中,如果设置了上述超时时间,则在发送媒体信息请求的同时启动一个计时器,并且在上述计时器计时到上述超时时间时,停止计时,在此期间,如果没有接收到媒体信息,则可以结束本流程或者提示用户是否再次发送媒体信息请求。如果用户选择再次发送媒体信息请求,则可以返回上述步骤601继续执行。如果在上述计时器超时之前,接收到媒体应用服务器反馈的媒体信息,则可以继续执行后续步骤。In the example of the present application, if the above timeout period is set, a timer is started at the same time as the media information request is sent, and when the timer expires to the above timeout period, the timer is stopped, during which, if not received Media information can end the process or prompt the user to send a media information request again. If the user chooses to send the media information request again, he can return to step 601 above to continue the execution. If the media information fed back by the media application server is received before the timer expires, the subsequent steps may be continued.
这里,上述媒体信息可以按照预先约定的格式发送,具体的,预先约定格式可以为媒体内容的标识、地址、播放时长以及播放进度。Here, the foregoing media information may be sent according to a pre-agreed format. Specifically, the pre-agreed format may be an identifier, an address, a play duration, and a play progress of the media content.
在收到一个或多个媒体应用客户端反馈的媒体信息之后,也可以有多种对媒体信息的处理方式。图6B显示了根据本申请的一个实施例的第一媒体应用客户端在获取了媒体信息之后的处理过程。如图6B所示,第一媒体应用客户端在获取了媒体信息之后可以执行如下步骤的操作。After receiving the media information fed back by one or more media application clients, there may also be multiple ways to process the media information. FIG. 6B shows a process after the first media application client acquires media information according to an embodiment of the present application. As shown in FIG. 6B, the first media application client may perform the following steps after acquiring the media information.
步骤603B:显示接收到媒体应用服务器反馈的所述一个或多个第二媒体应用客户端的媒体信息。 Step 603B: Display media information of the one or more second media application clients that are received by the media application server.
在本申请的一些实施例中,上述显示媒体信息的步骤可以包括: 将接收到的所述一个或多个第二媒体应用客户端的媒体信息加入一个媒体列表中,并在当前界面上显示所述媒体列表。In some embodiments of the present application, the step of displaying the media information may include: adding the received media information of the one or more second media application clients to a media list, and displaying the current interface Media list.
在一些实例中,媒体应用客户端将接收到的媒体信息,比如媒体内容的标识,例如海报、播放时长、播放进度和地址加入到媒体列表中,并通过自身的显示设备显示该媒体列表以供用户根据自己喜欢选择。需要说明的是,显示媒体列表时可以只显示上述媒体信息中的部分内容,例如只显示媒体内容的标识,例如海报,或者只显示媒体内容的标识和播放进度和/或播放时长,而对于媒体内容的地址可以显示也可以不显示。第一媒体应用客户端显示媒体列表的示例也可以参考上述图4。In some examples, the media application client adds the received media information, such as the identification of the media content, such as a poster, play duration, play progress, and address, to the media list, and displays the media list through its own display device. Users choose according to their liking. It should be noted that, when displaying the media list, only part of the media information may be displayed, for example, only the identifier of the media content, such as a poster, or only the identifier of the media content and the playing progress and/or the playing duration, but for the media. The address of the content can be displayed or not. For an example of the first media application client displaying the media list, reference may also be made to FIG. 4 above.
步骤604B:接收对所显示某一媒体信息的选择操作。 Step 604B: Receive a selection operation for the displayed certain media information.
步骤605B:根据所选择的媒体信息向媒体应用服务器请求该媒体信息对应的媒体内容。 Step 605B: Request media content corresponding to the media information from the media application server according to the selected media information.
步骤606B:下载并播放所述媒体内容。 Step 606B: Download and play the media content.
图6C显示了根据本申请的另一个实施例的第一媒体应用客户端在获取了媒体信息之后的处理过程可以包括如下步骤。FIG. 6C shows that the processing after the first media application client obtains the media information according to another embodiment of the present application may include the following steps.
步骤603C:根据接收到的所述一个或多个第二媒体应用客户端的媒体信息向媒体应用服务器请求所述媒体信息对应的媒体内容; Step 603C: request, according to the received media information of the one or more second media application clients, the media content corresponding to the media information to the media application server;
步骤604C:下载并播放所述媒体内容。Step 604C: Download and play the media content.
具体而言,第一媒体应用客户端可以将所接收的媒体信息中的地址配置到自身的媒体播放器中,根据所述地址向媒体应用服务器请求下载该媒体内容,并播放。Specifically, the first media application client may configure the address in the received media information into its own media player, request the media application server to download the media content according to the address, and play the content.
图7是本申请一个实施例所述的一种媒体内容同步方法的流程图。该方法应用于媒体应用服务器。如图7所示,该方法包括以下步骤:FIG. 7 is a flowchart of a method for synchronizing media content according to an embodiment of the present application. This method is applied to a media application server. As shown in FIG. 7, the method includes the following steps:
步骤701:接收来自第一媒体应用客户端的媒体信息请求。Step 701: Receive a media information request from the first media application client.
在本申请的一些实施例中,上述媒体信息请求中可以包含媒体内容同步的被请求方,也即第二媒体应用客户端,所对应的用户标识。In some embodiments of the present application, the media information request may include the requested party of the media content synchronization, that is, the second media application client, and the corresponding user identifier.
在本申请的一些实施例中,上述媒体信息请求中还应当包含媒体内容同步的请求方,也即第一媒体应用客户端,所对应的用户标识以及设备标识。In some embodiments of the present application, the media information request further includes a requester that synchronizes the media content, that is, the first media application client, the corresponding user identifier, and the device identifier.
步骤702:根据所接收媒体信息请求,获取被第二媒体应用客户端当前正在播放的媒体内容的媒体信息。Step 702: Acquire, according to the received media information request, media information of the media content currently being played by the second media application client.
如果上述媒体信息请求中没有携带第二媒体应用客户端所对应的用户标识,则根据上述媒体信息请求中携带的第一媒体应用客户端所对应的用户标识获取与之具有关联关系的第二媒体应用客户端所对应的用户标识,然后根据第二媒体应用客户端所对应的用户标识获取第二媒体应用客户端当前正在播放的媒体内容的媒体信息。And if the user information identifier corresponding to the second media application client is not included in the media information request, the second media that has an association relationship with the user identifier corresponding to the first media application client that is carried in the media information request is obtained. The user identifier corresponding to the client is used, and then the media information of the media content currently being played by the second media application client is obtained according to the user identifier corresponding to the second media application client.
如果上述媒体信息请求中携带有第二媒体应用客户端所对应的用户标识,则根据上述媒体信息请求中携带的第二媒体应用客户端所对应的用户标识获取第二媒体应用客户端当前正在播放的媒体内容的媒体信息。If the media information request carries the user identifier corresponding to the second media application client, the second media application client is currently playing according to the user identifier corresponding to the second media application client carried in the media information request. Media information for media content.
由于通常用户在通过第二媒体应用客户端在收看节目之前,都会使用特定的用户标识登录媒体内容服务器,因此,媒体应用服务器可以根据用户标识获取第二媒体应用客户端正在播放的媒体应用的媒体信息。Since the user usually logs in to the media content server by using the specific user identifier before viewing the program through the second media application client, the media application server can obtain the media of the media application that the second media application client is playing according to the user identifier. information.
步骤703:向第一媒体应用客户端反馈所获取的媒体信息。Step 703: Feed back the obtained media information to the first media application client.
在一些实例中,如前所述,上述媒体信息可以包括:媒体内容的标识(例如海报)、地址、播放时长以及播放进度等信息。In some examples, as described above, the media information may include information such as an identifier (eg, a poster) of the media content, an address, a play duration, and a playback progress.
通过以上技术方案可以看出,上述媒体内容同步播放方法一方面可以实现在同一网络(例如互联网)中不同媒体应用客户端的同步媒 体播放,使得不同用户可以观看同一个媒体内容,甚至还可以进一步保持不同媒体应用客户端的播放进度一致。更进一步,各个媒体应用客户端仍然具有相互独立播放控制权限,也即在媒体内容的播放过程中,仍然可以控制媒体内容的播放进度,方便用户的操作,提高了用户体验。另一方面,通过上述自动同步媒体内容播放的方法可以避免不同用户在不同媒体应用客户端上播放同一媒体内容时,搜索媒体内容以及调整播放进度的各种操作,既避免了重复播放,又减少了用户终端与服务器之间的交互,在提高终端设备的效率同时也节约了时间、网络和电力资源。It can be seen from the foregoing technical solutions that the foregoing media content synchronous playing method can implement synchronous media playback of different media application clients on the same network (for example, the Internet), so that different users can view the same media content, and even further maintain The playback progress of different media application clients is the same. Further, each media application client still has independent playback control rights, that is, during the playback of the media content, the playback progress of the media content can still be controlled, the user's operation is facilitated, and the user experience is improved. On the other hand, the above method for automatically synchronizing media content playback can avoid various operations of searching for media content and adjusting playback progress when different users play the same media content on different media application clients, thereby avoiding repeated playback and reducing The interaction between the user terminal and the server improves the efficiency of the terminal device while also saving time, network and power resources.
对应以上媒体内容同步播放方法,本申请还提供了实现上述方法的媒体应用客户端800。Corresponding to the above media content synchronous playing method, the present application further provides a media application client 800 that implements the above method.
在本申请的一些实例中,上述实现媒体内容同步播放方法的媒体应用客户端800可由图7所示的结构图实现,包括:发送模块801以及接收模块802,各模块的功能如下:In some examples of the present application, the media application client 800 that implements the media content synchronization playing method may be implemented by the structure diagram shown in FIG. 7, and includes: a sending module 801 and a receiving module 802, and the functions of each module are as follows:
发送模块801,用于发送媒体信息请求,以请求获取第二媒体应用客户端正在播放的媒体内容的媒体信息;The sending module 801 is configured to send a media information request to request to obtain media information of the media content being played by the second media application client;
接收模块802,用于接收媒体信息;The receiving module 802 is configured to receive media information.
播放模块803,用于根据所述媒体信息播放所述媒体信息对应的媒体内容。The playing module 803 is configured to play the media content corresponding to the media information according to the media information.
在本申请的一些实施例中,上述媒体应用客户端800还可以进一步包括:In some embodiments of the present application, the media application client 800 may further include:
显示模块,用于显示所述一个或多个媒体应用客户端的媒体信息。And a display module, configured to display media information of the one or more media application clients.
在本申请的一些实施例中,上述媒体应用客户端800还可以进一步包括:In some embodiments of the present application, the media application client 800 may further include:
媒体内容请求模块,用于响应于对所显示某一媒体信息的选择操作,根据所选择的媒体信息向媒体应用服务器请求该媒体信息对应的媒体内容;以及a media content requesting module, configured to request, from the media application server, the media content corresponding to the media information according to the selected media information, in response to the selecting operation of the displayed certain media information;
第一下载模块,用于下载所述媒体内容。The first download module is configured to download the media content.
在本申请的一些实施例中,上述媒体应用客户端800还可以进一步包括:In some embodiments of the present application, the media application client 800 may further include:
第二下载模块,用于根据接收到的所述媒体信息中的一项媒体信息向媒体应用服务器请求所述媒体信息对应的媒体内容并下载所述媒体内容。And a second downloading module, configured to request the media content corresponding to the media information from the media application server according to the received one of the media information, and download the media content.
上述各模块的具体实现方法可以参考上述实施例。For specific implementation methods of the above modules, reference may be made to the above embodiments.
更进一步,对应以上媒体内容同步播放方法,本申请还提供了实现上述方法的媒体应用客户端900。Further, corresponding to the above media content synchronous playing method, the present application further provides a media application client 900 that implements the above method.
第一接收模块901,用于接收来自第一媒体应用客户端的媒体信息请求。The first receiving module 901 is configured to receive a media information request from the first media application client.
第一确定模块902,用于确定当前是否有媒体内容正在播放,如果有媒体内容正在播放,则获取当前正在播放的媒体内容的媒体信息。The first determining module 902 is configured to determine whether media content is currently being played, and if media content is being played, obtain media information of the media content currently being played.
第一反馈模块903,用于将所述媒体的媒体信息反馈给第一的媒体应用客户端。The first feedback module 903 is configured to feed back media information of the media to the first media application client.
上述媒体应用客户端900还可以进一步包括:设置模块,用于为用户提供接口设置是否分享自身的媒体信息,并响应于媒体内容分享设置操作,进行媒体内容分享设置。The media application client 900 may further include: a setting module, configured to provide an interface setting for the user to share the media information of the user, and perform the media content sharing setting in response to the media content sharing setting operation.
更进一步,对应以上媒体内容同步播放方法,本申请还提供了实现上述方法的媒体应用服务器1000。Further, corresponding to the above media content synchronous playing method, the present application further provides a media application server 1000 that implements the above method.
第二接收模块1001,用于接收来自第一媒体应用客户端的媒体信息请求。The second receiving module 1001 is configured to receive a media information request from the first media application client.
第二确定模块1002,用于根据媒体信息请求获取第二媒体应用客户端当前正在播放的媒体内容的媒体信息。The second determining module 1002 is configured to request, according to the media information, the media information of the media content currently being played by the second media application client.
第二反馈模块1003,用于将获取的媒体信息反馈给第一的媒体应用客户端。The second feedback module 1003 is configured to feed the obtained media information to the first media application client.
在本申请的一些实施例中,上述应用服务器还可以进一步包括:判断模块,用于判断所述媒体信息请求中是否包括所述第二媒体应用客户端对应的用户标识。In some embodiments of the present application, the application server may further include: a determining module, configured to determine whether the user identifier corresponding to the second media application client is included in the media information request.
在这种情况下,所述第二确定模块在所述媒体信息请求中包括所述第二媒体应用客户端对应的用户标识时,获取所述用户标识对应的第二媒体应用客户端当前正在播放的媒体内容的媒体信息;以及在所述媒体信息请求中不包括所述第二媒体应用客户端对应的用户标识时,获取与所述第一媒体应用客户端具有关联关系的第二媒体应用客户端当前正在播放的媒体内容的媒体信息。In this case, the second determining module, when the media information request includes the user identifier corresponding to the second media application client, acquires that the second media application client corresponding to the user identifier is currently playing. Obtaining media information of the media content; and acquiring, when the media information request does not include the user identifier corresponding to the second media application client, acquiring a second media application client having an association relationship with the first media application client The media information of the media content currently being played.
图11示出了实现媒体内容同步播放方法的用户终端1100所在的计算设备1100的组成结构图。如图11所示,该计算设备包括一个或者多个处理器(CPU)1102、通信模块1104、存储器1106、用户接口1110,以及用于互联这些组件的通信总线1108。FIG. 11 is a diagram showing the structure of a computing device 1100 in which a user terminal 1100 that implements a media content synchronous playback method is located. As shown in FIG. 11, the computing device includes one or more processors (CPUs) 1102, communication modules 1104, memory 1106, user interfaces 1110, and a communication bus 1108 for interconnecting these components.
处理器1102可通过通信模块1104接收和发送数据以实现网络通信和/或本地通信。The processor 1102 can receive and transmit data through the communication module 1104 to effect network communication and/or local communication.
用户接口1110包括一个或多个输出设备1112,其包括一个或多个扬声器和/或一个或多个可视化显示器。用户接口1110也包括一个或多个输入设备1114,其包括诸如,键盘,鼠标,声音命令输入单元或扩音器,触屏显示器,触敏输入板,姿势捕获摄像机或其他输入按钮或控件等。User interface 1110 includes one or more output devices 1112 that include one or more speakers and/or one or more visual displays. User interface 1110 also includes one or more input devices 1114 including, for example, a keyboard, a mouse, a voice command input unit or loudspeaker, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input button or control, and the like.
存储器1106可以是高速随机存取存储器,诸如DRAM、SRAM、 DDR RAM、或其他随机存取固态存储设备;或者非易失性存储器,诸如一个或多个磁盘存储设备、光盘存储设备、闪存设备,或其他非易失性固态存储设备。The memory 1106 can be a high speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state storage device; or a nonvolatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, Or other non-volatile solid-state storage devices.
存储器1106存储处理器1102可执行的指令集,包括:The memory 1106 stores a set of instructions executable by the processor 1102, including:
操作系统1116,包括用于处理各种基本系统服务和用于执行硬件相关任务的程序;An operating system 1116, including a program for processing various basic system services and for performing hardware related tasks;
应用1118,包括用于实现媒体内容同步播放方法各种应用程序,这种应用程序能够实现上述各实例中的处理流程,比如可以包括图8、9以及10所示的媒体内容同步播放方法的媒体应用客户端800、900以及媒体应用服务器1000中的部分或全部单元。各单元或模块中的至少一个模块可以存储有机器可执行指令。处理器1102通过执行存储器1106中各模块中至少一个模块中的机器可执行指令,进而能够实现上述各模块中的至少一个模块的功能。The application 1118 includes various applications for implementing a media content synchronous playback method, and the application can implement the processing flow in each of the above examples, such as a media that can include the media content synchronous playback method shown in FIGS. 8, 9, and 10. The client 800, 900 and some or all of the units in the media application server 1000 are applied. At least one of the modules or modules may store machine executable instructions. The processor 1102 can implement the functions of at least one of the modules described above by executing machine executable instructions in at least one of the modules in the memory 1106.
需要说明的是,上述各流程和各结构图中不是所有的步骤和模块都是必须的,可以根据实际的需要忽略某些步骤或模块。各步骤的执行顺序不是固定的,可以根据需要进行调整。各模块的划分仅仅是为了便于描述采用的功能上的划分,实际实现时,一个模块可以分由多个模块实现,多个模块的功能也可以由同一个模块实现,这些模块可以位于同一个设备中,也可以位于不同的设备中。It should be noted that not all the steps and modules in the foregoing processes and the various structural diagrams are necessary, and some steps or modules may be omitted according to actual needs. The order of execution of each step is not fixed and can be adjusted as needed. The division of each module is only for the convenience of description of the functional division. In actual implementation, one module can be implemented by multiple modules, and the functions of multiple modules can also be implemented by the same module. These modules can be located in the same device. It can also be located in different devices.
各实施例中的硬件模块可以以硬件方式或硬件平台加软件的方式实现。上述软件包括机器可读指令,存储在非易失性存储介质中。因此,各实施例也可以体现为软件产品。The hardware modules in the embodiments may be implemented in a hardware manner or a hardware platform plus software. The above software includes machine readable instructions stored in a non-volatile storage medium. Thus, embodiments can also be embodied as software products.
因此,本申请的一些实例还提供了一种计算机可读存储介质,其上存储有计算机指令,其中,所述计算机指令被处理器执行时实现上 述图2-4中任一图所述方法的步骤。Accordingly, some examples of the present application also provide a computer readable storage medium having computer instructions stored thereon, wherein the computer instructions are executed by a processor to implement the method of any of Figures 2-4 above. step.
各例中,硬件可以由专门的硬件或执行机器可读指令的硬件实现。例如,硬件可以为专门设计的永久性电路或逻辑器件(如专用处理器,如FPGA或ASIC)用于完成特定的操作。硬件也可以包括由软件临时配置的可编程逻辑器件或电路(如包括通用处理器或其它可编程处理器)用于执行特定操作。In each case, the hardware may be implemented by specialized hardware or hardware that executes machine readable instructions. For example, the hardware can be a specially designed permanent circuit or logic device (such as a dedicated processor such as an FPGA or ASIC) for performing a particular operation. The hardware may also include programmable logic devices or circuits (such as including general purpose processors or other programmable processors) that are temporarily configured by software for performing particular operations.
另外,本申请的每个实例可以通过由数据处理设备如计算机执行的数据处理程序来实现。显然,数据处理程序构成了本申请。此外,通常存储在一个存储介质中的数据处理程序通过直接将程序读取出存储介质或者通过将程序安装或复制到数据处理设备的存储设备(如硬盘和或内存)中执行。因此,这样的存储介质也构成了本申请,本申请还提供了一种非易失性存储介质,其中存储有数据处理程序,这种数据处理程序可用于执行本申请上述方法实例中的任何一种实例。Additionally, each instance of the present application can be implemented by a data processing program executed by a data processing device such as a computer. Obviously, the data processing program constitutes the present application. Further, a data processing program usually stored in a storage medium is executed by directly reading a program out of a storage medium or by installing or copying the program to a storage device (such as a hard disk and or a memory) of the data processing device. Therefore, such a storage medium also constitutes the present application, and the present application also provides a non-volatile storage medium in which a data processing program is stored, which can be used to execute any of the above-mentioned method examples of the present application. An example.
图8、9以及10中的模块对应的机器可读指令可以使计算机上操作的操作系统等来完成这里描述的部分或者全部操作。非易失性计算机可读存储介质可以是插入计算机内的扩展板中所设置的存储器中或者写到与计算机相连接的扩展单元中设置的存储器。安装在扩展板或者扩展单元上的CPU等可以根据指令执行部分和全部实际操作。The machine readable instructions corresponding to the modules in Figures 8, 9 and 10 may cause an operating system or the like operating on a computer to perform some or all of the operations described herein. The non-transitory computer readable storage medium may be inserted into a memory provided in an expansion board within the computer or written to a memory provided in an expansion unit connected to the computer. The CPU or the like installed on the expansion board or the expansion unit can perform part and all of the actual operations according to the instructions.
另外,在本申请各个实例中的装置及各模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上装置或模块集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the devices and modules in the various examples of the present application may be integrated into one processing unit, or each module may exist physically separately, or two or more devices or modules may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are made within the spirit and principles of the present invention, should be included in the present invention. Within the scope of protection.

Claims (18)

  1. 一种媒体内容同步方法,包括:A method of synchronizing media content, including:
    第一媒体应用客户端发送媒体信息请求消息,请求获取第二媒体应用客户端正在播放的媒体内容的媒体信息;The first media application client sends a media information request message, requesting to obtain media information of the media content being played by the second media application client;
    所述第一媒体应用客户端接收所述媒体信息;以及Receiving, by the first media application client, the media information;
    所述第一媒体应用客户端根据所述媒体信息播放所述媒体信息对应的媒体内容。The first media application client plays the media content corresponding to the media information according to the media information.
  2. 根据权利要求1所述的方法,其中,所述第一媒体应用客户端在以下任一时机发送所述媒体信息请求消息:The method of claim 1, wherein the first media application client sends the media information request message at any of the following:
    在第一媒体应用客户端所在的终端启动时,When the terminal where the first media application client is located is started,
    在第一媒体应用客户端启动时,When the first media application client starts,
    在第一媒体应用客户端检测到选择请求其他媒体应用客户端媒体信息的选项的操作时,When the first media application client detects an operation to select an option to request other media application client media information,
    在第一媒体应用客户端检测到选择同步至其他媒体应用客户端媒体信息的选项的操作时。When the first media application client detects an operation to select an option to synchronize to other media application client media information.
  3. 根据权利要求1所述的方法,其中,所述第一媒体应用客户端发送媒体信息请求消息包括:所述第一媒体应用客户端向连接至同一局域网的第二媒体应用客户端发送媒体信息请求消息,请求所述第二媒体应用客户端反馈正在播放的媒体内容的媒体信息。The method of claim 1, wherein the sending, by the first media application client, the media information request message comprises: the first media application client sending a media information request to a second media application client connected to the same local area network a message requesting the second media application client to feed back media information of the media content being played.
  4. 根据权利要求3所述的方法,其中,所述媒体信息请求消息为广播消息。The method of claim 3 wherein the media information request message is a broadcast message.
  5. 根据权利要求1所述的方法,其中,所述第一媒体应用客户端接收所述媒体信息包括:所述第一媒体应用客户端接收所述连接至同一局域网的第二媒体应用客户端反馈的媒体信息。The method of claim 1, wherein the receiving, by the first media application client, the media information comprises: the first media application client receiving the second media application client feedback connected to the same local area network Media information.
  6. 根据权利要求1所述的方法,其中,所述第一媒体应用客户端发送媒体信息请求消息包括:所述第一媒体应用客户端向媒体应用服务器发送媒体信息请求消息,请求媒体应用服务器反馈与所述第一媒体应用客户端具有关联关系的第二媒体应用客户端正在播放的媒体内容的媒体信息。The method of claim 1, wherein the sending, by the first media application client, the media information request message comprises: the first media application client sending a media information request message to the media application server, requesting the media application server to feed back The first media application client has media information of the media content being played by the second media application client of the association relationship.
  7. 根据权利要求1所述的方法,其中,所述第一媒体应用客户端接收所述媒体信息包括:所述第一媒体应用客户端接收所述媒体应用服务器反馈的与所述第一媒体应用客户端具有关联关系的第二媒体应用客户端的媒体信息。The method of claim 1, wherein the receiving, by the first media application client, the media information comprises: the first media application client receiving the feedback from the media application server and the first media application client The media information of the second media application client having an association relationship.
  8. 根据权利要求1所述的方法,其中,所述媒体信息包括:所述媒体信息对应的媒体内容的标识以及地址;The method according to claim 1, wherein the media information comprises: an identifier and an address of the media content corresponding to the media information;
    其中,所述第一媒体应用客户端根据所述媒体信息播放所述媒体信息对应的媒体内容包括:The playing, by the first media application client, the media content corresponding to the media information according to the media information includes:
    所述第一媒体应用客户端显示所述媒体信息对应的媒体内容的标识;The first media application client displays an identifier of the media content corresponding to the media information;
    所述第一媒体应用客户端接收对所显示媒体内容的标识中一个媒体内容的标识的选择操作;Receiving, by the first media application client, a selection operation of an identifier of one of the identifiers of the displayed media content;
    所述第一媒体应用客户端根据所选择的媒体内容的标识对应的 媒体内容的地址信息向媒体应用服务器请求所选择媒体信息所对应的媒体内容;以及The first media application client requests, from the media application server, the media content corresponding to the selected media information according to the address information of the media content corresponding to the identifier of the selected media content;
    所述第一媒体应用客户端下载并播放所述媒体内容。The first media application client downloads and plays the media content.
  9. 根据权利要求8所述的方法,其中,所述第一媒体应用客户端显示所述媒体信息对应的媒体内容的标识包括:The method of claim 8, wherein the displaying, by the first media application client, the identifier of the media content corresponding to the media information comprises:
    将接收到的所述媒体信息对应的媒体内容的标识加入媒体信息列表;以及Adding the identifier of the received media content corresponding to the media information to the media information list;
    显示所述媒体列表。The list of media is displayed.
  10. 根据权利要求1所述的方法,其中,所述媒体信息包括:所述媒体信息对应的媒体内容的地址;The method according to claim 1, wherein the media information comprises: an address of the media content corresponding to the media information;
    其中,所述第一媒体应用客户端根据所述媒体信息播放所述媒体信息对应的媒体内容包括:The playing, by the first media application client, the media content corresponding to the media information according to the media information includes:
    所述第一媒体应用客户端根据所述媒体信息中一个媒体内容的地址向媒体应用服务器请求媒体内容;以及The first media application client requests media content from a media application server according to an address of one media content in the media information;
    所述第一媒体应用客户端下载并播放所述媒体内容。The first media application client downloads and plays the media content.
  11. 根据权利要求8或10所述的方法,其中,所述媒体信息进一步包括:所述媒体信息对应的媒体内容的播放进度信息;The method according to claim 8 or 10, wherein the media information further comprises: play progress information of the media content corresponding to the media information;
    其中,所述第一媒体应用客户端播放所述媒体内容包括:所述第一媒体应用客户端根据所述播放进度信息调整所述媒体内容的播放进度。The playing, by the first media application client, the media content includes: adjusting, by the first media application client, the playing progress of the media content according to the playing progress information.
  12. 根据权利要求8或10所述的方法,其中,所述媒体信息进一步包括:所述媒体信息对应的媒体内容的播放设置信息;The method according to claim 8 or 10, wherein the media information further comprises: play setting information of the media content corresponding to the media information;
    所述第一媒体应用客户端播放所述媒体内容包括:所述第一媒体应用客户端根据所述播放设置信息进行所述媒体内容的播放设置。The playing, by the first media application client, the media content comprises: the first media application client performing the play setting of the media content according to the play setting information.
  13. 根据权利要求1所述的方法,所述方法进一步包括:The method of claim 1 further comprising:
    所述第一媒体应用客户端设定超时时间;Setting, by the first media application client, a timeout period;
    所述第一媒体应用客户端根据所述超时时间,在发送所述媒体信息请求的时候启动一个计时器,并且在所述计时器计时到所述超时时间时,停止计时;及The first media application client starts a timer when the media information request is sent according to the timeout period, and stops timing when the timer counts the timeout period; and
    在所述计时器计时过程中没有接收到所述媒体信息,则结束本流程。If the media information is not received during the timer timing, the process ends.
  14. 一种媒体应用客户端,其中,所述媒体应用客户端包括:A media application client, where the media application client includes:
    发送模块,发送媒体信息请求消息,请求获取第二媒体应用客户端正在播放的媒体内容的媒体信息;The sending module sends a media information request message, requesting to obtain media information of the media content being played by the second media application client;
    接收模块,用于接收所述媒体信息;以及a receiving module, configured to receive the media information;
    播放模块,用于根据所述媒体信息播放所述媒体信息对应的媒体内容。a playing module, configured to play media content corresponding to the media information according to the media information.
  15. 根据权利要求14所述的媒体应用客户端,其中,所述媒体应用客户端进一步包括:The media application client of claim 14, wherein the media application client further comprises:
    显示模块,用于显示所述媒体信息;a display module, configured to display the media information;
    媒体内容请求模块,用于接收对所显示某一项媒体信息的选择操作,根据所选择的媒体信息向媒体应用服务器请求所述媒体信息对应 的媒体内容;以及a media content requesting module, configured to receive a selection operation of the displayed one piece of media information, and request the media content corresponding to the media information from the media application server according to the selected media information;
    第一下载模块,用于下载所述媒体内容。The first download module is configured to download the media content.
  16. 根据权利要求15所述的媒体应用客户端,其中,所述媒体应用客户端进一步包括:The media application client according to claim 15, wherein the media application client further comprises:
    第二下载模块,用于根据所述媒体信息中的一项媒体信息向媒体应用服务器请求所述媒体信息对应的媒体内容,并下载所述媒体内容。The second downloading module is configured to request the media content corresponding to the media information from the media application server according to one piece of the media information, and download the media content.
  17. 一种用户终端,包括存储器和处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1-13任一项所述的方法A user terminal comprising a memory and a processor, wherein the memory stores a computer program, the computer program being executed by the processor, causing the processor to perform the method of any one of claims 1-13 method
  18. 一种存储介质,其中,存储有机器可读指令,可以使至少一个处理器执行如权利要求1-13任一项所述的方法。A storage medium, wherein the machine readable instructions are stored, and at least one processor can be executed to perform the method of any of claims 1-13.
PCT/CN2018/112880 2017-10-31 2018-10-31 Media content synchronization method, device and storage medium WO2019085925A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711046801.1 2017-10-31
CN201711046801.1A CN109729402B (en) 2017-10-31 2017-10-31 Media content synchronization method, device and storage medium

Publications (1)

Publication Number Publication Date
WO2019085925A1 true WO2019085925A1 (en) 2019-05-09

Family

ID=66294351

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/112880 WO2019085925A1 (en) 2017-10-31 2018-10-31 Media content synchronization method, device and storage medium

Country Status (2)

Country Link
CN (1) CN109729402B (en)
WO (1) WO2019085925A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147919A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Play adjustment method, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648014A (en) * 2013-11-15 2014-03-19 乐视致新电子科技(天津)有限公司 Method and apparatus for pushing resource to mobile communication terminal by intelligent television
CN104301778A (en) * 2014-09-05 2015-01-21 北京奇虎科技有限公司 Data acquisition method, device and system
CN104918105A (en) * 2015-06-02 2015-09-16 腾讯科技(北京)有限公司 Media file multi-screen playing method, device and system
CN105049903A (en) * 2015-07-03 2015-11-11 浪潮软件集团有限公司 Method and system for cross-device synchronization of media files and media playing device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685563B (en) * 2011-03-15 2015-11-25 华为终端有限公司 IPTV content sharing method, device and terminal equipment
CN103534679B (en) * 2012-12-12 2017-06-27 华为终端有限公司 Media Stream shared method and terminal
CN103237053A (en) * 2013-03-28 2013-08-07 东莞宇龙通信科技有限公司 Media file sharing method and TV box
US9426519B1 (en) * 2014-06-05 2016-08-23 Google Inc. Synchronized advertisement playback across navigation experiences and transitional states
CN104168503B (en) * 2014-07-24 2016-08-24 小米科技有限责任公司 The method and device of shared video information
US9685196B2 (en) * 2014-09-17 2017-06-20 Verizon Patent And Licensing Inc. Sharing and synchronizing content
CN104539999A (en) * 2014-11-24 2015-04-22 深圳市金立通信设备有限公司 Multimedia data sharing method and terminal
CN104519051A (en) * 2014-11-24 2015-04-15 深圳市金立通信设备有限公司 Method and terminals for sharing multimedia data
US10549204B2 (en) * 2015-09-30 2020-02-04 Sony Interactive Entertainment America Llc Systems and methods for providing augmented data-feed for game play re-creation and dynamic replay entry points
CN105847880A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Audio-video sharing method, server and terminal
CN106211357A (en) * 2016-06-28 2016-12-07 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of shared multimedia messages

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648014A (en) * 2013-11-15 2014-03-19 乐视致新电子科技(天津)有限公司 Method and apparatus for pushing resource to mobile communication terminal by intelligent television
CN104301778A (en) * 2014-09-05 2015-01-21 北京奇虎科技有限公司 Data acquisition method, device and system
CN104918105A (en) * 2015-06-02 2015-09-16 腾讯科技(北京)有限公司 Media file multi-screen playing method, device and system
CN105049903A (en) * 2015-07-03 2015-11-11 浪潮软件集团有限公司 Method and system for cross-device synchronization of media files and media playing device

Also Published As

Publication number Publication date
CN109729402B (en) 2021-05-28
CN109729402A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
TWI669957B (en) Media projection method, media projection device, control terminal, and cloud server
USRE48946E1 (en) Systems and methods for providing a media playback in a networked environment
EP3621269B1 (en) Live broadcast method, system and related device
JP6081489B2 (en) Networked music playback system and method
US10187474B2 (en) Method and device for resource sharing between devices
WO2019090902A1 (en) Screen sharing method and apparatus, electronic device, and storage medium
US20210152616A1 (en) Data transmission method and apparatus, and computer storage medium
EP2933982B1 (en) Media stream transfer method and user equipment
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
TW201545054A (en) Information processing and master control terminal content transmission method and device for multi-screen display
WO2015096687A1 (en) Method and device for mobile communication terminal to control smart television to play video file
WO2019153722A1 (en) Terminal communication method and device, terminal and storage medium
KR102177013B1 (en) A system and method for managing playback of streaming digital content
WO2013178015A1 (en) Method, apparatus, and system for acquiring media
WO2013177734A1 (en) Processing method, device and system for media resource playlist in local area network
WO2017050006A1 (en) Remote live broadcast method and system
US20220286731A1 (en) Multimedia apparatus and cast method
US9807450B2 (en) Apparatus and method for media play in home network
US11706301B2 (en) Server node selection method and terminal device
WO2019085925A1 (en) Media content synchronization method, device and storage medium
CN113542904A (en) Video screen projection playing method and device, electronic equipment and storage medium
US20230247233A1 (en) Live stream screen display method and apparatus, storage medium, and electronic device
WO2017092323A1 (en) Main control device, playing device and data transmission method therefor
WO2012100558A1 (en) Control method and device of media playing
GB2504725A (en) Resource sharing between devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18874006

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18874006

Country of ref document: EP

Kind code of ref document: A1