CN108513159A - Multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system - Google Patents
Multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system Download PDFInfo
- Publication number
- CN108513159A CN108513159A CN201710110738.7A CN201710110738A CN108513159A CN 108513159 A CN108513159 A CN 108513159A CN 201710110738 A CN201710110738 A CN 201710110738A CN 108513159 A CN108513159 A CN 108513159A
- Authority
- CN
- China
- Prior art keywords
- equipment
- sub
- main equipment
- main
- media file
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 23
- 238000004590 computer program Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000004519 manufacturing process Methods 0.000 claims 1
- 230000000977 initiatory effect Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 12
- 230000004044 response Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000013011 mating Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting 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]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system, method includes:During the media file for being played simultaneously that the main equipment described in each sub- device plays pushes, main equipment receives the playback progress information that each sub- equipment is reported with preset rules;Main equipment adjusts whole broadcasting speed, and according to whole broadcasting speed, feeds back playing progress rate deviation to corresponding sub- equipment, playing progress rate is adjusted for corresponding sub- equipment according to playback progress information.The present invention program is simply applicable in, is easily operated, and the accuracy that multiple terminals is played simultaneously is greatly improved.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of multiple terminals synchronous broadcast controlling method, main equipment, devices
And system.
Background technology
Currently, with the development of network technology, the network function of the smart machines such as mobile phone is more and more abundant, such as in intelligence
Media file is shared, plays etc. is carried out between equipment.
In the prior art, the pattern that technology generally uses client-server is played simultaneously in multimedia file, by server
Multi-medium data is pushed to client terminal, and the playing progress rate for controlling more client terminals is consistent.Wherein, server
Play property by analyzing different clients provides specific sound card delay compensation value to make each client with regard to each client
End plays and is consistent.
However, above-mentioned is played simultaneously technology, only server single issues, the mode that client passively compensates, rear
In continuous playing process, server will not to the playing progress rate of client carry out real-time sampling, also cannot real-time ensuring it is each
Consistency of the client in playing process in progress.
Invention content
The main purpose of the present invention is to provide a kind of multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system,
It is intended to improve the accuracy that multiple terminals is played simultaneously.
To achieve the above object, a kind of multiple terminals synchronous broadcast controlling method provided by the invention, the method are applied to
Main equipment and several sub- equipment, the method includes:
During the media file for being played simultaneously that the main equipment described in each sub- device plays pushes, the master sets
The standby playback progress information for receiving each sub- equipment and being reported with preset rules;
The main equipment adjusts whole broadcasting speed, and according to the whole broadcasting speed according to the playback progress information
Degree, feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment.
Preferably, the process of the media file for being played simultaneously of the push of the main equipment described in each sub- device plays
In, before the step of main equipment receives the playback progress information that each sub- equipment is reported with preset rules, further include:
The main equipment pushes the media file for being played simultaneously to each sub- equipment connected to it;
The main equipment sends play instruction to each sub- equipment, and institute is played according to the play instruction received by each sub- equipment
State media file.
Preferably, the main equipment receives the step of playback progress information that each sub- equipment is reported with preset rules and includes:
The main equipment issues progress report cycle to each sub- equipment, by each sub- equipment according on the progress report cycle
Corresponding playback progress information, the main equipment is reported to receive the playback progress information that each sub- device periodically reports;Or
The main equipment receives the playback progress information that each sub- equipment is actively reported with predetermined period.
Preferably, the main equipment is according to the playback progress information, and the step of adjusting whole broadcasting speed includes:
The playback progress information that the main equipment is reported according to each sub- equipment corrects the broadcasting speed of each sub- equipment;
According to the broadcasting speed of modified each sub- equipment, calculates and adjust current whole broadcasting speed.
Preferably, the main equipment feeds back playing progress rate deviation according to the whole broadcasting speed to corresponding sub- equipment
It is worth, includes for the step of corresponding sub- equipment adjustment playing progress rate:
The main equipment is broadcast according to the current whole broadcasting speed and current time, the entirety that current time is calculated
Degree of putting into;
The playing progress rate that the whole playing progress rate at current time is reported with each sub- equipment is compared, if the difference of the two
More than predetermined threshold value, alternatively, the ratio of the difference of the two is more than predetermined threshold value, then it is inclined to corresponding sub- equipment feedback playing progress rate
Difference adjusts playing progress rate for corresponding sub- equipment;Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.
Preferably, the step of main equipment pushes the media file for being played simultaneously to each sub- equipment connected to it
Including:
The main equipment chooses at least one sub- equipment from each sub- equipment, and sends described be used for together to the sub- equipment of selection
The media file played is walked, the sub- equipment by successfully obtaining media file obtains remaining sub- equipment from the main equipment and believes
Breath, and send the media file to remaining sub- equipment;Or
It is described after main equipment and each sub- equipment establish network connection, the media file for being played simultaneously is selected, by institute
It states the media file for being played simultaneously and is sent to each sub- equipment successively.
Preferably, the method further includes:
The main equipment counts the number that each sub- equipment generates playing progress rate deviation;
If the number for the playing progress rate deviation that one or more sub- equipment generate reaches predetermined threshold value, close one
Or business is played simultaneously in multiple sub- equipment.
The embodiment of the present invention also proposes a kind of main equipment that control multiple terminals is played simultaneously, and the main equipment and several sons are set
Standby communication, the main equipment include:
Progress receiving module, the media file for being played simultaneously pushed for the main equipment described in each sub- device plays
During, receive the playback progress information that each sub- equipment is reported with preset rules;
Control module is adjusted, for according to the playback progress information, adjusting whole broadcasting speed, and according to the entirety
Broadcasting speed, feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment.
Preferably, the main equipment further includes:
File push module, for pushing the media text for being played simultaneously to each sub- equipment being connect with the main equipment
Part;
Instruction sending module is referred to by each sub- equipment according to the broadcasting received for sending play instruction to each sub- equipment
It enables and plays the media file.
Preferably, the progress receiving module is additionally operable to issue progress report cycle to each sub- equipment, by each sub- equipment root
Corresponding playback progress information is reported according to the progress report cycle, receives the playing progress rate letter that each sub- device periodically reports
Breath;Or receive the playback progress information that each sub- equipment is actively reported with predetermined period.
Preferably, the adjustment control module is additionally operable to the playback progress information reported according to each sub- equipment, corrects each son
The broadcasting speed of equipment;According to the broadcasting speed of modified each sub- equipment, calculates and adjust current whole broadcasting speed;According to
The current whole broadcasting speed and current time, the whole playing progress rate at current time is calculated;It is whole by current time
The playing progress rate that body playing progress rate is reported with each sub- equipment is compared, if the difference of the two is more than predetermined threshold value, alternatively, the two
The ratio of difference be more than predetermined threshold value, then playing progress rate deviation is fed back to corresponding sub- equipment, for corresponding sub- equipment tune
Whole playing progress rate;Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.
Preferably, the file push module is additionally operable to choose at least one sub- equipment from each sub- equipment, and to selection
Sub- equipment sends the media file for being played simultaneously, by successfully obtaining the sub- equipment of media file from the main equipment
Remaining sub- facility information is obtained, and the media file is sent to remaining sub- equipment;Or in main equipment and each sub- equipment
After establishing network connection, the media file for being played simultaneously is selected, the media file for being played simultaneously is sent out successively
It send to each sub- equipment.
Preferably, the main equipment further includes:
Message control module generates the number of playing progress rate deviation for counting each sub- equipment;If one or more sons are set
The number of the standby playing progress rate deviation generated reaches predetermined threshold value, then that closes one or more of sub- equipment is played simultaneously industry
Business.
The embodiment of the present invention also proposes that control device is played simultaneously in a kind of multiple terminals, and described device is applied to main equipment, institute
Main equipment and several sub- device talks are stated, described device includes:At least one processor and at least one processor, wherein:
Control computer program is played simultaneously for storing multiple terminals in at least one processor;
At least one processor, by calling the multiple terminals in at least one processor to be played simultaneously based on control
Calculation machine program, to execute the corresponding operation of method as described above.
The embodiment of the present invention also proposes that control system, including main equipment and several sub- equipment is played simultaneously in a kind of multiple terminals,
Wherein:
The main equipment is main equipment as described above;
Each sub- equipment, for media file to be played simultaneously by main equipment control.
A kind of multiple terminals synchronous broadcast controlling method proposed by the present invention, main equipment, apparatus and system, broadcast in each sub- equipment
During the media file for being played simultaneously for putting the main equipment push, the main equipment receives what each sub- equipment reported
Playback progress information adjusts whole broadcasting speed according to the playback progress information, and according to the whole broadcasting speed, to
Corresponding sub- equipment feeds back playing progress rate deviation, adjusts playing progress rate for corresponding sub- equipment, thereby, it is possible in specific occasion
(such as public place) carries out business initiation by a main equipment, and multiple sub- equipment carry out service response, by file-sharing, broadcast
Synchronous control is put, the purpose that multiple terminal devices play Media Stream (such as picture, music, video) jointly, the party are finally reached
Case is simply applicable in, is easily operated, and the accuracy that multiple terminals is played simultaneously is greatly improved.
Description of the drawings
Fig. 1 a are the flow diagrams of synchronous broadcast controlling method first embodiment in multiple terminals of the present invention;
Fig. 1 b are the flow diagrams of synchronous broadcast controlling method second embodiment in multiple terminals of the present invention;
Fig. 2 is the schematic diagram that main equipment initiates the sub- equipment of SM service monitoring in the embodiment of the present invention;
Fig. 3 is the schematic diagram that main equipment is added in neutron equipment of the embodiment of the present invention;
Fig. 4 is the schematic diagram that main equipment screens sub- equipment in the embodiment of the present invention;
Fig. 5 is the schematic diagram that main equipment establishes network connection with sub- equipment in the embodiment of the present invention;
Fig. 6 is the schematic diagram that main equipment pushes media file to sub- equipment in the embodiment of the present invention;
Fig. 7 is the schematic diagram that main equipment interacts adjustment playing progress rate with sub- equipment in the embodiment of the present invention;
Fig. 8 is the flow diagram of synchronous broadcast controlling method 3rd embodiment in multiple terminals of the present invention;
Fig. 9 is the high-level schematic functional block diagram for the main equipment first embodiment that present invention control multiple terminals is played simultaneously;
Figure 10 is the high-level schematic functional block diagram for the main equipment second embodiment that present invention control multiple terminals is played simultaneously;
Figure 11 is the high-level schematic functional block diagram for the main equipment 3rd embodiment that present invention control multiple terminals is played simultaneously.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
In order to keep technical scheme of the present invention clearer, clear, it is described in further detail below in conjunction with attached drawing.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:After main equipment and each sub- equipment establish network connection, the master
Equipment pushes the media file for being played simultaneously to each sub- equipment connected to it, and play instruction is sent to each sub- equipment, by
Each sub- equipment plays the media file according to the play instruction received;The main equipment receives each sub- device periodically and reports
Playback progress information whole broadcasting speed is adjusted according to the playback progress information, and according to the whole broadcasting speed,
Playing progress rate deviation is fed back to corresponding sub- equipment, adjusts playing progress rate for corresponding sub- equipment, thereby, it is possible in specific field
Close (such as public place) and business initiation carried out by main equipment, multiple sub- equipment carry out service responses, by file-sharing,
Synchronous control is played, the purpose that multiple terminal devices play Media Stream (such as picture, music, video) jointly is finally reached, it should
Scheme is simply applicable in, is easily operated, and the accuracy that multiple terminals is played simultaneously is greatly improved.
This embodiment scheme is held it is considered that in certain specific public arenas, such as in the simple and crude meeting room of office
Interim birthday party, without stereo set, and the volume of single mobile phone is inadequate, is played simultaneously according to multiple mobile phones, then
On the one hand acoustic function can be provided, projecting apparatus, stereo set is being replaced on the other hand can to greatly promote hand to a certain degree
The playability of machine terminal.
Wherein, it needs to consider the synchronous control between multiple mobile phones.One kind is achieved in that, passes through the side of FM radio-frequency transmissions
Method makes to keep being played simultaneously between multiple mobile phones, but FM radio-frequency techniques are gradually eliminated on mobile phone, and user needs purchase volume
Outer mating hardware device, this all Shortcomings in portability, operability.In today of network digitalization, it is more
By network, to make to carry out between smart machine, media file is shared, plays.In this way, the synchronization control algorithm between multiple mobile phones
Become key technology.
In the prior art, the pattern that technology generally uses client-server is played simultaneously in multimedia file, still,
In existing media file synchronization play-back technology, server will not carry out real-time sampling, Wu Fashi to the playing progress rate of client
When ensure consistency of each client in playing process in progress.
The present invention provides a solution, can improve the accuracy that multiple terminals is played simultaneously.
Specifically, as shown in Figure 1a, first embodiment of the invention proposes a kind of multiple terminals synchronous broadcast controlling method, described
Method is applied to main equipment and several sub- equipment, and controlling each sub- equipment by main equipment realizes being played simultaneously for media file, institute
The method of stating includes:
Step S103, during the media file for being played simultaneously of each sub- device plays main equipment push, institute
It states main equipment and receives the playback progress information that each sub- equipment is reported with preset rules;
In the present embodiment, in order to improve the synchronization accuracy of media play, business initiation is carried out by a main equipment, it is multiple
Sub- equipment carries out service response, by file-sharing, plays synchronous control, is finally reached multiple terminal devices and plays media jointly
Flow the purpose of (such as picture, music, video).
Wherein, the equipment for actively initiating business, referred to as main equipment (Master);The passive equipment for receiving business, it is referred to as sub
Equipment (Slaver).Multiple sub- equipment are controlled by main equipment association, realize being played simultaneously for media file.
The present embodiment it is considered that due to network transmission difference, at the time of every sub- equipment receives play instruction not
It is identical;Secondly, the processing state of every sub- equipment has differences, and is also differed to the decoding time of audio file;Again, it is broadcasting
Cheng Dangzhong is let off, every sub- equipment may all be influenced by external event and interim card occurs, and it is asynchronous that this also results in broadcasting.
Therefore, the present embodiment proposes a kind of Self-adaptive synchronization control algorithm:Depend on every sub- equipment with default rule
Then (such as periodically) progress is reported, the whole broadcasting speed of adjustment in due course according to whole broadcasting speed, then feeds back to specific son and sets
Standby schedule variance value.
Specifically, as an implementation, the main equipment issues progress report cycle to each sub- equipment, is set by each son
It is standby to report corresponding playback progress information, the main equipment to receive each sub- device periodically and report according to the progress report cycle
Playback progress information.
Alternatively, as another embodiment, each sub- equipment actively can also report playback progress information with predetermined period
To main equipment.
It should be noted that above-mentioned preset rules, can also be arranged according to actual conditions, for example to set sub- device plays complete
It is reported when the preceding default frame of media file, the sub- device plays progress is determined according to calling time in sub- equipment by main equipment.
Step S104, the main equipment adjust whole broadcasting speed, and according to described whole according to the playback progress information
Body broadcasting speed, feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment.
As an implementation, the playback progress information that the main equipment is reported according to each sub- equipment is corrected each son and is set
Standby broadcasting speed;According to the broadcasting speed of modified each sub- equipment, calculates and adjust current whole broadcasting speed;According to institute
Current whole broadcasting speed and current time are stated, the whole playing progress rate at current time is calculated;By the entirety at current time
The playing progress rate that playing progress rate is reported with each sub- equipment is compared, if the difference of the two is more than predetermined threshold value, alternatively, the two
The ratio of difference is more than predetermined threshold value, then feeds back playing progress rate deviation to corresponding sub- equipment, is adjusted for corresponding sub- equipment
Playing progress rate;Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.
Specifically, main equipment issues feedback cycle T to each sub- equipment, considers that all sub- equipment are reported with the time, can be to net
Network causes congestion, as an implementation, sub- equipment can between 0.5T~1.5T random reported playback progress information.
Main equipment receives the playing progress rate S that sub- equipment reportsiAnd the whole playing progress rate S at current timeIt is wholeIt is compared,
If the ratio of difference is less than threshold k, it is 0 to feed back progress gain;If difference ratio be greater than or equal to threshold k, feed back into
Spend deviation, numerical value SIt is whole-Si;Wherein, SIt is wholeIt can be calculated according to whole broadcasting speed, current time.
Specific calculating process is as follows:The playing progress rate S that main equipment is reported according to sub- equipmenti, the sub- equipment is corrected in due course
Broadcasting speed:
Vi=Si/TCurrently;
Then whole broadcasting speed VIt is whole=(V1+V2+…Vn)/n。
The purpose that threshold k is arranged in the present embodiment is in tolerance interval, not interfere the broadcasting of sub- equipment as possible;K is got over
Small, then synchronization accuracy is higher.
The schedule variance value that sub- equipment is fed back according to main equipment, is adjusted playing progress rate, or F.F. forward, or backward
Delay is played simultaneously with realizing with other sub- equipment.
The present embodiment through the above scheme, in the media file for being played simultaneously of each sub- device plays main equipment push
During, the main equipment receives the playback progress information that each sub- device periodically reports, according to the playback progress information,
The whole broadcasting speed of adjustment, and according to the whole broadcasting speed, feed back playing progress rate deviation to corresponding sub- equipment, for pair
The sub- equipment adjustment playing progress rate answered, thereby, it is possible to carry out business by a main equipment in specific occasion (such as public place)
It initiates, multiple sub- equipment carry out service response, by file-sharing, play synchronous control, it is total to be finally reached multiple terminal devices
With the purpose for playing Media Stream (such as picture, music, video), the program is simply applicable in, is easily operated, and is greatly improved mostly eventually
Hold the accuracy being played simultaneously.
As shown in Figure 1 b, second embodiment of the invention proposes a kind of multiple terminals synchronous broadcast controlling method, the method packet
It includes:
Step S101, after main equipment and each sub- equipment establish network connection, the main equipment is to each son connected to it
Equipment pushes the media file for being played simultaneously;
In the present embodiment, in order to improve the synchronization accuracy of media play, business initiation is carried out by a main equipment, it is multiple
Sub- equipment carries out service response, by file-sharing, plays synchronous control, is finally reached multiple terminal devices and plays media jointly
Flow the purpose of (such as picture, music, video).
Wherein, the equipment for actively initiating business, referred to as main equipment (Master);The passive equipment for receiving business, it is referred to as sub
Equipment (Slaver).Multiple sub- equipment are controlled by main equipment association, realize being played simultaneously for media file.
First, as shown in Fig. 2, carrying out business initiation by main equipment.After business is initiated, main equipment can monitor application and be added
Sub- equipment.
Sub- equipment can scan the main equipment of surrounding, and select that specified main equipment is added, as shown in Figure 3.
Then, main equipment carries out control management to each sub- equipment.
Specifically, the sub- equipment being added for application, main equipment, can be to sub- equipment according to title, password, equipment number etc.
It is filtered.As shown in figure 4, main equipment is put into the sub- equipment reported in " spare Slaver lists " first, then according to one
Fixed strategy is positioned in " can use Slaver lists ".Wherein, strategy can be equipment number, can also be according to device name
It is selected.
Then, main equipment and each sub- equipment of addition establish network connection.
It in the present embodiment, is initiated by main equipment, the network connection of closing and sub- equipment.Certainly, in other embodiments,
It can actively apply for the network connection of initiation, closing and main equipment by each sub- equipment.
Main equipment can close business (close entire business or refer to the business of stator-device) in real time, and sub- equipment also can
Business is exited in enough individually applications.As shown in figure 5, business is actively left in sub- equipment _ 1, main equipment actively closes the industry of sub- equipment _ 2
Business, sub- equipment _ 3 are still within connection status.
After main equipment and each sub- equipment establish network connection, the main equipment is used to each sub- equipment push connected to it
In the media file being played simultaneously.
Wherein, as an implementation, described after main equipment and each sub- equipment establish network connection, selection is for same
The media file played is walked, the media file for being played simultaneously is sent to each sub- equipment successively.
As an implementation, as shown in fig. 6, the main equipment with each sub- equipment after establishing network connection, selection
Media file for being played simultaneously;The main equipment chooses at least one sub- equipment from each sub- equipment, and is set to the son of selection
Preparation send the media file for being played simultaneously, the sub- equipment by successfully obtaining media file to be obtained from the main equipment
Remaining sub- facility information, and the sub- equipment from successfully obtaining media file sends the media text to remaining sub- equipment
Part.
For n estrade equipment, if main equipment is individually sequentially transmitted, need to transmit n times;Such strategy, theoretically only needs
It is secondary to transmit log (n+1).
Step S102, the main equipment sends play instruction to each sub- equipment, by each sub- equipment according to the broadcasting received
Instruction plays the media file;
After all sub- equipment get media file, main equipment sends out play instruction to sub- equipment, by each sub- equipment root
The media file is played according to the play instruction received.
Step S103, the main equipment receive the playback progress information that each sub- device periodically reports;
The present embodiment it is considered that due to network transmission difference, at the time of every sub- equipment receives play instruction not
It is identical;Secondly, the processing state of every sub- equipment has differences, and is also differed to the decoding time of audio file;Again, it is broadcasting
Cheng Dangzhong is let off, every sub- equipment may all be influenced by external event and interim card occurs, and it is asynchronous that this also results in broadcasting.
Therefore, the present embodiment proposes a kind of Self-adaptive synchronization control algorithm:It depends in every sub- device periodically
Report progress, the whole broadcasting speed of adjustment in due course according to whole broadcasting speed, then feed back to specific sub- equipment schedule variance value.
Specifically, as an implementation, the main equipment issues progress report cycle to each sub- equipment, is set by each son
It is standby to report corresponding playback progress information, the main equipment to receive each sub- device periodically and report according to the progress report cycle
Playback progress information.
Alternatively, as another embodiment, each sub- equipment actively can also report playback progress information with predetermined period
To main equipment.
Step S104, the main equipment adjust whole broadcasting speed, and according to described whole according to the playback progress information
Body broadcasting speed, feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment.
As an implementation, the playback progress information that the main equipment is reported according to each sub- equipment is corrected each son and is set
Standby broadcasting speed;According to the broadcasting speed of modified each sub- equipment, current whole broadcasting speed is calculated;According to described current
The whole playing progress rate at current time is calculated in whole broadcasting speed and current time;By the entirety at current time play into
The playing progress rate reported with each sub- equipment is spent to be compared, if the difference of the two is more than predetermined threshold value, alternatively, the difference of the two
Ratio is more than predetermined threshold value, then feeds back playing progress rate deviation to corresponding sub- equipment, for corresponding sub- equipment adjustment play into
Degree;Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.Main equipment and the interaction of sub- equipment are as shown in Figure 7.
Specifically, main equipment issues feedback cycle T to each sub- equipment, considers that all sub- equipment are reported with the time, can be to net
Network causes congestion, as an implementation, sub- equipment can between 0.5T~1.5T random reported playback progress information.
Main equipment receives the playing progress rate S that sub- equipment reportsiAnd the whole playing progress rate S at current timeIt is wholeIt is compared,
If the ratio of difference is less than threshold k, it is 0 to feed back progress gain;If difference ratio be greater than or equal to threshold k, feed back into
Spend deviation, numerical value SIt is whole-Si;Wherein, SIt is wholeIt can be calculated according to whole broadcasting speed, current time.
Specific calculating process is as follows:The playing progress rate S that main equipment is reported according to sub- equipmenti, the sub- equipment is corrected in due course
Broadcasting speed:
Vi=Si/TCurrently;
Then whole broadcasting speed VIt is whole=(V1+V2+…Vn)/n。
The purpose that threshold k is arranged in the present embodiment is in tolerance interval, not interfere the broadcasting of sub- equipment as possible;K is got over
Small, then synchronization accuracy is higher.
The schedule variance value that sub- equipment is fed back according to main equipment, is adjusted playing progress rate, or F.F. forward, or backward
Delay is played simultaneously with realizing with other sub- equipment.
The present embodiment through the above scheme, after main equipment and each sub- equipment establish network connection, the main equipment to
Its each sub- equipment connected pushes the media file for being played simultaneously, and play instruction is sent to each sub- equipment, by each sub- equipment
The media file is played according to the play instruction received;The main equipment receive broadcasting that each sub- device periodically reports into
Information is spent, according to the playback progress information, adjusts whole broadcasting speed, and according to the whole broadcasting speed, to corresponding
Sub- equipment feeds back playing progress rate deviation, and playing progress rate is adjusted for corresponding sub- equipment, thereby, it is possible to specific occasion (such as
Public place) by a main equipment progress business initiation, multiple sub- equipment carry out service responses, by file-sharing, play together
Step control is finally reached the purpose that multiple terminal devices play Media Stream (such as picture, music, video) jointly, program letter
It is single to be applicable in, is easily operated, and the accuracy that multiple terminals is played simultaneously is greatly improved.
As shown in figure 8, third embodiment of the invention proposes a kind of multiple terminals synchronous broadcast controlling method, it is based on above-mentioned Fig. 1 b
Shown in embodiment, the method further includes:
Step S105, the main equipment count the number that each sub- equipment generates playing progress rate deviation;
Step S106 closes corresponding institute if the number for the playing progress rate deviation that sub- equipment generates reaches predetermined threshold value
That states sub- equipment is played simultaneously business.
Compared to above-described embodiment, the present embodiment further includes the processing scheme to abnormal sub- equipment.
Specifically, in the present embodiment, as an implementation, main equipment counts the schedule variance number of sub- equipment, if
N times are continued to exceed, then illustrate that this sub- equipment is currently at abnormality, main equipment sends out kick off orders, and pressure kicks out of this
Sub- equipment, to ensure the effect integrally played.
As another embodiment, main equipment can also kick out of rule using following:In preset time, statistics is multiple
Whether the number for the playing progress rate deviation that sub- equipment generates reaches predetermined threshold value, if so, closing the same of multiple sub- equipment
Broadcasting business is walked, to improve the effect integrally played.
As shown in figure 9, first embodiment of the invention proposes that a kind of main equipment that control multiple terminals is played simultaneously, the master are set
Standby and several sub- device talks, the main equipment include:Progress receiving module 203 and adjustment control module 204, wherein:
Progress receiving module 203, the media for being played simultaneously pushed for the main equipment described in each sub- device plays
During file, the playback progress information that each sub- equipment is reported with preset rules is received;
Control module 204 is adjusted, for according to the playback progress information, adjusting whole broadcasting speed, and according to described
Whole broadcasting speed, feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment.
In the present embodiment, in order to improve the synchronization accuracy of media play, business initiation is carried out by a main equipment, it is multiple
Sub- equipment carries out service response, by file-sharing, plays synchronous control, is finally reached multiple terminal devices and plays media jointly
Flow the purpose of (such as picture, music, video).
Wherein, the equipment for actively initiating business, referred to as main equipment (Master);The passive equipment for receiving business, it is referred to as sub
Equipment (Slaver).Multiple sub- equipment are controlled by main equipment association, realize being played simultaneously for media file.
The present embodiment it is considered that due to network transmission difference, at the time of every sub- equipment receives play instruction not
It is identical;Secondly, the processing state of every sub- equipment has differences, and is also differed to the decoding time of audio file;Again, it is broadcasting
Cheng Dangzhong is let off, every sub- equipment may all be influenced by external event and interim card occurs, and it is asynchronous that this also results in broadcasting.
Therefore, the present embodiment proposes a kind of Self-adaptive synchronization control algorithm:Depend on every sub- equipment with default rule
Then (such as periodically) progress is reported, the whole broadcasting speed of adjustment in due course according to whole broadcasting speed, then feeds back to specific son and sets
Standby schedule variance value.
Specifically, as an implementation, the main equipment issues progress report cycle to each sub- equipment, is set by each son
It is standby to report corresponding playback progress information, the main equipment to receive each sub- device periodically and report according to the progress report cycle
Playback progress information.
Alternatively, as another embodiment, each sub- equipment actively can also report playback progress information with predetermined period
To main equipment.
It should be noted that above-mentioned preset rules, can also be arranged according to actual conditions, for example to set sub- device plays complete
It is reported when the preceding default frame of media file, the sub- device plays progress is determined according to calling time in sub- equipment by main equipment.
Later, main equipment adjusts whole broadcasting speed, and according to the whole broadcasting speed according to the playback progress information
Degree, feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment.
As an implementation, the playback progress information that the main equipment is reported according to each sub- equipment is corrected each son and is set
Standby broadcasting speed;According to the broadcasting speed of modified each sub- equipment, calculates and adjust current whole broadcasting speed;According to institute
Current whole broadcasting speed and current time are stated, the whole playing progress rate at current time is calculated;By the entirety at current time
The playing progress rate that playing progress rate is reported with each sub- equipment is compared, if the difference of the two is more than predetermined threshold value, alternatively, the two
The ratio of difference is more than predetermined threshold value, then feeds back playing progress rate deviation to corresponding sub- equipment, is adjusted for corresponding sub- equipment
Playing progress rate;Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.
Specifically, main equipment issues feedback cycle T to each sub- equipment, considers that all sub- equipment are reported with the time, can be to net
Network causes congestion, as an implementation, sub- equipment can between 0.5T~1.5T random reported playback progress information.
Main equipment receives the playing progress rate S that sub- equipment reportsiAnd the whole playing progress rate S at current timeIt is wholeIt is compared,
If the ratio of difference is less than threshold k, it is 0 to feed back progress gain;If difference ratio be greater than or equal to threshold k, feed back into
Spend deviation, numerical value SIt is whole-Si;Wherein, SIt is wholeIt can be calculated according to whole broadcasting speed, current time.
Specific calculating process is as follows:The playing progress rate S that main equipment is reported according to sub- equipmenti, the sub- equipment is corrected in due course
Broadcasting speed:
Vi=Si/TCurrently;
Then whole broadcasting speed VIt is whole=(V1+V2+…Vn)/n。
The purpose that threshold k is arranged in the present embodiment is in tolerance interval, not interfere the broadcasting of sub- equipment as possible;K is got over
Small, then synchronization accuracy is higher.
The schedule variance value that sub- equipment is fed back according to main equipment, is adjusted playing progress rate, or F.F. forward, or backward
Delay is played simultaneously with realizing with other sub- equipment.
The present embodiment through the above scheme, in the media file for being played simultaneously of each sub- device plays main equipment push
During, the main equipment receives the playback progress information that each sub- device periodically reports, according to the playback progress information,
The whole broadcasting speed of adjustment, and according to the whole broadcasting speed, feed back playing progress rate deviation to corresponding sub- equipment, for pair
The sub- equipment adjustment playing progress rate answered, thereby, it is possible to carry out business by a main equipment in specific occasion (such as public place)
It initiates, multiple sub- equipment carry out service response, by file-sharing, play synchronous control, it is total to be finally reached multiple terminal devices
With the purpose for playing Media Stream (such as picture, music, video), the program is simply applicable in, is easily operated, and is greatly improved mostly eventually
Hold the accuracy being played simultaneously.
As shown in Figure 10, second embodiment of the invention proposes a kind of main equipment that control multiple terminals is played simultaneously, the master
Equipment and several sub- device talks, the main equipment include:File push module 201, instruction sending module 202, progress receive
Module 203 and adjustment control module 204, wherein:
File push module 201, for after main equipment and each sub- equipment establish network connection, to each son connected to it
Equipment pushes the media file for being played simultaneously;
Instruction sending module 202, for sending play instruction to each sub- equipment, by each sub- equipment according to the broadcasting received
Instruction plays the media file;
Progress receiving module 203, the playback progress information reported for receiving each sub- device periodically;
Control module 204 is adjusted, for according to the playback progress information, adjusting whole broadcasting speed, and according to described
Whole broadcasting speed, feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment.
Further, the progress receiving module 203 is additionally operable to issue progress report cycle to each sub- equipment, by each son
Equipment reports corresponding playback progress information according to the progress report cycle, receive broadcasting that each sub- device periodically reports into
Spend information;Or receive the playback progress information that each sub- equipment is actively reported with predetermined period.
The adjustment control module 204 is additionally operable to the playback progress information reported according to each sub- equipment, corrects each sub- equipment
Broadcasting speed;According to the broadcasting speed of modified each sub- equipment, current whole broadcasting speed is calculated;According to described current whole
The whole playing progress rate at current time is calculated in body broadcasting speed and current time;By the whole playing progress rate at current time
The playing progress rate reported with each sub- equipment is compared, if the difference of the two is more than predetermined threshold value, alternatively, the ratio of the difference of the two
Example is more than predetermined threshold value, then feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment;
Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.
Further, the file push module 201 is additionally operable to establish network connection in the main equipment and each sub- equipment
Afterwards, media file of the selection for being played simultaneously;A sub- equipment is chosen from each sub- equipment, and sends institute to the sub- equipment of selection
The media file for being played simultaneously is stated, the sub- equipment by successfully obtaining media file obtains remaining son from the main equipment
Facility information, and send the media file to remaining sub- equipment;Or establish network connection in main equipment and each sub- equipment
Afterwards, media file of the selection for being played simultaneously, each sub- equipment is sent to by the media file for being played simultaneously successively.
Specifically, in the present embodiment, in order to improve the synchronization accuracy of media play, business hair is carried out by a main equipment
It rises, multiple sub- equipment carry out service response, by file-sharing, play synchronous control, it is common to be finally reached multiple terminal devices
Play the purpose of Media Stream (such as picture, music, video).
Wherein, the equipment for actively initiating business, referred to as main equipment (Master);The passive equipment for receiving business, it is referred to as sub
Equipment (Slaver).Multiple sub- equipment are controlled by main equipment association, realize being played simultaneously for media file.
First, as shown in Fig. 2, carrying out business initiation by main equipment.After business is initiated, main equipment can monitor application and be added
Sub- equipment.
Sub- equipment can scan the main equipment of surrounding, and select that specified main equipment is added, as shown in Figure 3.
Then, main equipment carries out control management to each sub- equipment.
Specifically, the sub- equipment being added for application, main equipment, can be to sub- equipment according to title, password, equipment number etc.
It is filtered.As shown in figure 4, main equipment is put into the sub- equipment reported in " spare Slaver lists " first, then according to one
Fixed strategy is positioned in " can use Slaver lists ".Wherein, strategy can be equipment number, can also be according to device name
It is selected.
Then, main equipment and each sub- equipment of addition establish network connection.
It in the present embodiment, is initiated by main equipment, the network connection of closing and sub- equipment.Certainly, in other embodiments,
It can actively apply for the network connection of initiation, closing and main equipment by each sub- equipment.
Main equipment can close business (close entire business or refer to the business of stator-device) in real time, and sub- equipment also can
Business is exited in enough individually applications.As shown in figure 5, business is actively left in sub- equipment _ 1, main equipment actively closes the industry of sub- equipment _ 2
Business, sub- equipment _ 3 are still within connection status.
After main equipment and each sub- equipment establish network connection, the main equipment is used to each sub- equipment push connected to it
In the media file being played simultaneously.
Wherein, as an implementation, described after main equipment and each sub- equipment establish network connection, selection is for same
The media file played is walked, the media file for being played simultaneously is sent to each sub- equipment successively.
As an implementation, as shown in fig. 6, the main equipment with each sub- equipment after establishing network connection, selection
Media file for being played simultaneously;The main equipment chooses at least one sub- equipment from each sub- equipment, and is set to the son of selection
Preparation send the media file for being played simultaneously, the sub- equipment by successfully obtaining media file to be obtained from the main equipment
Remaining sub- facility information, and the sub- equipment from successfully obtaining media file sends the media text to remaining sub- equipment
Part.
For n estrade equipment, if main equipment is individually sequentially transmitted, need to transmit n times;Such strategy, theoretically only needs
It is secondary to transmit log (n+1).
After all sub- equipment get media file, main equipment sends out play instruction to sub- equipment, by each sub- equipment root
The media file is played according to the play instruction received.
The present embodiment it is considered that due to network transmission difference, at the time of every sub- equipment receives play instruction not
It is identical;Secondly, the processing state of every sub- equipment has differences, and is also differed to the decoding time of audio file;Again, it is broadcasting
Cheng Dangzhong is let off, every sub- equipment may all be influenced by external event and interim card occurs, and it is asynchronous that this also results in broadcasting.
Therefore, the present embodiment proposes a kind of Self-adaptive synchronization control algorithm:It depends in every sub- device periodically
Report progress, the whole broadcasting speed of adjustment in due course according to whole broadcasting speed, then feed back to specific sub- equipment schedule variance value.
Specifically, as an implementation, the main equipment issues progress report cycle to each sub- equipment, is set by each son
It is standby to report corresponding playback progress information, the main equipment to receive each sub- device periodically and report according to the progress report cycle
Playback progress information.
Alternatively, as another embodiment, each sub- equipment actively can also report playback progress information with predetermined period
To main equipment.
Main equipment adjusts whole broadcasting speed according to the playback progress information, and according to the whole broadcasting speed, to
Corresponding sub- equipment feeds back playing progress rate deviation, and playing progress rate is adjusted for corresponding sub- equipment.
As an implementation, the playback progress information that the main equipment is reported according to each sub- equipment is corrected each son and is set
Standby broadcasting speed;According to the broadcasting speed of modified each sub- equipment, current whole broadcasting speed is calculated;According to described current
The whole playing progress rate at current time is calculated in whole broadcasting speed and current time;By the entirety at current time play into
The playing progress rate reported with each sub- equipment is spent to be compared, if the difference of the two is more than predetermined threshold value, alternatively, the difference of the two
Ratio is more than predetermined threshold value, then feeds back playing progress rate deviation to corresponding sub- equipment, for corresponding sub- equipment adjustment play into
Degree;Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.Main equipment and the interaction of sub- equipment are as shown in Figure 7.
Specifically, main equipment issues feedback cycle T to each sub- equipment, considers that all sub- equipment are reported with the time, can be to net
Network causes congestion, as an implementation, sub- equipment can between 0.5T~1.5T random reported playback progress information.
Main equipment receives the playing progress rate S that sub- equipment reportsiAnd the whole playing progress rate S at current timeIt is wholeIt is compared,
If the ratio of difference is less than threshold k, it is 0 to feed back progress gain;If difference ratio be greater than or equal to threshold k, feed back into
Spend deviation, numerical value SIt is whole-Si;Wherein, SIt is wholeIt can be calculated according to whole broadcasting speed, current time.
Specific calculating process is as follows:The playing progress rate S that main equipment is reported according to sub- equipmenti, the sub- equipment is corrected in due course
Broadcasting speed:
Vi=Si/TCurrently;
Then whole broadcasting speed VIt is whole=(V1+V2+…Vn)/n。
The purpose that threshold k is arranged in the present embodiment is in tolerance interval, not interfere the broadcasting of sub- equipment as possible;K is got over
Small, then synchronization accuracy is higher.
The schedule variance value that sub- equipment is fed back according to main equipment, is adjusted playing progress rate, or F.F. forward, or backward
Delay is played simultaneously with realizing with other sub- equipment.
The present embodiment through the above scheme, after main equipment and each sub- equipment establish network connection, the main equipment to
Its each sub- equipment connected pushes the media file for being played simultaneously, and play instruction is sent to each sub- equipment, by each sub- equipment
The media file is played according to the play instruction received;The main equipment receive broadcasting that each sub- device periodically reports into
Information is spent, according to the playback progress information, adjusts whole broadcasting speed, and according to the whole broadcasting speed, to corresponding
Sub- equipment feeds back playing progress rate deviation, and playing progress rate is adjusted for corresponding sub- equipment, thereby, it is possible to specific occasion (such as
Public place) by a main equipment progress business initiation, multiple sub- equipment carry out service responses, by file-sharing, play together
Step control is finally reached the purpose that multiple terminal devices play Media Stream (such as picture, music, video) jointly, program letter
It is single to be applicable in, is easily operated, and the accuracy that multiple terminals is played simultaneously is greatly improved.
As shown in figure 11, third embodiment of the invention proposes a kind of main equipment that control multiple terminals is played simultaneously, based on upper
Embodiment shown in Fig. 10 is stated, the main equipment further includes:
Message control module 205 generates the number of playing progress rate deviation for counting each sub- equipment;What if sub- equipment generated
The number of playing progress rate deviation reaches predetermined threshold value, then that closes the corresponding sub- equipment is played simultaneously business.
Compared to above-described embodiment, the present embodiment further includes the processing scheme to abnormal sub- equipment.
Specifically, in the present embodiment, as an implementation, main equipment counts the schedule variance number of sub- equipment, if
N times are continued to exceed, then illustrate that this sub- equipment is currently at abnormality, main equipment sends out kick off orders, and pressure kicks out of this
Sub- equipment, to ensure the effect integrally played.
As another embodiment, main equipment can also kick out of rule using following:In preset time, statistics is multiple
Whether the number for the playing progress rate deviation that sub- equipment generates reaches predetermined threshold value, if so, closing the same of multiple sub- equipment
Broadcasting business is walked, to improve the effect integrally played.
In addition, the embodiment of the present invention also proposes that control device is played simultaneously in a kind of multiple terminals, described device is applied to master and sets
Standby, the main equipment and several sub- device talks, described device include:At least one processor and at least one processor,
In:
Control computer program is played simultaneously for storing multiple terminals in at least one processor;
At least one processor, by calling the multiple terminals in at least one processor to be played simultaneously based on control
Calculation machine program, and execute following operation:
During the media file for being played simultaneously that the main equipment described in each sub- device plays pushes, each son is received
The playback progress information that equipment is reported with preset rules;
According to the playback progress information, whole broadcasting speed is adjusted, and according to the whole broadcasting speed, to corresponding
Sub- equipment feeds back playing progress rate deviation, and playing progress rate is adjusted for corresponding sub- equipment.
Further, at least one processor, for calling the multiple terminals in at least one processor to synchronize
Control computer program is played, and executes following operation:
The media file for being played simultaneously is pushed to each sub- equipment being connect with main equipment;And it is broadcast to each sub- equipment transmission
Instruction is put, the media file is played according to the play instruction received by each sub- equipment.
Further, at least one processor, for calling the multiple terminals in at least one processor to synchronize
Control computer program is played, and executes following operation:
Progress report cycle is issued to each sub- equipment, corresponding broadcast is reported according to the progress report cycle by each sub- equipment
Progress msg is put, the playback progress information that each sub- device periodically reports is received;Or each sub- equipment is received actively with default week
The playback progress information that phase reports.
Further, at least one processor, for calling the multiple terminals in at least one processor to synchronize
Control computer program is played, and executes following operation:
According to the playback progress information that each sub- equipment reports, the broadcasting speed of each sub- equipment is corrected;According to modified each
The broadcasting speed of sub- equipment calculates and adjusts current whole broadcasting speed.
Further, at least one processor, for calling the multiple terminals in at least one processor to synchronize
Control computer program is played, and executes following operation:
According to the current whole broadcasting speed and current time, the whole playing progress rate at current time is calculated;
The playing progress rate that the whole playing progress rate at current time is reported with each sub- equipment is compared, if the difference of the two
More than predetermined threshold value, alternatively, the ratio of the difference of the two is more than predetermined threshold value, then it is inclined to corresponding sub- equipment feedback playing progress rate
Difference adjusts playing progress rate for corresponding sub- equipment;Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.
Further, at least one processor, for calling the multiple terminals in at least one processor to synchronize
Control computer program is played, and executes following operation:
At least one sub- equipment is chosen from each sub- equipment, and sends the matchmaker for being played simultaneously to the sub- equipment of selection
Body file obtains remaining sub- facility information by successfully obtaining the sub- equipment of media file from the main equipment, and to residue
Sub- equipment send the media file;Or
After main equipment and each sub- equipment establish network connection, the media file for being played simultaneously is selected, by the use
It is sent to each sub- equipment successively in the media file being played simultaneously.
Further, at least one processor, for calling the multiple terminals in at least one processor to synchronize
Control computer program is played, and executes following operation:
Count the number that each sub- equipment generates playing progress rate deviation;If the playing progress rate that one or more sub- equipment generate is inclined
The number of difference reaches predetermined threshold value, then that closes one or more of sub- equipment is played simultaneously business.
The present embodiment through the above scheme, after main equipment and each sub- equipment establish network connection, the main equipment to
Its each sub- equipment connected pushes the media file for being played simultaneously, and play instruction is sent to each sub- equipment, by each sub- equipment
The media file is played according to the play instruction received;The main equipment receive broadcasting that each sub- device periodically reports into
Information is spent, according to the playback progress information, adjusts whole broadcasting speed, and according to the whole broadcasting speed, to corresponding
Sub- equipment feeds back playing progress rate deviation, and playing progress rate is adjusted for corresponding sub- equipment, thereby, it is possible to specific occasion (such as
Public place) by a main equipment progress business initiation, multiple sub- equipment carry out service responses, by file-sharing, play together
Step control is finally reached the purpose that multiple terminal devices play Media Stream (such as picture, music, video) jointly, program letter
It is single to be applicable in, is easily operated, and the accuracy that multiple terminals is played simultaneously is greatly improved.
In addition, the embodiment of the present invention also proposes that control system, including main equipment and several sons is played simultaneously in a kind of multiple terminals
Equipment, wherein:
The main equipment can be the main equipment described in embodiment as above;Each sub- equipment is used to be controlled by the main equipment same
Step plays media file.
The present embodiment main equipment controls the process being played simultaneously and principle that each sub- equipment realizes media file, please refers to
Each embodiment is stated, details are not described herein.
The foregoing is merely the preferred embodiment of the present invention, are not intended to limit the scope of the invention, every utilization
Equivalent structure made by description of the invention and accompanying drawing content or flow transformation, are applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (15)
1. a kind of multiple terminals synchronous broadcast controlling method, which is characterized in that the method is applied to main equipment and several sub- equipment,
The method includes:
During the media file for being played simultaneously that the main equipment described in each sub- device plays pushes, the main equipment connects
Receive the playback progress information that each sub- equipment is reported with preset rules;
The main equipment adjusts whole broadcasting speed according to the playback progress information, and according to the whole broadcasting speed, to
Corresponding sub- equipment feeds back playing progress rate deviation, and playing progress rate is adjusted for corresponding sub- equipment.
2. according to the method described in claim 1, it is characterized in that, the use of the main equipment described in each sub- device plays push
During the media file being played simultaneously, the main equipment receives each sub- equipment to be believed with the playing progress rate that preset rules report
Before the step of breath, further include:
The main equipment pushes the media file for being played simultaneously to each sub- equipment connected to it;
The main equipment sends play instruction to each sub- equipment, and the matchmaker is played according to the play instruction received by each sub- equipment
Body file.
3. according to the method described in claim 1, it is characterized in that, each sub- equipment of main equipment reception is reported with preset rules
Playback progress information the step of include:
The main equipment issues progress report cycle to each sub- equipment, is reported pair according to the progress report cycle by each sub- equipment
The playback progress information answered, the main equipment receive the playback progress information that each sub- device periodically reports;Or
The main equipment receives the playback progress information that each sub- equipment is actively reported with predetermined period.
4. method according to any one of claim 1-3, which is characterized in that the main equipment is according to the playing progress rate
Information, the step of adjusting whole broadcasting speed include:
The playback progress information that the main equipment is reported according to each sub- equipment corrects the broadcasting speed of each sub- equipment;
According to the broadcasting speed of modified each sub- equipment, calculates and adjust current whole broadcasting speed.
5. according to the method described in claim 4, it is characterized in that, the main equipment according to the whole broadcasting speed, to right
The sub- equipment answered feeds back playing progress rate deviation, includes for the step of corresponding sub- equipment adjustment playing progress rate:
The main equipment according to the current whole broadcasting speed and current time, be calculated current time entirety play into
Degree;
The playing progress rate that the whole playing progress rate at current time is reported with each sub- equipment is compared, if the difference of the two is more than
Predetermined threshold value then feeds back playing progress rate deviation alternatively, the ratio of the difference of the two is more than predetermined threshold value to corresponding sub- equipment
Value adjusts playing progress rate for corresponding sub- equipment;Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.
6. according to the method described in claim 2, it is characterized in that, the main equipment is used to each sub- equipment push connected to it
Include in the step of media file being played simultaneously:
The main equipment chooses at least one sub- equipment from each sub- equipment, and is broadcast to the transmission of the sub- equipment of selection is described for synchronizing
The media file put, the sub- equipment by successfully obtaining media file obtain remaining sub- facility information from the main equipment, and
The media file is sent to remaining sub- equipment;Or
It is described after main equipment and each sub- equipment establish network connection, the media file for being played simultaneously is selected, by the use
It is sent to each sub- equipment successively in the media file being played simultaneously.
7. according to the method described in claim 5, it is characterized in that, the method further includes:
The main equipment counts the number that each sub- equipment generates playing progress rate deviation;
If the number for the playing progress rate deviation that one or more sub- equipment generate reaches predetermined threshold value, close one or more
Business is played simultaneously in a sub- equipment.
8. a kind of main equipment that control multiple terminals is played simultaneously, which is characterized in that the main equipment and several sub- device talks, institute
Stating main equipment includes:
Progress receiving module, the mistake for the media file for being played simultaneously that the main equipment described in each sub- device plays pushes
Cheng Zhong receives the playback progress information that each sub- equipment is reported with preset rules;
Control module is adjusted, for according to the playback progress information, adjusting whole broadcasting speed, and play according to the entirety
Speed, feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment.
9. main equipment according to claim 8, which is characterized in that the main equipment further includes:
File push module, for pushing the media file for being played simultaneously to each sub- equipment being connect with the main equipment;
Instruction sending module is broadcast by each sub- equipment according to the play instruction received for sending play instruction to each sub- equipment
Put the media file.
10. main equipment according to claim 8, which is characterized in that
The progress receiving module is additionally operable to issue progress report cycle to each sub- equipment, by each sub- equipment according to the progress
Report cycle reports corresponding playback progress information, receives the playback progress information that each sub- device periodically reports;Or it receives
The playback progress information that each sub- equipment is actively reported with predetermined period.
11. according to the main equipment described in any one of claim 8-10, which is characterized in that
The adjustment control module is additionally operable to the playback progress information reported according to each sub- equipment, corrects the broadcasting of each sub- equipment
Speed;According to the broadcasting speed of modified each sub- equipment, calculates and adjust current whole broadcasting speed;According to described current whole
The whole playing progress rate at current time is calculated in body broadcasting speed and current time;By the whole playing progress rate at current time
The playing progress rate reported with each sub- equipment is compared, if the difference of the two is more than predetermined threshold value, alternatively, the ratio of the difference of the two
Example is more than predetermined threshold value, then feeds back playing progress rate deviation to corresponding sub- equipment, and playing progress rate is adjusted for corresponding sub- equipment;
Otherwise, it is not fed back to corresponding sub- equipment, or feedback progress gain is 0.
12. main equipment according to claim 9, which is characterized in that
The file push module is additionally operable to choose at least one sub- equipment from each sub- equipment, and is sent to the sub- equipment of selection
The media file for being played simultaneously, it is remaining from main equipment acquisition by the sub- equipment for successfully obtaining media file
Sub- facility information, and send the media file to remaining sub- equipment;Or it establishes network in main equipment and each sub- equipment and connects
After connecing, the media file for being played simultaneously is selected, the media file for being played simultaneously is sent to each son successively and is set
It is standby.
13. main equipment according to claim 11, which is characterized in that the main equipment further includes:
Message control module generates the number of playing progress rate deviation for counting each sub- equipment;If one or more sub- equipment productions
The number of raw playing progress rate deviation reaches predetermined threshold value, then that closes one or more of sub- equipment is played simultaneously business.
14. control device is played simultaneously in a kind of multiple terminals, which is characterized in that described device is applied to main equipment, the main equipment
With several sub- device talks, described device includes:At least one processor and at least one processor, wherein:
Control computer program is played simultaneously for storing multiple terminals in at least one processor;
At least one processor, for calling the multiple terminals in at least one processor that control computer is played simultaneously
Program, to execute the corresponding operation of method described in any one of described claim 1-7.
15. control system is played simultaneously in a kind of multiple terminals, which is characterized in that including main equipment and several sub- equipment, wherein:
The main equipment is the main equipment described in any one of claim 8-13;
Each sub- equipment, for media file to be played simultaneously by main equipment control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710110738.7A CN108513159A (en) | 2017-02-27 | 2017-02-27 | Multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710110738.7A CN108513159A (en) | 2017-02-27 | 2017-02-27 | Multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108513159A true CN108513159A (en) | 2018-09-07 |
Family
ID=63373137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710110738.7A Pending CN108513159A (en) | 2017-02-27 | 2017-02-27 | Multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108513159A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572703A (en) * | 2019-10-08 | 2019-12-13 | 广州创维平面显示科技有限公司 | Multimedia data synchronous playing method, system, terminal and storage medium |
CN111447481A (en) * | 2020-03-17 | 2020-07-24 | 深圳传音控股股份有限公司 | Multimedia synchronous playing method, equipment, computer storage medium and system |
CN111541926A (en) * | 2020-05-08 | 2020-08-14 | 浙江大华技术股份有限公司 | Multimedia file playing method and device, storage medium and electronic device |
CN112887769A (en) * | 2021-01-21 | 2021-06-01 | 海信视像科技股份有限公司 | Display device |
CN115225191A (en) * | 2022-07-08 | 2022-10-21 | 深圳感臻智能股份有限公司 | Method and device for calibrating delay of multiple devices based on local area network |
-
2017
- 2017-02-27 CN CN201710110738.7A patent/CN108513159A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572703A (en) * | 2019-10-08 | 2019-12-13 | 广州创维平面显示科技有限公司 | Multimedia data synchronous playing method, system, terminal and storage medium |
CN111447481A (en) * | 2020-03-17 | 2020-07-24 | 深圳传音控股股份有限公司 | Multimedia synchronous playing method, equipment, computer storage medium and system |
CN111541926A (en) * | 2020-05-08 | 2020-08-14 | 浙江大华技术股份有限公司 | Multimedia file playing method and device, storage medium and electronic device |
CN111541926B (en) * | 2020-05-08 | 2022-05-03 | 浙江大华技术股份有限公司 | Multimedia file playing method and device, storage medium and electronic device |
CN112887769A (en) * | 2021-01-21 | 2021-06-01 | 海信视像科技股份有限公司 | Display device |
CN112887769B (en) * | 2021-01-21 | 2023-09-19 | 青岛海信传媒网络技术有限公司 | Display equipment |
CN115225191A (en) * | 2022-07-08 | 2022-10-21 | 深圳感臻智能股份有限公司 | Method and device for calibrating delay of multiple devices based on local area network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108513159A (en) | Multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system | |
CN106161219B (en) | Message treatment method and device | |
US8813160B2 (en) | Method, system and user device for obtaining a key frame in a streaming media service | |
CN112104904B (en) | Method and system for synchronously watching video and realizing real-time interaction by multiple users | |
US20060068818A1 (en) | Audience participation method and apparatus | |
CN106303648A (en) | A kind of method and device synchronizing to play multi-medium data | |
CN103533388A (en) | Method and system for synchronously playing multimedia files | |
EP2863642B1 (en) | Method, device and system for video conference recording and playing | |
US20120246679A1 (en) | Method and Apparatus for Initiating and Executing a Joint Viewing Session of a Programming Event | |
US20080071399A1 (en) | Virtual theater system for the home | |
CN109561351A (en) | Network direct broadcasting back method, device and storage medium | |
CN105376516A (en) | Mobile video conference system and implementing method thereof | |
CN102170584A (en) | Method, device and system for playing media between synchronic HS (HTTP (HyperText Transfer Protocol) Streaming) terminal equipment | |
CN102176713A (en) | Method for realizing multiuser network video chat system for intensifying simplex video quality | |
CN108449620B (en) | Play control method and device for realizing synchronous watching of videos by multiple persons and terminal equipment | |
CN106941629A (en) | Real-time live broadcast method based on SIP+RTP Yu RTMP protocol interconnections | |
CN109714622A (en) | A kind of video data handling procedure, device and electronic equipment | |
CN102131109A (en) | Method, system and device for monitoring stream media broadcast | |
CN104954727B (en) | Audio-visual synchronization control device and method | |
CN113891175A (en) | Live broadcast stream pushing method, device and system | |
CN107205159B (en) | Method, device and storage medium for adjusting bit rate of streaming media in network live broadcast | |
CN107318052A (en) | Player method, television set and the storage medium of television video | |
CN108781304B (en) | Apparatus and method for providing service in digital broadcasting system | |
CN106209824A (en) | The cloud edit methods of data, system and the client of cloud editor | |
CN107306356A (en) | Video information describes file acquisition method and content distributing server, set top box, system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180907 |
|
WD01 | Invention patent application deemed withdrawn after publication |