WO2008141577A1 - Method, and network media player for playing network media synchronously - Google Patents

Method, and network media player for playing network media synchronously Download PDF

Info

Publication number
WO2008141577A1
WO2008141577A1 PCT/CN2008/070997 CN2008070997W WO2008141577A1 WO 2008141577 A1 WO2008141577 A1 WO 2008141577A1 CN 2008070997 W CN2008070997 W CN 2008070997W WO 2008141577 A1 WO2008141577 A1 WO 2008141577A1
Authority
WO
WIPO (PCT)
Prior art keywords
network media
play
user
playing
information
Prior art date
Application number
PCT/CN2008/070997
Other languages
French (fr)
Chinese (zh)
Inventor
Peng Hu
Xinliang Wang
Jun Zhou
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2008141577A1 publication Critical patent/WO2008141577A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • H04N7/52Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43072Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device
    • 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/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • 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/64Addressing
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64746Control signals issued by the network directed to the server or the client
    • H04N21/64753Control signals issued by the network directed to the server or the client directed to the client
    • 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/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • 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/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • H04N21/6543Transmission by server directed to the client for forcing some client operations, e.g. recording
    • 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/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a network media synchronous playback method and a network media player. Background technique
  • the network media player is a tool that can directly obtain media resources and perform real-time playback from the network without saving the media files on the computer local hard disk.
  • the use of a network media player not only facilitates user operations, but also saves local resources.
  • the network address may be a uniform resource location URL address, or may be a peer-to-peer network technology P2P network seed.
  • a P2P network can be used to play massive music online, or a fixed music server can be used to stably provide services to users, and a search engine can also obtain a URL address of a desired music, thereby realizing online play. , to enable users to quickly and easily enjoy the latest and most complete music.
  • a network media player (referred to as a master user or a master media player) running on the master user client plays a network media
  • the network media player running on its controlled user client It can be referred to as a controlled user or a controlled media player. It can also automatically play the same network media as the master media player.
  • the embodiment of the invention provides a method for realizing synchronous playback of network media, so as to realize synchronous play of network media.
  • the embodiment of the invention further provides a network media player to realize synchronous play with other network media players.
  • a method for implementing synchronous playback of a network media according to an embodiment of the present invention includes:
  • a network media player provided by an embodiment of the present invention includes: a first unit, configured to receive a network media address, play progress information, and play status information from the master media player;
  • a second unit configured to acquire, according to the play progress information, the corresponding content of the network media currently played by the master media player from the network media address, and play the acquired network media according to the play state information Corresponding content.
  • the first unit is configured to send the currently played network media address, play progress information, and play status information to the controlled media player.
  • the network media synchronous playing method and the network media player provided by the embodiment of the present invention, the master user sends the network media address, the playing progress information, and the playing state information to the controlled user, and the controlled user at least according to the network media address and playing.
  • BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a flow chart showing the operation of a network media player in the prior art.
  • FIG. 2 is a flowchart of a method for implementing synchronous playback of a network medium according to a first embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for implementing synchronous playback of network media in a second embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for implementing synchronous playback of network media in a third embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for implementing synchronous playback of a network medium according to a fourth embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for implementing synchronous playback of network media in a fifth embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for implementing synchronous playback of a network medium according to a sixth embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for implementing synchronous playback of a network medium according to a seventh embodiment of the present invention.
  • FIG. 9 is a system block diagram of implementing synchronous playback of network media in an eighth embodiment of the present invention.
  • FIG. 10 is a structural block diagram of a network media player in a ninth embodiment of the present invention.
  • FIG. 11 is a structural block diagram of a network media player in a tenth embodiment of the present invention.
  • the embodiments of the present invention will be better understood, and the objects, features, and advantages of the embodiments of the present invention will become more apparent. The invention is further illustrated in detail.
  • FIG. 1 is a flowchart of the operation of a network media player in the prior art.
  • Existing network media player will work when The local computer takes the real-time sample output of the graphics card or the sound card as an input, and sends the code to the remote user, thereby realizing the real-time synchronous sharing of the network media.
  • the workflow of the existing network media player is illustrated by taking audio and video synchronization between two users as an example.
  • Step 101 User A uses a network media player to play audio and video files on the network on the local computer.
  • Step 102 The sound card and the graphics card of the local computer collect the video file signal while collecting the signal.
  • Step 103 Compress and encode the collected signal and transmit it to user B through the network.
  • Step 104 The local computer used by User B decodes the signal after receiving it.
  • Step 105 Input the decoded multimedia data into a sound card or a video card of the local computer to realize synchronous viewing between users.
  • the inventor of the present application finds that the media content played by the existing network media player is degraded, so that the quality of the media signal is degraded; and the media data directly after the sample includes the local computer. All the currently playing sounds may also include noise, so other applications on the local computer may interfere with the effect of synchronous audio and video; and because the user access bandwidth is often small, when the user tries to synchronize with other users, the network Bandwidth is a bottleneck for audiovisual effects.
  • the master user sends the address, playing progress information, and playing state information of the currently played network media to the controlled user joining the synchronized audiovisual.
  • the network media address is an address of the network media currently played by the master user;
  • the play state information is current play state information of the network media, and may be continuous play, pause play, forward drag play, or drag backward One of moving play, fast forward play, and fast reverse play;
  • play progress information refers to the position information played before the network media.
  • the controlled user obtains the corresponding content of the network media currently played by the master user from the network media address according to the playback progress information, and performs the same playing state in the playback state information as the corresponding content of the acquired network media. Operation, so as to synchronize the same network media with the master user.
  • FIG. 2 is a flowchart of a method for implementing synchronous playback of a network medium according to a first embodiment of the present invention. As shown in Figure 2, the flow chart of the method is as follows:
  • Step 201 The master user sends the currently played network media address, play status information, and play progress information to the controlled user who joins the synchronized play.
  • the controlled user may actively send a request to the master user to join the synchronous play, or may be invited by the master user to join the synchronous play.
  • Step 202 The controlled user acquires the current playing content of the network media from the server corresponding to the network media address according to the network media address and the playing progress information, and performs the operation indicated by the playing state information, so as to synchronously play the network media with the master user.
  • the controlled user needs to obtain the current playing content of the network media from the server corresponding to the network media address according to the network media address, the playing progress information, and the playing state information.
  • the controlled user sends a request for acquiring the network media to the server corresponding to the network media address, where the request includes the network media playing progress information; the server reads the network media playing progress information, and the The content of the data frame after the current play position identified by the play progress information in the network media is sent to the controlled user; the controlled user plays the corresponding content of the obtained network media according to the play status information, and the obtained content is continuously played.
  • the content of the data frame after the current play position identified by the play progress information in the network medium is a request for acquiring the network media to the server corresponding to the network media address, where the request includes the network media playing progress information; the server reads the network media playing progress information, and the The content of the data frame after the current play position identified by the play progress information in the network media is sent to the controlled user; the controlled user plays the corresponding content of the obtained network media according to the play status information, and the obtained content is continuously played.
  • the content of the data frame after the current play position identified by the play progress information in the network medium is
  • the playback status information When the playback status information is dragged forward or backward, the playback status information further includes position offset information that is dragged forward or backward.
  • the controlled user sends a request for obtaining the network media to the server corresponding to the network media address, and the request includes the play progress information and the play status information.
  • the server reads the playing progress information of the network media, and uses the current playing position identified by the playing progress information as a reference, and calculates a playing start point according to the positional offset information of the forward or backward drag included in the playing state information.
  • the content of the data frame subsequent to the new playback starting point in the network media is sent to the controlled user; the controlled user plays the corresponding content of the obtained network media according to the playing state information, that is, dragging forward or backward dragging and playing The content of the data frame following the new playback starting point in the network media.
  • the controlled user When the playing status information is fast forward/reverse playback, the controlled user sends a request for acquiring the network media to the server corresponding to the network media address, where the request includes the network media playing progress information and the playing status information.
  • the server reads the playing progress information of the network media, and uses the current playing position identified by the playing progress information in the network media as the starting point, and the data frame content after/before the current playing position is sent to the controlled user.
  • the controlled user plays the corresponding content of the obtained network media according to the playing state information, that is, the current playback position identified by the playback progress information in the fast forward/reverse playback network media as the starting point, and the data frame content after/before the current playing position.
  • the controlled user stops sending a request for obtaining the network media to the server corresponding to the network media address; the server corresponding to the network media address stops sending the network media content to the controlled user; The web media is paused at the information office.
  • the P2P function can also be used between the master user and the controlled user to achieve synchronous playback. That is, the master user and the controlled user periodically send their respective download progress information to the other party.
  • the download progress information refers to the progress information of downloading the network media from the network media address.
  • the user whose download progress is slow in the master user and the controlled user can request the subsequent content of the network media to the user with fast download progress; the user who downloads the fast progress sends the subsequent content of the downloaded network media to the user who downloads the progress of theft .
  • the master user and the controlled user When the play status information is paused, the master user and the controlled user also stop periodically sending their download progress information to the other party, and the user with fast download progress stops sending the subsequent content of the downloaded network media to Download slow progress users.
  • the server corresponding to the network media address is used in the present application, in actual applications, the network entity corresponding to the network media address is not limited to the server, for example, when the network media address is a P2P seed.
  • the network entity corresponding to the network media address may be the client where the master user or the controlled user is located, or may be the client peering with the client where the master user or the controlled user is located.
  • step 201 and step 202 are executed at least once.
  • step 201 and step 202 may be performed periodically, or step 201 and step 202 may be performed when the state of the controlled user changes.
  • the step 201 is performed, if the network media address currently played by the master user is the same as the network media address sent to the controlled user last time, the master user may no longer send the network media address to the controlled user, so that Reduce the transmission of redundant information.
  • any one of the master user and the controlled user may terminate the synchronous play of the network media, that is, the controlled user may terminate the synchronous play of the network media according to an instruction of the master user, or the master
  • the controlling user can terminate the synchronous playing of the network media actively or according to an instruction of the controlled user.
  • FIG. 3 is a flowchart of a method for implementing synchronous playback of network media in a second embodiment of the present invention.
  • This embodiment shows a process of continuously playing a certain network medium between two users, thereby realizing synchronous play, in which the controlled user B sends a request to join the synchronous play to the master user A.
  • the method flow chart is as follows:
  • Step 301 The master user A requests, acquires, and plays a certain network media in real time from the network media provider.
  • Step 303 The controlling user A sends the network address of the currently played network media (that is, the address of the network media on the network media provider) and the current playing progress information and the current playing state information to the controlled user B.
  • Step 304 The controlled user B requests the network media provider for the current playing content of the network media according to the network address of the network media and the current playing progress information, where the request includes current playing progress information of the network media.
  • the current play progress information is usually offset information of the network medium, and the offset information is an offset of the corresponding network medium.
  • the size of the network medium is 3 Mbytes, and the time corresponding to the network media playing to 1 Mbyte is 50 seconds. If the controlled user B joins at this time, the playback progress information sent by the controlling user A is The offset of the network media, that is, the location of the content corresponding to the network media at 50 seconds.
  • Step 305 The network media provider sends the current playing content of the network media to the controlled user B according to the current playing progress information of the network media.
  • the network media provider sequentially sends the network media to the controlled user B according to the playback progress information obtained in step 304 from the current playback progress of the network media.
  • the user A and the user B simultaneously listen to an MP3 song in the network as an example to describe the implementation process of the second embodiment of the present invention in detail.
  • Multiple sequential audio data frames in an MP3 file, sample rate and length between data frames It can be different, but regardless of the length of the data frame, the playback time corresponding to each data frame is 26ms, so each MP3 audio file is composed of several 26ms data frames, and any playback time corresponds to the relevant data. frame.
  • user A After user A obtains the network link address "http://192.168.0.l/music/words.mp3" of song S by searching, etc., user A uses the network music player to acquire and play the song S in real time according to the link address. .
  • User B sends a request to user A to join the synchronous listening to the song S; after accepting the request of the user B, the user A returns the network address "http: ⁇ 192.168.0. l/music/words.mp3" of the song S to the user B, and The user ⁇ currently listens to the playback progress information of the song S. Assume that the size of the song S is 3 Mbytes, and at this time, the user A listens to the data frame of 1 Mbyte, and the shell 'J "1M" is the playback progress information of the song S.
  • User B receives the network address and playback progress information of song S, and then goes to the network address.
  • “http://192.168.0. l/music/words.mp3” Sends the content request of song S, which carries the current playback progress information "1M” of song S.
  • user B can also set an end message in the content request, that is, requesting a data frame from the current playback progress information to the end information to the network address "http: ⁇ 192.168.0. l/music/words.mp3", where
  • the end information may be information corresponding to the end of the song S, or may be information corresponding to a certain number of data frames, such as information corresponding to 0.3M.
  • the network media provider's server 192.168.0.1 reads the file word.m P 3 from the server to the media content at the end information according to the received content request, and sends the media content to the user B. .
  • the user B After receiving the media content, the user B starts playing from the 1 Mbyte of the song S, and during the playing, the user B can automatically acquire the subsequent data frame of the song S from the server, and the player continues to play the song synchronously with the user A. S.
  • FIG. 4 is a flowchart of a method for implementing synchronous playback of network media in a third embodiment of the present invention.
  • This embodiment shows a process of continuously playing a certain network medium between two users, thereby realizing synchronous play, in which the master user A invites the controlled user B to join the synchronized play.
  • the method flow chart is as follows:
  • Step 401 The master user A requests, acquires, and plays a certain network media in real time from the network media provider.
  • Step 403 After receiving the invitation, the controlled user B returns the information of accepting the invitation to the controlling user A.
  • the controlled user B can also choose to return the information rejecting the invitation to the controlling user A, and the synchronous playing process ends.
  • Step 404 The controlled user B requests the network media provider for the current playing content of the network media according to the network address of the network media and the current playing progress information.
  • Step 405 The network media provider sends the current play content of the network media to the controlled user B according to the current play progress information of the network media.
  • the specific implementation process of the third embodiment of the present invention is similar to that of the second embodiment when the user A and the user B play the same MP3 songs in the network. The details are not described here. The only difference lies in the third implementation of the present invention.
  • User A invites User B to join the synchronized audiovisual.
  • FIG. 5 is a flowchart of a method for implementing synchronous playback of a network medium according to a fourth embodiment of the present invention.
  • the controlled user B obtains the network media content from the network media provider at a slower speed, affecting normal play, the network media is continuously played through the extended P2P function, thereby achieving synchronous play.
  • the method flow chart is as follows:
  • Step 501 The master user A requests, acquires, and plays a certain network media in real time from the network media provider.
  • Step 503 The master user A sends the network address and current play progress information of the currently played network media and the current play status information to the controlled user B.
  • Step 504 The controlled user B requests the network media provider for the current playing content of the network media according to the network address of the network media and the current playing progress information.
  • Step 505 The network media provider sends the current playing content of the network media to the controlled user B according to the current playing progress information of the network media.
  • Step 506 The master user A and the controlled user B periodically send their own download progress information to the other party, and the download progress information may also be referred to as a data update message.
  • the download progress here refers to the data frame of the network media that has been downloaded from the network media provider. In order to play smoothly, the downloaded data frame is always ahead of the currently played data frame.
  • Step 507 The controlled user B requests the master user A to download the subsequent network media content that is slower than the playback speed due to a network failure or the like according to the periodically exchanged data update message.
  • Step 508 The master user A sends the data frame corresponding to the downloaded network media content to the controlled user B in response to the request of the controlled user B.
  • the user A and the user B simultaneously listen to an MP3 song in the network as an example, and the implementation process of the fourth embodiment of the present invention is described in detail. In this implementation process, it is assumed that user B has a slower download progress than the current playback progress due to network failure or bandwidth problem, and user A's download rate is normal.
  • user A After user A obtains the network link address "http://192.168.0.l/music/words.mp3" of song S by searching, etc., user A uses the network music player to acquire and play the song S in real time according to the link address. .
  • User B sends a request to User A to join the simultaneous listening to the song S.
  • User A returns the network address of song S to user B after accepting user B's request. "http://192.168.0.l/music/words.mp3" and the playback progress information of user A currently listening to song S. Assuming that the size of the song S is 3 Mbytes, and at this time, the user A listens to the data frame of 1 Mbyte, then 1M is the playback progress information of the song S.
  • the user B After receiving the network address and playback progress information of the song S, the user B sends a content request of the song S to the network address "http://192.168.0.l/music/words.mp3", and the content request carries the song S.
  • the current play progress information "1M” and the end information (the end information here may be 3M corresponding to the end of the song S, or may be a batch download based on a certain number of data frames, for example, every 0.3M request download).
  • the network media provider's server 192.168.0.1 reads the file word.m P 3 from the server to the end of the data content according to the received content request, and sends the data content to user B. .
  • user B After user B receives the data content, it starts playing from 1 Mbyte of song S, and during playback, the user
  • User A and User B periodically send download progress information for song S to the other party as a data update message for the song S playback.
  • User B's progress of downloading song S from the server is slower than the progress of playing song S due to network failure with server 192.168.0.1, so user B requests user A for subsequent data frames required to play song S according to the data update message. It is assumed that the requested data frame corresponds to the data content of 1.6M-2.0M bytes of the song S.
  • FIG. 6 is a flowchart of a method for implementing synchronous playback of network media in a fifth embodiment of the present invention.
  • This embodiment shows a process of suspending playback of the network media after a certain user continuously plays a certain network medium for a period of time, thereby realizing synchronous playback.
  • the process is as follows:
  • Step 601 When the master user A pauses the currently playing network media, simultaneously sends the address of the network media, the play progress information, and the pause state information to the controlled user B.
  • Step 602 After receiving the information sent by the master user A, the controlled user B interrupts the network media provider to request the subsequent content of the network media.
  • the controlled user B stops the request to the network media provider and stops the content with the network user. Exchange subsequent network media content data frames.
  • Step 603 The controlled user B pauses the playing of the network media content, and waits for the controlling user A to send subsequent playing state information. Specifically, after the main control user A pauses playing the network media content for a period of time, the play status information that can be sent to the user B includes the status information of continuing to play, or the status information of stopping the play, or the status information of the forward drag play. , or drag the playback status information, etc. backwards.
  • the controlled user B may also suspend the playback of the current network medium first, and send the status information of the stop synchronization to the master user A.
  • the controlled user B first stops playing the current network media, it indicates that it actively exits the current synchronized play state, and the controlled user B sends the state information of stopping the synchronization to the master user A, and the master user A no longer The controlled user B sends the subsequent play status information, and if the P2P function is extended between the two users, the master user A also stops sending the data update message of the network media to the controlled user B at the same time.
  • the user A and the user B simultaneously listen to an MP3 song in the network as an example, and the implementation process of the fifth embodiment is described in detail.
  • the network address of the song S is "http: ⁇ 192.168.0.1/music/words. Mp3" , the current playback progress information of the song S (assuming that the user A currently listens to the 2 Mbyte content of the song S, the information "2M" is used as the playback progress information), and the current playback status information of the song S (user A current Pause the song S, so the playback status information is to stop playing);
  • the user B After receiving the control information sent by the user A, the user B knows from the play progress information and the play status information of the song S that the user A pauses the play at the 2M content of the song S, so the user B no longer provides the network media provider.
  • the server 192.168.0.1 requests the subsequent content of the song S; if the P2P function is extended between the user A and the user B, the user B stops the exchange of the user A in addition to the request to the server 192.168.0.1 for the subsequent content of the song S.
  • User A and User B simultaneously pause the playing of song S, while User B waits for User A to send subsequent playback status information of song S, including continuing to play song S, or stopping playing song S, or dragging forward playing song S, or backward Drag to play the song S.
  • FIG. 7 is a flowchart of a method for implementing synchronous playback of a network medium according to a sixth embodiment of the present invention.
  • This embodiment shows a process in which three users continuously play a certain network media through the P2P function, thereby realizing synchronous play between three users, wherein the controlled user C obtains the network media content from the network media provider at a slower speed.
  • the process is as follows: Step 701: The master user A requests, retrieves, and plays a certain network media in real time from the network media provider.
  • Step 702 The controlled user B actively sends a request for joining the synchronous play to the master user A. This step may also be that the controlling user A invites the controlled user B to join the synchronized play.
  • Step 703 The master user A sets the network address and current play progress information of the currently played network media and the current The playback status information is sent to the controlled user B.
  • Step 704 The controlled user B requests the network media provider for the current playing content of the network media according to the network address of the network media and the current playing progress information.
  • Step 705 The network media provider sends the current playing content of the network media to the controlled user B according to the current playing progress information of the network media.
  • Step 706 The master user A and the controlled user B periodically send the download progress information to the other party, and use the information as a data update message.
  • Step 707 The controlled user B requests the master user A to download the subsequent network media content that is slower than the playback speed due to a network failure or the like according to the periodically exchanged data update message.
  • Step 708 The master user A sends the data frame corresponding to the downloaded network media content to the controlled user B in response to the request of the controlled user B.
  • Step 709 The controlled user C actively sends a request to the master user A to join the synchronous play. This step may also be that the host user A invites the controlled user C to join the synchronized play.
  • Step 710 The controlling user A sends the network address of the currently played network media, the current playing progress information, the network address and port of the currently playing master user A and the controlled user B to the controlled user C.
  • Step 711 The master user A, the controlled user B, and the controlled user C periodically send their own download progress information to the other two parties, and use the information as a data update message.
  • Step 712 The controlled user C requests the master user A and the controlled user B to download the subsequent network media content that is slower than the playback speed due to a network failure or the like according to the periodically exchanged data update message.
  • Step 713 The master user A and the controlled user B send the data frame corresponding to the downloaded network media content to the controlled user C in response to the request of the controlled user C.
  • user A After user A obtains the network link address "http://192.168.0.l/music/words.mp3" of song S by searching, etc., user A uses the network music player to acquire and play the song S in real time according to the link address. ;
  • User B sends a request to User A to join the simultaneous listening to the song S.
  • User A returns the network address of song S to user B after accepting user B's request. "http://192.168.0.l/music/words.mp3" , and the playback progress information of the user A currently listening to the song S, assuming that the size of the song S is 3 Mbytes, and at this time, the user A listens to 1 Mbyte. At the data frame, 1M is the playback progress information of the song S.
  • the user B After receiving the network address and playback progress information of the song S, the user B sends a content request of the song S to the network address "http://192.168.0.l/music/words.mp3", and the content request carries the song S.
  • the current progress information "1M” and the end information are played.
  • the network media provider's server 192.168.0.1 reads the file words.mp3 from 1Mbytes to the end information according to the received content request, and sends the data content to user B.
  • User B After receiving the data content, User B starts playing from 1 Mbyte of song S, and during playback, User B can automatically acquire subsequent data frames of the song S from the server.
  • the user A and the user B periodically transmit the play progress information, the play status information, and the download progress information of the song S to the other party as the data update message played by the song S.
  • User B's progress of downloading song S from the server is slower than the progress of playing song S due to network failure with server 192.168.0.1, so user B requests user A for subsequent data frames required to play song S according to the data update message. , assuming that the requested data frame corresponds to 1.5M-2.0M bytes of data content of the song S.
  • the user A After the user C knows the current listening state of the user A, the user A sends a request to join the synchronous listening to the song S. User A returns the network address of song S to user C after accepting user C's request.
  • the user ⁇ currently listens to the playback progress information of the song S, assuming that the user A listens to the 1.5 Mbyte data frame at this time, then 1.5 M is
  • the playback progress information of the song S also returns the network address and port information of the user A and the user B to the user C.
  • the playback progress information, the playback status information, and the download progress information of the song S are periodically transmitted between the user A, the user B, and the user C as the data update message played by the song S.
  • the progress of downloading the song S from the server by the user C due to the network failure of the server 192.168.0.1 is slower than the progress of playing the song S, so the user C downloads the progress to the user A and the user B faster than the user according to the data update message.
  • the user requests a subsequent data frame required for playing the song S, assuming that the requested data frame corresponds to 2.0M-2.5M bytes of data content of the song S.
  • the data content of 2.0M-2.5M bytes is sent to the user C, thereby ensuring the realization of the user A and the user C network failure.
  • User B listens to song S synchronously.
  • the controlled user receives the respective download progress information respectively sent by other users who join the synchronous play. And the controlled user sends the subsequent content of the downloaded network media to other users whose download progress is slower according to the download progress information of other users who join the synchronous play; or requests the network media from other users whose download progress is faster.
  • the controlled users will also send their own download progress information to other users who join the synchronous play.
  • Other users who join synchronous play here include the master user (such as user A) or / and other controlled users of the master user (such as user C).
  • FIG. 8 is a flowchart of a method for implementing synchronous playback of a network medium according to a seventh embodiment of the present invention.
  • This embodiment shows a process in which a closed P2P network is used between three users to continuously play a certain network medium and then pause the playback of the network medium, thereby realizing synchronous playback.
  • the process is as follows:
  • Step 801 When the master user A pauses the currently playing network media, the host user B and the controlled user C simultaneously send the network media address, the play progress information, and the pause state information.
  • Step 802 After receiving the information sent by the master user A, the controlled user B and the controlled user C interrupt the request for the subsequent content of the network media to the network media provider, and stop the data update message of the network media sent between the users. .
  • Step 803 The controlled user B and the controlled user C pause the playing of the network media content, and wait for the controlling user A to send subsequent playing state information.
  • the play status information that can be sent to the user B and the user C includes status information to continue playing, or status information to stop playing, or drag forward to play. Status information, or drag status information for playback backwards, etc.
  • the playback of the current network medium can be first suspended by any one of the controlled user B or the controlled user C, and the related control information can be sent to other users.
  • the controlled user B or the controlled user C first stops the playing of the current network media, it indicates that it actively exits the current synchronized playing state, and the controlled user sends the state information of stopping the synchronization to the controlling user A, the master control User A no longer sends subsequent playback status information to the controlled user.
  • the user A, the user B, and the user C simultaneously listen to an MP3 song in the network as an example, and the implementation process of the seventh embodiment is described in detail.
  • Network address of song S "http://192.168.0. l/music/words.mp3"
  • the current playback progress information of the song S (assuming that the user A currently listens to the 2 Mbyte content of the song S, the information "2M” is used as the playback progress. Information)
  • the current playing status information of the song S (user A currently pauses playing the song S, so the playing status information is paused);
  • the user B and the user C After receiving the control information sent by the user A, the user B and the user C know from the playback progress information of the song S that the user A pauses playback at the 2M content of the song S, so the user B and the user C no longer serve the network media.
  • the server 192.168.0.1 of the provider requests the subsequent content of the song S, and simultaneously stops the data update message of the data frame after exchanging the 2 Mbyte content of the song S with each other;
  • User A, User B, and User C simultaneously pause to play the song S, while User B and User C wait for User A to send subsequent playback status information of Song S, including continuing to play the song S, or stop playing the song S, or dragging forward. Song s, or drag backward to play song s.
  • FIG. 9 is a system block diagram of implementing synchronous playback of network media in an eighth embodiment of the present invention.
  • the system includes a network media server 910, a master media player (ie, a host user) 920, and a controlled media player (ie, a controlled user) 930.
  • a master media player ie, a host user
  • a controlled media player ie, a controlled user
  • the network media server 910 is used to store the synchronously played network media. Although it is referred to as a "network media server", in actual implementation, the network entity that stores the network media is not limited to the server.
  • the master media player 920 is configured to request the network media from the network media server 910 and play the network media; and at the same time, send the currently played network media address, the play progress information, and the controlled media player 930 added to the synchronous play. Play status information.
  • the controlled media player 930 is configured to obtain, according to the network media address and the playing progress information received from the master media player 920, the corresponding content of the network media currently played by the master media player 920 from the network media server 910. And performing the operation indicated by the playing state information, and realizing playing the network media synchronously with the master media player.
  • FIG. 10 is a structural block diagram of a network media player in a ninth embodiment of the present invention.
  • the network media player is located on the host user client and can also be referred to as the master media player.
  • the network media player includes a transmission control information unit S10.
  • the network media player When the network media player supports the P2P function, the network media player further includes a send update message unit S20, a send network media unit S30, and a request network media unit S40.
  • the sending control information unit S10 is configured to send, to the controlled media player, the currently played network media address, the playing progress information, and the playing state information, where the network media address is the address of the network media, and the playing progress information is the current playing position of the network media.
  • the information, the playing status information is the current playing status information of the network media.
  • the sending update message unit S20 is configured to receive respective download progress information sent by other media players that participate in synchronous play, where the download progress information refers to progress information of downloading the network media from the network media address.
  • the sending network media unit S30 is configured to send download progress information of other network media players received according to the sending update message unit S20 to other network media when the download progress of the network media player is greater than the download progress of other network media players participating in the synchronous play.
  • the player sends the downloaded network media.
  • the requesting network media unit S40 is configured to request the other network media players according to the download progress information of the other network media players received by the sending update message unit S20 when the download progress of the network media player is less than the other network media players that are added to the synchronous play.
  • the currently playing network media can also be used to send download progress information to other media players that participate in synchronous play, so that the update message unit of other media players can be based on the received download progress information of the local media player.
  • FIG. 11 is a structural block diagram of a network media player in a tenth embodiment of the present invention.
  • the network media player is located on the user side of the controlled user and can also be referred to as a controlled media player.
  • the network media player includes a reception control information unit S50 and an execution control information unit S60.
  • the network media player supports the P2P function, the network media player further includes a send update message unit S70, a send network media unit S80, and a request network media unit S90.
  • the receiving control information unit S50 is configured to receive a network media address, a play progress information, and a play status information currently played by the master media player sent by the master media player, where the network media address is an address of the network media, and the play progress information For the location information currently played by the network media, the play status information is the current play status information of the network media.
  • the execution control information unit S60 is configured to obtain, according to at least the network media address and the playing progress information received by the receiving control information unit S50, the corresponding content of the network media currently played by the master media player from the network media address, and execute the playing state information. The indicated operation enables the network media to be played in synchronization with the master media player.
  • the sending update message unit S70 is configured to send download progress information to other media players that participate in synchronous play, and receive respective download progress information sent by other media players added to the synchronized play, where the download progress information refers to downloading the network from the network media address. Media progress information.
  • the sending network media unit S80 is configured to send the download progress information of the other network media players received by the sending update message unit S70 to other network media when the download progress of the network media player is greater than the download progress of other network media players participating in the synchronous play. The player sends the downloaded network media.
  • the requesting network media unit S90 is configured to request the other network media players according to the download progress information of the other network media players received by the sending update message unit S70 when the download progress of the network media player is less than the other network media players that are added to the synchronous play.
  • the currently playing network media is configured to request the other network media players according to the download progress information of the other network media players received by the sending update message unit S70 when the download progress of the network media player is less than the other network media players that are added to the synchronous play. The currently playing network media.
  • the execution control information unit S60 includes a transmission request subunit S61, a reception network medium subunit S62, and an operation execution subunit.
  • the sending request subunit S61 is configured to send a request for obtaining the network medium to the network media address.
  • the receiving network media sub-unit S62 is configured to receive corresponding content of the network media from the network media address.
  • the operation execution subunit performs an operation of indicating the playback status information on the corresponding content of the network medium received by the network media subunit S62.
  • the network media player can be divided into a controlled media player and a master media player.
  • a network media player can include both a controlled media player and a master media player.
  • the method for realizing synchronous playback of network media in the embodiment of the present invention is applicable.
  • the master user sends the network media address, the play progress information, and the play status information to the controlled user, and the controlled user performs the continuous play, pause play, and the like indicated by the play status information according to the network media address and the play progress information, so that the user It can flexibly play online media synchronously to achieve good collaborative entertainment.
  • the P2P function is extended between users who play synchronously, the smoothness of synchronous playback is improved, and the system performance is correspondingly enhanced.
  • the network media content acquired by the controlled user is the same as the master user, that is, all from the network media address, so that the quality of the media signal obtained by the controlled user is The same is true for the master user.
  • the master user outputs the currently played network media content to the controlled user, and the controlled user obtains a lower quality of the media signal than the master user, and may also be in the media signal. Mixed with noise. It can be seen that the quality of the network media played by the controlled user in the embodiment of the present invention is higher than that of the prior art, so that the user experience of the controlled user during synchronous playback will be higher than that of the prior art, thereby achieving a good coordinated entertainment effect.
  • the access network bandwidth of the master user does not become a major factor affecting the audiovisual effect.

Abstract

A method for playing network media synchronously includes : receiving a network media address, playing schedule information and playing status information from a main controlling user; based on at least the playing schedule information, getting the corresponding content that the main controlling user is playing from the network media address; and playing the corresponding content according to the playing status information. A network media player is also disclosed in the present invention. By using the method and the network media player provided in the present invention, controlled users can play network media synchronously with the main controlling user.

Description

网络媒体同步播放方法及网络媒体播放器  Network media synchronous playing method and network media player
技术领域 本发明涉及网络通信技术领域,具体的特别涉及一种网络媒体同步播放方法及网络媒体 播放器。 背景技术 The present invention relates to the field of network communication technologies, and in particular, to a network media synchronous playback method and a network media player. Background technique
网络媒体播放器是一种不需要计算机本地硬盘保存媒体文件,就能够直接从网络中获取 媒体资源并进行实时播放的工具, 现有多种媒体编码格式, 如 MP3、 WMA、 RM、 ASF等, 都支持网络媒体播放器这种边下载边播放的工作模式。 利用网络媒体播放器, 不仅可以方便 用户的操作, 而且能够节约本地资源。 在利用网络媒体播放器播放网络媒体时, 网络地址可 以是统一资源定位 URL地址, 也可以是点对点网络技术 P2P的网络种子。 以网络音乐播放 器为例, 可以利用 P2P网络在线播放海量音乐, 也可以使用固定的音乐服务器稳定地向用户 提供服务, 还可以通过搜索引擎获取所需音乐的 URL地址, 从而实现在线播放的功能, 使 用户能够方便快捷地欣赏最新最全的音乐。  The network media player is a tool that can directly obtain media resources and perform real-time playback from the network without saving the media files on the computer local hard disk. There are various media encoding formats, such as MP3, WMA, RM, ASF, etc. Both support the network media player to play while playing and playing. The use of a network media player not only facilitates user operations, but also saves local resources. When playing network media using a network media player, the network address may be a uniform resource location URL address, or may be a peer-to-peer network technology P2P network seed. Taking a network music player as an example, a P2P network can be used to play massive music online, or a fixed music server can be used to stably provide services to users, and a search engine can also obtain a URL address of a desired music, thereby realizing online play. , to enable users to quickly and easily enjoy the latest and most complete music.
随着网络媒体播放器的应用普及, 出现了一种新的用户需求, 即用户希望能够与其他用 户,如好友用户同步视听同一网络媒体。即当运行在主控用户客户端上的网络媒体播放器(可 简称为主控用户或主控媒体播放器)播放一网络媒体时, 运行在其受控用户客户端上的网络 媒体播放器(可简称为受控用户或受控媒体播放器)也能自动同步播放与主控媒体播放器相 同的网络媒体。 发明内容  With the popularity of network media players, a new user demand has emerged, that is, users want to be able to simultaneously view and listen to the same network media with other users, such as friends. That is, when a network media player (referred to as a master user or a master media player) running on the master user client plays a network media, the network media player running on its controlled user client ( It can be referred to as a controlled user or a controlled media player. It can also automatically play the same network media as the master media player. Summary of the invention
本发明实施例提供了一种实现网络媒体同步播放的方法, 以实现网络媒体的同步播放。 本发明实施例还提供一种网络媒体播放器, 以实现与其他网络媒体播放器的同步播放。 本发明实施例提供的一种实现网络媒体同步播放方法包括:  The embodiment of the invention provides a method for realizing synchronous playback of network media, so as to realize synchronous play of network media. The embodiment of the invention further provides a network media player to realize synchronous play with other network media players. A method for implementing synchronous playback of a network media according to an embodiment of the present invention includes:
接收来自主控用户的网络媒体地址、 播放进度信息和播放状态信息;  Receiving a network media address, playback progress information, and play status information from the master user;
至少根据所述播放进度信息,从所述网络媒体地址处获取所述主控用户当前播放的网络 媒体相应内容; 以及  Obtaining, according to the playback progress information, the corresponding content of the network media currently played by the master user from the network media address;
根据所述播放状态信息播放获取到的网络媒体相应内容。  And playing the obtained corresponding content of the network media according to the playing state information.
本发明实施例提供的一种网络媒体播放器包括: 第一单元, 用于接收来自主控媒体播放器的网络媒体地址、 播放进度信息和播放状态信 息; A network media player provided by an embodiment of the present invention includes: a first unit, configured to receive a network media address, play progress information, and play status information from the master media player;
第二单元, 用于至少根据所述播放进度信息, 从所述网络媒体地址处获取所述主控媒体 播放器当前播放的网络媒体相应内容,并根据所述播放状态信息播放获取到的网络媒体相应 内容。  a second unit, configured to acquire, according to the play progress information, the corresponding content of the network media currently played by the master media player from the network media address, and play the acquired network media according to the play state information Corresponding content.
本发明实施例提供的一种网络媒体播放器包括:  A network media player provided by an embodiment of the present invention includes:
第一单元, 用于向受控媒体播放器发送当前播放的网络媒体地址、 播放进度信息和播放 状态信息。  The first unit is configured to send the currently played network media address, play progress information, and play status information to the controlled media player.
应用本发明实施例提供的网络媒体同步播放方法以及网络媒体播放器,主控用户通过将 网络媒体地址、 播放进度信息以及播放状态信息发送给受控用户, 受控用户至少根据网络媒 体地址和播放进度信息, 执行播放状态信息指示的操作, 如持续播放、 暂停播放, 从而实现 主控用户与受控用户的同步播放。 附图简要说明 图 1为现有技术中网络媒体播放器的工作流程图。  The network media synchronous playing method and the network media player provided by the embodiment of the present invention, the master user sends the network media address, the playing progress information, and the playing state information to the controlled user, and the controlled user at least according to the network media address and playing. The progress information, the operation indicated by the playing status information, such as continuous playing and pause playing, thereby realizing synchronous play of the master user and the controlled user. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a flow chart showing the operation of a network media player in the prior art.
图 2为本发明第一实施例中实现网络媒体同步播放的方法流程图。  FIG. 2 is a flowchart of a method for implementing synchronous playback of a network medium according to a first embodiment of the present invention.
图 3为本发明第二实施例中实现网络媒体同步播放的方法流程图。  FIG. 3 is a flowchart of a method for implementing synchronous playback of network media in a second embodiment of the present invention.
图 4为本发明第三实施例中实现网络媒体同步播放的方法流程图。  FIG. 4 is a flowchart of a method for implementing synchronous playback of network media in a third embodiment of the present invention.
图 5为本发明第四实施例中实现网络媒体同步播放的方法流程图。  FIG. 5 is a flowchart of a method for implementing synchronous playback of a network medium according to a fourth embodiment of the present invention.
图 6为本发明第五实施例中实现网络媒体同步播放的方法流程图。  FIG. 6 is a flowchart of a method for implementing synchronous playback of network media in a fifth embodiment of the present invention.
图 7为本发明第六实施例中实现网络媒体同步播放的方法流程图。  FIG. 7 is a flowchart of a method for implementing synchronous playback of a network medium according to a sixth embodiment of the present invention.
图 8为本发明第七实施例中实现网络媒体同步播放的方法流程图。  FIG. 8 is a flowchart of a method for implementing synchronous playback of a network medium according to a seventh embodiment of the present invention.
图 9为本发明第八实施例中实现网络媒体同步播放的系统框图。  FIG. 9 is a system block diagram of implementing synchronous playback of network media in an eighth embodiment of the present invention.
图 10为本发明第九实施例中网络媒体播放器的结构框图。  FIG. 10 is a structural block diagram of a network media player in a ninth embodiment of the present invention.
图 11为本发明第十实施例中网络媒体播放器的结构框图。 实施本发明的方式 为了使本技术领域的人员更好地理解本发明实施例的方案,并使本发明实施例的上述目 的、 特征和优点能够更加明显易懂, 下面结合附图和具体实施方式对本发明作进一步详细的 说明。  FIG. 11 is a structural block diagram of a network media player in a tenth embodiment of the present invention. The embodiments of the present invention will be better understood, and the objects, features, and advantages of the embodiments of the present invention will become more apparent. The invention is further illustrated in detail.
图 1为现有技术中网络媒体播放器的工作流程图。 现有的网络媒体播放器在工作时, 将 本地计算机对显卡或声卡输出的实时釆样作为输入, 并编码发送到远程用户, 以此来实现网 络媒体的实时同步共享。 如图 1所示, 以两个用户之间实现视听同步为例说明现有的网络媒 体播放器的工作流程。 FIG. 1 is a flowchart of the operation of a network media player in the prior art. Existing network media player will work when The local computer takes the real-time sample output of the graphics card or the sound card as an input, and sends the code to the remote user, thereby realizing the real-time synchronous sharing of the network media. As shown in FIG. 1 , the workflow of the existing network media player is illustrated by taking audio and video synchronization between two users as an example.
步骤 101: 用户 A使用网络媒体播放器在本地计算机上播放网络中的影音文件。  Step 101: User A uses a network media player to play audio and video files on the network on the local computer.
步骤 102: 本地计算机的声卡和显卡在输出影音文件信号的同时, 对该信号进行釆集。 步骤 103: 将釆集到的信号进行压缩编码后通过网络传输至用户 B。  Step 102: The sound card and the graphics card of the local computer collect the video file signal while collecting the signal. Step 103: Compress and encode the collected signal and transmit it to user B through the network.
步骤 104: 用户 B使用的本地计算机接收到该信号后对其进行解码。  Step 104: The local computer used by User B decodes the signal after receiving it.
步骤 105: 将解码后的多媒体数据输入本地计算机的声卡或显卡, 实现用户之间的同步 视听。  Step 105: Input the decoded multimedia data into a sound card or a video card of the local computer to realize synchronous viewing between users.
由此可见, 本申请的发明人发现现有的网络媒体播放器播放的媒体内容时, 由于需要经 过输出后再釆样, 使得媒体信号的质量下降; 另外直接釆样后的媒体数据包括本地计算机上 当前播放的所有声音,也可能包括杂音,因此本地计算机上其它应用会干扰同步视听的效果; 再则由于用户接入带宽往往较小, 当用户试图与多个其他用户同步视听的时候, 网络带宽容 易成为视听效果的瓶颈。  It can be seen that the inventor of the present application finds that the media content played by the existing network media player is degraded, so that the quality of the media signal is degraded; and the media data directly after the sample includes the local computer. All the currently playing sounds may also include noise, so other applications on the local computer may interfere with the effect of synchronous audio and video; and because the user access bandwidth is often small, when the user tries to synchronize with other users, the network Bandwidth is a bottleneck for audiovisual effects.
在本发明实施例提供的实现网络媒体同步视听的方法中,主控用户向加入同步视听的受 控用户发送当前播放的网络媒体的地址、 播放进度信息和播放状态信息。 具体的, 网络媒体 地址为所述主控用户当前播放的网络媒体的地址;播放状态信息为网络媒体当前的播放状态 信息, 可以是持续播放、 暂停播放、 向前拖动播放、 或向后拖动播放、 快进播放以及快退播 放等中的一种; 播放进度信息指网络媒体前播放的位置信息。 受控用户至少根据播放进度信 息, 从网络媒体地址处获取主控用户当前播放的网络媒体相应内容, 并对所述获取到的网络 媒体的相应内容执行与所述播放状态信息中播放状态相同的操作,从而实现与主控用户同步 视听同一网络媒体。  In the method for realizing synchronous viewing of network media provided by the embodiment of the present invention, the master user sends the address, playing progress information, and playing state information of the currently played network media to the controlled user joining the synchronized audiovisual. Specifically, the network media address is an address of the network media currently played by the master user; the play state information is current play state information of the network media, and may be continuous play, pause play, forward drag play, or drag backward One of moving play, fast forward play, and fast reverse play; play progress information refers to the position information played before the network media. The controlled user obtains the corresponding content of the network media currently played by the master user from the network media address according to the playback progress information, and performs the same playing state in the playback state information as the corresponding content of the acquired network media. Operation, so as to synchronize the same network media with the master user.
图 2为本发明第一实施例中实现网络媒体同步播放的方法流程图。 如图 2所示, 该方法 流程图如下:  FIG. 2 is a flowchart of a method for implementing synchronous playback of a network medium according to a first embodiment of the present invention. As shown in Figure 2, the flow chart of the method is as follows:
步骤 201: 主控用户向加入同步播放的受控用户发送其当前播放的网络媒体地址、 播放 状态信息和播放进度信息。  Step 201: The master user sends the currently played network media address, play status information, and play progress information to the controlled user who joins the synchronized play.
其中, 受控用户可以是主动向主控用户发送请求加入同步播放, 也可以是由主控用户邀 请加入同步播放。  The controlled user may actively send a request to the master user to join the synchronous play, or may be invited by the master user to join the synchronous play.
步骤 202: 受控用户至少根据网络媒体地址、 播放进度信息, 从网络媒体地址对应的服 务器获取该网络媒体的当前播放内容, 执行播放状态信息指示的操作, 实现与主控用户同步 播放网络媒体。 在某些情况下, 受控用户需要根据网络媒体地址、 播放进度信息以及播放状态信息, 从 网络媒体地址对应的服务器获取该网络媒体的当前播放内容。 Step 202: The controlled user acquires the current playing content of the network media from the server corresponding to the network media address according to the network media address and the playing progress information, and performs the operation indicated by the playing state information, so as to synchronously play the network media with the master user. In some cases, the controlled user needs to obtain the current playing content of the network media from the server corresponding to the network media address according to the network media address, the playing progress information, and the playing state information.
当播放状态信息为持续播放时,受控用户向网络媒体地址对应的服务器发送获取网络媒 体的请求, 该请求中包含该网络媒体播放进度信息; 服务器读取该网络媒体播放进度信息, 并将该网络媒体中由播放进度信息标识的在当前播放位置之后的数据帧内容发送至受控用 户; 受控用户根据播放状态信息播放获取到的网络媒体相应内容, 此时即为持续播放所述获 取到的所述网络媒体中由播放进度信息标识的在当前播放位置之后的数据帧内容。  When the playing status information is continuous playing, the controlled user sends a request for acquiring the network media to the server corresponding to the network media address, where the request includes the network media playing progress information; the server reads the network media playing progress information, and the The content of the data frame after the current play position identified by the play progress information in the network media is sent to the controlled user; the controlled user plays the corresponding content of the obtained network media according to the play status information, and the obtained content is continuously played. The content of the data frame after the current play position identified by the play progress information in the network medium.
当播放状态信息为向前拖动播放或向后拖动播放时,该播放状态信息中还进一步包含向 前拖动或向后拖动的位置偏移信息。受控用户向网络媒体地址对应的服务器发送获取网络媒 体的请求, 该请求中包含播放进度信息以及播放状态信息。 服务器读取该网络媒体的播放进 度信息, 并以播放进度信息所标识的当前播放位置为基准, 根据播放状态信息中包含的向前 或向后拖动的位置偏移信息计算得到的播放起点, 然后将网络媒体中新的播放起点后续的数 据帧内容发送至受控用户; 受控用户根据播放状态信息播放获取到的网络媒体相应内容, 即 向前拖动播放或向后拖动播放所述网络媒体中新的播放起点后续的数据帧内容。  When the playback status information is dragged forward or backward, the playback status information further includes position offset information that is dragged forward or backward. The controlled user sends a request for obtaining the network media to the server corresponding to the network media address, and the request includes the play progress information and the play status information. The server reads the playing progress information of the network media, and uses the current playing position identified by the playing progress information as a reference, and calculates a playing start point according to the positional offset information of the forward or backward drag included in the playing state information. Then, the content of the data frame subsequent to the new playback starting point in the network media is sent to the controlled user; the controlled user plays the corresponding content of the obtained network media according to the playing state information, that is, dragging forward or backward dragging and playing The content of the data frame following the new playback starting point in the network media.
当播放状态信息为快进 /快退播放, 受控用户向网络媒体地址对应的服务器发送获取网 络媒体的请求, 该请求中包含该网络媒体播放进度信息以及播放状态信息。 服务器读取该网 络媒体的播放进度信息, 将网络媒体中播放进度信息所标识的当前播放位置为起点, 当前播 放位置之后 /之前的数据帧内容发送至受控用户。 受控用户根据播放状态信息播放获取到的 网络媒体相应内容, 即快进 /快退播放网络媒体中以播放进度信息所标识的当前播放位置为 起点, 当前播放位置之后 /之前的数据帧内容。  When the playing status information is fast forward/reverse playback, the controlled user sends a request for acquiring the network media to the server corresponding to the network media address, where the request includes the network media playing progress information and the playing status information. The server reads the playing progress information of the network media, and uses the current playing position identified by the playing progress information in the network media as the starting point, and the data frame content after/before the current playing position is sent to the controlled user. The controlled user plays the corresponding content of the obtained network media according to the playing state information, that is, the current playback position identified by the playback progress information in the fast forward/reverse playback network media as the starting point, and the data frame content after/before the current playing position.
当播放状态信息为暂停播放时,受控用户停止向网络媒体地址对应的服务器发送获取网 络媒体的请求; 网络媒体地址对应的服务器停止向该受控用户发送网络媒体内容; 受控用户 从播放进度信息处暂停播放该网络媒体。  When the playing status information is paused, the controlled user stops sending a request for obtaining the network media to the server corresponding to the network media address; the server corresponding to the network media address stops sending the network media content to the controlled user; The web media is paused at the information office.
主控用户和受控用户之间还可以利用 P2P功能来实现同步播放。即主控用户和受控用户 之间周期性向对方发送各自的下载进度信息,这里下载进度信息指从网络媒体地址下载网络 媒体的进度信息。这样主控用户和受控用户中下载进度慢的用户可以向下载进度快的用户请 求网络媒体的后续内容; 下载进度快的用户将已下载的网络媒体的后续内容发送至下载进度 'ft的用户。  The P2P function can also be used between the master user and the controlled user to achieve synchronous playback. That is, the master user and the controlled user periodically send their respective download progress information to the other party. Here, the download progress information refers to the progress information of downloading the network media from the network media address. In this way, the user whose download progress is slow in the master user and the controlled user can request the subsequent content of the network media to the user with fast download progress; the user who downloads the fast progress sends the subsequent content of the downloaded network media to the user who downloads the progress of theft .
当播放状态信息为暂停播放时,此时主控用户和受控用户之间也停止周期性向对方发送 各自的下载进度信息,且下载进度快的用户停止将已下载的网络媒体的后续内容发送至下载 进度慢的用户。 以上值得注意的是, 虽然本申请文件中使用的是 "网络媒体地址对应的服务器" , 但在 实际应用中,网络媒体地址对应的网络实体不限于服务器,如当网络媒体地址为 P2P种子时, 网络媒体地址对应的网络实体可能是与主控用户或受控用户所在的客户端,也可能是与主控 用户或受控用户所在的客户端对等的客户端。 When the play status information is paused, the master user and the controlled user also stop periodically sending their download progress information to the other party, and the user with fast download progress stops sending the subsequent content of the downloaded network media to Download slow progress users. It is to be noted that, although the server corresponding to the network media address is used in the present application, in actual applications, the network entity corresponding to the network media address is not limited to the server, for example, when the network media address is a P2P seed. The network entity corresponding to the network media address may be the client where the master user or the controlled user is located, or may be the client peering with the client where the master user or the controlled user is located.
另外, 值得注意的是, 在主控用户与受控用户的同步播放过程中, 步骤 201和步骤 202 至少会被执行一次。 在实际应用中, 可以周期性的执行步骤 201以及步骤 202, 也可以在受 控用户状态改变时执行步骤 201以及步骤 202。 在执行步骤 201时, 若主控用户当前播放的 网络媒体地址与上一次发送给受控用户的网络媒体地址相同时,主控用户可以不再向受控用 户发送该网络媒体地址, 这样就可以减少冗余信息的传输。  In addition, it is worth noting that in the synchronized play of the master user and the controlled user, step 201 and step 202 are executed at least once. In an actual application, step 201 and step 202 may be performed periodically, or step 201 and step 202 may be performed when the state of the controlled user changes. When the step 201 is performed, if the network media address currently played by the master user is the same as the network media address sent to the controlled user last time, the master user may no longer send the network media address to the controlled user, so that Reduce the transmission of redundant information.
在本发明的实施例中, 主控用户和受控用户中的任意一方都可以终止同步播放网络媒 体, 即受控用户可以主动或根据主控用户的指令终止同步播放所述网络媒体, 或者主控用户 可以主动或根据受控用户的指令终止同步播放所述网络媒体。  In an embodiment of the present invention, any one of the master user and the controlled user may terminate the synchronous play of the network media, that is, the controlled user may terminate the synchronous play of the network media according to an instruction of the master user, or the master The controlling user can terminate the synchronous playing of the network media actively or according to an instruction of the controlled user.
图 3为本发明第二实施例中实现网络媒体同步播放的方法流程图。该实施例示出了两个 用户之间持续播放某一网络媒体,从而实现同步播放的流程, 其中由受控用户 B向主控用户 A发送加入同步播放的请求。 如图 3所示, 该方法流程图如下:  FIG. 3 is a flowchart of a method for implementing synchronous playback of network media in a second embodiment of the present invention. This embodiment shows a process of continuously playing a certain network medium between two users, thereby realizing synchronous play, in which the controlled user B sends a request to join the synchronous play to the master user A. As shown in Figure 3, the method flow chart is as follows:
步骤 301: 主控用户 A从网络媒体提供方点播、 获取并且实时播放某一网络媒体。 步骤 302: 受控用户 B主动向主控用户 A发送加入同步播放的请求。  Step 301: The master user A requests, acquires, and plays a certain network media in real time from the network media provider. Step 302: The controlled user B actively sends a request to join the synchronous user to join the synchronous play.
步骤 303: 主控用户 A将当前播放的网络媒体的网络地址(即网络媒体在网络媒体提供 方的地址)和当前播放进度信息以及当前播放状态信息发送至受控用户 B。  Step 303: The controlling user A sends the network address of the currently played network media (that is, the address of the network media on the network media provider) and the current playing progress information and the current playing state information to the controlled user B.
步骤 304: 受控用户 B根据该网络媒体的网络地址和当前播放进度信息向网络媒体提供 方请求该网络媒体的当前播放内容, 其中请求中包含有该网络媒体的当前播放进度信息。  Step 304: The controlled user B requests the network media provider for the current playing content of the network media according to the network address of the network media and the current playing progress information, where the request includes current playing progress information of the network media.
具体的, 当前播放进度信息通常为该网络媒体的偏移信息, 该偏移信息是对应的网络媒 体的偏移量。 例如, 该网络媒体的大小为 3M字节, 且该网络媒体播放到 1M字节时对应的 时间为 50秒, 若此时受控用户 B加入, 则主控用户 A发送的播放进度信息就是该网络媒体 的偏移量, 即该网络媒体在 50秒处所对应内容的位置。  Specifically, the current play progress information is usually offset information of the network medium, and the offset information is an offset of the corresponding network medium. For example, the size of the network medium is 3 Mbytes, and the time corresponding to the network media playing to 1 Mbyte is 50 seconds. If the controlled user B joins at this time, the playback progress information sent by the controlling user A is The offset of the network media, that is, the location of the content corresponding to the network media at 50 seconds.
步骤 305: 网络媒体提供方根据该网络媒体当前播放进度信息, 发送该网络媒体的当前 播放内容到受控用户 B。  Step 305: The network media provider sends the current playing content of the network media to the controlled user B according to the current playing progress information of the network media.
具体的, 网络媒体提供方根据步骤 304中获得的播放进度信息, 从该网络媒体当前播放 进度处开始顺序发送该网络媒体到受控用户 B。  Specifically, the network media provider sequentially sends the network media to the controlled user B according to the playback progress information obtained in step 304 from the current playback progress of the network media.
下面以用户 A和用户 B同步收听网络中的一首 MP3歌曲为例, 详细说明本发明第二实 施例的实现过程。 在 MP3文件中包含多个顺序的音频数据帧, 数据帧之间的釆样率和长度 可以不同, 但无论数据帧的长度为多少, 每一数据帧对应的播放时间均为 26ms, 因此每个 MP3音频文件是由若干个 26ms的数据帧组成, 任意的播放时刻都对应了相关的数据帧。 In the following, the user A and the user B simultaneously listen to an MP3 song in the network as an example to describe the implementation process of the second embodiment of the present invention in detail. Multiple sequential audio data frames in an MP3 file, sample rate and length between data frames It can be different, but regardless of the length of the data frame, the playback time corresponding to each data frame is 26ms, so each MP3 audio file is composed of several 26ms data frames, and any playback time corresponds to the relevant data. frame.
用 户 A 通 过 搜 索 等 途 径 获 取 了 歌 曲 S 的 网 络 链 接 地 址 "http://192.168.0. l/music/words.mp3" 后, 用户 A使用网络音乐播放器根据该链接地址实时 获取并播放歌曲 S。  After user A obtains the network link address "http://192.168.0.l/music/words.mp3" of song S by searching, etc., user A uses the network music player to acquire and play the song S in real time according to the link address. .
用户 B向用户 A发送加入同步收听歌曲 S的请求; 用户 A接受用户 B的请求后, 向用 户 B返回歌曲 S的网络地址 "http:〃192.168.0. l/music/words.mp3" , 以及用户 Α当前收听歌 曲 S的播放进度信息。假设歌曲 S的大小为 3M字节, 而此时用户 A收听到 1M字节的数据 帧处, 贝' J "1M" 即为歌曲 S的播放进度信息。  User B sends a request to user A to join the synchronous listening to the song S; after accepting the request of the user B, the user A returns the network address "http: 〃192.168.0. l/music/words.mp3" of the song S to the user B, and The user Α currently listens to the playback progress information of the song S. Assume that the size of the song S is 3 Mbytes, and at this time, the user A listens to the data frame of 1 Mbyte, and the shell 'J "1M" is the playback progress information of the song S.
用 户 B 收到歌曲 S 的 网 络地址和播放进度信息后 , 向 网 络地址 User B receives the network address and playback progress information of song S, and then goes to the network address.
"http://192.168.0. l/music/words.mp3" 发送歌曲 S的内容请求, 该内容请求中携带歌曲 S的 当前播放进度信息 "1M" 。 这里用户 B还可以在内容请求中设置一个结束信息, 即表明向 网络地址 "http:〃192.168.0. l/music/words.mp3" 请求从当前播放进度信息到结束信息的数据 帧, 这里的结束信息可以是歌曲 S结尾处对应的信息, 也可以是一定数目的数据帧后所对应 的信息, 如 0.3M后所对应的信息。 "http://192.168.0. l/music/words.mp3" Sends the content request of song S, which carries the current playback progress information "1M" of song S. Here, user B can also set an end message in the content request, that is, requesting a data frame from the current playback progress information to the end information to the network address "http: 〃 192.168.0. l/music/words.mp3", where The end information may be information corresponding to the end of the song S, or may be information corresponding to a certain number of data frames, such as information corresponding to 0.3M.
网络媒体提供方的服务器 192.168.0.1 根据收到的内容请求, 从该服务器上读取文件 words. mP3从 1M字节起到结束信息处的媒体内容, 并将该媒体内容发送到用户 B。 The network media provider's server 192.168.0.1 reads the file word.m P 3 from the server to the media content at the end information according to the received content request, and sends the media content to the user B. .
用户 B接收到媒体内容后, 从歌曲 S的 1M字节处开始播放, 并且在播放期间, 用户 B 可以自动从服务器上获取该歌曲 S的后续数据帧, 实现持续并与用户 A同步播放该歌曲 S。  After receiving the media content, the user B starts playing from the 1 Mbyte of the song S, and during the playing, the user B can automatically acquire the subsequent data frame of the song S from the server, and the player continues to play the song synchronously with the user A. S.
图 4为本发明第三实施例中实现网络媒体同步播放的方法流程图。该实施例示出了两个 用户之间持续播放某一网络媒体,从而实现同步播放的流程,其中主控用户 A邀请受控用户 B加入同步播放。 如图 4所示, 该方法流程图如下:  FIG. 4 is a flowchart of a method for implementing synchronous playback of network media in a third embodiment of the present invention. This embodiment shows a process of continuously playing a certain network medium between two users, thereby realizing synchronous play, in which the master user A invites the controlled user B to join the synchronized play. As shown in Figure 4, the method flow chart is as follows:
步骤 401: 主控用户 A从网络媒体提供方点播、 获取并且实时播放某一网络媒体。 步骤 402: 主控用户 A邀请受控用户 B加入同步播放, 并将当前播放的网络媒体的网络 地址和当前播放进度信息以及当前播放状态信息发送至受控用户 B。  Step 401: The master user A requests, acquires, and plays a certain network media in real time from the network media provider. Step 402: The master user A invites the controlled user B to join the synchronous play, and sends the network address of the currently played network media, the current play progress information, and the current play status information to the controlled user B.
步骤 403: 受控用户 B收到该邀请后返回接受该邀请的信息到主控用户 A。 这里受控用 户 B也可以选择返回拒绝该邀请的信息到主控用户 A, 此时同步播放流程结束。  Step 403: After receiving the invitation, the controlled user B returns the information of accepting the invitation to the controlling user A. Here, the controlled user B can also choose to return the information rejecting the invitation to the controlling user A, and the synchronous playing process ends.
步骤 404: 受控用户 B根据该网络媒体的网络地址和当前播放进度信息向网络媒体提供 方请求该网络媒体的当前播放内容。  Step 404: The controlled user B requests the network media provider for the current playing content of the network media according to the network address of the network media and the current playing progress information.
步骤 405: 网络媒体提供方根据该网络媒体当前播放进度信息, 发送该网络媒体的当前 播放内容到受控用户 B。 当用户 A和用户 B同步播放网络中的一首 MP3歌曲时, 本发明第三实施例的具体实现 过程与第二实施例类似, 在此不再赘述, 不同点仅在于在本发明第三实施例中, 用户 A邀请 用户 B加入同步视听。 Step 405: The network media provider sends the current play content of the network media to the controlled user B according to the current play progress information of the network media. The specific implementation process of the third embodiment of the present invention is similar to that of the second embodiment when the user A and the user B play the same MP3 songs in the network. The details are not described here. The only difference lies in the third implementation of the present invention. In the example, User A invites User B to join the synchronized audiovisual.
图 5为本发明第四实施例中实现网络媒体同步播放的方法流程图。 在该实施例中, 当受 控用户 B 从网络媒体提供方获得网络媒体内容的速度较慢, 影响正常播放时, 通过扩展的 P2P功能持续播放网络媒体, 从而实现同步播放。 如图 5所示, 该方法流程图如下:  FIG. 5 is a flowchart of a method for implementing synchronous playback of a network medium according to a fourth embodiment of the present invention. In this embodiment, when the controlled user B obtains the network media content from the network media provider at a slower speed, affecting normal play, the network media is continuously played through the extended P2P function, thereby achieving synchronous play. As shown in Figure 5, the method flow chart is as follows:
步骤 501: 主控用户 A从网络媒体提供方点播、 获取并且实时播放某一网络媒体。 步骤 502: 受控用户 B主动向主控用户 A发送加入同步播放的请求; 也可以是主控用户 A邀请受控用户 B加入同步播放。  Step 501: The master user A requests, acquires, and plays a certain network media in real time from the network media provider. Step 502: The controlled user B actively sends a request for joining the synchronous play to the master user A. Alternatively, the master user A invites the controlled user B to join the synchronized play.
步骤 503: 主控用户 A将当前播放的网络媒体的网络地址和当前播放进度信息以及当前 播放状态信息发送至受控用户 B。  Step 503: The master user A sends the network address and current play progress information of the currently played network media and the current play status information to the controlled user B.
步骤 504: 受控用户 B根据该网络媒体的网络地址和当前播放进度信息向网络媒体提供 方请求该网络媒体的当前播放内容。  Step 504: The controlled user B requests the network media provider for the current playing content of the network media according to the network address of the network media and the current playing progress information.
步骤 505: 网络媒体提供方根据该网络媒体当前播放进度信息, 发送该网络媒体的当前 播放内容到受控用户 B。  Step 505: The network media provider sends the current playing content of the network media to the controlled user B according to the current playing progress information of the network media.
步骤 506: 主控用户 A和受控用户 B之间周期性发送自身的下载进度信息到对方, 下载 进度信息也可以称为数据更新消息。  Step 506: The master user A and the controlled user B periodically send their own download progress information to the other party, and the download progress information may also be referred to as a data update message.
这里下载进度是指已经从网络媒体提供方处下载的该网络媒体的数据帧,为了播放的流 畅, 通常下载的数据帧总是领先于当前播放的数据帧。  The download progress here refers to the data frame of the network media that has been downloaded from the network media provider. In order to play smoothly, the downloaded data frame is always ahead of the currently played data frame.
步骤 507:受控用户 B根据周期性交换的数据更新消息向主控用户 A请求由于网络故障 等原因下载速度慢于播放速度的后续网络媒体内容。  Step 507: The controlled user B requests the master user A to download the subsequent network media content that is slower than the playback speed due to a network failure or the like according to the periodically exchanged data update message.
步骤 508: 主控用户 A响应受控用户 B的请求,将已经下载的后续网络媒体内容对应的 数据帧发送给受控用户 B。  Step 508: The master user A sends the data frame corresponding to the downloaded network media content to the controlled user B in response to the request of the controlled user B.
仍以用户 A和用户 B同步收听网络中的一首 MP3歌曲为例, 详细说明本发明第四实施 例的实现过程。在该实现过程中,假设用户 B由于网络故障或带宽问题导致了下载进度慢于 当前播放进度, 而用户 A的下载速率正常。  Still, the user A and the user B simultaneously listen to an MP3 song in the network as an example, and the implementation process of the fourth embodiment of the present invention is described in detail. In this implementation process, it is assumed that user B has a slower download progress than the current playback progress due to network failure or bandwidth problem, and user A's download rate is normal.
用 户 A 通 过 搜 索 等 途 径 获 取 了 歌 曲 S 的 网 络 链 接 地 址 "http://192.168.0. l/music/words.mp3" 后, 用户 A使用网络音乐播放器根据该链接地址实时 获取并播放歌曲 S。  After user A obtains the network link address "http://192.168.0.l/music/words.mp3" of song S by searching, etc., user A uses the network music player to acquire and play the song S in real time according to the link address. .
用户 B向用户 A发送加入同步收听歌曲 S的请求。  User B sends a request to User A to join the simultaneous listening to the song S.
用 户 A 接受用 户 B 的请求后, 向用 户 B 返回歌曲 S 的网络地址 "http://192.168.0. l/music/words.mp3" , 以及用户 A当前收听歌曲 S的播放进度信息。 假设 歌曲 S的大小为 3M字节, 且此时用户 A收听到 1M字节的数据帧处, 则 1M即为歌曲 S的 播放进度信息。 User A returns the network address of song S to user B after accepting user B's request. "http://192.168.0.l/music/words.mp3" and the playback progress information of user A currently listening to song S. Assuming that the size of the song S is 3 Mbytes, and at this time, the user A listens to the data frame of 1 Mbyte, then 1M is the playback progress information of the song S.
用 户 B 收到歌曲 S 的 网 络地址和播放进度信息后 , 向 网 络地址 "http://192.168.0. l/music/words.mp3" 发送歌曲 S的内容请求, 该内容请求中携带歌曲 S的 当前播放进度信息 "1M" 和结束信息(这里的结束信息可以是歌曲 S结尾处对应的 3M, 也 可以是基于一定数目的数据帧的分批下载, 例如每隔 0.3M请求下载一次) 。  After receiving the network address and playback progress information of the song S, the user B sends a content request of the song S to the network address "http://192.168.0.l/music/words.mp3", and the content request carries the song S. The current play progress information "1M" and the end information (the end information here may be 3M corresponding to the end of the song S, or may be a batch download based on a certain number of data frames, for example, every 0.3M request download).
网络媒体提供方的服务器 192.168.0.1 根据收到的内容请求, 从该服务器上读取文件 words. mP3从 1M字节起到结束信息处的数据内容, 并将该数据内容发送到用户 B。 The network media provider's server 192.168.0.1 reads the file word.m P 3 from the server to the end of the data content according to the received content request, and sends the data content to user B. .
用户 B接收到数据内容后, 即从歌曲 S的 1M字节处开始播放, 并且在播放期间, 用户 After user B receives the data content, it starts playing from 1 Mbyte of song S, and during playback, the user
B可以自动从服务器上获取该歌曲 S的后续数据帧。 B can automatically obtain subsequent data frames of the song S from the server.
用户 A和用户 B周期性地向对方发送针对歌曲 S的下载进度信息作为该歌曲 S播放的 数据更新消息。  User A and User B periodically send download progress information for song S to the other party as a data update message for the song S playback.
用户 B由于与服务器 192.168.0.1的网络故障原因导致从该服务器上下载歌曲 S的进度 慢于播放歌曲 S的进度, 因此用户 B根据数据更新消息向用户 A请求播放歌曲 S所需要的 后续数据帧, 假设所请求的数据帧对应于歌曲 S的 1.6M-2.0M字节的数据内容。  User B's progress of downloading song S from the server is slower than the progress of playing song S due to network failure with server 192.168.0.1, so user B requests user A for subsequent data frames required to play song S according to the data update message. It is assumed that the requested data frame corresponds to the data content of 1.6M-2.0M bytes of the song S.
用户 A 由于下载进度较好, 因此接收到用户 B 的请求后, 将已经下载的歌曲 S 的 1.6M-2.0M字节的数据内容发送给用户 B,从而保证了在用户 B网络故障时实现与用户 A同 步收听歌曲 S。  User A, because the download progress is good, after receiving the request from user B, the data content of the downloaded song S of 1.6M-2.0M bytes is sent to user B, thereby ensuring the realization of the user B network failure. User A listens to the song S synchronously.
图 6为本发明第五实施例中实现网络媒体同步播放的方法流程图。该实施例示出了两个 用户之间持续播放某一网络媒体一段时间后, 暂停该网络媒体的播放, 从而实现同步播放的 流程。 如图 6所示, 该流程如下:  FIG. 6 is a flowchart of a method for implementing synchronous playback of network media in a fifth embodiment of the present invention. This embodiment shows a process of suspending playback of the network media after a certain user continuously plays a certain network medium for a period of time, thereby realizing synchronous playback. As shown in Figure 6, the process is as follows:
步骤 601: 主控用户 A暂停当前播放的网络媒体时, 同时发送该网络媒体的地址, 播放 进度信息和暂停状态信息等信息到受控用户 B。  Step 601: When the master user A pauses the currently playing network media, simultaneously sends the address of the network media, the play progress information, and the pause state information to the controlled user B.
步骤 602: 受控用户 B收到主控用户 A发送的信息后, 向网络媒体提供方中断请求该网 络媒体的后续内容。  Step 602: After receiving the information sent by the master user A, the controlled user B interrupts the network media provider to request the subsequent content of the network media.
特别的, 当主控用户 A和受控用户 B之间扩展了 P2P功能时, 受控用户 B在向网络媒 体提供方中断请求该网络媒体后续内容的同时,也停止与主控用户 A之间交换后续的网络媒 体内容数据帧。  In particular, when the P2P function is extended between the master user A and the controlled user B, the controlled user B stops the request to the network media provider and stops the content with the network user. Exchange subsequent network media content data frames.
步骤 603: 受控用户 B暂停该网络媒体内容的播放, 同时等待主控用户 A发送后续的播 放状态信息。 具体的, 主控用户 A在暂停播放该网络媒体内容一段时间后, 可以向用户 B发送的播 放状态信息包括继续播放的状态信息、或停止播放的状态信息、或向前拖动播放的状态信息、 或向后拖动播放的状态信息等。 Step 603: The controlled user B pauses the playing of the network media content, and waits for the controlling user A to send subsequent playing state information. Specifically, after the main control user A pauses playing the network media content for a period of time, the play status information that can be sent to the user B includes the status information of continuing to play, or the status information of stopping the play, or the status information of the forward drag play. , or drag the playback status information, etc. backwards.
在该第五实施例中,也可以由受控用户 B首先暂停当前网络媒体的播放,并发送停止同 步的状态信息到主控用户 A。  In the fifth embodiment, the controlled user B may also suspend the playback of the current network medium first, and send the status information of the stop synchronization to the master user A.
特别的,若受控用户 B首先停止当前网络媒体的播放,则表示其主动退出当前同步播放 状态, 则受控用户 B向主控用户 A发送停止同步的状态信息, 主控用户 A不再向受控用户 B发送后续播放状态信息,并且若两个用户之间扩展了 P2P功能,则主控用户 A也同时停止 向受控用户 B发送该网络媒体的数据更新消息。  In particular, if the controlled user B first stops playing the current network media, it indicates that it actively exits the current synchronized play state, and the controlled user B sends the state information of stopping the synchronization to the master user A, and the master user A no longer The controlled user B sends the subsequent play status information, and if the P2P function is extended between the two users, the master user A also stops sending the data update message of the network media to the controlled user B at the same time.
仍然以用户 A和用户 B同步收听网络中的一首 MP3歌曲为例, 详细说明第五实施例的 实现过程。  Still, the user A and the user B simultaneously listen to an MP3 song in the network as an example, and the implementation process of the fifth embodiment is described in detail.
用户 A与用户 B在持续同步收听了歌曲 S—段时间后, 用户 A暂停播放歌曲 S, 同时 向用户 B发送如下控制信息: 歌曲 S的网络地址 "http:〃192.168.0.1/music/words.mp3" , 歌 曲 S当前的播放进度信息(假设用户 A当前收听到歌曲 S的 2M字节内容处,则将信息" 2M" 作为播放进度信息) , 以及歌曲 S当前的播放状态信息(用户 A当前暂停播放该歌曲 S, 因 此该播放状态信息为停止播放 ) ;  After user A and user B continue to listen to the song for a period of time S, the user A pauses to play the song S, and simultaneously sends the following control information to the user B: The network address of the song S is "http: 〃192.168.0.1/music/words. Mp3" , the current playback progress information of the song S (assuming that the user A currently listens to the 2 Mbyte content of the song S, the information "2M" is used as the playback progress information), and the current playback status information of the song S (user A current Pause the song S, so the playback status information is to stop playing);
用户 B收到用户 A发送的控制信息后, 从该歌曲 S的播放进度信息以及播放状态信息 中获知, 用户 A在歌曲 S的 2M内容处暂停了播放, 因此用户 B不再向网络媒体提供方的 服务器 192.168.0.1请求该歌曲 S的后续内容; 若用户 A和用户 B之间扩展了 P2P功能, 则 用户 B除了停止向服务器 192.168.0.1请求歌曲 S的后续内容外, 同时停止与用户 A交换该 歌曲 S的 2M字节内容后的数据帧的更新消息;  After receiving the control information sent by the user A, the user B knows from the play progress information and the play status information of the song S that the user A pauses the play at the 2M content of the song S, so the user B no longer provides the network media provider. The server 192.168.0.1 requests the subsequent content of the song S; if the P2P function is extended between the user A and the user B, the user B stops the exchange of the user A in addition to the request to the server 192.168.0.1 for the subsequent content of the song S. An update message of the data frame after the 2 Mbyte content of the song S;
用户 A和用户 B同时暂停播放歌曲 S, 同时用户 B等待用户 A发送歌曲 S的后续播放 状态信息, 包括继续播放歌曲 S、 或停止播放歌曲 S、 或向前拖动播放歌曲 S、 或向后拖动 播放歌曲 S。  User A and User B simultaneously pause the playing of song S, while User B waits for User A to send subsequent playback status information of song S, including continuing to play song S, or stopping playing song S, or dragging forward playing song S, or backward Drag to play the song S.
图 7为本发明第六实施例中实现网络媒体同步播放的方法流程图。该实施例示出了三个 用户之间通过 P2P功能持续播放某一网络媒体,从而实现三个用户之间同步播放的流程, 其 中受控用户 C从网络媒体提供方获得网络媒体内容的速度较慢。 如图 7所示, 该流程如下: 步骤 701: 主控用户 A从网络媒体提供方点播、 获取并且实时播放某一网络媒体。 步骤 702: 受控用户 B主动向主控用户 A发送加入同步播放的请求。该步骤也可以是主 控用户 A邀请受控用户 B加入同步播放。  FIG. 7 is a flowchart of a method for implementing synchronous playback of a network medium according to a sixth embodiment of the present invention. This embodiment shows a process in which three users continuously play a certain network media through the P2P function, thereby realizing synchronous play between three users, wherein the controlled user C obtains the network media content from the network media provider at a slower speed. . As shown in FIG. 7, the process is as follows: Step 701: The master user A requests, retrieves, and plays a certain network media in real time from the network media provider. Step 702: The controlled user B actively sends a request for joining the synchronous play to the master user A. This step may also be that the controlling user A invites the controlled user B to join the synchronized play.
步骤 703: 主控用户 A将当前播放的网络媒体的网络地址和当前播放进度信息以及当前 播放状态信息发送至受控用户 B。 Step 703: The master user A sets the network address and current play progress information of the currently played network media and the current The playback status information is sent to the controlled user B.
步骤 704: 受控用户 B根据该网络媒体的网络地址和当前播放进度信息向网络媒体提供 方请求该网络媒体的当前播放内容。  Step 704: The controlled user B requests the network media provider for the current playing content of the network media according to the network address of the network media and the current playing progress information.
步骤 705: 网络媒体提供方根据该网络媒体当前播放进度信息, 发送该网络媒体的当前 播放内容到受控用户 B。  Step 705: The network media provider sends the current playing content of the network media to the controlled user B according to the current playing progress information of the network media.
步骤 706: 主控用户 A和受控用户 B之间周期性发送下载进度信息到对方,将这些信息 作为数据更新消息。  Step 706: The master user A and the controlled user B periodically send the download progress information to the other party, and use the information as a data update message.
步骤 707:受控用户 B根据周期性交换的数据更新消息向主控用户 A请求由于网络故障 等原因下载速度慢于播放速度的后续网络媒体内容。  Step 707: The controlled user B requests the master user A to download the subsequent network media content that is slower than the playback speed due to a network failure or the like according to the periodically exchanged data update message.
步骤 708: 主控用户 A响应受控用户 B的请求,将已经下载的后续网络媒体内容对应的 数据帧发送给受控用户 B。  Step 708: The master user A sends the data frame corresponding to the downloaded network media content to the controlled user B in response to the request of the controlled user B.
步骤 709: 受控用户 C主动向主控用户 A发送加入同步播放的请求。该步骤也可以是主 控用户 A邀请受控用户 C加入同步播放。  Step 709: The controlled user C actively sends a request to the master user A to join the synchronous play. This step may also be that the host user A invites the controlled user C to join the synchronized play.
步骤 710: 主控用户 A将当前播放的网络媒体的网络地址、 当前播放进度信息、 当前同 步播放的主控用户 A和受控用户 B的网络地址和端口发送至受控用户 C。  Step 710: The controlling user A sends the network address of the currently played network media, the current playing progress information, the network address and port of the currently playing master user A and the controlled user B to the controlled user C.
步骤 711: 主控用户 A、 受控用户 B和受控用户 C之间周期性发送自身的下载进度信息 到另外两方, 并将这些信息作为数据更新消息。  Step 711: The master user A, the controlled user B, and the controlled user C periodically send their own download progress information to the other two parties, and use the information as a data update message.
步骤 712: 受控用户 C根据周期性交换的数据更新消息向主控用户 A和受控用户 B请 求由于网络故障等原因下载速度慢于播放速度的后续网络媒体内容。  Step 712: The controlled user C requests the master user A and the controlled user B to download the subsequent network media content that is slower than the playback speed due to a network failure or the like according to the periodically exchanged data update message.
步骤 713: 主控用户 A和受控用户 B响应受控用户 C的请求, 将已经下载的后续网络 媒体内容对应的数据帧发送给受控用户 C。  Step 713: The master user A and the controlled user B send the data frame corresponding to the downloaded network media content to the controlled user C in response to the request of the controlled user C.
三个以上的用户持续播放某一网络媒体,从而实现同步播放的步骤和过程与上述实施例 六类似, 在此不再赘述。  The steps and the process for the three or more users to continuously play a certain network media, so as to realize the synchronous play, are similar to the above-mentioned Embodiment 6, and are not described herein again.
以用户 A、 用户 B和用户 C同步收听网络中的一首 MP3歌曲为例, 详细说明第六实施 例的实现过程。在该实现过程中,假设用户 C由于网络故障或带宽问题导致了下载进度慢于 当前播放进度。  Taking the user A, the user B, and the user C to simultaneously listen to an MP3 song in the network as an example, the implementation process of the sixth embodiment will be described in detail. In this implementation, it is assumed that user C is slower than the current playback progress due to network failure or bandwidth issues.
用 户 A 通 过 搜 索 等 途 径 获 取 了 歌 曲 S 的 网 络 链 接 地 址 "http://192.168.0. l/music/words.mp3" 后, 用户 A使用网络音乐播放器根据该链接地址实时 获取并播放歌曲 S;  After user A obtains the network link address "http://192.168.0.l/music/words.mp3" of song S by searching, etc., user A uses the network music player to acquire and play the song S in real time according to the link address. ;
用户 B向用户 A发送加入同步收听歌曲 S的请求。  User B sends a request to User A to join the simultaneous listening to the song S.
用 户 A 接受用 户 B 的请求后, 向用 户 B 返回歌曲 S 的网络地址 "http://192.168.0. l/music/words.mp3" , 以及用户 A当前收听歌曲 S的播放进度信息, 假设 歌曲 S的大小为 3M字节, 而此时用户 A收听到 1M字节的数据帧处, 则 1M即为歌曲 S的 播放进度信息。 User A returns the network address of song S to user B after accepting user B's request. "http://192.168.0.l/music/words.mp3" , and the playback progress information of the user A currently listening to the song S, assuming that the size of the song S is 3 Mbytes, and at this time, the user A listens to 1 Mbyte. At the data frame, 1M is the playback progress information of the song S.
用 户 B 收到歌曲 S 的 网 络地址和播放进度信息后 , 向 网 络地址 "http://192.168.0. l/music/words.mp3" 发送歌曲 S的内容请求, 该内容请求中携带歌曲 S的 当前播放进度信息 "1M" 和结束信息。  After receiving the network address and playback progress information of the song S, the user B sends a content request of the song S to the network address "http://192.168.0.l/music/words.mp3", and the content request carries the song S. The current progress information "1M" and the end information are played.
网络媒体提供方的服务器 192.168.0.1 根据收到的内容请求, 从该服务器上读取文件 words. mp3从 1M字节起到结束信息处的数据内容, 并将该数据内容发送到用户 B。  The network media provider's server 192.168.0.1 reads the file words.mp3 from 1Mbytes to the end information according to the received content request, and sends the data content to user B.
用户 B接收到数据内容后, 即从歌曲 S的 1M字节处开始播放, 并且在播放期间, 用户 B可以自动从服务器上获取该歌曲 S的后续数据帧。  After receiving the data content, User B starts playing from 1 Mbyte of song S, and during playback, User B can automatically acquire subsequent data frames of the song S from the server.
用户 A和用户 B周期性地向对方发送歌曲 S的播放进度信息、 播放状态信息以及下载 进度信息作为该歌曲 S播放的数据更新消息。  The user A and the user B periodically transmit the play progress information, the play status information, and the download progress information of the song S to the other party as the data update message played by the song S.
用户 B由于与服务器 192.168.0.1的网络故障原因导致从该服务器上下载歌曲 S的进度 慢于播放歌曲 S的进度, 因此用户 B根据数据更新消息向用户 A请求播放歌曲 S所需要的 后续数据帧, 假设所请求的数据帧对应于歌曲 S的 1.5M-2.0M字节的数据内容。  User B's progress of downloading song S from the server is slower than the progress of playing song S due to network failure with server 192.168.0.1, so user B requests user A for subsequent data frames required to play song S according to the data update message. , assuming that the requested data frame corresponds to 1.5M-2.0M bytes of data content of the song S.
用户 A 由于下载进度较好, 因此接收到用户 B 的请求后, 将已经下载的歌曲 S 的 1.5M-2.0M字节的数据内容发送给用户 B,从而保证了在用户 B网络故障时实现与用户 A同 步收听歌曲 S。  User A, because the download progress is good, after receiving the request from user B, the data content of the downloaded song S of 1.5M-2.0M bytes is sent to user B, thereby ensuring the realization of the user B network failure. User A listens to the song S synchronously.
用户 C获知用户 A当前的听歌状态后, 向用户 A发送加入同步收听歌曲 S的请求。 用 户 A 接受用 户 C 的请求后, 向用 户 C 返回歌曲 S 的网络地址 After the user C knows the current listening state of the user A, the user A sends a request to join the synchronous listening to the song S. User A returns the network address of song S to user C after accepting user C's request.
"http://192.168.0. l/music/words.mp3" , 用户 Α当前收听歌曲 S的播放进度信息, 假设此时 用户 A收听到 1.5M字节的数据帧处, 则 1.5M即为歌曲 S的播放进度信息, 同时还向用户 C返回用户 A与用户 B的网络地址和端口信息。 "http://192.168.0. l/music/words.mp3" , the user Α currently listens to the playback progress information of the song S, assuming that the user A listens to the 1.5 Mbyte data frame at this time, then 1.5 M is The playback progress information of the song S also returns the network address and port information of the user A and the user B to the user C.
用户 A、 用户 B和用户 C之间周期性地发送歌曲 S的播放进度信息、 播放状态信息以 及下载进度信息作为该歌曲 S播放的数据更新消息。  The playback progress information, the playback status information, and the download progress information of the song S are periodically transmitted between the user A, the user B, and the user C as the data update message played by the song S.
用户 C由于与服务器 192.168.0.1的网络故障原因导致从该服务器上下载歌曲 S的进度 慢于播放歌曲 S的进度, 因此用户 C根据数据更新消息向用户 A和用户 B中下载进度快于 自己的用户请求播放歌曲 S 所需要的后续数据帧, 假设所请求的数据帧对应于歌曲 S 的 2.0M-2.5M字节的数据内容。  The progress of downloading the song S from the server by the user C due to the network failure of the server 192.168.0.1 is slower than the progress of playing the song S, so the user C downloads the progress to the user A and the user B faster than the user according to the data update message. The user requests a subsequent data frame required for playing the song S, assuming that the requested data frame corresponds to 2.0M-2.5M bytes of data content of the song S.
用户 A 由于下载进度较好, 因此接收到用户 C 的请求后, 将已经下载的歌曲 S 的 User A will download the song S after receiving the request from user C because the download progress is good.
2.0M-2.5M字节的数据内容发送给用户 C,从而保证了在用户 C网络故障时实现与用户 A和 用户 B同步收听歌曲 S。 The data content of 2.0M-2.5M bytes is sent to the user C, thereby ensuring the realization of the user A and the user C network failure. User B listens to song S synchronously.
由此可见, 当受控用户与加入同步播放的其他用户之间扩展了 P2P功能时, 受控用户接 收分别由加入同步播放的其他用户发送的各自的下载进度信息。并且受控用户根据加入同步 播放的其他用户各自的下载进度信息,将已下载的网络媒体的后续内容发送至比其下载进度 慢的其他用户; 或向比其下载进度快的其他用户请求网络媒体的后续内容。 当然实际应用中 受控用户也会分别向加入同步播放的其他用户发送的自身的下载进度信息。  It can be seen that when the P2P function is extended between the controlled user and other users who join the synchronous play, the controlled user receives the respective download progress information respectively sent by other users who join the synchronous play. And the controlled user sends the subsequent content of the downloaded network media to other users whose download progress is slower according to the download progress information of other users who join the synchronous play; or requests the network media from other users whose download progress is faster. Follow-up content. Of course, in the actual application, the controlled users will also send their own download progress information to other users who join the synchronous play.
这里加入同步播放的其他用户包括主控用户(如用户 A )或 /和主控用户的其他受控用户 (如用户 C ) 。  Other users who join synchronous play here include the master user (such as user A) or / and other controlled users of the master user (such as user C).
图 8为本发明第七实施例中实现网络媒体同步播放的方法流程图。该实施例示出了三个 用户之间利用封闭的 P2P网络,持续播放某一网络媒体一段时间后暂停播放该网络媒体, 从 而实现同步播放的流程。 如图 8所示, 该流程如下:  FIG. 8 is a flowchart of a method for implementing synchronous playback of a network medium according to a seventh embodiment of the present invention. This embodiment shows a process in which a closed P2P network is used between three users to continuously play a certain network medium and then pause the playback of the network medium, thereby realizing synchronous playback. As shown in Figure 8, the process is as follows:
步骤 801: 主控用户 A暂停当前播放的网络媒体时, 同时向受控用户 B和受控用户 C 发送该网络媒体的地址、 播放进度信息和暂停状态信息等信息。  Step 801: When the master user A pauses the currently playing network media, the host user B and the controlled user C simultaneously send the network media address, the play progress information, and the pause state information.
步骤 802: 受控用户 B和受控用户 C收到主控用户 A发送的信息后, 向网络媒体提供 方中断请求该网络媒体的后续内容, 同时停止用户之间发送的网络媒体的数据更新消息。  Step 802: After receiving the information sent by the master user A, the controlled user B and the controlled user C interrupt the request for the subsequent content of the network media to the network media provider, and stop the data update message of the network media sent between the users. .
步骤 803: 受控用户 B和受控用户 C暂停该网络媒体内容的播放, 同时等待主控用户 A 发送后续的播放状态信息。  Step 803: The controlled user B and the controlled user C pause the playing of the network media content, and wait for the controlling user A to send subsequent playing state information.
具体的, 主控用户 A在暂停播放该网络媒体内容一段时间后, 可以向用户 B和用户 C 发送的播放状态信息包括继续播放的状态信息、 或停止播放的状态信息、 或向前拖动播放的 状态信息、 或向后拖动播放的状态信息等。  Specifically, after the main control user A pauses playing the network media content for a period of time, the play status information that can be sent to the user B and the user C includes status information to continue playing, or status information to stop playing, or drag forward to play. Status information, or drag status information for playback backwards, etc.
在该实施例七中, 也可以由受控用户 B或受控用户 C中的任意一个首先暂停当前网络 媒体的播放, 并发送相关的控制信息到其它用户。  In the seventh embodiment, the playback of the current network medium can be first suspended by any one of the controlled user B or the controlled user C, and the related control information can be sent to other users.
特别的, 若受控用户 B或受控用户 C首先停止当前网络媒体的播放, 则表示其主动退 出当前同步播放状态, 则该受控用户向主控用户 A发送停止同步的状态信息, 主控用户 A 不再向该受控用户发送后续播放状态信息。  In particular, if the controlled user B or the controlled user C first stops the playing of the current network media, it indicates that it actively exits the current synchronized playing state, and the controlled user sends the state information of stopping the synchronization to the controlling user A, the master control User A no longer sends subsequent playback status information to the controlled user.
三个以上的用户暂停某一网络媒体的播放,从而实现同步播放的步骤和过程与上述实施 例七类似, 在此不再赘述。  The steps and the process of the synchronous play by the three or more users to suspend the playback of a certain network media are similar to the above-mentioned Embodiment 7, and are not described herein again.
仍然以用户 A、 用户 B和用户 C同步收听网络中的一首 MP3歌曲为例, 详细说明第七 实施例的实现过程。  Still, the user A, the user B, and the user C simultaneously listen to an MP3 song in the network as an example, and the implementation process of the seventh embodiment is described in detail.
用户 A、 用户 B和用户 C在持续同步收听了歌曲 S—段时间后, 用户 A暂停播放歌曲 User A, User B, and User C paused to play the song after continuously listening to the song for a period of S.
S , 同 时向用 户 B 和用 户 C 发送如下控制信息: 歌曲 S 的 网络地址 "http://192.168.0. l/music/words.mp3" , 歌曲 S当前的播放进度信息(假设用户 A当前收听 到歌曲 S的 2M字节内容处, 则将信息 "2M" 作为播放进度信息) , 以及歌曲 S当前的播 放状态信息 (用户 A当前暂停播放该歌曲 S, 因此该播放状态信息为暂停播放) ; S, send the following control information to User B and User C at the same time: Network address of song S "http://192.168.0. l/music/words.mp3" , the current playback progress information of the song S (assuming that the user A currently listens to the 2 Mbyte content of the song S, the information "2M" is used as the playback progress. Information), and the current playing status information of the song S (user A currently pauses playing the song S, so the playing status information is paused);
用户 B和用户 C收到用户 A发送的控制信息后, 从该歌曲 S的播放进度信息中获知, 用户 A在歌曲 S的 2M内容处暂停了播放, 因此用户 B和用户 C不再向网络媒体提供方的 服务器 192.168.0.1请求该歌曲 S的后续内容,并且同时停止相互之间交换该歌曲 S的 2M字 节内容后的数据帧的数据更新消息;  After receiving the control information sent by the user A, the user B and the user C know from the playback progress information of the song S that the user A pauses playback at the 2M content of the song S, so the user B and the user C no longer serve the network media. The server 192.168.0.1 of the provider requests the subsequent content of the song S, and simultaneously stops the data update message of the data frame after exchanging the 2 Mbyte content of the song S with each other;
用户 A、 用户 B和用户 C同时暂停播放歌曲 S, 同时用户 B和用户 C等待用户 A发送 歌曲 S的后续播放状态信息, 包括继续播放歌曲 S、 或停止播放歌曲 S、 或向前拖动播放歌 曲 s、 或向后拖动播放歌曲 s。  User A, User B, and User C simultaneously pause to play the song S, while User B and User C wait for User A to send subsequent playback status information of Song S, including continuing to play the song S, or stop playing the song S, or dragging forward. Song s, or drag backward to play song s.
图 9为本发明第八实施例中实现网络媒体同步播放的系统框图。 如图 9所示, 该系统包 括网络媒体服务器 910、 主控媒体播放器(即主控用户端) 920、 受控媒体播放器(即受控用 户端) 930。  FIG. 9 is a system block diagram of implementing synchronous playback of network media in an eighth embodiment of the present invention. As shown in FIG. 9, the system includes a network media server 910, a master media player (ie, a host user) 920, and a controlled media player (ie, a controlled user) 930.
其中网络媒体服务器 910, 用于存放同步播放的网络媒体, 这里虽然称呼为 "网络媒体 服务器" , 但在实际实现中, 存放网络媒体的网络实体不限于服务器。 主控媒体播放器 920, 用于向网络媒体服务器 910请求网络媒体, 并播放该网络媒体; 同时用于向加入同步播放的 受控媒体播放器 930发送当前播放的网络媒体地址、 播放进度信息和播放状态信息。 受控媒 体播放器 930,用于至少根据从主控媒体播放器 920接收到的网络媒体地址和播放进度信息, 从网络媒体服务器 910中获取主控媒体播放器 920当前播放的网络媒体相应内容,并执行播 放状态信息指示的操作, 实现与主控媒体播放器同步播放所述网络媒体。  The network media server 910 is used to store the synchronously played network media. Although it is referred to as a "network media server", in actual implementation, the network entity that stores the network media is not limited to the server. The master media player 920 is configured to request the network media from the network media server 910 and play the network media; and at the same time, send the currently played network media address, the play progress information, and the controlled media player 930 added to the synchronous play. Play status information. The controlled media player 930 is configured to obtain, according to the network media address and the playing progress information received from the master media player 920, the corresponding content of the network media currently played by the master media player 920 from the network media server 910. And performing the operation indicated by the playing state information, and realizing playing the network media synchronously with the master media player.
图 10为本发明第九实施例中网络媒体播放器的结构框图。 该网络媒体播放器位于主控 用户客户端上, 又可称为主控媒体播放器。 如图 10所示, 该网络媒体播放器包括发送控制 信息单元 S10。 当该网络媒体播放器支持 P2P功能时, 该网络媒体播放器进一步包括发送更 新消息单元 S20、 发送网络媒体单元 S30、 请求网络媒体单元 S40。  FIG. 10 is a structural block diagram of a network media player in a ninth embodiment of the present invention. The network media player is located on the host user client and can also be referred to as the master media player. As shown in FIG. 10, the network media player includes a transmission control information unit S10. When the network media player supports the P2P function, the network media player further includes a send update message unit S20, a send network media unit S30, and a request network media unit S40.
其中发送控制信息单元 S10用于向受控媒体播放器发送当前播放的网络媒体地址、播放 进度信息和播放状态信息, 其中网络媒体地址为网络媒体的地址, 播放进度信息为网络媒体 当前播放的位置信息, 播放状态信息为网络媒体当前的播放状态信息。 发送更新消息单元 S20用于接收加入同步播放的其它媒体播放器发送的各自的下载进度信息, 这里下载进度信 息指从网络媒体地址下载网络媒体的进度信息。发送网络媒体单元 S30用于根据发送更新消 息单元 S20接收到的其他网络媒体播放器的下载进度信息, 当自身的下载进度大于加入同步 播放的其它网络媒体播放器的下载进度时, 向其它网络媒体播放器发送已下载的网络媒体。 请求网络媒体单元 S40用于根据发送更新消息单元 S20接收到的其他网络媒体播放器的下载 进度信息, 当自身的下载进度小于加入同步播放的其它网络媒体播放器时, 向其它网络媒体 播放器请求当前播放的网络媒体。 当然发送更新消息单元 S20还可以用于向加入同步播放的 其它媒体播放器发送下载进度信息,这样其它媒体播放器的更新消息单元就可以根据接收到 的本地媒体播放器的下载进度信息。 The sending control information unit S10 is configured to send, to the controlled media player, the currently played network media address, the playing progress information, and the playing state information, where the network media address is the address of the network media, and the playing progress information is the current playing position of the network media. The information, the playing status information is the current playing status information of the network media. The sending update message unit S20 is configured to receive respective download progress information sent by other media players that participate in synchronous play, where the download progress information refers to progress information of downloading the network media from the network media address. The sending network media unit S30 is configured to send download progress information of other network media players received according to the sending update message unit S20 to other network media when the download progress of the network media player is greater than the download progress of other network media players participating in the synchronous play. The player sends the downloaded network media. The requesting network media unit S40 is configured to request the other network media players according to the download progress information of the other network media players received by the sending update message unit S20 when the download progress of the network media player is less than the other network media players that are added to the synchronous play. The currently playing network media. Of course, the sending update message unit S20 can also be used to send download progress information to other media players that participate in synchronous play, so that the update message unit of other media players can be based on the received download progress information of the local media player.
图 11为本发明第十实施例中网络媒体播放器的结构框图。 该网络媒体播放器位于受控 用户的用户端上, 又可称为受控媒体播放器。 如图 11所示, 该网络媒体播放器包括接收控 制信息单元 S50、 执行控制信息单元 S60。 当该网络媒体播放器支持 P2P功能时, 该网络媒 体播放器进一步包括发送更新消息单元 S70、发送网络媒体单元 S80、请求网络媒体单元 S90。  FIG. 11 is a structural block diagram of a network media player in a tenth embodiment of the present invention. The network media player is located on the user side of the controlled user and can also be referred to as a controlled media player. As shown in FIG. 11, the network media player includes a reception control information unit S50 and an execution control information unit S60. When the network media player supports the P2P function, the network media player further includes a send update message unit S70, a send network media unit S80, and a request network media unit S90.
其中接收控制信息单元 S50 用于接收主控媒体播放器发送的主控媒体播放器当前播放 的网络媒体地址及、 播放进度信息和播放状态信息, 其中网络媒体地址为网络媒体的地址, 播放进度信息为网络媒体当前播放的位置信息,播放状态信息为网络媒体当前的播放状态信 息。执行控制信息单元 S60用于至少根据接收控制信息单元 S50接收到的网络媒体地址和播 放进度信息, 从该网络媒体地址中获取主控媒体播放器当前播放的网络媒体相应内容, 并执 行播放状态信息指示的操作, 实现与主控媒体播放器同步播放该网络媒体。 发送更新消息单 元 S70用于向加入同步播放的其它媒体播放器发送下载进度信息,并接收加入同步播放的其 它媒体播放器发送的各自的下载进度信息,这里下载进度信息指从网络媒体地址下载网络媒 体的进度信息。发送网络媒体单元 S80用于根据发送更新消息单元 S70接收到的其他网络媒 体播放器的下载进度信息, 当自身的下载进度大于加入同步播放的其它网络媒体播放器的下 载进度时, 向其它网络媒体播放器发送已下载的网络媒体。请求网络媒体单元 S90用于根据 发送更新消息单元 S70接收到的其他网络媒体播放器的下载进度信息, 当自身的下载进度小 于加入同步播放的其它网络媒体播放器时, 向其它网络媒体播放器请求当前播放的网络媒 体。  The receiving control information unit S50 is configured to receive a network media address, a play progress information, and a play status information currently played by the master media player sent by the master media player, where the network media address is an address of the network media, and the play progress information For the location information currently played by the network media, the play status information is the current play status information of the network media. The execution control information unit S60 is configured to obtain, according to at least the network media address and the playing progress information received by the receiving control information unit S50, the corresponding content of the network media currently played by the master media player from the network media address, and execute the playing state information. The indicated operation enables the network media to be played in synchronization with the master media player. The sending update message unit S70 is configured to send download progress information to other media players that participate in synchronous play, and receive respective download progress information sent by other media players added to the synchronized play, where the download progress information refers to downloading the network from the network media address. Media progress information. The sending network media unit S80 is configured to send the download progress information of the other network media players received by the sending update message unit S70 to other network media when the download progress of the network media player is greater than the download progress of other network media players participating in the synchronous play. The player sends the downloaded network media. The requesting network media unit S90 is configured to request the other network media players according to the download progress information of the other network media players received by the sending update message unit S70 when the download progress of the network media player is less than the other network media players that are added to the synchronous play. The currently playing network media.
其中, 执行控制信息单元 S60包括发送请求子单元 S61、 接收网络媒体子单元 S62以及 操作执行子单元。其中发送请求子单元 S61用于向该网络媒体地址发送获取该网络媒体的请 求。接收网络媒体子单元 S62用于接收来自该网络媒体地址的网络媒体相应内容。操作执行 子单元对接收网络媒体子单元 S62接收到的网络媒体相应内容执行播放状态信息指示的操 作。  The execution control information unit S60 includes a transmission request subunit S61, a reception network medium subunit S62, and an operation execution subunit. The sending request subunit S61 is configured to send a request for obtaining the network medium to the network media address. The receiving network media sub-unit S62 is configured to receive corresponding content of the network media from the network media address. The operation execution subunit performs an operation of indicating the playback status information on the corresponding content of the network medium received by the network media subunit S62.
这里虽然在逻辑上网络媒体播放器可以分为受控媒体播放器和主控媒体播放器,在实际 应用中, 一个网络媒体播放器可以包括受控媒体播放器和主控媒体播放器两者的功能。  Although logically, the network media player can be divided into a controlled media player and a master media player. In practical applications, a network media player can include both a controlled media player and a master media player. Features.
由以上本发明提供的实施例可知, 应用本发明实施例中实现网络媒体同步播放的方法, 主控用户通过将网络媒体地址、 播放进度信息和播放状态信息发送给受控用户, 受控用户根 据网络媒体地址和播放进度信息, 执行播放状态信息指示的持续播放、 暂停播放等操作, 使 得用户间可以灵活地同步播放网络媒体, 达到良好的协同娱乐效果。 并且当同步播放的用户 之间扩展了的 P2P功能时, 同步播放的流畅度得到了提高, 系统性能也相应得到了增强。 According to the embodiment provided by the present invention, the method for realizing synchronous playback of network media in the embodiment of the present invention is applicable. The master user sends the network media address, the play progress information, and the play status information to the controlled user, and the controlled user performs the continuous play, pause play, and the like indicated by the play status information according to the network media address and the play progress information, so that the user It can flexibly play online media synchronously to achieve good collaborative entertainment. And when the P2P function is extended between users who play synchronously, the smoothness of synchronous playback is improved, and the system performance is correspondingly enhanced.
利用本发明实施例中的网络媒体同步播放方法以及媒体播放器,受控用户所获取的网络 媒体内容与主控用户相同, 即均来自网络媒体地址, 这样受控用户所获得的媒体信号质量与 主控用户的相同。 而现有技术中主控用户将当前播放的网络媒体内容输出釆样后再发送到受 控用户, 这样导致的受控用户获得的媒体信号质量比主控用户低, 而且在媒体信号中还可能 夹杂杂音。 由此可见, 本发明实施例中受控用户所播放的网络媒体质量高于现有技术, 这样 同步播放时受控用户的用户体验将高于现有技术, 从而达到了良好的协同娱乐效果。 另外在 本发明实施例中, 当某一用户与多个其他用户同步视听时, 由于所有用户都是从网络媒体地 址处获取网络媒体, 而一般网络媒体地址位于主干网上, 这样相比于现有技术中多个受控用 户均从主控用户处获取网络媒体, 在本发明实施例中, 主控用户的接入网络带宽不会成为影 响视听效果的主要因素。  With the network media synchronous playing method and the media player in the embodiment of the present invention, the network media content acquired by the controlled user is the same as the master user, that is, all from the network media address, so that the quality of the media signal obtained by the controlled user is The same is true for the master user. In the prior art, the master user outputs the currently played network media content to the controlled user, and the controlled user obtains a lower quality of the media signal than the master user, and may also be in the media signal. Mixed with noise. It can be seen that the quality of the network media played by the controlled user in the embodiment of the present invention is higher than that of the prior art, so that the user experience of the controlled user during synchronous playback will be higher than that of the prior art, thereby achieving a good coordinated entertainment effect. In addition, in the embodiment of the present invention, when a user synchronizes with a plurality of other users, since all users obtain network media from the network media address, and the general network media address is located on the backbone network, compared to the existing In the embodiment of the present invention, the access network bandwidth of the master user does not become a major factor affecting the audiovisual effect.
以上仅为本发明的较佳实施例而已, 并非用于限定本发明的保护范围。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above are only the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利要求书 Claim
1、 一种实现网络媒体同步播放的方法, 其特征在于, 包括:  A method for realizing synchronous playback of a network medium, comprising:
接收来自主控用户的网络媒体地址、 播放进度信息和播放状态信息;  Receiving a network media address, playback progress information, and play status information from the master user;
至少根据所述播放进度信息,从所述网络媒体地址处获取所述主控用户当前播放的网络 媒体相应内容; 以及  Obtaining, according to the playback progress information, the corresponding content of the network media currently played by the master user from the network media address;
根据所述播放状态信息播放获取到的网络媒体相应内容。  And playing the obtained corresponding content of the network media according to the playing state information.
2、 根据权利要求 1所述的方法, 其特征在于, 所述播放状态信息为持续播放; 所述至少根据所述播放进度信息,从所述网络媒体地址中获取所述主控用户当前播放的 网络媒体相应内容包括: 向所述网络媒体地址发送获取网络媒体的请求, 所述获取网络媒体 的请求中包含所述播放进度信息; 及从所述网络媒体地址接收所述网络媒体中由播放进度信 息标识的在当前播放位置之后的数据帧内容;  The method according to claim 1, wherein the playing state information is continuous playing, and the at least the master user is currently playing from the network media address according to the playing progress information. The corresponding content of the network media includes: sending a request for acquiring the network media to the network media address, the request for acquiring the network media includes the play progress information; and receiving, by the network media address, the play progress of the network media The data frame content of the information identification after the current playback position;
所述根据所述播放状态信息播放获取到的网络媒体相应内容包括:持续播放所述获取到 的所述网络媒体中由播放进度信息标识的在当前播放位置之后的数据帧内容。  The playing the corresponding content of the network media according to the playing state information comprises: continuously playing the data frame content after the current playing position identified by the playing progress information in the obtained network media.
3、 根据权利要求 1所述的方法, 其特征在于, 所述播放状态信息包括: 向前拖动播放 及向前拖动的位置偏移信息, 或向后拖动播放及向后拖动的位置偏移信息;  3. The method according to claim 1, wherein the playing state information comprises: dragging forward and dragging the position offset information forward, or dragging backward and backward dragging Position offset information;
所述至少根据所述播放进度信息,从所述网络媒体地址中获取所述主控用户当前播放的 网络媒体相应内容包括: 向所述网络媒体地址发送获取网络媒体的请求, 所述请求中包含所 述播放进度信息以及播放状态信息;从所述网络媒体地址接收所述网络媒体中新的播放起点 后续的数据帧内容; 其中, 所述新的播放起点为以所述播放进度信息所标识的当前播放位置 为基准, 根据播放状态信息中包含的向前或向后拖动的位置偏移信息计算得到的播放起点; 所述根据所述播放状态信息播放获取到的网络媒体相应内容包括: 向前拖动播放或向后 拖动播放所述网络媒体中新的播放起点后续的数据帧内容。  And obtaining, according to the playback progress information, the corresponding content of the network media that is currently played by the master user from the network media address, including: sending, to the network media address, a request for acquiring a network media, where the request includes The playback progress information and the playback status information; receiving, from the network media address, a data frame content subsequent to a new playback start point in the network media; wherein the new playback start point is identified by the playback progress information The current play position is a reference, and the play start point calculated according to the position offset information of the forward or backward drag included in the play status information; the corresponding content of the network media obtained by playing according to the play status information includes: The front dragging play or backward dragging plays the data frame content subsequent to the new play starting point in the network media.
4、 根据权利要求 1所述的方法, 其特征在于, 所述播放状态信息为快进 /快退播放; 所述至少根据所述播放进度信息,从所述网络媒体地址中获取所述主控用户当前播放的 网络媒体相应内容包括: 向所述网络媒体地址发送获取网络媒体的请求, 所述请求中包含所 述播放进度信息以及播放状态信息; 从所述网络媒体地址接收所述网络媒体中以所述播放进 度信息所标识的当前播放位置为起点, 当前播放位置之后 /之前的数据帧内容;  The method according to claim 1, wherein the play status information is fast forward/reverse play; and the master control is obtained from the network media address according to the play progress information. Corresponding content of the network media currently played by the user includes: sending a request for acquiring the network media to the network media address, where the request includes the play progress information and the play state information; and receiving the network media from the network media address Taking the current playback position identified by the playback progress information as a starting point, and the data frame content after/before the current playback position;
所述根据所述播放状态信息播放获取到的网络媒体相应内容包括: 快进 /快退播放所述 网络媒体中以所述播放进度信息所标识的当前播放位置为起点, 当前播放位置之后 /之前的 数据帧内容。 The corresponding content of the network media acquired according to the playing state information includes: fast forward/rewind playback: the current playing position identified by the playing progress information in the network media is used as a starting point, and the current playing position is after/before Data frame content.
5、 根据权利要求 1所述的方法, 其特征在于, 所述播放状态信息为暂停播放; 所述至少根据所述播放进度信息,从所述网络媒体地址中获取所述主控用户当前播放的 网络媒体相应内容包括: 停止向所述网络媒体地址发送获取所述网络媒体的请求; The method according to claim 1, wherein the playing state information is paused playing, and the at least the master user is currently playing from the network media address according to the playing progress information. Corresponding content of the network media includes: stopping sending a request for acquiring the network media to the network media address;
所述根据所述播放状态信息播放获取到的网络媒体相应内容包括:从所述播放进度信息 指示的位置信息处停止播放所述网络媒体。  The playing the corresponding content of the network media obtained according to the playing state information comprises: stopping playing the network media from the location information indicated by the playing progress information.
6、 根据权利要求 1所述的方法, 其特征在于, 进一步包括:  6. The method according to claim 1, further comprising:
接收分别由加入同步播放的其他用户发送的各自的下载进度信息;  Receiving respective download progress information respectively sent by other users who join the synchronous play;
根据所述加入同步播放的其他用户各自的下载进度信息,将已下载的所述网络媒体的后 续内容发送至比其下载进度慢的所述加入同步播放的其他用户;或向比其下载进度快的所述 加入同步播放的其他用户请求所述网络媒体的后续内容。  And sending, according to the download progress information of the other users that are added to the synchronous play, the downloaded content of the network media to the other users that are synchronized to the playback progress, or the downloading progress is faster than the downloading progress The other users joining the synchronized play request subsequent content of the network media.
7、 根据权利要求 6所述的方法, 其特征在于, 进一步包括:  7. The method according to claim 6, further comprising:
分别向所述加入同步播放的其他用户发送的自身的下载进度信息。  The download progress information of the user is sent to the other users who are added to the synchronized play.
8、 根据权利要求 1所述的方法, 其特征在于, 进一步包括:  8. The method according to claim 1, further comprising:
在所述播放状态信息为暂停播放时,停止接收来自加入同步播放的其他用户发送的各自 的下载进度信息;  Stopping receiving respective download progress information sent by other users joining the synchronized play when the play status information is pause play;
停止将已下载的所述网络媒体的后续内容发送至比其下载进度慢的所述加入同步播放 的其他用户;  Stopping sending subsequent content of the downloaded network media to other users who are synchronized to play faster than the download progress;
停止向比其下载进度快的所述加入同步播放的其他用户请求所述网络媒体的后续内容。 Stop requesting subsequent content of the network media from the other users joining the synchronized play that are faster than the download progress.
9、 根据权利要求 6、 7或 8所述的方法, 其特征在于, 所述加入同步播放的其他用户包 括所述主控用户或 /和所述主控用户的其他受控用户。 9. The method of claim 6, 7 or 8, wherein the other users joining the synchronized play include the master user or/and other controlled users of the master user.
10、 根据权利要求 1所述的方法, 其特征在于, 进一步包括:  10. The method according to claim 1, further comprising:
在接收来自主控用户的网络媒体地址、播放进度信息和播放状态信息之前向所述主控用 户发送加入同步播放的请求; 或  Sending a request to join the synchronous play to the host user before receiving the network media address, play progress information, and play status information from the master user; or
在接收来自主控用户的网络媒体地址、 播放进度信息和播放状态信息之前, 接受所述主 控用户加入同步播放的邀请。  The host user is invited to join the synchronous play invitation before receiving the network media address, the play progress information, and the play status information from the master user.
11、 根据权利要求 1所述的方法, 其特征在于, 进一步包括:  The method according to claim 1, further comprising:
主动或根据所述主控用户的指令终止同步播放所述网络媒体。  The synchronous playback of the network media is initiated or in accordance with an instruction of the master user.
12、 一种网络媒体播放器, 其特征在于, 包括:  12. A network media player, comprising:
第一单元, 用于接收来自主控媒体播放器的网络媒体地址、 播放进度信息和播放状态信 息;  a first unit, configured to receive a network media address, playback progress information, and play status information from the master media player;
第二单元, 用于至少根据所述播放进度信息, 从所述网络媒体地址处获取所述主控媒体 播放器当前播放的网络媒体相应内容,并根据所述播放状态信息播放获取到的网络媒体相应 内容。 a second unit, configured to acquire the master media from the network media address according to at least the play progress information The corresponding content of the network media currently played by the player, and playing the corresponding content of the obtained network media according to the playing state information.
13、 根据权利要求 12所述的网络媒体播放器, 其特征在于, 进一步包括:  The network media player according to claim 12, further comprising:
第三单元, 用于接收加入同步播放的其它媒体播放器发送的各自的下载进度信息; 第四单元,用于在自身的下载进度大于加入同步播放的其它网络媒体播放器的下载进度 时, 向其它网络媒体播放器发送已下载的网络媒体;  a third unit, configured to receive respective download progress information sent by other media players that participate in synchronous play; and a fourth unit, configured to: when the download progress of the user is greater than the download progress of other network media players added to the synchronous play, Other network media players send downloaded network media;
第五单元,用于在自身的下载进度小于加入同步播放的其它网络媒体播放器的下载进度 时, 向其它网络媒体播放器请求当前播放的网络媒体。  The fifth unit is configured to request the currently played network media from other network media players when the download progress of the user is less than the download progress of other network media players participating in the synchronous play.
14、 根据权利要求 12或 13所述的网络媒体播放器, 其特征在于, 进一步包括: 第六单元, 用于向受控媒体播放器发送当前播放的网络媒体地址、 播放进度信息和播放 状态信息。  The network media player according to claim 12 or 13, further comprising: a sixth unit, configured to send the currently played network media address, play progress information, and play status information to the controlled media player. .
15、 根据权利要求 12、 13或 14所述的网络媒体播放器, 其特征在于, 所述第二单元包 括:  The network media player according to claim 12, 13 or 14, wherein the second unit comprises:
第一子单元, 用于向所述网络媒体地址发送获取所述网络媒体的请求, 所述请求中至少 包含所述网络媒体的播放进度信息;  a first subunit, configured to send, to the network media address, a request for acquiring the network media, where the request includes at least playback progress information of the network media;
第二子单元, 用于接收来自所述网络媒体地址的网络媒体相应内容;  a second subunit, configured to receive corresponding content of the network media from the network media address;
第三子单元, 根据所述播放状态信息播放所述第二子单元获取到的网络媒体相应内容。 The third subunit plays the corresponding content of the network media acquired by the second subunit according to the playing state information.
16、 一种网络媒体播放器, 其特征在于, 包括: 16. A network media player, comprising:
第一单元, 用于向受控媒体播放器发送当前播放的网络媒体地址、 播放进度信息和播放 状态信息。  The first unit is configured to send the currently played network media address, play progress information, and play status information to the controlled media player.
17、 根据权利要求 16所述的网络媒体播放器, 其特征在于, 进一步包括:  The network media player according to claim 16, further comprising:
第二单元, 用于接收加入同步播放的其它媒体播放器发送的各自的下载进度信息; 第三单元,用于在自身的下载进度大于加入同步播放的其它网络媒体播放器的下载进度 时, 向其它网络媒体播放器发送已下载的网络媒体;  a second unit, configured to receive respective download progress information sent by other media players that participate in synchronous play; and a third unit, configured to: when the download progress of the user is greater than the download progress of other network media players added to the synchronous play, Other network media players send downloaded network media;
第四单元,用于当自身的下载进度小于加入同步播放的其它网络媒体播放器的下载进度 时, 向其它网络媒体播放器请求当前播放的网络媒体。  The fourth unit is configured to request the currently played network media from other network media players when the download progress of the user is less than the download progress of other network media players participating in the synchronous play.
PCT/CN2008/070997 2007-05-18 2008-05-16 Method, and network media player for playing network media synchronously WO2008141577A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2007101079627A CN101072359A (en) 2007-05-18 2007-05-18 Method, system and user end for realizing network media audio-video synchronization
CN200710107962.7 2007-05-18

Publications (1)

Publication Number Publication Date
WO2008141577A1 true WO2008141577A1 (en) 2008-11-27

Family

ID=38899308

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/070997 WO2008141577A1 (en) 2007-05-18 2008-05-16 Method, and network media player for playing network media synchronously

Country Status (2)

Country Link
CN (1) CN101072359A (en)
WO (1) WO2008141577A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009085782A1 (en) * 2007-12-27 2009-07-09 Motorola, Inc. Methods and devices for coordinating functions of multimedia devices
CN102999491A (en) * 2011-09-08 2013-03-27 百度在线网络技术(北京)有限公司 Method and device for achieving synchronization of browser operation between user equipment

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization
CN101588494B (en) 2009-06-30 2011-09-21 华为技术有限公司 Method for processing media stream, communication system, and relative devices
KR20110020619A (en) 2009-08-24 2011-03-03 삼성전자주식회사 Method for play synchronization and device using the same
CN101969460B (en) * 2010-09-28 2013-07-03 同辉佳视(北京)信息技术有限公司 Multi-screen synchronized video playing method and system
CN102006319B (en) * 2010-10-25 2014-02-05 同辉佳视(北京)信息技术有限公司 Method and system for synchronously playing Flash on multiple terminals
CN101977222B (en) * 2010-10-28 2013-01-23 北京九华互联科技有限公司 Method for realizing synchronization of multimedia terminals
CN102170584B (en) * 2011-03-14 2015-06-03 华为技术有限公司 Method, device and system for playing media between synchronic HS (HTTP (HyperText Transfer Protocol) Streaming) terminal equipment
CN103164502A (en) * 2011-09-13 2013-06-19 吉菲斯股份有限公司 Management of online content in a network
CN102447693A (en) * 2011-11-02 2012-05-09 中兴通讯股份有限公司 Screen sharing method and system for DLNA (Digital Living Network Alliance) terminals in home network
CN102447974B (en) * 2011-11-03 2014-04-09 苏州大学 Method for prefetching cooperation data of P2P (peer-to-peer) video-on-demand system
CN103179146B (en) * 2011-12-20 2015-03-18 腾讯科技(深圳)有限公司 Sharing method and relevant system for application program playing contents
CN103179220B (en) * 2011-12-20 2016-06-22 腾讯科技(深圳)有限公司 Application program plays the sharing method of content and related system and device
CN102546608B (en) * 2011-12-26 2015-12-16 上海聚力传媒技术有限公司 For synchronously playing the method for media information, device, equipment and system
CN103188322A (en) * 2011-12-30 2013-07-03 北大方正集团有限公司 Digital content schedule synchronizing method, digital content providing method and terminal equipment
CN103248939B (en) * 2012-02-03 2017-11-28 海尔集团公司 A kind of method and system realized multi-screen synchronous and shown
CN103533005B (en) * 2012-07-06 2018-12-07 南京中兴新软件有限责任公司 Processing method, system and relevant apparatus based on broadcast state synchronizing information
KR101462055B1 (en) * 2012-09-04 2014-11-17 에스케이 텔레콤주식회사 Method and Device for Sharing Multi Home Media Contents
CN102868913B (en) * 2012-09-29 2016-08-17 Tcl数码科技(深圳)有限责任公司 A kind of remote synchronization virtual monitor method and system
CN103839558B (en) * 2012-11-23 2016-08-31 三星电子(中国)研发中心 Synchronous broadcast method and server, player
CN102970589B (en) * 2012-11-26 2016-03-30 中国联合网络通信集团有限公司 The control method of multi-terminal-basedsynergetic synergetic media stream play and device
CN103874014A (en) * 2012-12-17 2014-06-18 中兴通讯股份有限公司 Terminal location information-based business service method, service provision device and terminal
WO2014101065A1 (en) * 2012-12-27 2014-07-03 东莞宇龙通信科技有限公司 Control terminal and method for resource sharing
CN104125476B (en) * 2013-04-28 2019-04-09 腾讯科技(深圳)有限公司 A kind of method and device playing video
CN104244110A (en) * 2013-06-18 2014-12-24 好看科技(深圳)有限公司 Play control method and module, terminal and system
EP2879345A4 (en) * 2013-08-30 2015-08-19 Huawei Tech Co Ltd Method for multiple terminals to play multimedia file cooperatively and related apparatus and system
CN104254020B (en) * 2013-09-25 2015-12-02 腾讯科技(深圳)有限公司 The player method of media data, device and terminal
CN103533054B (en) * 2013-10-15 2017-02-01 中国联合网络通信集团有限公司 Method for realizing coordinated processing among multiple terminals and multi-terminal coordinated processing device
CN104660649A (en) * 2013-11-25 2015-05-27 乐视网信息技术(北京)股份有限公司 Method, terminal and system for terminal transmission data in P2P system
CN104618785B (en) * 2014-04-16 2018-01-05 腾讯科技(北京)有限公司 Audio and video playing method, apparatus and system
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device
CN104301798A (en) * 2014-10-27 2015-01-21 海信集团有限公司 Method and device for conducting play control on multi-media file
CN104539999A (en) * 2014-11-24 2015-04-22 深圳市金立通信设备有限公司 Multimedia data sharing method and terminal
CN104837064B (en) * 2015-04-20 2018-07-27 腾讯科技(北京)有限公司 The control method and media player of the media player of open operating system
CN105100861A (en) * 2015-07-22 2015-11-25 海信集团有限公司 Method for playing media data and terminal device
CN105187940B (en) 2015-07-29 2018-05-29 广东欧珀移动通信有限公司 The playlist method for handover control and device of a kind of play system
CN105979333B (en) * 2016-05-04 2020-06-02 北京华熙动博网络科技有限公司 Data synchronous display method and device
CN106231372A (en) * 2016-08-30 2016-12-14 北京奇艺世纪科技有限公司 The synchronous broadcast method of a kind of Online Video and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5808662A (en) * 1995-11-08 1998-09-15 Silicon Graphics, Inc. Synchronized, interactive playback of digital movies across a network
CN1650278A (en) * 2001-12-12 2005-08-03 诺基亚公司 Synchronous media playback and messaging system
CN1689327A (en) * 2002-10-03 2005-10-26 皇家飞利浦电子股份有限公司 Media communications method and apparatus
US20060236352A1 (en) * 2005-04-15 2006-10-19 Microsoft Corporation Synchronized media experience
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5808662A (en) * 1995-11-08 1998-09-15 Silicon Graphics, Inc. Synchronized, interactive playback of digital movies across a network
CN1650278A (en) * 2001-12-12 2005-08-03 诺基亚公司 Synchronous media playback and messaging system
CN1689327A (en) * 2002-10-03 2005-10-26 皇家飞利浦电子股份有限公司 Media communications method and apparatus
US20060236352A1 (en) * 2005-04-15 2006-10-19 Microsoft Corporation Synchronized media experience
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009085782A1 (en) * 2007-12-27 2009-07-09 Motorola, Inc. Methods and devices for coordinating functions of multimedia devices
CN102999491A (en) * 2011-09-08 2013-03-27 百度在线网络技术(北京)有限公司 Method and device for achieving synchronization of browser operation between user equipment

Also Published As

Publication number Publication date
CN101072359A (en) 2007-11-14

Similar Documents

Publication Publication Date Title
WO2008141577A1 (en) Method, and network media player for playing network media synchronously
JP6864703B2 (en) Methods and equipment for media integration across wide area networks
AU2003262470B2 (en) Peer-to-peer content broadcast transfer mechanism
US7519667B1 (en) Method and system for integrating instant messaging, streaming audio and audio playback
JP4333655B2 (en) Content receiving apparatus and content receiving method
US8943215B2 (en) Distributed smooth streaming utilizing dynamic manifests
WO2013037241A1 (en) Mobile multimedia real-time transcoding playing system, device, storage medium and method
JP2004054930A (en) Computer readable medium, system, and method for client-side caching of streaming media content
WO2009033345A1 (en) A method for simultaneously downloading and playing hypertext transfer stream media
JP2006074781A (en) System and method for erasure coding of streaming media
WO2007121610A1 (en) A peer-to-peer network content transmitting method and an apparatus for implementing locating and playing
JPWO2010023828A1 (en) Information processing system and information processing apparatus
WO2016112639A1 (en) Streaming media data transmission method, client and server
JP2013509743A (en) Method and system for individualizing content streams
US20210185474A1 (en) System and method for use of crowdsourced microphone or other information with a digital media content environment
WO2009015611A1 (en) Method, system and apparatus for quick switching media source
JP2009284055A (en) Program, information storage medium, and motion picture distributing system
Chen et al. What a juke! A collaborative music sharing system
JP5380109B2 (en) Karaoke service system, distribution server, terminal device
JP2005244605A (en) Streaming content distribution control system, program and recording medium storing the same
JP4220523B2 (en) Group reproduction method, computer system and computer-readable medium applied on network
WO2012000222A1 (en) Method for p2p-based remote video education implemented on webpage
WO2012071811A1 (en) Mobile terminal, multimedia remote interaction method and system
EP4087261A1 (en) Device discovery for social playback
CN109102826B (en) Method for realizing network group distributed digital audio playing controller

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A SENT ON 25/03/10)

122 Ep: pct application non-entry in european phase

Ref document number: 08748603

Country of ref document: EP

Kind code of ref document: A1