CN104284200A - Multi-screen synchronized playing method and system and related device - Google Patents

Multi-screen synchronized playing method and system and related device Download PDF

Info

Publication number
CN104284200A
CN104284200A CN201410415975.0A CN201410415975A CN104284200A CN 104284200 A CN104284200 A CN 104284200A CN 201410415975 A CN201410415975 A CN 201410415975A CN 104284200 A CN104284200 A CN 104284200A
Authority
CN
China
Prior art keywords
client
synchronous
playing duration
play
server end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410415975.0A
Other languages
Chinese (zh)
Other versions
CN104284200B (en
Inventor
杨兵
白薇薇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201410415975.0A priority Critical patent/CN104284200B/en
Publication of CN104284200A publication Critical patent/CN104284200A/en
Application granted granted Critical
Publication of CN104284200B publication Critical patent/CN104284200B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand

Landscapes

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

Abstract

The invention relates to a multi-screen synchronized playing method and system and a related device. The method comprises the steps that a synchronous playing instruction is sent to all client-sides, so that all the client-sides respond to the synchronous playing instruction to start playing; a synchronous verification packet is sent to all the client-sides at fixed time, so that all the client-sides compare current playing duration with playing duration in the synchronous verification packet, and when the current playing duration of all the client-sides and the playing duration in the synchronous verification packet are within a synchronization allowed range, it is judged that playing is synchronous, and all the client-sides are controlled to continue playing; when the current playing duration of a certain client-side or several client-sides and the playing duration in the synchronous verification packet exceed the synchronization allowed range, it is judged that playing is non-synchronous, and all the client-sides are controlled to adjust the respective current playing duration to the playing duration in the synchronous verification packet within the synchronization allowed range and then continue playing. In this way, multi-screen synchronized playing is achieved; meanwhile, a better synchronization effect is achieved, and more types of video formats can be adapted to.

Description

Multi-screen synchronous player method, system and relevant apparatus
Technical field
The present invention relates to technical field of video processing, particularly a kind of multi-screen synchronous player method, system and relevant apparatus.
Background technology
Along with the high speed development of science and technology, society is more and more information-based, intelligent, and multimedia application is more and more extensive, and proposes more higher requirements to its development.Such as in some open air, exhibition room or other public places, need multiple display screen to play same video file simultaneously, therefore, give the technical problem proposing in the industry multi-screen synchronous and control.
As in this field, conventional multi-screen synchronous controls mostly all to take frame manner of comparison to control multi-screen synchronous, but, this mode can only be applicable to few type format, and that is its applicability is poor, simultaneously, this frame compares control mode, be the mode that entirety compares advance when communicating, can have influence on the smoothness of broadcasting, its synchronous effect is poor.
Summary of the invention
The present invention is intended to one of technical problem at least solving the existence of above-mentioned prior art.
For this reason, the object of the present invention is to provide a kind of multi-screen synchronous player method, system and relevant apparatus, play to realize multi-screen synchronous, reach better synchronous effect simultaneously and adapt to more polymorphic type video format.
For achieving the above object, first aspect, multi-screen synchronous player method provided by the invention comprises:
Connect with each client;
Send synchronous play instruction to each client, start broadcasting to make synchronous play instruction described in each client end response;
Timing sends synchronization check bag to each client, to make each client by the playing duration comparison in current playing duration and synchronization check bag, and
When the current playing duration of each client and the playing duration in synchronization check bag are in synchronous allowed band, be judged as that each client terminal playing is synchronous, control each client and continue to play;
When certain or certain current playing duration of several client exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client terminal playing is asynchronous, then control each self-corresponding current playing duration of each client adjustment, make respective current playing duration continue again to play in synchronous allowed band with the playing duration in described synchronization check bag.
Preferably, after connecting with each client, the method also comprises:
Send the identity request of registering to client, carry out identity to make the identity request of registering described in described client end response and register.
Preferably, sending the identity request of registering to client, carry out after identity registers to make the corresponding described identity request of registering of described client, the method also comprises:
To client tranmitting data register corrective command, be consistent with the clock of server end to make described client by the clock correction of self.
Preferably, sending synchronous play instruction to each client, after starting broadcasting to make synchronous play instruction described in each client end response, the method also comprises:
Send pause instruction to client, be in halted state to make client;
Status request is sent to client, to obtain client current state, when all clients are all in halted state, send and continue play command to each client, each client is made to continue to play, when certain or certain several client is not in halted state, then timing continues to send status request, if in the status request of pre-determined number, all clients are all in halted state, then send and continue play command to each client, make each client continue to play, otherwise, resend synchronous play instruction.
Preferably, described broadcasting adopts K-Lite decoders decode to play.
For achieving the above object, second aspect, server end provided by the invention, comprising:
Link block, connects with each client;
Synchronous play instruction sending module, sends synchronous play instruction to each client, starts broadcasting to make synchronous play instruction described in each client end response;
Synchronization check bag sending module, timing sends synchronization check bag to each client, to make each client by the playing duration comparison in current playing duration and synchronization check bag, and
Synchronization control module, for when the current playing duration of each client with the playing duration in synchronization check bag in synchronous allowed band, be judged as that each client terminal playing is synchronous, control each client and continue broadcasting; When certain or certain current playing duration of several client exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client terminal playing is asynchronous, then control each self-corresponding current playing duration of each client adjustment, make respective current playing duration continue again to play in synchronous allowed band with the playing duration in described synchronization check bag.
Preferably, this server end also comprises:
To register request module, for sending the identity request of registering to client, carrying out identity to make the identity request of registering described in described client end response and registering.
Preferably, this server end also comprises:
The clock correction of self for client tranmitting data register corrective command, is consistent with the clock of server end to make described client by clock correction request module.
Preferably, this server end also comprises:
Pause instruction sending module, for sending pause instruction to client, is in halted state to make client;
Status control module, for sending status request, to obtain client current state to client; When all clients are all in halted state, send and continue play command to each client, make each client continue to play; When certain or certain several client is not in halted state, then timing continues to send status request, if in the status request of pre-determined number, all clients are all in halted state, then continue play command to each client, each client is made to continue to play, otherwise, resend synchronous play instruction.
For achieving the above object, the third aspect, multi-screen synchronous Play System provided by the invention, comprises server end as above and multiple client,
Client starts broadcasting for receiving the synchronous play instruction of also response server end transmission;
Also for the synchronization check bag that reception server end sends, and by the playing duration comparison in current playing duration and synchronization check bag; And
When the current playing duration of each client and the playing duration in synchronization check bag are in synchronous allowed band, be judged as that each client terminal playing is synchronous, then continue to play under the control of server end; When certain or certain current playing duration of several client exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client terminal playing is asynchronous, the current playing duration that then adjustment is corresponding separately under the control of server end, makes respective current playing duration continue to play in synchronous allowed band with the playing duration in described synchronization check bag again.
According to multi-screen synchronous player method provided by the invention, system and relevant apparatus, synchronization check bag is sent to each client by server end timing, during current playing duration and verification are wrapped by each client, playing duration compares, judge each client current playing duration is wrapped with verification in playing duration whether in synchronous allowed band, if each client is all in synchronous allowed band, then controls each client and continue to play, if certain or certain several client exceedes synchronous allowed band, then control each self-corresponding current playing duration of each client adjustment, respective current playing duration is made to continue to play in synchronous allowed band with the playing duration in described synchronization check bag again, so, realize multi-screen synchronous to play, due to adopt time length ratio compared with mode, so be almost applicable to all media files play, there is extremely wide applicability, and on synchronization check, using the playing duration of server end as criterion play position, each client is sent to compare with it, if exceed synchronous permissible range, carry out synchronous adjustment, exempt from like this to have kept away too much communication adjustment, the better fluency ensureing to play.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of implementation of embodiment of the present invention multi-screen synchronous player method;
Fig. 2 is the flow chart of the another kind of implementation of embodiment of the present invention multi-screen synchronous player method;
Fig. 3 is a kind of structural representation of embodiment of the present invention server end;
Fig. 4 is the another kind of structural representation of embodiment of the present invention server end;
Fig. 5 is embodiment of the present invention multi-screen synchronous Play System structural representation;
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Describe technical scheme of the present invention in detail below with reference to drawings and the specific embodiments, so as clearer, understand invention essence of the present invention intuitively.
With reference to described in Fig. 1, embodiments provide a kind of realization flow of multi-screen synchronous player method, for convenience of description, illustrate only the part relevant to the embodiment of the present invention, the method is described from the angle of server end, mainly complete by server end, specifically comprise the following steps:
S101, to connect with each client.
In the present embodiment, the connection that server end and client are set up refers to that network connects, and such as server end is connected to the network equipment, and client access network, server end and client can at network communications.Be understandable that, client can be installed on open air, the broadcasting of exhibition room or other public places and display device.
S102, send synchronous play instruction to each client, start broadcasting to make synchronous play instruction described in each client end response.
Namely, after connecting with each client, server end is selected to be loaded into video file according to user, and by this video file transfer to needing the synchronous client play, client, according to synchronous play instruction, is carried out decoding to video file and is play.
S103, timing send synchronization check bag, to make each client by the playing duration comparison in current playing duration and synchronization check bag to each client.
Be understandable that, include the playing duration of server end in synchronization check bag, such as server plays to 5 points of 22 seconds positions, then namely 5 points 22 seconds be the playing duration of server.When client receives synchronization check bag, visitor is needed playing duration (playing duration of server) in self current playing duration and synchronization check bag such as 5 points to be compared for 22 seconds.
S104, when the current playing duration of each client and the playing duration in synchronization check bag are in synchronous allowed band, be judged as that each client terminal playing is synchronous, control each client and continue to play.
Consider that each client may exist the regular hour at the synchronization check bag of reception server end poor, but this time difference is very little, as long as so the current playing duration of each client and the playing duration in synchronization check bag are in synchronous allowed band, be then judged as that each client terminal playing is synchronous.
When certain or certain current playing duration of several client exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client terminal playing is asynchronous, then control each self-corresponding current playing duration of each client adjustment, make respective current playing duration continue again to play in synchronous allowed band with the playing duration in described synchronization check bag.
That is, in this step, current playing duration exceedes the client of synchronous allowed band with the playing duration in synchronization check bag, need the playing duration of client to be adjusted to consistent with playing duration in synchronization check bag (namely in synchronous allowed band) as far as possible, namely when the current playing duration of client is advanced, then playing duration current for client is adjusted backward, and when the current playing duration of client is delayed, then current for client playing duration is adjusted forward, this makes it possible to make different clients return to the state play with other client synchronization.
In other words, in above-mentioned steps S104 and S105, whether server end is the result that compares according to each client and controls each client and continue to play and continue to play the need of after the synchronous adjustment carrying out playing duration again.
Be understandable that, in an embodiment of invention, when server end and client carry out video playback, K-Lite decoders decode can be adopted to play, K-Lite decoders decode is a kind of omnipotent decoder, can play the media file of almost popular arbitrarily form after tested.
According to the multi-screen synchronous player method that the present embodiment provides, synchronization check bag is sent to each client by server end timing, during current playing duration and verification are wrapped by each client, playing duration compares, judge each client current playing duration is wrapped with verification in playing duration whether in synchronous allowed band, if each client is all in synchronous allowed band, then controls each client and continue to play, if certain or certain several client exceedes synchronous allowed band, then control each self-corresponding current playing duration of each client adjustment, respective current playing duration is made to continue to play in synchronous allowed band with the playing duration in described synchronization check bag again, so, realize multi-screen synchronous to play, due to adopt time length ratio compared with mode, so be almost applicable to all media files play, there is extremely wide applicability, and on synchronization check, using the playing duration of server end as criterion play position, each client is sent to compare with it, if exceed synchronous permissible range, carry out synchronous adjustment, exempt from like this to have kept away too much communication adjustment, the better fluency ensureing to play.
With reference to shown in Fig. 2, an alternative embodiment of the invention provides the another kind of realization flow of multi-screen synchronous player method, for convenience of description, illustrate only the part relevant to the embodiment of the present invention, the method is described from the angle of server end, mainly complete by server end, specifically comprise the following steps:
S201, to connect with each client.
In the present embodiment, the connection that server end and client are set up refers to that network connects, and such as server end is connected to the network equipment, and client access network, server end and client can at network communications.Be understandable that, client can be installed on open air, the broadcasting of exhibition room or other public places and display device.
S202, send the identity request of registering to client, carry out identity to make the identity request of registering described in described client end response and register.
S203, to client tranmitting data register corrective command, be consistent with the clock of server end to make described client by the clock correction of self.
Because the clock of server end and each client may exist inconsistent situation, so, before being played the clock of the clock of each client and server end is carried out correction unification, be conducive to the control that subsequent synchronisation is play.
S204, send synchronous play instruction to each client, start broadcasting to make synchronous play instruction described in each client end response.
Namely, after connecting with each client, server end is selected to be loaded into video file according to user, and by this video file transfer to needing the synchronous client play, client, according to synchronous play instruction, is carried out decoding to video file and play.
S205, to client send pause instruction, be in halted state to make client.
S206, to client send status request, to obtain client current state, when all clients are all in halted state, send continue play command to each client, make each client continue play; When certain or certain several client is not in halted state, then timing continues to send status request, if in the status request of pre-determined number, all clients are all in halted state, then send and continue play command to each client, each client is made to continue to play, otherwise, resend synchronous play instruction.
In step S205 to S206, server end is first utilized to send pause instruction to client, control client is suspended, the state of each client is obtained again by sending status request, its objective is the communications status in order to detect between server end and each client, whether server end can control each client in real time, only in the normal situation of communication, server end could be utilized to control each client synchronization and play.
Be understandable that no matter be that after once asking or after pre-determined number request, as long as do not exceed the request of pre-determined number, each client all can be in halted state, then continue to play, enter S207 step thereupon, continue flow process; And if exceeded the request of pre-determined number, also have client can not be in halted state, then resend synchronous play instruction, be namely back to S204 step, from S204 step, re-execute flow process.
S207, timing send synchronization check bag, to make each client by the playing duration comparison in current playing duration and synchronization check bag to each client.
Be understandable that, include the playing duration of server end in synchronization check bag, such as server end plays to 5 points of 22 seconds positions, then namely 5 points 22 seconds be the playing duration of server end.When client receives synchronization check bag, visitor is needed playing duration (playing duration of server end) in self current playing duration and synchronization check bag such as 5 points to be compared for 22 seconds.
S208, when the current playing duration of each client and the playing duration in synchronization check bag are in synchronous allowed band, be judged as that each client terminal playing is synchronous, control each client and continue to play;
Consider that each client may exist the regular hour at the synchronization check bag of reception server end poor, but this time difference is very little, as long as so the current playing duration of each client and the playing duration in synchronization check bag are in synchronous allowed band, be then judged as that each client terminal playing is synchronous.
When certain or certain current playing duration of several client exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client terminal playing is asynchronous, then control each self-corresponding current playing duration of each client adjustment, make respective current playing duration continue again to play in synchronous allowed band with the playing duration in described synchronization check bag.
That is, in this step, current playing duration exceedes the client of synchronous allowed band with the playing duration in synchronization check bag, need playing duration to be adjusted to consistent with playing duration in synchronization check bag (namely in synchronous allowed band) as far as possible, namely when the current playing duration of client is advanced, then current for client playing duration is adjusted backward, and when the current playing duration of client is delayed, then current for client playing duration is adjusted forward, this makes it possible to make different clients return to the state play with other client synchronization.
Be understandable that, when server end and client carry out video playback, K-Lite decoders decode can be adopted to play, K-Lite decoders decode is a kind of omnipotent decoder, can play the media file of almost popular arbitrarily form after tested.
According to the multi-screen synchronous player method that the present embodiment provides, synchronization check bag is sent to each client by server end timing, during current playing duration and verification are wrapped by each client, playing duration compares, judge each client current playing duration is wrapped with verification in playing duration whether in synchronous allowed band, if each client is all in synchronous allowed band, then controls each client and continue to play, if certain or certain several client exceedes synchronous allowed band, then control each self-corresponding current playing duration of each client adjustment, respective current playing duration is made to continue to play in synchronous allowed band with the playing duration in described synchronization check bag again, so, realize multi-screen synchronous to play, due to adopt time length ratio compared with mode, so be almost applicable to all media files play, there is extremely wide applicability, and on synchronization check, using the playing duration of server end as criterion play position, each client is sent to compare with it, if exceed synchronous permissible range, carry out synchronous adjustment, exempt from like this to have kept away too much communication adjustment, the better fluency ensureing to play.
With reference to shown in Fig. 3, embodiments provide the one composition structure of server end, for convenience of description, illustrate only the part relevant to the embodiment of the present invention, this server end specifically can be used for the flow process performing said method, and this server end specifically comprises:
Link block 301, for connecting with each client.
In the present embodiment, the connection that server end 30 and client 40 are set up refers to that network connects, and such as server end is connected to the network equipment, and client access network, server end 30 and client 40 can at network communications.Be understandable that, client 40 can be installed on open air, the broadcasting of exhibition room or other public places and display device.
Synchronous play instruction sending module 302, sending synchronous play instruction for sending to each client 40, starting broadcasting to make each client 40 respond described synchronous play instruction.
Synchronization check bag sending module 303, sends synchronization check bag to each client 40, to make each client 40 by the playing duration comparison in current playing duration and synchronization check bag for timing.
Be understandable that, include the playing duration of server end 30 in synchronization check bag, such as server end 30 plays to 5 points of 22 seconds positions, then namely 5 points 22 seconds be the playing duration of server end 30.When client receives synchronization check bag, visitor is needed playing duration (playing duration of server) in self current playing duration and synchronization check bag such as 5 points to be compared for 22 seconds.
Synchronization control module 304, for when the current playing duration of each client 40 with the playing duration in synchronization check bag in synchronous allowed band, be judged as that each client 40 is play synchronously, control each client 40 continuation broadcasting; When certain or certain current playing duration of several clients 40 exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client 40 is play asynchronous, then control each client 40 and adjust each self-corresponding current playing duration, make respective current playing duration continue again to play in synchronous allowed band with the playing duration in described synchronization check bag.
Poor owing to considering that each client 40 may exist the regular hour at the synchronization check bag of reception server end, but this time difference is very little, as long as so the current playing duration of each client 40 with the playing duration in synchronization check bag in synchronous allowed band, be then judged as that each client 40 is play synchronously.
That is, current playing duration exceedes the client of synchronous allowed band with the playing duration in synchronization check bag, need the playing duration of client 40 to be adjusted to consistent with playing duration in synchronization check bag (namely in synchronous allowed band) as far as possible, namely when the current playing duration of client 40 is advanced, then control client 40 by this synchronization control module 304 current playing duration is adjusted backward, and when the current playing duration of client 40 is delayed, then control client 40 by this synchronization control module 304 current playing duration is adjusted forward, this makes it possible to make different clients 40 return to the state play synchronous with other clients 40.
With reference to shown in Fig. 4, embodiments providing the one composition structure of server end, for convenience of description, illustrate only the part relevant to the embodiment of the present invention, this server end specifically can be used for the flow process performing said method, and this server end specifically comprises:
Link block 301, for connecting with each client 40.
In the present embodiment, the connection that server end 30 and client 40 are set up refers to that network connects, and such as server end 30 is connected to the network equipment, and client 40 access network, server end and client can at network communications.Be understandable that, client can be installed on open air, the broadcasting of exhibition room or other public places and display device.
To register request module 305, for sending the identity request of registering to client 40, responding the described identity request of registering to make described client 40 and carrying out identity and register.
The clock correction of self for client 40 tranmitting data register corrective command, is consistent with the clock of server end 30 to make described client 40 by clock correction request module 306.
Because server end 30 and the clock of each client 40 may exist inconsistent situation, so, before being played the clock of the clock of each client 40 and server end 30 is carried out correction unification, be conducive to the control that subsequent synchronisation is play.
Synchronous play instruction sending module 302, sending synchronous play instruction for sending to each client 40, starting broadcasting to make each client 40 respond described synchronous play instruction.
Namely, after connecting with each client 40, server end 30 is selected to be loaded into video file according to user, and by this video file transfer to needing the synchronous client 40 play, client 40, according to synchronous play instruction, is carried out decoding to video file and is play.
Pause instruction sending module 307, for sending pause instruction to client 40, is in halted state to make client 40.
Status control module 308, for sending status request to client 40, to obtain client 40 current state.When all clients 40 are all in halted state, send and continue play command to each client 40, make each client 40 continue to play; When certain or certain several client 40 is not in halted state, then timing continues to send status request, if in the status request of pre-determined number, all clients 40 are all in halted state, then send and continue play command to each client 40, each client 40 is made to continue to play, otherwise, resend synchronous play instruction.
Server end 30 is first utilized to send pause instruction to client 40, control client 40 to suspend, the state of each client 40 is obtained again by sending status request, its objective is the communications status in order to detect between server end 30 and each client 40, whether server end 30 can control each client 40 in real time, only in the normal situation of communication, server end 30 could be utilized to control each client 40 and synchronously to play.
Be understandable that no matter be that after once asking or after pre-determined number request, as long as do not exceed the request of pre-determined number, each client 40 all can be in halted state, then continue to play; And if exceeded the request of pre-determined number, also have client 40 can not be in halted state, then resend synchronous play instruction.
Synchronization check bag sending module 303, sends synchronization check bag to each client 40, to make each client 40 by the playing duration comparison in current playing duration and synchronization check bag for timing.
Be understandable that, include the playing duration of server end 30 in synchronization check bag, such as server end 30 plays to 5 points of 22 seconds positions, then namely 5 points 22 seconds be the playing duration of server end 30.When client 40 receives synchronization check bag, visitor is needed playing duration (playing duration of server end) in self current playing duration and synchronization check bag such as 5 points to be compared for 22 seconds.
Synchronization control module 304, when the current playing duration of each client 40 with the playing duration in synchronization check bag in synchronous allowed band, be judged as that each client 40 is play synchronously, control each client 40 continue play.
Consider that each client 40 may exist the regular hour at the synchronization check bag of reception server end poor, but this time difference is very little, as long as so the current playing duration of each client 40 with the playing duration in synchronization check bag in synchronous allowed band, be then judged as that each client 40 is play synchronously.
When certain or certain current playing duration of several clients 40 exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client 40 is play asynchronous, then control each client 40 and adjust each self-corresponding current playing duration, make respective current playing duration continue again to play in synchronous allowed band with the playing duration in described synchronization check bag.
That is, current playing duration and the playing duration in synchronization check bag exceed the client 40 of synchronous allowed band, need its playing duration to be adjusted to consistent with playing duration in synchronization check bag (namely in synchronous allowed band) as far as possible, namely when the current playing duration of client 40 is advanced, then current for client 40 playing duration is adjusted backward, and when the current playing duration of client 40 is delayed, then current for client 40 playing duration is adjusted forward, this makes it possible to make different clients 40 return to the state play synchronous with other clients 40.
With reference to shown in Fig. 5, multi-screen synchronous Play System provided by the invention, comprises the server end 30 as described in above-described embodiment and multiple client 40,
Client 40 starts broadcasting for receiving the synchronous play instruction of also response server end 30 transmission;
Also for the synchronization check bag that reception server end 30 sends, and by the playing duration comparison in current playing duration and synchronization check bag; And
When the current playing duration of each client 40 with the playing duration in synchronization check bag in synchronous allowed band, be judged as that each client 40 is play synchronously, then under the control of server end 30 continue play; When certain or certain current playing duration of several clients 40 exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client 40 is play asynchronous, the current playing duration that then adjustment is corresponding separately under the control of server end 30, makes respective current playing duration continue to play in synchronous allowed band with the playing duration in described synchronization check bag again.
Be appreciated that and be, server end 30 can adopt the function Control Server 31 and sync control server 32 that independently separate, function Control Server 31 primary responsibility function controls, such as play, suspend, specifically can comprise the request module of registering described in above-described embodiment, clock correction request module, synchronous play instruction sending module, pause instruction sending module, status request module, status control module etc., and sync control server 32 is mainly used in sending synchronization check bag to client 40, realize the Synchronization Control of client 40, specifically comprise the synchronization check bag sending module described in above-described embodiment and synchronization control module.So, relative to Single-Server control mode, namely function controls to control to be all at a server end with synchronization check, because server end sends synchronizing information very frequently, probably certain time have conflict to cause and a little controlling functions failure phenomenon, and native system adopts two server control mode, namely function controls to carry out separating system with Synchronization Control, the clear wash rice division of labor, exempts from well to have kept away the conflict in communication, guarantees audio video synchronization better effects if.
In sum, according to multi-screen synchronous player method, system and relevant apparatus that each embodiment of the present invention provides, synchronization check bag is sent to each client by server end timing, during current playing duration and verification are wrapped by each client, playing duration compares, judge each client current playing duration is wrapped with verification in playing duration whether in synchronous allowed band, if each client is all in synchronous allowed band, then controls each client and continue to play, if certain or certain several client exceedes synchronous allowed band, then control each self-corresponding current playing duration of each client adjustment, respective current playing duration is made to continue to play in synchronous allowed band with the playing duration in described synchronization check bag again, so, realize multi-screen synchronous to play, due to adopt time length ratio compared with mode, so be almost applicable to all media files play, there is extremely wide applicability, and on synchronization check, using the playing duration of server end as criterion play position, each client is sent to compare with it, if exceed synchronous permissible range, carry out synchronous adjustment, exempt from like this to have kept away too much communication adjustment, the better fluency ensureing to play.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a multi-screen synchronous player method, is characterized in that, comprising:
Connect with each client;
Send synchronous play instruction to each client, start broadcasting to make synchronous play instruction described in each client end response;
Timing sends synchronization check bag to each client, to make each client by the playing duration comparison in current playing duration and synchronization check bag, and
When the current playing duration of each client and the playing duration in synchronization check bag are in synchronous allowed band, be judged as that each client terminal playing is synchronous, control each client and continue to play;
When certain or certain current playing duration of several client exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client terminal playing is asynchronous, then control each self-corresponding current playing duration of each client adjustment, make respective current playing duration continue again to play in synchronous allowed band with the playing duration in described synchronization check bag.
2. multi-screen synchronous player method according to claim 1, is characterized in that, after connecting with each client, the method also comprises:
Send the identity request of registering to client, carry out identity to make the identity request of registering described in described client end response and register.
3. multi-screen synchronous player method according to claim 2, is characterized in that, is sending the identity request of registering to client, and carry out after identity registers to make the corresponding described identity request of registering of described client, the method also comprises:
To client tranmitting data register corrective command, be consistent with the clock of server end to make described client by the clock correction of self.
4. multi-screen synchronous player method according to claim 1, is characterized in that, is sending synchronous play instruction to each client, and after starting broadcasting to make synchronous play instruction described in each client end response, the method also comprises:
Send pause instruction to client, be in halted state to make client;
Status request is sent to client, to obtain client current state, when all clients are all in halted state, send and continue play command to each client, each client is made to continue to play, when certain or certain several client is not in halted state, then timing continues to send status request, if in the status request of pre-determined number, all clients are all in halted state, then send and continue play command to each client, make each client continue to play, otherwise, resend synchronous play instruction.
5. multi-screen synchronous player method according to any one of claim 1 to 4, is characterized in that, described broadcasting adopts K-Lite decoders decode to play.
6. a server end, is characterized in that, comprising:
Link block, for connecting with each client;
Synchronous play instruction sending module, for sending synchronous play instruction to each client, starts broadcasting to make synchronous play instruction described in each client end response;
Synchronization check bag sending module, sends synchronization check bag for timing to each client, to make each client by the playing duration comparison in current playing duration and synchronization check bag, and
Synchronization control module, for when the current playing duration of each client with the playing duration in synchronization check bag in synchronous allowed band, be judged as that each client terminal playing is synchronous, control each client and continue broadcasting; When certain or certain current playing duration of several client exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client terminal playing is asynchronous, then control each self-corresponding current playing duration of each client adjustment, make respective current playing duration continue again to play in synchronous allowed band with the playing duration in described synchronization check bag.
7. server end according to claim 6, is characterized in that, this server end also comprises:
To register request module, for sending the identity request of registering to client, carrying out identity to make the identity request of registering described in described client end response and registering.
8. server end according to claim 7, is characterized in that, this server end also comprises:
The clock correction of self for client tranmitting data register corrective command, is consistent with the clock of server end to make described client by clock correction request module.
9. server end according to claim 6, is characterized in that, this server end also comprises:
Pause instruction sending module, for sending pause instruction to client, is in halted state to make client;
Status control module, for sending status request, to obtain client current state to client; When all clients are all in halted state, send and continue play command to each client, make each client continue to play; When certain or certain several client is not in halted state, then timing continues to send status request, if in the status request of pre-determined number, all clients are all in halted state, then continue play command to each client, each client is made to continue to play, otherwise, resend synchronous play instruction.
10. a multi-screen synchronous Play System, is characterized in that, comprises server end and multiple client according to any one of claim 6-9,
Client starts broadcasting for receiving the synchronous play instruction of also response server end transmission;
Also for the synchronization check bag that reception server end sends, and by the playing duration comparison in current playing duration and synchronization check bag; And
When the current playing duration of each client and the playing duration in synchronization check bag are in synchronous allowed band, be judged as that each client terminal playing is synchronous, then continue to play under the control of server end;
When certain or certain current playing duration of several client exceedes synchronous allowed band with the playing duration in synchronization check bag, judge that each client terminal playing is asynchronous, the current playing duration that then adjustment is corresponding separately under the control of server end, makes respective current playing duration continue to play in synchronous allowed band with the playing duration in described synchronization check bag again.
CN201410415975.0A 2014-08-21 2014-08-21 Multi-screen synchronous player method, system and relevant apparatus Expired - Fee Related CN104284200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410415975.0A CN104284200B (en) 2014-08-21 2014-08-21 Multi-screen synchronous player method, system and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410415975.0A CN104284200B (en) 2014-08-21 2014-08-21 Multi-screen synchronous player method, system and relevant apparatus

Publications (2)

Publication Number Publication Date
CN104284200A true CN104284200A (en) 2015-01-14
CN104284200B CN104284200B (en) 2017-11-10

Family

ID=52258607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410415975.0A Expired - Fee Related CN104284200B (en) 2014-08-21 2014-08-21 Multi-screen synchronous player method, system and relevant apparatus

Country Status (1)

Country Link
CN (1) CN104284200B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187689A (en) * 2015-10-12 2015-12-23 国家电网公司 Method for synchronizing ultra-high-definition video played jointly by multiple terminals
CN105897681A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 Information push method, device and system
CN106604065A (en) * 2016-12-30 2017-04-26 中广热点云科技有限公司 System and method for realizing multi-screen video playing in same screen
CN106911950A (en) * 2015-12-23 2017-06-30 福建星网视易信息系统有限公司 A kind of video synchronization method and system
CN109195000A (en) * 2018-10-10 2019-01-11 深圳市创维群欣安防科技股份有限公司 A kind of local area network multi-screen splicing synchronous display method, system and storage medium
EP3544308A4 (en) * 2016-11-11 2020-11-18 Alibaba Group Holding Limited Play control method and device
CN112788421A (en) * 2019-11-08 2021-05-11 京东方科技集团股份有限公司 Multimedia playing method, main control board, multimedia playing equipment and system
CN112783458A (en) * 2019-11-08 2021-05-11 京东方科技集团股份有限公司 Synchronous display method, system, electronic device and computer readable medium
WO2021180174A1 (en) * 2020-03-11 2021-09-16 广州酷狗计算机科技有限公司 Song playing method, apparatus, and system and computer storage medium
CN113448527A (en) * 2021-06-28 2021-09-28 华科融资租赁有限公司 Data synchronization method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101647273A (en) * 2007-03-30 2010-02-10 索尼株式会社 Multi-screen sync reproduction system, display control terminal, multi-screen sync reproduction method, and program
CN101969460A (en) * 2010-09-28 2011-02-09 同辉佳视(北京)信息技术有限公司 Multi-screen synchronized video playing method and system
CN103475908A (en) * 2013-07-23 2013-12-25 北京九华互联科技有限公司 Multi-screen synchronization play method and device
CN103491317A (en) * 2013-09-06 2014-01-01 北京东方艾迪普科技发展有限公司 Three-dimensional figure and image multi-screen synchronous broadcasting method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101647273A (en) * 2007-03-30 2010-02-10 索尼株式会社 Multi-screen sync reproduction system, display control terminal, multi-screen sync reproduction method, and program
CN101969460A (en) * 2010-09-28 2011-02-09 同辉佳视(北京)信息技术有限公司 Multi-screen synchronized video playing method and system
CN103475908A (en) * 2013-07-23 2013-12-25 北京九华互联科技有限公司 Multi-screen synchronization play method and device
CN103491317A (en) * 2013-09-06 2014-01-01 北京东方艾迪普科技发展有限公司 Three-dimensional figure and image multi-screen synchronous broadcasting method, device and system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187689A (en) * 2015-10-12 2015-12-23 国家电网公司 Method for synchronizing ultra-high-definition video played jointly by multiple terminals
CN105897681A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 Information push method, device and system
CN106911950A (en) * 2015-12-23 2017-06-30 福建星网视易信息系统有限公司 A kind of video synchronization method and system
EP3544308A4 (en) * 2016-11-11 2020-11-18 Alibaba Group Holding Limited Play control method and device
US10999645B2 (en) 2016-11-11 2021-05-04 Alibaba Group Holding Limited Playing control method and apparatus
US11595735B2 (en) 2016-11-11 2023-02-28 Alibaba Group Holding Limited Playing control method and apparatus
CN106604065B (en) * 2016-12-30 2019-10-25 中广热点云科技有限公司 A kind of system and method realized multi-screen and play video with screen
CN106604065A (en) * 2016-12-30 2017-04-26 中广热点云科技有限公司 System and method for realizing multi-screen video playing in same screen
CN109195000A (en) * 2018-10-10 2019-01-11 深圳市创维群欣安防科技股份有限公司 A kind of local area network multi-screen splicing synchronous display method, system and storage medium
CN112788421A (en) * 2019-11-08 2021-05-11 京东方科技集团股份有限公司 Multimedia playing method, main control board, multimedia playing equipment and system
CN112783458A (en) * 2019-11-08 2021-05-11 京东方科技集团股份有限公司 Synchronous display method, system, electronic device and computer readable medium
CN112783458B (en) * 2019-11-08 2022-04-29 京东方科技集团股份有限公司 Synchronous display method, system, electronic device and computer readable medium
CN112788421B (en) * 2019-11-08 2023-05-26 京东方科技集团股份有限公司 Multimedia playing method, main control board, multimedia playing device and system
WO2021180174A1 (en) * 2020-03-11 2021-09-16 广州酷狗计算机科技有限公司 Song playing method, apparatus, and system and computer storage medium
CN113448527A (en) * 2021-06-28 2021-09-28 华科融资租赁有限公司 Data synchronization method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104284200B (en) 2017-11-10

Similar Documents

Publication Publication Date Title
CN104284200A (en) Multi-screen synchronized playing method and system and related device
CN103200461B (en) A kind of multiple stage playback terminal synchronous playing system and player method
US8931024B2 (en) Receiving apparatus and subtitle processing method
CN106604065B (en) A kind of system and method realized multi-screen and play video with screen
JP5679815B2 (en) Communication technology that can synchronize received streams sent to other devices
CN108495152B (en) Video live broadcast method and device, electronic equipment and medium
JP2008252422A5 (en)
US9549027B2 (en) Network-synchronized media playback
US9088818B2 (en) Adaptive media delay matching
JP7191226B2 (en) Dynamic playback of transition frames during transitions between playbacks of media streams
KR20140066641A (en) Server, multimedia apparatus, and control method of thereof
CN108366283B (en) Media synchronous playing method among multiple devices
US10887646B2 (en) Live streaming with multiple remote commentators
KR102566550B1 (en) Method of display playback synchronization of digital contents in multiple connected devices and apparatus using the same
US11758245B2 (en) Interactive media events
US10484735B2 (en) Method and system for synchronizing media streams
KR101600891B1 (en) Synchronization method and system for audio and video of a plurality terminal
AU2013200731A1 (en) System and method for controlling motion using time synchronization between picture and motion
US20220394328A1 (en) Consolidated Watch Parties
CN106412646B (en) Method and device for realizing synchronous playing
CN113691847A (en) Multi-screen frame synchronization method and device
WO2017071642A1 (en) Media playback method, device and computer storage medium
US10925014B2 (en) Method and apparatus for synchronization in a network
CN111669605B (en) Method and device for synchronizing multimedia data and associated interactive data thereof
CN107820111B (en) Information equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171110

Termination date: 20210821

CF01 Termination of patent right due to non-payment of annual fee