Method and system for synchronously playing played contents of multiple playing terminals
Technical Field
The invention relates to the technical field of synchronous playing of playing contents, in particular to a method and a system for synchronously playing contents by a plurality of playing terminals.
Background
In some situations, people arrange a plurality of playing terminals, so that the plurality of playing terminals play the same content and keep the same playing progress.
In the prior art, the synchronous playing of the playing contents often depends on a server excessively, so that the synchronous playing of the playing contents of a plurality of playing terminals has high requirements on the speed and stability of a network, and when the network environment is poor, the synchronous playing effect of the playing contents of the plurality of playing terminals is poor, and a good application effect is difficult to obtain; in addition, the prior art does not support the flexible setting of the master-slave attributes of a plurality of playing terminals in the realization of the synchronous playing of the playing contents.
At present, when a plurality of playing terminals play the same content and keep the same playing progress, in order to avoid the inconsistency of the sound output by each playing terminal, only one playing terminal is generally allowed to output the sound, and part of slave machines do not support the output of the sound on the hardware when leaving the factory, which results in the improvement of the management cost of the playing terminals, and when the master machine is abnormal, the synchronous playing function of the plurality of playing terminals fails.
Disclosure of Invention
The invention aims to provide a method and a system for synchronously playing contents played by a plurality of playing terminals, wherein the method for synchronously playing the contents played by the plurality of playing terminals can reduce the dependence on a server and the requirement on a network environment, and can obtain better synchronous playing effect and application effect; the synchronous playing system for playing contents of the plurality of playing terminals can reduce the dependence on a server, reduce the requirement on a network environment, avoid the improvement of management cost, and support sound output on hardware of the plurality of playing terminals, so that the synchronous playing of the plurality of playing terminals has stronger practicability.
The technical scheme is as follows:
the synchronous playing method of the playing contents of a plurality of playing terminals comprises the following steps,
the user terminal establishes connection with the server, and the user sets master-slave attributes of a plurality of playing terminals through the user terminal;
the server extracts time data of the contents to be synchronously played and obtains corresponding time data;
the server sends master-slave attribute information of a plurality of playing terminals and time data of contents to be synchronously played to the plurality of playing terminals; the master-slave attribute information of the plurality of playing terminals comprises ID information of the plurality of playing terminals and master-slave attributes of the plurality of playing terminals;
the master playing terminal enters a host mode and sends synchronous playing information to the slave playing terminals;
the slave playing terminal forbids the audio module;
and the subordinate playing terminal controls the playing content and the playing progress according to the received synchronous playing information, so that the playing content and the playing progress are synchronous with the playing content and the playing progress of the main playing terminal.
The synchronous playing information comprises manufacturer ID information of the main playing terminal, synchronous playing content ID information and playing content next playing time coordinate information.
The method for synchronously playing the playing contents of the plurality of playing terminals further comprises the following steps,
after the master playing terminal sends synchronous playing information to the slave playing terminal, the slave playing terminal sends response information to the master playing terminal, wherein the response information comprises manufacturer ID information of the slave playing terminal, ID information of synchronous playing content and coordinate information of current playing time of playing content;
the master playing terminal judges whether the difference value of the current playing time coordinate of the playing content of the slave playing terminal and the next playing time coordinate of the playing content of the slave playing terminal is greater than a preset threshold value;
if the subordinate playing terminals with the difference value of the playing time coordinates larger than the preset threshold value reach the preset number, the master playing terminal controls the playing speed of the playing content and slows down the playing speed of the playing content.
The method for synchronously playing the playing contents of the plurality of playing terminals further comprises the following steps,
after the master playing terminal sends synchronous playing information to the slave playing terminal, if the slave playing terminal does not send response information to the master playing terminal within the preset time, the master playing terminal sends the slave playing terminal abnormal information and the abnormal slave playing terminal ID information to the server;
the response information comprises manufacturer ID information of the subordinate playing terminal, ID information of synchronous playing content and coordinate information of current playing time of the playing content;
the server sends the abnormal information of the subordinate playing terminal and the ID information of the abnormal subordinate playing terminal to the user terminal; or, the user terminal obtains the abnormal information of the subordinate playing terminal and the ID information of the abnormal subordinate playing terminal through the server.
The method for synchronously playing the playing contents of the plurality of playing terminals further comprises the following steps,
when the master playing terminal and the slave playing terminal play the playing content, the master playing terminal and the slave playing terminal send state confirmation information, synchronous playing content ID information and current playing time coordinate information of the playing content to the server according to a preset time interval;
the server carries out state description according to the information sent to the master playing terminal and the slave playing terminal and generates corresponding monitoring state information;
the server sends the monitoring state information to the user terminal.
The method for synchronously playing the playing contents of the plurality of playing terminals further comprises the following steps,
if the slave playing terminal does not receive the synchronous playing information sent by the master playing terminal within the preset time, the slave playing terminal sends the abnormal information of the master playing terminal to the server;
and the server confirms whether the main playing terminal is abnormal or not according to the received abnormal information of the main playing terminal and obtains corresponding confirmation information.
The method for synchronously playing the playing contents of the plurality of playing terminals further comprises the following steps,
after the server confirms that the main playing terminal is abnormal, the master-slave attributes of the playing terminals are adjusted, the slave playing terminal which sends the abnormal information of the main playing terminal to the server is used as the main playing terminal, and the ID information of the main playing terminal is sent to the playing terminals;
the master playback terminal enters the host mode and enables its audio equipment.
The method for synchronously playing the playing contents of the plurality of playing terminals further comprises the following steps,
if the server does not confirm whether the main playing terminal is abnormal within the preset time, and the slave playing terminal does not receive the synchronous playing information sent by the main playing terminal within the preset time;
the subordinate playing terminal automatically enters a host mode to serve as a main playing terminal;
the main playing terminal sends ID information to other playing terminals;
the master playback terminal enables its audio equipment.
The method for synchronously playing the playing contents of the plurality of playing terminals further comprises the following steps,
after confirming that the main playing terminal is abnormal, the server sends corresponding confirmation information to the user terminal;
and after the user terminal receives the corresponding confirmation information, the user sets the master-slave attributes of the plurality of playing terminals again through the user terminal.
The synchronous playing system for playing contents by a plurality of playing terminals comprises a user terminal, a server and a plurality of playing terminals,
the user terminal is connected with the server and used for setting master-slave attributes of the plurality of playing terminals by a user;
the server is used for extracting time data of the contents to be synchronously played and obtaining corresponding time data; the system comprises a plurality of playing terminals, a plurality of server and a plurality of server, wherein the server is used for sending master-slave attribute information of the playing terminals and time data of contents to be synchronously played to the playing terminals, and the master-slave attribute information of the playing terminals comprises ID information of the playing terminals and master-slave attributes of the playing terminals;
the plurality of playing terminals are respectively provided with a communication gateway module, an external communication interface module, a network communication module, a program decoding module, a display control module, an audio module and a processing module,
the communication gateway module is connected with the external communication interface module, and the communication gateway module and the external communication interface module are used for communication among the plurality of playing terminals;
the network communication module is used for communication among the plurality of playing terminals and communication between the playing terminals and the server;
the program decoding module is used for decoding the playing content; the display control module is used for driving and controlling the display screen; the audio module is used for playing audio; the processing module is used for disabling and enabling the audio module; the method is used for controlling the playing content and the playing progress.
The following illustrates the advantages or principles of the invention:
1. the synchronous playing method of the playing contents of the multiple playing terminals supports the setting and adjustment of the master-slave attributes of the multiple playing terminals, the user terminal establishes connection with the server, and a user can set the master-slave attributes of the multiple playing terminals through the user terminal; the method reduces the dependence on the server and the requirement on the network environment, the server can extract the time data of the contents to be synchronously played to obtain the corresponding time data, the master-slave attribute information of a plurality of playing terminals and the time data of the contents to be synchronously played are sent to the plurality of playing terminals, the master playing terminal enters a host mode after receiving the information sent by the server and sends the synchronous playing information to the slave playing terminals, the slave playing terminals forbid audio modules thereof, the slave playing terminals control the playing contents and the playing progress according to the received synchronous playing information to synchronize the playing contents and the playing progress of the slave playing terminals with the playing contents and the playing progress of the master playing terminal, the synchronous playing method of the contents of the plurality of playing terminals reduces the setting and the requirement on the functions of the server, and the synchronous playing information of the plurality of playing terminals is sent by the master playing terminal, the multiple playing terminals can realize the communication function through the communication network, so that the requirement on the network environment is reduced, the audio module of the subordinate playing terminal is forbidden when the subordinate playing terminal plays the playing content, the synchronization with the playing content and the playing progress of the main playing terminal is kept according to the received synchronous playing information, the multiple playing terminals can obtain a better and ideal synchronous playing effect, and the synchronous playing of the multiple playing terminals can have a stronger application effect.
2. The synchronous playing information comprises manufacturer ID information of a main playing terminal, synchronous playing content ID information and playing content next playing time coordinate information, the manufacturer ID information of the main playing terminal can be used for a subordinate playing terminal to verify the identity of a playing terminal sending the synchronous playing information, the subordinate playing terminal is prevented from carrying out synchronous playing control, and the management of the synchronous playing control of a plurality of playing terminals is standardized; the synchronous playing content ID information is used for playing corresponding playing content by the subordinate playing terminal; and the next playing time coordinate information of the playing content is used for adjusting the playing progress of the subordinate playing terminal.
3. According to the method for synchronously playing the playing contents of the multiple playing terminals, after a master playing terminal sends synchronous playing information to a slave playing terminal, the slave playing terminal sends response information to the master playing terminal, and the master playing terminal judges whether the difference value between the current playing time coordinate of the playing contents of the slave playing terminal and the next playing time coordinate of the playing contents of the slave playing terminal is greater than a preset threshold value or not according to the response of the slave playing terminal; if the slave playing terminals with the difference value of the playing time coordinates larger than the preset threshold value reach the preset number, the master playing terminal controls the playing speed of the playing content and slows down the playing speed of the playing content, and an adjusting mechanism is embodied, so that the plurality of playing terminals can reach a better synchronous playing effect, and the plurality of playing terminals can better keep the same playing progress.
4. According to the method for synchronously playing the playing contents of the multiple playing terminals, after the master playing terminal sends synchronous playing information to the slave playing terminals, the master playing terminal judges whether the slave playing terminals are abnormal or not according to the response conditions of the slave playing terminals, if the slave playing terminals do not send response information to the master playing terminal within preset time, the slave playing terminals are abnormal, and the master playing terminal sends the slave playing terminal abnormal information and the abnormal slave playing terminal ID information to a server; the server sends the abnormal information of the subordinate playing terminal and the ID information of the abnormal subordinate playing terminal to the user terminal; or the user terminal acquires the abnormal information of the slave playing terminal and the ID information of the abnormal slave playing terminal through the server, and the user can timely maintain the abnormal slave playing terminal after acquiring the abnormal slave playing terminal or get contact with a manufacturer to maintain the abnormal slave playing terminal.
5. According to the method for synchronously playing the playing contents of the multiple playing terminals, a master playing terminal and a slave playing terminal can send state confirmation information, synchronous playing content ID information and current playing time coordinate information of the playing contents to a server according to a preset time interval, wherein the state confirmation information is mainly used for confirming whether the playing terminals and the server are in a network connection state or not; the server carries out state description according to the information sent to the master playing terminal and the slave playing terminal and generates corresponding monitoring state information; the server sends the monitoring state information to the user terminal; the monitoring state information can facilitate the user to monitor the playing terminal, clearly know the state of each time interval of the playing terminal and the synchronous playing condition of the playing terminal, and facilitate the user to control and manage the synchronous playing of a plurality of playing terminals.
6. According to the method for synchronously playing the playing contents of the multiple playing terminals, the slave playing terminals can preliminarily judge whether the master playing terminal is abnormal or not according to the information receiving condition of the slave playing terminals, and if the slave playing terminals do not receive the synchronous playing information sent by the master playing terminal within the preset time, the slave playing terminals can send the abnormal information of the master playing terminal to the server; the server confirms whether the main playing terminal is abnormal or not according to the received abnormal information of the main playing terminal, obtains corresponding confirmation information, and can take/carry out corresponding measures to better manage synchronous playing of the plurality of playing terminals if the main playing terminal is confirmed to be abnormal.
7. According to the method for synchronously playing the playing contents of the multiple playing terminals, after the server confirms that the main playing terminal is abnormal, the master-slave attributes of the multiple playing terminals can be adjusted, the slave playing terminal which sends the abnormal information of the main playing terminal to the server is used as the main playing terminal, and the ID information of the main playing terminal is sent to the multiple playing terminals; the master playing terminal can enter a host mode, start the audio equipment of the master playing terminal and send synchronous playing information to the slave playing terminals, so that the control and management of synchronous playing of a plurality of playing terminals are better realized, and the failure of synchronous playing of the plurality of playing terminals caused by the abnormal master playing terminal is avoided.
8. If the server does not confirm whether the main playing terminal is abnormal within the preset time and the slave playing terminal does not receive the synchronous playing information sent by the main playing terminal within the preset time, the synchronous playing method of the playing contents of the multiple playing terminals is adopted; the slave playing terminal can automatically enter a host mode as a master playing terminal; the main playing terminal sends ID information to other playing terminals; the master playing terminal starts the audio equipment, and can send synchronous playing information to the slave playing terminals, so that the control and management of synchronous playing of a plurality of playing terminals are better realized, and the failure of synchronous playing of a plurality of playing terminals caused by abnormal and direct master playing terminals is avoided.
9. In the synchronous playing method of the playing contents of the plurality of playing terminals, after the server confirms that the main playing terminal is abnormal, corresponding confirmation information can be sent to the user terminal; after the user terminal receives the corresponding confirmation information, the user can set the master-slave attributes of the plurality of playing terminals through the user terminal again, and after the new master playing terminal enters the host mode, the synchronous playing information can be sent to the slave playing terminals, so that the control and management of the synchronous playing of the plurality of playing terminals can be better realized, and the failure of the synchronous playing of the plurality of playing terminals caused by the abnormal master playing terminal is avoided.
10. The system comprises a user terminal, a server and a plurality of playing terminals, wherein the user terminal is connected with the server, and a user can set master-slave attributes of the playing terminals through the user terminal; the server can extract time data of the contents to be synchronously played and obtain corresponding time data; the master-slave attribute information of a plurality of playing terminals and the time data of the contents to be synchronously played can be sent to the plurality of playing terminals; the plurality of playing terminals are respectively provided with a communication gateway module, an external communication interface module, a network communication module, an audio module and a processing module, the communication gateway module is connected with the external communication interface module, and the communication gateway module and the external communication interface module can be used for communication among the plurality of playing terminals; the network communication module can be used for communication among a plurality of playing terminals and communication between the playing terminals and the server; the audio module is used for playing audio; the processing module is used for disabling and enabling the audio module and controlling the playing content and the playing progress;
this synchronous broadcast system of a plurality of broadcast terminal broadcast content to user terminal, the server, broadcast terminal's function and branch work set up clearly, it is reasonable, science, it has reduced the reliance to the server, the requirement to network environment has been reduced, and a plurality of broadcast terminals all have the audio module, can reduce broadcast terminal's administrative cost, avoid broadcast terminal separately to manage, also avoided appearing unusually when main broadcast terminal, the condition that subordinate broadcast terminal can't output audio appears, make the synchronous broadcast of a plurality of broadcast terminals can gain better effect, and have stronger practicality and popularization nature.
Drawings
Fig. 1 is a schematic flow chart of a method for playing content synchronously by multiple playing terminals according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating the relationship between a user terminal, a server, and a plurality of broadcast terminals according to an embodiment of the present invention;
description of reference numerals:
10. user terminal, 20, server, 31, master playback terminal, 32, slave playback terminal.
Detailed Description
The following provides a detailed description of embodiments of the invention.
As shown in fig. 1, the method for playing content synchronously by a plurality of playing terminals includes the following steps,
s110, the user terminal 10 establishes connection with the server 20, and the user sets master-slave attributes of a plurality of playing terminals through the user terminal 10;
s120, the server 20 extracts time data of the contents to be synchronously played and obtains corresponding time data;
s130, the server 20 sends master-slave attribute information of multiple playing terminals and time data of content to be played synchronously to the multiple playing terminals; the master-slave attribute information of the plurality of playing terminals comprises ID information of the plurality of playing terminals and master-slave attributes of the plurality of playing terminals;
s140, the master playback terminal 31 enters the master mode, and the master playback terminal 31 sends the synchronized playback information to the slave playback terminal 32;
s150, the slave playback terminal 32 disables its audio module;
s160, the slave playback terminal 32 controls the playback content and the playback progress according to the received synchronized playback information, so that the playback content and the playback progress are synchronized with the playback content and the playback progress of the master playback terminal 31.
The playing content may be sent to a plurality of playing terminals by the server 20, or may be pre-stored in a plurality of playing terminals; the synchronous playing information includes manufacturer ID information of the main playing terminal 31, ID information of the synchronous playing content, and next playing time coordinate information of the playing content;
the synchronous playing method of the playing contents of the plurality of playing terminals further comprises the following steps,
after the master playing terminal 31 sends synchronous playing information to the slave playing terminal 32, the slave playing terminal 32 sends response information to the master playing terminal 31, wherein the response information comprises manufacturer ID information of the slave playing terminal 32, ID information of the slave playing terminal, ID information of synchronous playing content and coordinate information of current playing time of playing content;
the master playing terminal 31 determines whether the difference between the current playing time coordinate of the playing content of the slave playing terminal 32 and the next playing time coordinate of the playing content is greater than a preset threshold;
if the slave play terminals 32 with the difference value of the play time coordinates larger than the preset threshold reach the preset number, the master play terminal 31 controls the play speed of the play content and slows down the play speed of the play content;
the synchronous playing method of the playing contents of the plurality of playing terminals further comprises the following steps,
after the master playing terminal 31 sends the synchronized playing information to the slave playing terminal 32, if the slave playing terminal 32 does not send the response information to the master playing terminal 31 within the preset time, the master playing terminal 31 sends the slave playing terminal abnormal information and the abnormal slave playing terminal ID information to the server 20;
the response information includes manufacturer ID information of the slave playback terminal 32, ID information of the slave playback terminal, ID information of the synchronized playback content, and coordinate information of the current playback time of the playback content;
the server 20 sends the slave playback terminal abnormality information and the abnormal slave playback terminal ID information to the user terminal 10; or, the user terminal 10 knows the abnormal information of the slave playback terminal and the abnormal slave playback terminal ID information through the server 20;
preferably, the method for playing content synchronously by a plurality of playing terminals further comprises the following steps,
when the master playing terminal 31 and the slave playing terminal 32 play the playing content, the master playing terminal 31 and the slave playing terminal 32 send the state confirmation information, the ID information of the synchronous playing content and the current playing time coordinate information of the playing content to the server 20 at a preset time interval;
the server 20 performs state drawing according to the information sent to the master playing terminal 31 and the slave playing terminal 32, and generates corresponding monitoring state information;
the server 20 transmits the monitoring state information to the user terminal 10;
the synchronous playing method of the playing contents of the plurality of playing terminals further comprises the following steps,
if the slave playing terminal 32 does not receive the synchronous playing information sent by the master playing terminal 31 within the preset time, the slave playing terminal 32 sends the master playing terminal abnormal information to the server 20;
the server 20 confirms whether the main playing terminal 31 is abnormal or not according to the received abnormal information of the main playing terminal, and obtains corresponding confirmation information;
furthermore, the method for synchronously playing the contents played by a plurality of playing terminals also comprises the following steps,
after the server 20 confirms that the master playback terminal 31 is abnormal, the master-slave attributes of the multiple playback terminals are adjusted, the slave playback terminal 32 which sends the abnormal information of the master playback terminal to the server 20 is used as the master playback terminal, and the ID information of the master playback terminal is sent to the multiple playback terminals;
the main playing terminal enters a host mode and starts the audio equipment;
furthermore, the method for synchronously playing the contents played by a plurality of playing terminals also comprises the following steps,
after confirming that the main playing terminal 31 is abnormal, the server 20 sends corresponding confirmation information to the user terminal 10;
after the user terminal 10 receives the corresponding confirmation information, the user sets the master-slave attributes of the plurality of playing terminals through the user terminal 10 again;
furthermore, the method for synchronously playing the contents played by a plurality of playing terminals also comprises the following steps,
if the server 20 does not confirm whether the master playback terminal 31 is abnormal within the preset time, and the slave playback terminal 32 does not receive the synchronized playback information sent by the master playback terminal 31 within the preset time;
the slave playback terminal 32 automatically enters the host mode as a master playback terminal;
the main playing terminal sends ID information to other playing terminals;
the master playback terminal enables its audio equipment.
Referring to fig. 2, the system for playing content synchronously by multiple playing terminals includes a user terminal 10, a server 20 and multiple playing terminals,
the user terminal 10 is connected with the server 20, and the user terminal 10 is used for setting master-slave attributes of a plurality of playing terminals by a user;
the server 20 is configured to extract time data of the content to be synchronously played and obtain corresponding time data; the system comprises a plurality of playing terminals, a plurality of server and a plurality of server, wherein the server is used for sending master-slave attribute information of the playing terminals and time data of contents to be synchronously played to the playing terminals, and the master-slave attribute information of the playing terminals comprises ID information of the playing terminals and master-slave attributes of the playing terminals;
the plurality of playing terminals are respectively provided with a communication gateway module, an external communication interface module, a network communication module, a program decoding module, a display control module, an audio module and a processing module,
the communication gateway module is connected with the external communication interface module, and the communication gateway module and the external communication interface module are used for communication among the plurality of playing terminals;
a network communication module, which is used for communication among a plurality of playing terminals and communication between the playing terminals and the server 20;
the program decoding module is used for decoding the playing content; the display control module is used for driving and controlling the display screen; the audio module is used for playing audio; the processing module is used for disabling and enabling the audio module; the method is used for controlling the playing content and the playing progress.
The advantages of this embodiment:
1. the synchronous playing method of the playing contents of a plurality of playing terminals supports the setting and adjustment of the master-slave attributes of the plurality of playing terminals, the user terminal 10 establishes connection with the server 20, and a user can set the master-slave attributes of the plurality of playing terminals through the user terminal 10; the method reduces the dependence on the server 20 and the requirement on the network environment, the server 20 can extract time data of the contents to be synchronously played to obtain corresponding time data, the master-slave attribute information of a plurality of playing terminals and the time data of the contents to be synchronously played are sent to the plurality of playing terminals, the master playing terminal 31 enters a host mode after receiving the information sent by the server 20 and sends synchronous playing information to the slave playing terminal 32, the slave playing terminal 32 disables an audio module of the slave playing terminal, the slave playing terminal 32 controls the playing contents and the playing progress according to the received synchronous playing information to synchronize the playing contents and the playing progress with the playing contents and the playing progress of the master playing terminal 31, the method for synchronously playing the contents of the plurality of playing terminals reduces the setting and the requirement on the functions of the server 20, the synchronous playing information of the plurality of playing terminals is sent by the master playing terminal 31, the multiple playing terminals can realize the communication function through the communication network, so that the requirement on the network environment is reduced, the audio module of the slave playing terminal 32 is forbidden when the playing content is played by the slave playing terminal, the playing content and the playing progress of the slave playing terminal are kept synchronous with the playing content and the playing progress of the master playing terminal 31 according to the received synchronous playing information, the multiple playing terminals can obtain a better and ideal synchronous playing effect, and the synchronous playing of the multiple playing terminals can have a stronger application effect.
2. According to the method for synchronously playing the playing contents of the multiple playing terminals, the synchronous playing information comprises manufacturer ID information of the main playing terminal 31, synchronous playing content ID information and playing content next playing time coordinate information, the manufacturer ID information of the main playing terminal 31 can be used for verifying the identity of the playing terminal sending the synchronous playing information by the slave playing terminal 32, the slave playing terminal 32 is prevented from carrying out synchronous playing control, and the management of the synchronous playing control of the multiple playing terminals is standardized; the ID information of the synchronized playback content is used for the slave playback terminal 32 to play back the corresponding playback content; the play content next play time coordinate information is used for adjusting the play progress of the slave play terminal 32.
3. According to the method for synchronously playing the playing contents of the multiple playing terminals, after the master playing terminal 31 sends synchronous playing information to the slave playing terminal 32, the slave playing terminal 32 sends response information to the master playing terminal 31, and the master playing terminal 31 judges whether the difference value between the current playing time coordinate of the playing contents of the slave playing terminal 32 and the next playing time coordinate of the playing contents of the slave playing terminal is larger than a preset threshold value or not according to the response of the slave playing terminal 32; if the slave play terminals 32 with the difference value of the play time coordinates larger than the preset threshold reach the preset number, the master play terminal 31 controls the play speed of the play content and slows down the play speed of the play content, which embodies an adjustment mechanism, so that a plurality of play terminals can achieve a better synchronous play effect, and the plurality of play terminals can better keep the same play progress.
4. In the method for synchronously playing the playing contents of the multiple playing terminals, after the master playing terminal 31 sends synchronous playing information to the slave playing terminal 32, the master playing terminal 31 judges whether the slave playing terminal 32 is abnormal or not according to the response condition of the slave playing terminal 32, if the slave playing terminal 32 does not send response information to the master playing terminal 31 within the preset time, the slave playing terminal 32 is abnormal, and the master playing terminal 31 sends the slave playing terminal abnormal information and the abnormal slave playing terminal ID information to the server 20; the server 20 sends the slave playback terminal abnormality information and the abnormal slave playback terminal ID information to the user terminal 10; alternatively, the user terminal 10 knows the abnormal information of the slave playback terminal and the ID information of the abnormal slave playback terminal through the server 20, and after the user knows the abnormal slave playback terminal, the user can timely maintain the abnormal slave playback terminal, or get in contact with the manufacturer to maintain the abnormal slave playback terminal.
5. In the method for synchronously playing the playing contents of the multiple playing terminals, the master playing terminal 31 and the slave playing terminal 32 can send state confirmation information, ID information of the synchronously playing contents and coordinate information of the current playing time of the playing contents to the server 20 according to a preset time interval, wherein the state confirmation information is mainly used for confirming whether the playing terminals and the server 20 are in a network connection state; the server 20 performs state drawing according to the information sent to the master playing terminal 31 and the slave playing terminal 32, and generates corresponding monitoring state information; the server 20 transmits the monitoring state information to the user terminal 10; the monitoring state information can facilitate the user to monitor the playing terminal, clearly know the state of each time interval of the playing terminal and the synchronous playing condition of the playing terminal, and facilitate the user to control and manage the synchronous playing of a plurality of playing terminals.
6. According to the method for synchronously playing the playing contents of the multiple playing terminals, the slave playing terminal 32 can preliminarily judge whether the master playing terminal 31 is abnormal or not according to the information receiving condition, and if the slave playing terminal 32 does not receive the synchronous playing information sent by the master playing terminal 31 within the preset time, the slave playing terminal 32 can send the abnormal information of the master playing terminal to the server 20; the server 20 confirms whether the main playing terminal 31 is abnormal according to the received abnormal information of the main playing terminal, and obtains corresponding confirmation information, and if the main playing terminal 31 is confirmed to be abnormal, corresponding measures can be taken/performed to better manage the synchronous playing of a plurality of playing terminals.
7. In the method for synchronously playing the playing contents of the multiple playing terminals, after the server 20 confirms that the main playing terminal 31 is abnormal, the master-slave attributes of the multiple playing terminals can be adjusted, the slave playing terminal 32 which sends the abnormal information of the main playing terminal to the server 20 is used as the main playing terminal, and the ID information of the main playing terminal is sent to the multiple playing terminals; the master playing terminal can enter a host mode, start the audio equipment of the master playing terminal and send synchronous playing information to the slave playing terminal 32, so that the control and management of synchronous playing of a plurality of playing terminals are better realized, and the failure of synchronous playing of a plurality of playing terminals caused by the abnormal master playing terminal 31 is avoided.
8. In the method for synchronously playing the playing contents of the plurality of playing terminals, after the server 20 confirms that the main playing terminal 31 is abnormal, corresponding confirmation information can be sent to the user terminal 10; after the user terminal 10 receives the corresponding confirmation information, the user can set the master-slave attributes of the plurality of playing terminals through the user terminal 10 again, and after the new master playing terminal enters the host mode, the synchronous playing information can be sent to the slave playing terminal 32, so that the control and management of the synchronous playing of the plurality of playing terminals can be better realized, and the failure of the synchronous playing of the plurality of playing terminals caused by the abnormal master playing terminal 31 is avoided.
9. In the method for playing content synchronously by multiple playing terminals, if the server 20 does not confirm whether the master playing terminal 31 is abnormal within the preset time, and the slave playing terminal 32 does not receive the synchronous playing information sent by the master playing terminal 31 within the preset time; the slave cast terminal 32 can automatically enter the host mode as a master cast terminal; the main playing terminal sends ID information to other playing terminals; the master playing terminal starts the audio equipment, and can send synchronous playing information to the slave playing terminal 32, so that the control and management of synchronous playing of a plurality of playing terminals are better realized, and the failure of synchronous playing of a plurality of playing terminals caused by the abnormal condition of the master playing terminal 31 is avoided.
10. The synchronous playing system of the playing contents of the multiple playing terminals comprises a user terminal 10, a server 20 and the multiple playing terminals, wherein the user terminal 10 is connected with the server 20, and a user can set master-slave attributes of the multiple playing terminals through the user terminal 10; the server 20 can extract time data of the contents to be synchronously played and obtain corresponding time data; the master-slave attribute information of a plurality of playing terminals and the time data of the contents to be synchronously played can be sent to the plurality of playing terminals; the plurality of playing terminals are respectively provided with a communication gateway module, an external communication interface module, a network communication module, an audio module and a processing module, the communication gateway module is connected with the external communication interface module, and the communication gateway module and the external communication interface module can be used for communication among the plurality of playing terminals; the network communication module can be used for communication among a plurality of playing terminals and communication between the playing terminals and the server 20; the audio module is used for playing audio; the processing module is used for disabling and enabling the audio module and controlling the playing content and the playing progress;
this synchronous broadcast system of a plurality of broadcast terminal broadcast content to user terminal 10, server 20, broadcast terminal's function and branch worker set up clearly, it is reasonable, science, it has reduced the reliance to server 20, the requirement to the network environment has been reduced, and a plurality of broadcast terminals all have the audio module, can reduce broadcast terminal's administrative cost, avoid broadcast terminal separately to manage, also avoided appearing unusually as main broadcast terminal 31, the condition that subordinate broadcast terminal 32 can't export the audio frequency appears, make the synchronous broadcast of a plurality of broadcast terminals can gain better effect, and have stronger practicality and popularization nature.
The above are merely specific embodiments of the present invention, and the scope of the present invention is not limited thereby; any alterations and modifications without departing from the spirit of the invention are within the scope of the invention.