Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, specifically real below in conjunction with the application
Execute example and technical scheme is clearly and completely described by corresponding accompanying drawing.Obviously, described
Embodiment is only some embodiments of the present application rather than whole embodiments.Based on the enforcement in the application
Example, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of the application protection.
Fig. 1 for the embodiment of the present application provide synchronize play multi-medium data process, specifically include following
Step:
S101: in the session participated in by least two terminal, initiator's terminal obtains the money of multi-medium data
Source identifies.
Terminal described in the embodiment of the present application, includes but not limited to: smart mobile phone, panel computer, intelligence
The mobile terminals such as wrist-watch.Session can be set up, such as: individually session or cluster conversation etc. between different terminals,
The user using different terminals can send mutually instant communication information by described session, exchanges.Aobvious
So, the foundation of session at least needs two different terminals, that is, the quantity of the terminal participated in session
The most also it is two.
Wherein, the realization of described session, operating system based on terminal can provide corresponding conversational services,
Conversational services can also be provided based on the application with interactive function installed in the terminal.Here it is not intended that
Restriction to the application.
When a certain user being in this session wants to share a certain multi-medium data, to other in this session
User plays out when browsing, then, the terminal that this user is used will obtain corresponding multi-medium data
Resource identification, and this resource identification is distributed to the other-end in this session, in order to follow-up carry out synchronization and broadcast
Put.
Wherein, described resource identification can be URL (Uniform Resource Locator,
URL)。
S102, is sent to be in all of receiving side terminal in same session by described resource identification.
Resource identification reflects the storage position of multi-medium data, and by resource identification, each terminal is the most permissible
Get the flesh and blood of this multi-medium data.
S103, after getting described multi-medium data to be played according to described resource identification, described initiation
Side's terminal sends to described each receiving side terminal and synchronizes to play notice so that participate in all terminals pair of this session
Described multi-medium data carries out synchronizing to play.
In view of in reality application, different receiving side terminals, when obtaining multi-medium data, may have certain
Time difference, if receiving side terminal just immediately begins to play out after getting multi-medium data, then,
The progress that will result in the content that different receiving side terminal is play has certain time difference, also cannot realize same
Step is play.Therefore, for above-mentioned steps S103, described many getting according to described resource identification
After media data, described initiator's terminal sends to receiving side terminal and synchronizes to play notice, particularly as follows: described
Initiator's terminal, after receiving the resource acquisition notice of receiving side terminal feedback, sends to this receiving side terminal
Synchronize to play notice.
Wherein, described resource acquisition notice represents that described receiving side terminal the most successfully obtains described resource identification pair
The multi-medium data answered.
Needing exist for explanation, in the application, the synchronization for multi-medium data is play, and is not required to session
In all of receiving side terminal all participate in synchronizing to play, as long as there being receiving side terminal to participate in, it is possible to
And carry out between initiator's terminal synchronizing to play.It is to say, only when at least one receiving side terminal according to
After described resource identification obtains corresponding multi-medium data, just can carry out synchronizing to play with initiator's terminal
(when not having recipient to obtain multi-medium data, then, initiator's terminal is at waiting state).So,
In foregoing, feedback resources obtains the receiving side terminal of notice, it is simply that get described multi-medium data
Receiving side terminal (quantity is at least one).Need exist for extending explanation, synchronize connecing of broadcasting if take part in
Debit's terminal is not whole receiving side terminal, then, in subsequent process, other have neither part nor lot in synchronization and play
Receiving side terminal can also join at any time synchronization play in, now, the receiving side terminal being newly added is by root
Carry out synchronizing to play according to current playing progress rate.
It is thus possible to think, notify by synchronizing to play so that between different terminals, arranged a system
The reproduction time of one, the most just can eliminate the time difference generated because obtaining multi-medium data, it is achieved synchronize to broadcast
Put.
Each receiving side terminal in the embodiment of the present application can go to store accordingly according to the resource identification received
Position obtains this multi-medium data, and only have received the synchronization broadcasting that described initiator's terminal sends
After notice, just can play notice according to described synchronization, carry out described multi-medium data synchronizing to play.
Unlike the prior art, in the prior art, when receiving side terminal have received multi-medium data
Resource identification after, if user wants to watch and browses the content of multimedia that this resource identification is corresponding, generally, only
The player in this terminal can be used or access the corresponding page according to this resource identification, individually seeing
See.It is to say, for each terminal in this session, in this session other-end playing progress rate and
Broadcast state cannot be known, namely interactivity is relatively low.
And in the embodiment of the present application, initiator's terminal is initiated synchronization by the other-end in this session and is broadcast
The mode put so that all terminals in this session all can play the content in this multi-medium data simultaneously.
By above-mentioned steps, corresponding to the multi-medium data that the initiator's terminal in same session can will get
Resource identification, be sent to the other-end being in this session, and, this initiator's terminal also can be to respectively
Individual receiving side terminal sends and synchronizes to play notice, to notify that all terminals play described multimedia at synchronization
Data.Thus, all terminals being in this session achieve synchronization for this multi-medium data and play, this
The mode of sample changes in prior art, and each terminal participating in session can only play alone lacking of multi-medium data
Fall into, the most only effectively improve the synchronicity play for multi-medium data, also improve to multimedia number
According to the interactivity carried out when sharing so that mutual the most convenient when shared multi-medium data.
In the embodiment of the present application, for described initiator's terminal and receiving side terminal, carry out for
During the synchronization of multi-medium data is play, its broadcast state can change, and, it is also possible to real
Instant messaging in existing playing process, will be specifically described these situations below.
One, the scene that the broadcast state in playing process changes
In the embodiment of the present application, described multi-medium data is being broadcast by initiator's terminal or receiving side terminal
When putting, it is possible to use play control plays described multi-medium data, and wherein, described play control can add
It is loaded in the current sessions interface shown by terminal.Such as: as in figure 2 it is shown, the current meeting of initiator's terminal
The top half at words interface, is loaded with this play control, plays corresponding multi-medium data in this play control
(in fig. 2, currently playing control is placed in a suspend state), certainly, in described initiator's terminal, institute
The play control stated is operable to.
It is to say, initiator's terminal can be controlled operation in described play control, such as: click on temporarily
Stop, then, in the play control of other receiving side terminals, also can suspend the described multi-medium data of broadcasting.Aobvious
So, control operation accordingly owing to initiator's terminal have received, thus cause and synchronize broadcasting in playing process
The state of putting there occurs change.
Specifically, for method S101 as shown in Figure 1 above-mentioned in the embodiment of the present application~S103,
Also include: described initiator's terminal receives the broadcasting for described play control and controls operation, broadcasts according to described
Put control operation, regulate the broadcast state of described multi-medium data, according to the broadcast state after regulation, generate
Regulation information, is distributed to each receiving side terminal being in same session so that respectively connect by described regulation information
Debit's terminal is according to described regulation information, the broadcast state of adjusted in concert each multi-medium data.
Wherein, described broadcasting control operation includes: play operation, pausing operation, playing progress rate operate, stop
Only at least one in operation.
It should be noted that when described broadcasting control operation includes that playing progress rate operates, according to described broadcasting
Control operation, regulate the broadcast state of described multi-medium data, particularly as follows: operate according to described playing progress rate,
Regulate the playing progress rate of described multi-medium data.On this basis, according to the broadcast state after regulation, generate
Regulation information, particularly as follows: determine the reproduction time that the playing progress rate after regulation is corresponding, during according to described broadcasting
Between generate described progress regulation information.
Visible, in this scenario, only initiator's terminal has the right to control the broadcasting of described multi-medium data
System regulation, the control information that other receiving side terminals in same session simply send according to initiator's terminal,
Controlling to adjust accordingly, such mode can be avoided in session, and different terminals all can be to multimedia number
According to broadcasting be controlled regulation and the confusion phenomena that occurs.
Two, playing process occurs playing the scene of card
In playing process, owing to the frame data of network transmission problems or multi-medium data itself damage, will
There is playing the phenomenon of card.As a example by initiator's terminal, if this initiator's terminal is playing multi-medium data
During occur in that card, and the broadcasting of other each receiving side terminals is the most normal, then, this initiator
The playing progress rate of terminal is just inconsistent with the playing progress rate of other receiving side terminals, also cannot ensure that synchronization is broadcast
Put.
And in view of in reality application, initiator's terminal realizes the meeting with other receiving side terminals by server
Words connect.In the embodiment of the present application, described initiator's terminal is broadcast to the transmission synchronization of described each receiving side terminal
Put notice, broadcast particularly as follows: described initiator's terminal sends synchronization by server to described each receiving side terminal
Put notice, and synchronize broadcasting notice includes unified broadcasting initial time.Thus indicate server
Have learned that the unified of all terminals that take part in this session plays initial time.
Therefore, in order to ensure that the broadcasting of all terminals all synchronizes and do not affected by Caton phenomenon, in the application
In embodiment, for above-mentioned S101~S103 as the method for figure 1, also include: described initiator's terminal
Monitor broadcasting card immediately, pause to described server sending card and revise request so that described server is according to institute
State card and revise request, multi-medium data corresponding for current play time is sent to described initiator's terminal,
Described in described initiator's terminal loads, current play time correspondence multi-medium data plays out.
That is, occur in that the terminal of card can get normal playing progress rate to server and (not block time
Progress), thus this terminal can load normal playing progress rate, eliminates the impact of card.
Three, playing process transmits the scene of speech message
Place's all terminals in the same session, even if during playing multi-medium data, each terminal it
Between can also carry out instant messaging in real time, such as: the modes such as speech message communication, text message communication.The most such as
Shown in Fig. 2, the latter half at the interface in Fig. 2 is exactly instant communication information show area, and this is just for using not
The function of instant messaging is provided with the user of terminal.
For this scene, in the embodiment of the present application, for above-mentioned as the method for figure 1
S101~S103, also includes: when described initiator's terminal receives the speech message of input in playing process,
Close the audio frequency of currently playing described multi-medium data, and record the described speech message of input, by described
Speech message is sent to each receiving side terminal being in same session, and reopens currently playing described
The audio frequency of multi-medium data.
Obviously, above-mentioned process is the process that initiator's terminal initiates speech message.In actual applications, many
Media data all contains corresponding voice data, say, that in the process playing described multi-medium data
In, corresponding sound can be played out, then, in this case, when directly entering voice, also can be by
The typing simultaneously of the sound of multi-medium data, this will affect the definition of speech message.So, in this scene
Under, when inputting speech message, initiator's terminal can close the audio frequency (quiet) of multi-medium data, then,
This can ensure that the definition of speech message of typing.
And after this speech message is sent by initiator's terminal, just illustrate that current input process has been tied
Bundle, so initiator's terminal can recover the broadcasting of audio frequency again, makes user can again hear this multimedia number
According to sound.
Under another way in this scenario, it is that initiator's terminal receives the voice of other receiving side terminals and disappears
The process of breath.In order to ensure that user can clearly hear that this voice disappears when playing multi-medium data audio frequency
Breath, it is necessary to the volume of the audio frequency of regulation current multimedia data.It is to say, in the embodiment of the present application,
For above-mentioned S101~S103 as the method for figure 1, also include: connect described in the reception of described initiator's terminal
The speech message that debit's terminal sends, by the volume of the audio frequency of currently playing described multi-medium data, reduces
To the volume threshold preset, and play the described speech message received, when described speech message finishes
After, again recover the volume of the audio frequency of currently playing described multi-medium data.
Four, playing process transmits the scene of instant communication information
In interface as shown in Figure 2, it is seen that play control is only displayed in the top of current interface, this interface
Lower part be used for showing instant communication information.And if play control shows in the way of full frame, then,
In order to ensure can to carry out instant messaging normally between each terminal, so, in the embodiment of the present application, right
In above-mentioned S101~S103 as the method for figure 1, also include: when described play control enters played in full screen
During pattern, arranging session show area in current broadcast interface, self is sent by described initiator's terminal
Instant communication information, and the instant communication information that each receiving side terminal of receiving sends, according to each immediately
The time order and function order of communication message, shows described instant communication information in described session show area.
Specifically, as it is shown on figure 3, play control enters played in full screen pattern, now, in current interface
Lower left, show session show area, in this session show area, according to the time of each instant communication information
Sequentially, each instant communication information of display from the bottom to top, that is, up-to-date instant communication information shows at this
The bottom of session show area, and along with the appearance of other hot informatioies, this instant communication information will gradually be gone up
Move, final this session show area of removal.
Certainly, it should be noted that described session show area can be to use the mode exhibition such as floating layer, suspension control
Existing, and, in order to ensure the viewing experience of user, the IMU going and wherein showing is shown in described session
News message is both configured to translucent, or other transparencys.
Foregoing is based on initiator's terminal, for receiving side terminal, as shown in Figure 4, and the application
Also providing for a kind of method synchronizing and playing multi-medium data in embodiment, described method includes:
S401, in the session at least participated in by two terminals, receiving side terminal receives described initiator's terminal
The resource identification of the multi-medium data sent.
S402, gets described multi-medium data according to described resource identification.
S403, receives the synchronization broadcasting notice that described initiator's terminal sends.
S404, plays notice according to described synchronization, plays described multi-medium data.
By the way, place's all receiving side terminals in the same session, will send out according to initiator's terminal
The resource identification of the multi-medium data sent, obtains corresponding multi-medium data, and sends according to initiator's terminal
Synchronization play notice, in the lump described multi-medium data is carried out with all terminals participated in this session with
Step is play.The most only effectively improve the synchronicity play for multi-medium data, also improve to many matchmakers
Volume data carries out interactivity when sharing so that mutual the most convenient when shared multi-medium data.
In the method, similar, specifically with the scene of above-mentioned initiator's terminal:
Method S401 as shown in Figure 4~S404, also include: described receiving side terminal is according to described resource mark
Know after getting described multi-medium data to be played, notify to described initiator's terminal feedback resource acquisition;
Wherein, described resource acquisition notice represents described receiving side terminal the most successfully to obtain described resource identification corresponding
Multi-medium data.
That is, each receiving side terminal is after having got described multi-medium data, all can be to described initiator
Terminal feedback resource acquisition notifies, in order to described initiator's terminal can know the acquisition of different receiving side terminal
State, thus carry out synchronizing to play.
The scene changed for the broadcast state in playing process, in described initiator's terminal according to broadcasting
Control operation, regulate the broadcast state of described multi-medium data, and generate the transmission of regulation information to described reception
After side's terminal, described method also includes: described receiving side terminal receives the regulation that described initiator's terminal sends
Information, according to described regulation information, the broadcast state of adjusted in concert each multi-medium data, wherein, described
Regulation information in order to described multi-medium data is played out, suspends, playing progress rate, in stopping at least one
Plant broadcast state to be adjusted.
For occurring playing the scene of card in playing process, described receiving side terminal receives institute by server
Stating the synchronization broadcasting notice that initiator's terminal sends, described method also includes: described receiving side terminal monitors
Play card immediately, pause to described server sending card and revise request so that described server pauses according to described card
Revise request, multi-medium data corresponding for current play time is sent to described receiving side terminal, described in connect
Described in debit's terminal loads, current play time correspondence multi-medium data plays out.
For transmitting the scene of speech message in playing process, described method also includes: described receiving side terminal
When receiving the phonetic entry operation in playing process, close the sound of currently playing described multi-medium data
Frequently, and record the speech message of input, be sent to described speech message to be in same session other eventually
End, and reopen the audio frequency of currently playing described multi-medium data.
Under another way in this scenario, described method also includes: described receiving side terminal receives other
The speech message that terminal sends, by the volume of the audio frequency of currently playing described multi-medium data, is reduced to pre-
If volume threshold, and play the described speech message that receives, after described speech message finishes,
Again the volume of the audio frequency of currently playing described multi-medium data is recovered.
For transmitting the scene of instant communication information in playing process, described receiving side terminal is currently displaying
In session interface, loading play control, play out described multi-medium data, described method also includes:
When described play control enters played in full screen pattern, current broadcast interface arranges session show area,
The instant communication information that self is sent by described receiving side terminal, and the described initiator's terminal received sends out
The instant communication information sent, according to the time order and function order of each instant communication information, disappears described instant messaging
Breath display is in described session show area.
Foregoing is that wherein the particular content of different scenes is similar with sending side terminal based on receiving side terminal
Seemingly, thus do not repeat them here.
In the embodiment of the present application, in addition to above-mentioned initiator's terminal and receiving side terminal, server is also
Take part in session establishment, the process of multi-medium data broadcasting, therefore, in the embodiment of the present application, such as Fig. 5
Shown in, also providing for a kind of method synchronizing and playing multi-medium data, described method specifically includes:
S501, in the session at least participated in by two terminals, server receives the money that initiator's terminal sends
Source identifies.
S502, is distributed to be in all of receiving side terminal in same session by described resource identification.
S503, receives the synchronization broadcasting notice that described initiator's terminal sends, and is distributed to all of recipient
Terminal so that described multi-medium data is carried out synchronizing to play by all terminals participating in this session.
The most visible, described server take part in the process realizing synchronizing to play in session.It addition,
It should be noted that method S501 as described in Figure 5~S503, also include: described monitoring server is same
The card that in step playing process, each terminal occurs pauses.
Specifically, the card that described monitoring server occurs in synchronizing playing process pauses, particularly as follows: described clothes
Business each terminal of device record carry out synchronize play initial playing progress rate, and this initial playing progress rate corresponding be
The system time, send progress queries to each terminal and ask, and receive the feedback of each terminal, do not receiving broadcasting
In the case of the regulation information that progress operation is corresponding, according to currently playing progress and the initial playing progress rate of feedback
Between time difference, and the system that system time corresponding to described current time is corresponding with initial playing progress rate
Time difference between time, is monitored card.
It should be noted that the multi-medium data (such as: video) synchronizing to play is not necessarily from the first frame
Data commence play out, such as: in actual applications, and play control likely has merits such as " skipping head "
Can, so, the initial playing progress rate of multi-medium data is the most no longer from the beginning of the first frame data, so,
For server, it is necessary to initial playing progress rate when recording synchronism is play.In order to playing progress rate is entered
Row timing, server also can record the system time that this initial playing progress rate is corresponding.
Under the scene of reality application, server periodically can send progress queries to all terminals participating in session
Request, in order to inquire about the playing progress rate in each terminal.
Such as: in a certain session that multiple terminals participate in, synchronize to play certain video, it is assumed that server record
The initial playing progress rate of this video is " 00:30 " (it is to say, this video commenced play out at the 30th second),
Further, system time when commencing play out is " 12:00:00 ".Server will to each eventually every 20 seconds
End sends progress queries request.
Assuming that server receives the playing progress rate of a certain terminal feedback at " 12:00:20 ", this is currently playing
Progress is " 00:48 ", then, for this terminal, between currently playing progress and initial playing progress rate
Time difference be 18 seconds.But, system time corresponding to described currently playing progress and initial playing progress rate
The corresponding time difference between system time is but 20 seconds, and this indicates that the playing progress rate card of this terminal has paused 2
Second, thus, server is assured that out that this terminal card pauses.
From upper example, the time difference between currently playing progress and the initial playing progress rate of feedback, and institute
State the time between the system time that system time corresponding to currently playing progress is corresponding with initial playing progress rate
When difference is inconsistent, then it is assumed that the broadcasting of this terminal occurs in that card.
In order to eliminate card, under a kind of mode in the embodiment of the present application, during for card occurs,
Described method also includes: after monitoring terminal appearance card, described server is play according to the synchronization of record
Progress, feeds back to the terminal that card pauses occur by the playing progress rate that synchronizes of current time so that the end of card occur
End loads the described synchronization playing progress rate of current time.
Certainly, foregoing is that server actively monitors whether each terminal occurs in that card, and real in the application
Execute under the another way in example, the generation that terminal self meeting monitoring card pauses, and after occurring in that card, to
Server sending card is paused and is revised request, and now, the card that server reception terminal sends pauses to revise and asks, and root
According to the synchronization playing progress rate of record, the synchronization playing progress rate of current time is fed back to described terminal so that institute
State the described synchronization playing progress rate of terminal loads current time.
Above content is in the case of not receiving the regulation information that playing progress rate operation is corresponding, server pair
Card regulation, and if the broadcast state of video is regulated by initiator's terminal, then, server
The regulation information that initiator's terminal sends can be received, according to described regulation information, the described synchronization of more new record
Playing progress rate.
Wherein, described regulation information in order to described multi-medium data is played out, suspends, playing progress rate,
At least one broadcast state in stopping is adjusted.
Now, if server have received terminal sending card pause correction request time, then, server can obtain
Take the playing progress rate that initiator's terminal is current, the described playing progress rate got is fed back to the described card of transmission and pauses
Revise the receiving side terminal of request.The playing progress rate namely allowing all terminals keeps one with initiator's terminal
Cause.
So far, the embodiment of the present application elaborates initiator's terminal, receiving side terminal and server three respectively
Detailed process and mode that multi-medium data synchronizes to play is realized between person.In view of in reality application, initiate
Side terminal and receiving side terminal be likely to be in same LAN environment (and, multi-medium data be stored in send out
Play side's terminal local), under such a scenario, carry out the process synchronizing to play for described multi-medium data
Can not rely on server, but initiator's terminal and receiving side terminal, at the network equipment (such as: nothing
Line router) transmitting effect under, it is achieved synchronize play.
Specifically, in the session set up, initiator's terminal is sent out to each receiving side terminal by LAN
Send notification message, to notify that each receiving side terminal obtains the multi-medium data of this initiator's terminal local storage,
After described receiving side terminal gets described multi-medium data, send to described receiving side terminal and synchronize to play
Notice so that described multi-medium data is carried out synchronizing to play by all terminals participating in this session.
Under this scene, by initiator's terminal to synchronize broadcasting be controlled (including: synchronize play, with
Time-out in step playing process, broadcasting, progress regulation etc.), initiator's terminal still in the way of regulation information,
Send to corresponding receiving side terminal so that receiving side terminal according to described regulation information, to synchronize to play into
Row Synchronization Control.
Specifically, described initiator's terminal, in currently displaying session interface, loads exercisable broadcasting and controls
Part, plays out described multi-medium data, when described initiator's terminal receives for described play control
When playing control operation, control operation according to described broadcasting, regulate the broadcast state of described multi-medium data,
According to the broadcast state after regulation, generate regulation information, and by LAN, described regulation information is distributed
Give each receiving side terminal being in same session so that each receiving side terminal is according to described regulation information, same
Step saves the broadcast state of respective multi-medium data.
Wherein, described broadcasting control operation includes: play operation, pausing operation, playing progress rate operate, stop
Only at least one in operation.
Similarly, in synchronizing playing process, initiator's terminal and receiving side terminal all can transmit voice and disappear
Breath and instant communication information, detailed process is similar with foregoing, no longer Ao Shu at this.
It addition, under this scene, sending side terminal carry out card monitoring and repair.Specifically:
For the monitoring of card, the initial playing progress rate that described initiator's terminal recording synchronism is play, with
And the system time that this initial playing progress rate is corresponding, send progress queries request to receiving side terminal, and receive
The feedback of described receiving side terminal, in the case of not receiving playing progress rate operation, current according to feed back
Time difference between playing progress rate and initial playing progress rate, and during system corresponding to described currently playing progress
Between time difference between the system time corresponding with initial playing progress rate, card is monitored.
For the reparation of card, after monitoring receiving side terminal appearance card, described initiator's terminal
According to the synchronization playing progress rate of record, the synchronization playing progress rate of current time is fed back to out by LAN
The receiving side terminal now blocked time so that occur the receiving side terminal of card load the synchronization of current time play into
Degree.
If initiator's terminal self occurs in that card, then, this initiator's terminal passes through LAN, from
Described recipient obtains the synchronization playing progress rate of this receiving side terminal of current time, and loads current time
Synchronize playing progress rate.
Visible by foregoing, carry out the process synchronizing to play between initiator's terminal and receiving side terminal,
It is no longer dependent on server, is all transmitted communication by LAN and realizes synchronizing to play.
The method synchronizing to play multi-medium data provided for the embodiment of the present application above, based on same think of
Road, the embodiment of the present application provides a kind of device synchronizing to play multi-medium data, is arranged in initiator's terminal,
As shown in Figure 6.
In figure 6, the device synchronizing to play multi-medium data includes:
Acquisition module 601, for obtaining the resource identification of multi-medium data.
Sending module 602, for being sent to be in all of recipient in same session by described resource identification
Terminal.
Synchronization notice module 603, is used for after getting described multi-medium data according to described resource identification,
Send to described each receiving side terminal and synchronize to play notice so that participate in all terminals of this session to described many
Media data carries out synchronizing to play.
Wherein, described resource identification includes: URL.
Specifically, described synchronization notice module 603, specifically for receiving each receiving side terminal feedback
After resource acquisition notice, send to described each receiving side terminal and synchronize to play notice.
Wherein, described resource acquisition notice represents that described receiving side terminal the most successfully obtains described resource identification pair
The multi-medium data answered.
In the scene that broadcast state in playing process changes, in described initiator's terminal current aobvious
In the session interface shown, load exercisable play control, described multi-medium data is played out.At this
Under scene, described device also includes: play control module 604, for described initiator's terminal receive for
The broadcasting of described play control controls operation, controls operation according to described broadcasting, regulates described multi-medium data
Broadcast state, according to regulation after broadcast state, generate regulation information, described regulation information is distributed to
The each receiving side terminal being in same session so that each receiving side terminal, according to described regulation information, synchronizes
Regulate the broadcast state of respective multi-medium data.
Wherein, described broadcasting control operation includes: play operation, pausing operation, playing progress rate operate, stop
Only at least one in operation.
More specifically, described broadcasting control module 604, specifically for operating according to described playing progress rate,
Regulate the playing progress rate of described multi-medium data;And it is used for the broadcasting that the playing progress rate after determining regulation is corresponding
Time, generate described progress regulation information according to described reproduction time.
Playing process occurs play in the scene that card pauses, described synchronization notice module 603, specifically for
Send synchronization by server to described each receiving side terminal and play notice.Under this scene, described device also wraps
Include: a card processing module 605, be used for monitoring broadcasting card immediately, pause correction to described server sending card
Request so that described server pauses according to described card and revises request, by multimedia corresponding for current play time
Data are sent to described initiator's terminal, the corresponding many matchmakers of current play time described in described initiator's terminal loads
Volume data plays out.
Transmitting in the scene of speech message in playing process, described device also includes: voice message module
606, during for receiving the speech message of input in playing process, close currently playing described multimedia
The audio frequency of data, and record the described speech message of input, it is sent to described speech message be in for a moment
Each receiving side terminal in words, and reopen the audio frequency of currently playing described multi-medium data.
Under the another way of this scene, described voice message module 606, it is additionally operable to receive described reception
The speech message that side's terminal sends, by the volume of the audio frequency of currently playing described multi-medium data, is reduced to
The volume threshold preset, and play the described speech message received, after described speech message finishes,
Again the volume of the audio frequency of currently playing described multi-medium data is recovered.
Playing process transmit in the scene of instant communication information, in described initiator's terminal currently displaying
Session interface in, load exercisable play control, described multi-medium data played out.This scene
Under, described device also includes: instant communication information module 607, for entering full frame when described play control
During play mode, arranging session show area in current broadcast interface, self is sent out by described initiator's terminal
The instant communication information sent, and the instant communication information that each receiving side terminal received sends, according to respectively
The time order and function order of instant communication information, shows described instant communication information in described session show area
In.
The embodiment of the present application also provides for a kind of device synchronizing to play multi-medium data, is arranged on receiving side terminal
In, as it is shown in fig. 7, in the figure 7, described device includes:
Receiver module 701, for in the session at least participated in by two terminals, receiving side terminal connects
Receive the resource identification of the multi-medium data that described initiator's terminal sends.
Acquisition module 702, for getting described multi-medium data to be played according to described resource identification.
Notice receiver module 703, notice is play in the synchronization sent for receiving described initiator's terminal.
Synchronize playing module 704, for playing notice according to described synchronization, play described multi-medium data.
In the embodiment of the present application, described acquisition module 702, it is additionally operable to get according to described resource identification
After described multi-medium data to be played, notify to described initiator's terminal feedback resource acquisition.
Wherein, described resource acquisition notice represents that described receiving side terminal the most successfully obtains described resource identification pair
The multi-medium data answered.
In the scene that broadcast state in playing process changes, in described initiator's terminal according to broadcasting
Control operation, regulate the broadcast state of described multi-medium data, and generate the transmission of regulation information to described reception
Side's terminal, described device also includes: play control module 705, receives described for described receiving side terminal
The regulation information that initiator's terminal sends, according to described regulation information, adjusted in concert each multi-medium data
Broadcast state.
Wherein, described regulation information in order to described multi-medium data is played out, suspends, playing progress rate,
At least one broadcast state in stopping is adjusted.
Occurring playing in the scene that card pauses in playing process, described receiving side terminal receives institute by server
Stating the synchronization broadcasting notice that initiator's terminal sends, described device also includes: a card processing module 706, uses
In monitor broadcasting card immediately, to described server sending card pause correction request so that described server according to
Described card pauses and revises request, multi-medium data corresponding for current play time is sent to described recipient eventually
End, described receiving side terminal loads described current play time correspondence multi-medium data and plays out.
Transmitting in the scene of speech message in playing process, described device also includes: voice message module
707, during for receiving the phonetic entry operation in playing process, close currently playing described multimedia
The audio frequency of data, and record the speech message of input, it is sent to be in same session by described speech message
Other-end, and reopen the audio frequency of currently playing described multi-medium data.
As a kind of mode in this scene, described voice message module 707, it is additionally operable to receive other-end
The speech message sent, by the volume of the audio frequency of currently playing described multi-medium data, is reduced to preset
Volume threshold, and play the described speech message received, after described speech message finishes, again
Recover the volume of the audio frequency of currently playing described multi-medium data.
Transmitting in the scene of instant communication information in playing process, described device also includes: instant messaging disappears
Breath module 708, for when described play control enters played in full screen pattern, in current broadcast interface
Session show area is set, by receiving side terminal self send instant communication information, and receive described
The instant communication information that initiator's terminal sends, according to the time order and function order of each instant communication information, by institute
State instant communication information to show in described session show area.
The embodiment of the present application also provides for a kind of device synchronizing to play multi-medium data, arranges in the server,
As shown in Figure 8, described device includes:
Receiver module 801, in the session at least participated in by two terminals, server receives initiator
The resource identification that terminal sends.
Distribution module 802, for being distributed to be in all of recipient in same session by described resource identification
Terminal.
Synchronization notice module 803, the synchronization sent for receiving described initiator's terminal is play notice, and is divided
Send to all of receiving side terminal so that described multi-medium data is carried out same by all terminals participating in this session
Step is play.
Described device also includes: monitoring modular 804, occurs for monitoring each terminal in synchronizing playing process
Card pause.
Described monitoring modular 804, the initial playing progress rate synchronizing to play specifically for recording each terminal to carry out,
And the system time that this initial playing progress rate is corresponding, send progress queries request to each terminal, and receive each
The feedback of terminal, in the case of not receiving the regulation information that playing progress rate operation is corresponding, according to feedback
Time difference between currently playing progress and initial playing progress rate, and described currently playing progress corresponding be
Time difference between the system time that the system time is corresponding with initial playing progress rate, is monitored card.
Described device also includes: card correcting module 805, is used for after monitoring terminal appearance card, root
According to the synchronization playing progress rate of record, the playing progress rate that synchronizes of current time is fed back to the terminal that card pauses occur,
Make the described synchronization playing progress rate that the terminal loads current time of card occurs.
In a typical configuration, calculating equipment includes one or more processor (CPU), input/defeated
Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
(RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM).
Internal memory is the example of computer-readable medium.
Computer-readable medium includes that removable media permanent and non-permanent, removable and non-can be by appointing
Where method or technology realize information storage.Information can be computer-readable instruction, data structure, program
Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory
(PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its
The random access memory (RAM) of his type, read only memory (ROM), electrically erasable are read-only
Memorizer (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory
(CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic
Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated
The information that equipment accesses.According to defining herein, computer-readable medium does not include temporary computer-readable matchmaker
Body (transitory media), such as data signal and the carrier wave of modulation.
Also, it should be noted term " includes ", " comprising " or its any other variant are intended to non-row
Comprising, so that include that the process of a series of key element, method, commodity or equipment not only include of his property
Those key elements, but also include other key elements being not expressly set out, or also include for this process,
The key element that method, commodity or equipment are intrinsic.In the case of there is no more restriction, statement " include
One ... " key element that limits, it is not excluded that including the process of described key element, method, commodity or setting
Other identical element is there is also in Bei.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software and
The form of the embodiment of hardware aspect.And, the application can use and wherein include calculating one or more
The computer-usable storage medium of machine usable program code (include but not limited to disk memory, CD-ROM,
Optical memory etc.) form of the upper computer program implemented.
The foregoing is only embodiments herein, be not limited to the application.For this area skill
For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle
Any modification, equivalent substitution and improvement etc. made, within the scope of should be included in claims hereof.