Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on thisEmbodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative effortsExample is applied, shall fall within the protection scope of the present invention.
It is succinct and intuitive in order to what is described, hereafter by describing several representative embodiments come to the solution of the present inventionIt is illustrated.A large amount of details is only used for helping to understand the solution of the present invention in embodiment.However, it will be apparent that technology of the inventionScheme can be not limited to these details when realizing.In order to avoid unnecessarily having obscured the solution of the present invention, some embodiment partyFormula is not described meticulously, but only gives frame.Hereinafter, " comprising " refers to " including but not limited to ", " rootAccording to ... " refer to " according at least to ..., but be not limited to according only to ... ".Hereinafter it is not specifically stated the quantity of an ingredientWhen, it is meant that the ingredient is either one or more, or can be regarded as at least one.
As previously mentioned, during internet develops rapidly, occurring that multiple users wish at present can be respectively notThe demand for watching the same video simultaneously using different terminals with place and the same user are in the process for watching a videoIn want convert place or convert terminal device continue viewing demand.This just needs to realize the same media content at different endsIt is shared and synchronous between end equipment.The method that existing media sync plays substantially there are two types of, a kind of method is multiple useMedia play client is opened at family respectively, finds identical media, then watched respectively;Another method is that having viewing to go throughIt is logged on the user terminal of history with same account, is realized by previously stored viewing history and play synchronization.But it is above this twoKind of scheme cannot obtain automatically and show other users media content being played on and cumbersome, and user experience is bad.
To solve the above-mentioned problems, the example of the application proposes a kind of media content synchronization playback method, and this method is answeredFor the media application client of user terminal, for realizing in a network, media content between different media application clientsBe played simultaneously.For example, when the media application client in local area network on any user terminal is playing in a certain mediaRong Shi, other user terminals can obtain above-mentioned media application client when starting media application client automatically in the local area networkMedia content being played on or even playback progress are held, and the media content that viewing other side is watching can be directly selected.Meanwhile the broadcasting of media application client is again respectively independent on each user terminal in network, the playback progress of each user is certainlyBy, can respective fast forwarding and fast rewinding, do not interfere with each other.
Fig. 1 shows the system structure diagram that media sync playback method described in some examples of the application is applicable in.As shown in Figure 1, the system of the application includes at least: more than two user terminals 11, network 12 and application server 13.
In some examples of the application, above-mentioned user terminal 11 can be smart phone, PAD, personal computer, intelligenceThe intelligent terminals such as TV and tablet computer.It include display device, such as display or touch screen on the user terminal 11Deng.Under normal circumstances, various applications clients can be installed on user terminal 11, for example, the matchmaker of media content can be playedThe applications clients such as body applications client, such as Tencent's video, cloud audiovisual aurora.
In some examples of the application, above-mentioned network 12 can refer to internet, above-mentioned two above user terminal11 can be respectively connected to internet and be connected respectively to application server 13 by internet, be in communication with respectively.
In some examples of the application, above-mentioned network 12 can also refer to local area network.Above-mentioned two above user is wholeEnd 11 and application server 13 can be built into a local area network together, and pass through the phase intercommunication between local area network realizationLetter, such as connected together by hub.Application server 13 is also connected to the local area network.Specific communication protocol can be selectedSelect 802.3 agreement of IEEE of local area network (LAN), 802.11 agreement of IEEE of WLAN and Wi-Fi agreement etc..On at this point,It states between more than two user terminals 11 and can be by local area network reality between user terminal 11 and application server 13Now it is in communication with each other.In addition, between above-mentioned two above user terminal 11 and between user terminal 11 and application server 13Mutually finding and being in communication with each other between distinct device can also be realized by ICP/IP protocol.
In some examples of the application, above-mentioned network 12 be can also be including local area network, routing device 14 and interconnectionThe network of net 15.Its specific network structure can be as shown in Figure 1a, specifically, above-mentioned local area network can be cable LANNetwork or Wireless LAN.Above-mentioned two above user terminal 11 can be built into a local together with routing device 14Net, being in communication with each other between being realized by local area network, specific communication protocol can choose such as local area network (LAN)802.3 agreement of IEEE, 802.11 agreement of IEEE of WLAN and Wi-Fi agreement etc..In addition, above-mentioned two above userTerminal 11 can also be connected to internet 15 by routing device 14, take to realize with the application for being connected similarly to internet 14The communication of business device 13.
Application server 13 is application server corresponding with the applications client installed on user terminal 11, for example, canTo be media application server etc..The application client in application server software and user terminal 11 in application server 13End software provides service together for user, for example, playing video file etc..Above-mentioned application server 13 can be individual serviceDevice is also possible to the cluster server of multiple server compositions.Above-mentioned application server 13 can be the server inside local area networkThe public server being also possible on internet.When the server inside application server 13 is local area network, inside network 12User terminal 11 application server 13 can be directly connected to by network 12.And when application server 13 is on internetWhen public server, the user terminal 11 inside network 12 will be linked to the routing device in network 12 by network 12, then lead toCross the application server 13 that routing device is connected on internet.It should be noted that the example of the application is to user terminal 11Connection type between application server 13 is simultaneously not construed as limiting.That is, in the example of the application, above-mentioned application server 13It can be the public server that the server inside local area network is also possible on internet, above-mentioned user terminal 11 can be sameDifferent user terminals under a local area network are also possible to be respectively connected to the different user terminals of internet, these network settings are simultaneouslyThe application of the application embodiment is not influenced.
Under the premise of herein, it is based on above-mentioned system structure shown in FIG. 1, it is same that the example of the application provides a kind of media contentOne step process, this method can be applied to the media application client on user terminal 11, and more than two media application visitors may be implementedMedia content synchronization between the end of family plays.As previously mentioned, the example of the application is suitable for multiple users by network connectionTerminal, for example, when household watches some program of smart television broadcasting together at home, if wherein a certain people or more people think pointMethod can be stated using this when oneself room continues to watch the program by other users terminal by not returning to.In another example oneThe program that user can watch on other terminal devices using the synchronous viewing other users of this method or the user.
Here, without loss of generality it is assumed that the requesting party of media content synchronization is referred to as the first media application client, askedThe side of asking is the second media application client.
Fig. 2 shows the flow charts for the media content synchronization playback method that present application example provides.This method is by user's endThe first media application client executing on end 11, as shown in Figure 2, comprising the following steps:
Step 201: sending media information request message, request the second media application client media being played onThe media information of content;
Step 202: receiving the media information of the second media application client media content being played on;And
Step 203: the corresponding media content of the media information is played according to the media information.
Due under the different network environment of local area network or internet, the operation of the first media application client is notTogether, the processing method that will be described in detail below by different embodiments under different network environments.
Fig. 3 shows the flow chart of the media content synchronization playback method of one example of the application offer.This method by withMedia application client executing in family terminal 11, as shown in Figure 3, comprising the following steps:
Step 301: sending media information request message to one or more the second media application client, request it anti-Present the media information of media content being played on.
In one embodiment of the application, above-mentioned steps 301 can be triggered execution under numerous conditions.For example, canWith when the terminal where the first media application client is activated, such as when booting, above-mentioned steps 301 are executed.It can also beWhen starting the first media application client of operation, for example, user clicks media application client icon or option to start fortuneWhen the row media application client, above-mentioned steps 301 are executed.It is answered when some user starts the media on one user terminal of operationWhen with client, which is also attached in network using itself as a node access networks network.It needs to illustrateIt is that above-mentioned network can be local area network.At this point, above-mentioned media information request can be a broadcast message namely this is activatedMedia application client can be sent by way of broadcast a media information request to local area network every otherTwo media application clients.
It, can also be when other media application client media information be requested in selection in another embodiment of the applicationExecute above-mentioned steps 301.It " is checked in local area network just for example, can be arranged in the interface of media application client or menuIn the media content of broadcasting " function choosing-item, is somebody's turn to do the function of " checking media content being played in local area network " when the user clicksWhen option, media application client can be sent by way of broadcast a media information request to local area network it is all itsHis node.
In another embodiment of the application, other media application client medias can also be synchronized in selection and playedShi Zhihang above-mentioned steps 301." local area network is synchronized to for example, can be arranged in the interface of media application client or menuInterior other users media content being played on " function choosing-item " should be synchronized to other users matchmaker being played on when the user clicksWhen the function choosing-item of appearance in vivo ", media application client can send a media information by way of broadcast and request to officeEvery other node in the net of domain.Further, since each node in local can find other nodes by communication protocolIn the presence of and obtain the marks of other nodes, and hence it is also possible to " be synchronized to the matchmaker being played on of other users in local area network in settingFurther setting includes the menu option of every other node identification in local area network on the basis of appearance in vivo " function choosing-item, is suppliedThe target user of user's selection media content synchronization.In this way, the second media being synchronized can also be carried in media information requestThe user identifier of user corresponding to applications client.In this way, other than above-mentioned broadcast mode, media application client can be withDirectly hair media information requests target the second media application client selected to user, it is asked to feed back media information.
Further, since not having central node in local area network, each node does not have point of primary and secondary, therefore, each nodeThe media information played on other nodes can be requested, while also can receive the request of other nodes and feeding back itself and playingMedia information.Wherein, in the local area network, each node with the device identification of subscriber terminal equipment such as MAC Address, setStandby title etc., to distinguish different nodes.After access to LAN network, the media application client on the user terminal can be trueKnow other users terminal device in other nodes accessed in same local area network namely the available local area networkDevice identification.Specifically, media application client can pass through Area Network protocol, such as TCP/IP, IPX/SPX, WAPIEtc., obtain the device identification of other users terminal device in the local area network.
In some instances, above-mentioned media information may include: the mark of media content.The mark of above-mentioned media content isRefer to the mark that can uniquely determine media content.Under normal circumstances, media application client can be according to the mark of media contentInquiry request is sent to server to obtain the address of media content corresponding with the media content identification and play total durationEtc. other informations therefore pass through the address of the available media content of mark media application client of media content, such as matchmakerThe URL held in vivo.In addition, above-mentioned media information can directly include: the address of media content.In embodiments herein,Above-mentioned media information can also include the playback progress information of media content, such as played duration or played ratioExample.In embodiments herein, above-mentioned media information can also include the broadcasting setting information of media content, such as full screenSetting, barrage setting or broadcasting speed setting etc..
In some instances, the media application client on above-mentioned user terminal can use network protocol to above-mentioned networkIn other users terminal request media content being played on media information.
Further, a time-out time, such as 5 seconds can also be set, as being connected to sound corresponding with above-mentioned requestThe time threshold answered.
Here, above-mentioned media information request can be a completely new message or using advancing in existing messageField is realized, can configure the character string made an appointment, such as " ABC " in the field.On a user terminal is receivedMedia application client receives the above-mentioned new message of another media application client transmission or detects in some messageReserved field it is occupied when, can know that a media application client is requesting itself media content being played onMedia information.In addition, above-mentioned media information request can also be to be sent in network respectively one by one other than above-mentioned broadcast modeThe unicast message of a user terminal.It should be noted that format and specific implementation that the application requests media informationIt is not construed as limiting.
At this point, the media application client for receiving request first determines whether the broadcast state of itself, if itself is in the free timeState is not replied then;If itself being playing a certain media content, the media for the media content being currently played are believedBreath feeds back to the media application client for sending request.
In addition, selection " shielding " or " closing " can also be arranged by function in user, other people read the media information of itselfFunction.At this point, media application client will not when receiving the media information request from other media application clientsReply the request.
Step 302: receiving the media information of one or more second media application client feedbacks.
In the example of the application, if being provided with above-mentioned time-out time, opened while sending media information requestMove a timer, and in above-mentioned timer arrive above-mentioned time-out time when, stopping timing, during this period, if do not hadMedia information is received, then can terminate this process or prompts the user whether to send media information request again.If userSelection sends media information request again, then can return to above-mentioned steps 301 and continue to execute.If above-mentioned timer expired itBefore, the media information of one or more media application client feedbacks is received, then can continue to execute subsequent step.
Here, above-mentioned media information can be sent according to the format made an appointment, specifically, format of making an appointment can beThe mark of media content, plays total duration and playback progress at address.For example, a media content can be Chu Qiaochuan01https://v.qq.com/x/page/f0391428sgt.html 50 15.As the media application client of user terminal 11When termination receives the media information in previous example according to agreement format transmission, matchmaker is obtained by being resolved to " Chu Qiaochuan 01 " firstThen the mark held in vivo obtains https by parsing again: //v.qq.com/x/page/f0391428sgt.html is matchmakerThe URL that holds in vivo, " 50 " be play total duration (media content total duration 50 minutes), " 15 " be that playback progress (played 15 pointsClock).In some instances, if media application client is not received by media information, namely it is not received by above-mentioned networkIn any one node response, then illustrate the media content for not having to be played simultaneously in current network.
After the media information for receiving one or more media application client feedbacks, the first media application client canProcessing mode there are many plays the corresponding media content of received media information.Situation will be divided to carry out specifically belowIt is bright.
Fig. 3 a, which is shown, is obtaining media information according to the first media application client of one embodiment of the applicationTreatment process later.As shown in Figure 3a, the first media application client can execute as follows after obtaining media informationThe operation of step.
Step 303a: the media information of the one or more of second media application client feedbacks received is shown.
In some embodiments of the present application, the step of above-mentioned display media may include: will receive described inThe media information of one or more second media application client feedbacks is added in a media list, and shows in current interfaceShow the media list.
In some instances, the media information that media application client will receive, such as the mark of media content, such asPoster, playing duration, playback progress and address are added in media list, and show that the media arrange by the display equipment of itselfTable is liked selecting for user according to oneself.It should be noted that can only show above-mentioned media information when display media listIn partial content, such as only show the mark of media content, such as poster, or only show the mark and broadcasting of media contentProgress, and the address of media content can be shown or not show.
For example, Fig. 4 is that the media application client of user terminal 11 shows the example of media list.As shown in Fig. 4, matchmakerThe left side at body applications client interface is media content broadcast window 401, and right side is respectively the media content being currently playedEpisode list 403, other users media content lists 402 being played on and currently more popular media content ranking list404.Wherein, the mark for the media content that other users terminal is currently played in network is shown in media content lists 402Knowledge and/or other information, for example, the title of media content or poster etc..
Step 304a: the selection operation to shown a certain media information is received.
Step 305a: the corresponding media of the media information are requested to media application server according to selected media informationContent.
Step 306a: downloading and plays the media content.
In some instances, the selection in response to user to shown a certain item media information, such as to the mediaThe selection of a certain item media information in list, media application client by the address configuration in selected media information to itselfMedia player in, according to the address to media application server request download the media content.
Fig. 3 b, which is shown, is obtaining media letter according to the first media application client of another embodiment of the applicationTreatment process after breath.As shown in Figure 3b, treatment process of the first media application client after obtaining media informationIt may include steps of.
Step 303b: according to the media information of the one or more of second media application client feedbacks received toMedia application server requests the corresponding media content of a media information.
Step 304b: downloading and plays the media content.
Specifically, the first media application client can by address configuration in received media information to itselfIn media player, requested to download the media content to media application server according to the address, and play.
If the media information that the first media application client receives be from multiple second media application clients,First media application client can therefrom select a media information, then, request the media to media application serverThe corresponding media content of information simultaneously plays the media content.Specific selection method can be random selection, pre- according to userThe default user first set is selected or is selected according to the priority of the preset second media application client of user, excellentFirst play the high media application client media content being played on of priority.In addition, if the first media application clientThe media information received is from multiple second media application clients, and the first media application client can also show thisMedia information from this multiple second media application client is presented to the user, user is asked to select it by a little media informationsWish the media content played.Specific display and selection method can be with reference to methods shown in Fig. 3 a.Details are not described herein.
In above-mentioned multiple embodiments, from the beginning the first media application client plays media content or can further rootAccording in the media information address and playback progress, to media application server request download the media content not by but i.e.It by played part, and plays, namely connects the playback progress recorded in media information and continue to play the media content.
In addition, if media information further includes the broadcasting setting information of media content, then the first media application client is alsoThe setting that can be played out according to above-mentioned broadcasting setting information.For example, playing setting information includes played in full screen and 1.5 timesThen the first media application client is played can be directly full frame and play current media content with 1.5 speeds.
It should be noted that user can pass through media application client circle in the playing process of above-mentioned media contentBroadcasting control button on face controls the broadcasting of the media content, for example, pause, F.F., rewind or by dragging playback progressItem independently adjusts playback progress etc..
Further, at the end of the media content plays, can continue to prompt the user whether to request other againThe media information of media application client, at this point, the operation of the media information in response to requesting other media application clients, thenReturn to above-mentioned steps 301;And in response to not requesting the operation of the media information of other media application clients, then terminate it is above-mentioned intoJourney.
Further, when user terminal 11 enters above-mentioned network as a node, user terminal 11 is upwardWhile stating other nodes transmission media information request in network, it can also be used as a node, receive the transmission of other nodesMedia information request.Wherein, the process for receiving the process of media information request and sending media information request is while asynchronous's.
Fig. 5 is that user terminal 11 realizes media content synchronization broadcasting side when being used as the second media application of receiving node clientThe process of method.
It should be noted that in the example of the application, in order to protect the privacy of user, user can be according to itself needThe media information for the media content being currently viewed to other media application client feedbacks is chosen whether, for example, can be withThe whether shared option for playing media content is provided in the setting selection of above-mentioned media application client, user can lead toThe media information whether setting of this option shares itself media content being played on to other media application clients is crossed, fromAnd it is controlled whether receiving the media information request from other media application clients according to the demand of itself by userWhen feed back the media information of itself media content being played on.Only when user's selection is shared in itself media being played onWhen the media information of appearance, media application client can just respond the request of the media information from other media application clients.UnderThe example in face is namely based on the case where media information this set of itself media content being played on is shared in user's selection.As shown in figure 5, this method may comprise steps of:
Step 501: receiving the media information request from the first media application client.
In the example of the application, enter when the media application client terminal start-up on user terminal 11 and as a nodeWhen to network, other than it can request the media information of the media content just played in other media application clients, alsoIt can receive the media information request from other media application clients.
As previously mentioned, the request of above-mentioned media information can be a completely new message or using protecting in advance in existing messageThe field (referred to as media information fields) stayed is realized.When what media application client received receives another media application visitorAbove-mentioned new message that family end is sent or when detecting that media information fields in some message are occupied, can know the messageThe media information of itself media content being played on is being requested for media information request namely the media application client.
Step 502: having determined whether that media content is playing, if there is media content is playing, executed stepRapid 503;If it is not, terminating this process.
Step 503: the media information of the media is fed back into the first media application client.
In some instances, when media content is currently played in the determination of the second media application client, by above-mentioned mediaThe media information of content feeds back to the first media application client.As previously mentioned, above-mentioned media information may include: media contentThe information such as mark (such as poster), address, playing duration and playback progress.
In some examples of the application, the above method may include: to provide whether interface setting shares itself for userMedia information, and in response to media content share setting operation, carry out media content share setting.
It should be noted that the alternative solution as the above method, can not require user to be made whether to share matchmaker in advanceThe setting of body information, or select to share on the basis of media information further before executing above-mentioned steps 503 in user,Can also prompt again user currently has other media application clients (such as can show device identification) to request itself currentThe media information of media content being played on, the media information for asking it to choose whether to agree to share itself, for example, pop-up dialogueFrame prompts user " equipment * * wonders what excellent program you are seeing, if tells him ".It selects to agree to share certainly in userWhen the media information of body, then step 503 is continued to execute, otherwise, terminates this process.
By above technical scheme as can be seen that on the one hand above-mentioned media content synchronization playback method may be implemented sameThe synchronized multimedia of different media application clients plays in network (such as same local area network), and user is allowed to pass through differenceMedia application client watch same media content, or even can also further keep broadcasting for different media application clientsDegree of putting into is consistent.Further, each media application client still has mutually indepedent broadcasting control authority, namely in mediaIn the playing process of content, the playback progress of media content still can control, facilitate the operation of user, improve user's bodyIt tests.It on the other hand, can be to avoid user in different media application clients by the method that above-mentioned automatic synchronization media content playsWhen playing same media content on end, searches for media content and adjust the various operations of playback progress, both avoided repetition and broadcastIt puts, and reduces the interaction between user terminal and server, also save time, net simultaneously in the efficiency for improving terminal deviceNetwork and electric power resource.
It should be noted that above-described embodiment is with can be with the network knot of direct communication between the user terminals such as local area network 11It is illustrated for structure, in order to realize that the media content synchronization on current internet plays, the application is also providedA kind of media content synchronization method, is respectively applied to media application client and media application server.In the method, matchmakerBody content synchronization requesting party (request media content synchronization to other media application clients media application client) and byRequesting party's (media application client of requested media content synchronization) has incidence relation.This incidence relation can beDifferent media application clients with same subscriber mark (ID) or between have been established connection with different user IDDifferent media application clients, e.g. mutually concern or each other corresponding media application client of two User ID of good friendOr the corresponding media application client of two User ID with unidirectional concern relation.It here, is not general it is assumed that claimingThe requesting party of media content synchronization is the first media application client, and Requested Party is the second media application client.
Fig. 6 is a kind of flow chart of media content synchronization method described in the application one embodiment.This method is applied toFirst media application client.As shown in fig. 6, method includes the following steps:
Step 601: sending media information request to media application server, it is requested to feed back the second media application clientThe media information of media content being played on.
In one embodiment of the application, can when starting the terminal where the first media application client, orStarting operation the first media application client when execute above-mentioned steps 601, for example, user click media application client icon orPerson's option runs the operation of the media application client to start.When some user starts the media on one user terminal of operationWhen applications client, which is also attached in network using itself as a node access networks network.At this point, the matchmakerBody applications client can to media application server send media information request, request its feed back other with itself have be associated withThe media information of the media application client media content being played on of relationship.It is above-mentioned in some embodiments of the present applicationMedia information request can not carry the user identifier of the Requested Party of media content synchronization.In some examples of the application,Above-mentioned media information request can also carry the user identifier of the Requested Party of media content synchronization, such as can carry and itself step onRecord the user identifier of the user identifier of media application server or the default of itself setting.
It, can also be when other media application client media information be requested in selection in another embodiment of the applicationAbove-mentioned steps 601 are executed, " check other users just for example, can be arranged in the interface of media application client or menuIn the media content of broadcasting " function choosing-item, is somebody's turn to do the function of " checking media content being played in local area network " when the user clicksWhen option, media application client can send media information request to media application server, it is requested to feed back other and oneselfBody has the media information of the media application client media content being played on of incidence relation.In addition, media application clientEnd can also provide and there is the user user identifier list of incidence relation to select for user, or provide user and input userThe dialog box of expression asks user to input the corresponding user identifier of the second media application client.In this way, above-mentioned media information requestIn can carry user selection or input user identifier.
In another embodiment of the application, other media application client medias can also be synchronized in selection and playedShi Zhihang above-mentioned steps 601." other use are synchronized to for example, can be arranged in the interface of media application client or menuFamily media content being played on " function choosing-item is somebody's turn to do " checking media content being played in local area network " when the user clicksWhen function choosing-item, media application client can send media information request to media application server, it is requested to feed back otherThere is the media information of the media application client media content being played on of incidence relation with itself.In addition, the media are answeredThe menu comprising the user identifier with the user with the other users of incidence relation can also be further displayed with client to select, the target user of media content synchronization is selected for user.In this way, the of user's selection can be carried in media information requestThe corresponding user identifier of two media application clients.
As previously mentioned, above-mentioned media information may include: the mark of media content.Above-mentioned media information can also include:The address of media content and broadcasting total duration.Above-mentioned media information can also include: playback progress information.Above-mentioned media informationIt can also include: broadcasting setting information.
In some instances, the media application client on above-mentioned user terminal can use network protocol to above-mentioned networkIn other users terminal request media content being played on media information.
Further, a time-out time, such as 5 seconds can also be set, as being connected to sound corresponding with above-mentioned requestThe time threshold answered.
Here, above-mentioned media information request can be a completely new message or using advancing in existing messageField is realized, can configure the character string made an appointment, such as " ABC " in the field.On a user terminal is receivedMedia application client receives the above-mentioned new message of another media application client transmission or detects in some messageReserved field it is occupied when, can know that a media application client is requesting itself media content being played onMedia information.In addition, above-mentioned media information request can also be to be sent in network respectively one by one other than above-mentioned broadcast modeThe unicast message of a user terminal.It should be noted that format and specific implementation that the application requests media informationIt is not construed as limiting.
At this point, the media application server for receiving request obtains the broadcast state of the second media application client of power, if itsIt is playing a certain media content, then the media information for the media content the second media application client being currently played is anti-It feeds and sends the first media application client of request.If it is in idle condition, one can not be replied or repliedThe response of response data has not been obtained.
In some examples of the application, the request of above-mentioned media information can also include the device identification of first terminal and rightThe user identifier answered.Above equipment identifies global unique identification (the Globally Unique that can be first terminalIdentifier, GUID) or other can be with the mark of unique identification equipment itself.For example, international mobile subscriber identity(IMSI);International mobile equipment identification number (IMEI);Electronic Serial Number (ESN) or mobile device mark (MEID) etc..
Step 602: the one or more media application clients for receiving the media application server feedback are playingMedia information.
In the example of the application, if being provided with above-mentioned time-out time, opened while sending media information requestMove a timer, and in above-mentioned timer arrive above-mentioned time-out time when, stopping timing, during this period, if do not hadMedia information is received, then can terminate this process or prompts the user whether to send media information request again.If userSelection sends media information request again, then can return to above-mentioned steps 601 and continue to execute.If above-mentioned timer expired itBefore, the media information of media application server feedback is received, then can continue to execute subsequent step.
Here, above-mentioned media information can be sent according to the format made an appointment, specifically, format of making an appointment can beMark, address, playing duration and the playback progress of media content.
After the media information for receiving one or more media application client feedbacks, can also there are many to media believeThe processing mode of breath.Fig. 6 a, which is shown, is obtaining media according to the first media application client of one embodiment of the applicationTreatment process after information.As shown in Figure 6 a, the first media application client can execute after obtaining media informationThe operation of following steps.
Step 603a: display receives one or more of second media application clients of media application server feedbackThe media information at end.
In some embodiments of the present application, the step of above-mentioned display media may include: will receive described inThe media information of one or more second media application clients is added in a media list, and institute is shown in current interfaceState media list.
In some instances, the media information that media application client will receive, such as the mark of media content, such asPoster, playing duration, playback progress and address are added in media list, and show that the media arrange by the display equipment of itselfTable is liked selecting for user according to oneself.It should be noted that can only show above-mentioned media information when display media listIn partial content, such as only show the mark of media content, such as poster, or only show the mark and broadcasting of media contentProgress and/or playing duration, and the address of media content can be shown or not show.First media application clientThe example of display media list can also refer to above-mentioned Fig. 4.
Step 604a: the selection operation to shown a certain media information is received.
Step 605a: the corresponding media of the media information are requested to media application server according to selected media informationContent.
Step 606a: downloading and plays the media content.
According to place of the first media application client of another embodiment of the application after obtaining media informationReason process may include steps of.
Step 603b: according to the media information of the one or more of second media application clients received to mediaApplication server requests the corresponding media content of the media information;
Step 604b: downloading and plays the media content.
Specifically, the first media application client can by address configuration in received media information to itselfIn media player, requested to download the media content to media application server according to the address, and play.
Fig. 7 is a kind of flow chart of media content synchronization method described in the application one embodiment.This method is applied toMedia application server.As shown in fig. 7, method includes the following steps:
Step 701: receiving the media information request from the first media application client.
In some embodiments of the present application, the requested of media content synchronization may include in above-mentioned media information requestSide namely the second media application client, corresponding user identifier.
In some embodiments of the present application, it should also include the request of media content synchronization in above-mentioned media information requestSide namely the first media application client, corresponding user identifier and device identification.
Step 702: it is requested according to received media information, what acquisition was currently played by the second media application clientThe media information of media content.
If not having to carry user identifier corresponding to the second media application client, root in above-mentioned media information requestObtain according to user identifier corresponding to the first media application client carried in the request of above-mentioned media information has association therewithUser identifier corresponding to second media application client of relationship, the then use according to corresponding to the second media application clientFamily mark obtains the media information for the media content that the second media application client is currently played.
If carrying user identifier corresponding to the second media application client, basis in above-mentioned media information requestUser identifier corresponding to the second media application client carried in above-mentioned media information request obtains the second media application visitorThe media information for the media content that family end is currently played.
Since usual user before watching program, can use specific user by the second media application clientMark logs in medium content server, and therefore, media application server can obtain the second media application visitor according to user identifierThe media information of family end media application being played on.
Step 703: to media information acquired in the first media application client feedback.
In some instances, as previously mentioned, above-mentioned media information may include: media content mark (such as poster),The information such as address, playing duration and playback progress.
By above technical scheme as can be seen that on the one hand above-mentioned media content synchronization playback method may be implemented sameThe synchronized multimedia of different media application clients plays in network (such as internet), different user is watched sameMedia content, or even can also further keep the playback progress of different media application clients consistent.Further, each matchmakerBody applications client still have it is mutually indepedent play control authority, still can be with namely in the playing process of media contentThe playback progress for controlling media content, facilitates the operation of user, improves user experience.On the other hand, by above-mentioned automatic sameWalk media content play method can to avoid different user when playing same media content in different media application clients,It searches for media content and adjusts the various operations of playback progress, not only avoid and repeat playing, but also reduce user terminal and clothesInteraction between business device also saves time, network and electric power resource in the efficiency for improving terminal device simultaneously.
The corresponding above media content synchronization playback method, present invention also provides the media application clients for realizing the above methodEnd 800.
In some examples of the application, the media application client 800 of above-mentioned realization media content synchronization playback methodCan structure chart as shown in Figure 7 realize, comprising: sending module 801 and receiving module 802, the function of each module are as follows:
Sending module 801 is playing for sending media information request with request the second media application clientMedia content media information;
Receiving module 802, for receiving media information;
Playing module 803, for playing the corresponding media content of the media information according to the media information.
In some embodiments of the present application, above-mentioned media application client 800 be can further include:
Display module, for showing the media information of one or more of media application clients.
In some embodiments of the present application, above-mentioned media application client 800 be can further include:
Media content request module, in response to the selection operation to shown a certain media information, according to selectedMedia information request the corresponding media content of the media information to media application server;And
First download module, for downloading the media content.
In some embodiments of the present application, above-mentioned media application client 800 be can further include:
Second download module, for being taken according to a media information in the media information received to media applicationBusiness device requests the corresponding media content of the media information and downloads the media content.
The concrete methods of realizing of above-mentioned each module can refer to above-described embodiment.
Further, the corresponding above media content synchronization playback method, present invention also provides the matchmakers for realizing the above methodBody applications client 900.
First receiving module 901, for receiving the media information request from the first media application client.
First determining module 902, for having determined whether that media content is playing, if there is media contentIt plays, then obtains the media information for the media content being currently played.
First feedback module 903, for the media information of the media to be fed back to first media application client.
Above-mentioned media application client 900 can further include: setup module, for providing interface setting for userWhether share the media information of itself, and share setting operation in response to media content, carries out media content and share setting.
Further, the corresponding above media content synchronization playback method, present invention also provides the matchmakers for realizing the above methodBody application server 1000.
Second receiving module 1001, for receiving the media information request from the first media application client.
Second determining module 1002, for currently being broadcast according to media information request the second media application clientThe media information for the media content put.
Second feedback module 1003, the media information for will acquire feed back to first media application client.
In some embodiments of the present application, above-mentioned application server be can further include: judgment module, for sentencingWhether the media information that breaks includes the corresponding user identifier of the second media application client in requesting.
In this case, second determining module includes second media application in media information requestWhen the corresponding user identifier of client, obtain what the corresponding second media application client of the user identifier was currently playedThe media information of media content;And the media information request in do not include that the second media application client is correspondingWhen user identifier, the second media application client that there is incidence relation with the first media application client is being obtained currently justIn the media information of the media content of broadcasting.
Figure 11 shows the calculating equipment 1100 where the user terminal 1100 for realizing media content synchronization playback methodComposite structural diagram.As shown in figure 11, which includes one or more processor (CPU) 1102, communication module1104, memory 1106, user interface 1110, and the communication bus 1108 for interconnecting these components.
Processor 1102 can send and receive data by communication module 1104 to realize network communication and/or locally lead toLetter.
User interface 1110 includes one or more output equipments 1112 comprising one or more speakers and/or oneA or multiple visual displays.User interface 1110 also includes one or more input equipments 1114 comprising such as, keyDisk, mouse, voice command input unit or loudspeaker, touch screen displays, touch sensitive tablet, posture capture camera or other are defeatedEnter button or control etc..
Memory 1106 can be high-speed random access memory, such as DRAM, SRAM, DDR RAM or other deposit at randomTake solid storage device;Or nonvolatile memory, such as one or more disk storage equipments, optical disc memory apparatus, sudden strain of a muscleDeposit equipment or other non-volatile solid-state memory devices.
The executable instruction set of 1106 storage processor 1102 of memory, comprising:
Operating system 1116, including the journey for handling various basic system services and for executing hardware dependent tasksSequence;
Using 1118, including for realizing the various application programs of media content synchronization playback method, this application program energyIt enough realizes the process flow in above-mentioned each example, for example may include media content synchronization broadcasting side shown in Fig. 8,9 and 10Unit some or all of in the media application client 800,900 and media application server 1000 of method.Each unit or mouldAt least one module in block can store machine-executable instruction.Processor 1102 is by executing each mould in memory 1106Machine-executable instruction in block at least one module, and then can be realized the function of at least one module in above-mentioned each moduleEnergy.
It should be noted that step and module not all in above-mentioned each process and each structure chart be all it is necessary, canTo ignore certain steps or module according to the actual needs.Each step execution sequence be not it is fixed, can according to need intoRow adjustment.The division of each module is intended merely to facilitate the division functionally that description uses, and in actual implementation, a module canIt is realized with point by multiple modules, the function of multiple modules can also be realized by the same module, these modules can be located at sameIn a equipment, it can also be located in different equipment.
Hardware module in each embodiment can in hardware or hardware platform adds the mode of software to realize.Above-mentioned softwareIncluding machine readable instructions, it is stored in non-volatile memory medium.Therefore, each embodiment can also be presented as software product.
Therefore, some examples of the application additionally provide a kind of computer readable storage medium, are stored thereon with computerInstruction, wherein the computer instruction realizes the step of any figure the method in above-mentioned Fig. 2-4 when being executed by processor.
In each example, hardware can be by special hardware or the hardware realization of execution machine readable instructions.For example, hardware can be withPermanent circuit or logical device (such as application specific processor, such as FPGA or ASIC) specially to design are used to complete specifically to graspMake.Hardware also may include programmable logic device or circuit by software provisional configuration (as included general processor or otherProgrammable processor) for executing specific operation.
In addition, each example of the application can pass through the data processor by data processing equipment such as computer executionTo realize.Obviously, data processor constitutes the application.In addition, being commonly stored data processing in one storage mediumProgram is by directly reading out storage medium or the storage by program being installed or being copied to data processing equipment for programIt is executed in equipment (such as hard disk and/or memory).Therefore, such storage medium also constitutes the application, and present invention also provides oneKind non-volatile memory medium, wherein being stored with data processor, this data processor can be used for executing in the applicationState any one of method example example.
The corresponding machine readable instructions of module in Fig. 8,9 and 10 can be such that operating system operated on computer etc.Complete some or all of operation described herein.Non-volatile computer readable storage medium storing program for executing can be in insertion computerIn set memory or the memory being arranged in the expanding element being connected to a computer is write in expansion board.It is mounted onCPU in expansion board or expanding element etc. can be according to instruction execution part and whole practical operations.
It, can also be in addition, the device and each module in each example of the application can integrate in one processing unitIt is that modules physically exist alone, can also be integrated in one unit with two or more devices or module.Above-mentioned collectionAt unit both can take the form of hardware realization, can also realize in the form of software functional units.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the inventionWithin mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.