Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the flow chart of an embodiment of a kind of video switch player method of the present invention; Need to prove that the executive agent of present embodiment is the video switch entity, this video switch entity can be application server AS, operation controlling entity SCF, medium controlling entity MCF or medium fluidisation server MX etc.
As shown in Figure 1, the method for present embodiment comprises:
S101: the receiver, video handoff request, carry first terminal iidentification and second terminal iidentification in this video switch request;
In the present embodiment, this video switch request is used to ask video switch to the second terminal with the current broadcast of first terminal to play.
S102: according to this video switch request, that obtains this video obtains address and the current play time of this video;
In the present embodiment, the video switch entity is according to this first terminal iidentification, and that obtains this video obtains address and the current play time of this video.
Optionally, when also carry in this video switch request this video obtain the current play time of address and this video the time, what this video switch entity can directly obtain this video in this video switch request obtains address and the current play time of this video.
S103: obtain address and the current play time of this video to what second terminal sent this video, make second terminal according to this video obtain the address and the current play time of this video is play this video.
In the present embodiment, the play time that this video is current can be the time point that this video has been play; Also can be the reproduction time of this video of being provided with of user, as user's F.F., rewind down or after suspending, the play time of video.
The embodiment of the invention, obtain address and the current play time of video according to video switch acquisition request video, and send this video to second terminal and obtain address and the current play time of this video, make second terminal play this video with the current play time of this video according to the address that obtains of this video, realized the real-time seamless switching broadcast of video between different terminals, make the user can by different terminals continuous watch same video, can need not obtain video information again by the terminal after changing because of the change of terminal, adjust the play time of video, reduce user's operation, increased the experience that the user watches video continuously.
Fig. 2 is the flow chart of another embodiment of video switch player method of the present invention; Present embodiment is mainly used in the broadcast of the video switch between the terminal in wantonly one or two network in telecommunications network, computer network and cable television network.Present embodiment mainly comprises with lower device: video switch entity, at least two terminals and the media server of video content is provided.Wherein, this video switch entity can be application server AS, operation controlling entity SCF, medium controlling entity MCF or medium fluidisation server MX etc.This terminal can in computer, TV or the mobile phone any one or multiple.
In the present embodiment, video switch entity, terminal and media server carry out the interface that information interaction can adopt following definitions:
I1 interface: be used for the video switch entity and initiate transmission of messages between the terminal of video switch request, adopt http protocol (HyperText Transfer Protocol, HTML (Hypertext Markup Language)).
I2 interface: be used for the video switch entity and receive switch transmission of messages between the terminal of rear video, adopt HTTP, SIP (Session Initiation Protocol, signaling control protocol), RTSP (Real Time Streaming Protocol, real time streaming transport protocol) agreement is carried out information interaction.
I3 interface: be used for media server and initiate content delivery between the terminal of video switch request, adopt HTTP, RTP (Real-time Transport Protocol, real time transport protocol) or RTMP agreement to carry out information interaction.
I4 interface: be used for media server and receive switch content delivery between the terminal of rear video, adopt HTTP, RTP or RTMP (Routing Table Maintenance Protocol, routing table maintenance protocol) agreement to carry out information interaction.
Above-mentioned definition about interface is to realize a kind of specific implementation of a kind of video broadcasting method of the embodiment of the invention under three screen handoff scenario, and the embodiment of the invention does not limit its specific implementation.
As shown in Figure 2, on the basis of the foregoing description, the method for present embodiment comprises in the present embodiment:
S201: the register requirement that receives this video switch business;
In the present embodiment, the user carries user ID and binding terminal iidentification to the register requirement of video switch entity transmission video switch business in the request.The video switch entity receives this register requirement, obtains this user ID and binding terminal iidentification.Wherein, this binds terminal iidentification, is the terminal iidentification that is used to realize video switch of user binding.
For example, user A sets up with the video switch entity by computer and links, and sends register requirement to this video switch entity, carries the user ID A of this user A and the terminal iidentification of this user binding in this register requirement.The terminal of binding as this user A is computer, mobile phone and the television set of this user A, and then corresponding this binding terminal iidentification is:
The MAC Address of this computer: 44-45-53-54-00-00;
The cell-phone number of this user A: 13800000000;
This television set IMSI sign: 012345678
S202: generate the corresponding relation of user ID and this terminal iidentification, the corresponding relation that this corresponding relation is kept at local user ID of preserving and terminal iidentification is concentrated.
In the present embodiment, the video switch entity is saved to local user ID with this user ID and concentrates, and according to user ID of carrying in this register requirement and binding terminal iidentification, generate the corresponding relation of user ID and this terminal iidentification, this corresponding relation is kept at local user ID of preserving concentrates with the corresponding relation of binding terminal iidentification.This user ID collection is used for judging whether transmission video switch requesting users identity is legal; User ID that preserve this this locality and the set of correspondences of binding terminal iidentification are used to judge whether to allow terminal to carry out video switch.
For example, the user ID collection that preserve this this locality and the set of correspondences of user ID and binding terminal iidentification can be somebody's turn to do this user ID collection of " user ID " Xiang Zewei as shown in Table 1 in the table one.
Table one:
S203: send the response of succeeding in registration to this user;
In the present embodiment, the video switch entity sends the response of succeeding in registration to the user after having carried out S202, make this user know that it has become the validated user that can carry out video switch.
S204: receive the user by the request of landing that first terminal sends, judge whether this user is validated user, if, then carry out S205, if not, then this flow process finishes;
In the present embodiment, the user sends logging request by first terminal to the video switch entity, carries user ID in this logging request.The local user ID of preserving of video switch entity inquiry concentrates whether comprise this user ID, if comprise, then this user is a validated user, carries out S205, if do not comprise, then this user is illegal user, and this flow process finishes.
For example, user A sends the request of landing by first terminal to this video switch entity, this lands and carries this user ID A in the request, and then the video switch entity is concentrated by the local as can be known user ID of preserving of question blank one and comprised this user ID A, and then this user A is a validated user.
Carry out transmission of messages by the I1 interface between first terminal and the video switch entity, this I1 port adopts http protocol.
Need to prove, the arbitrary steps place before this step, the user needs to obtain the video that media server provides by first terminal, and by its video that gets access to of first terminal plays.Concrete, provide the media server of video to provide generally acknowledged video to obtain the address, the user obtains the address according to this video, by this media server of first terminal access, obtain with this video and obtain the corresponding video in address, and by this video that gets access to of first terminal plays.
For example, when user A wants to watch a ball match by the computer of its binding, then this user A obtains address " www.123.com " according to the video of this ball match, sets up with the media server that this ball match is provided to link, and watches this ball match on this computer.
Wherein, carry out transmission of messages by the I3 interface between first terminal and this media server, this port adopts HTTP, RTP (Real-time Transport Protocol, real time transport protocol) or RTMP agreement.
S205: send the login success response to this user;
In the present embodiment, optionally, the video switch entity can obtain the binding terminal iidentification corresponding with this user ID according to the user ID question blank one that carries in the request of landing; And obtaining relevant terminal information according to this binding terminal iidentification, this end message can be video content of the current presence of this terminal, the current displaying video of this terminal etc.; When the video switch entity lands success response to this user's transmission, can send the video switch option to this user, this option comprises: " whether carrying out three screens switches " also can comprise " whether closing former terminal video ".And send this user binding terminal iidentification corresponding terminal information to the user.The terminal that makes the user select its needs to switch according to this video switch option.
S206: receive the video switch request that the user sends by first terminal;
In the present embodiment, the user watches the video that it gets access to by first terminal, and when the user does not want to watch this video by this first terminal, and when wanting to watch this video by second terminal, the user sends the video switch request by first terminal to the video switch entity.Carry first terminal iidentification and second terminal iidentification in this video switch request.That optionally, goes back this video of portability in this video switch request obtains address and the current play time of this video.
Wherein, first terminal is carried out information interaction by the I1 interface for initiating the terminal of video switch request between first terminal and the video switch entity, and the I1 interface adopts http protocol to carry out information interaction.
Optionally, pass through first terminal after the video switch entity sends the video switch request the user, if the user wants to close the first terminal power supply, then the user can send video playback information to media server by first terminal, is obtained the play time of obtaining address and this video of the video of the first terminal plays video to media server by the video switch entity.Concrete, the play time of obtaining address and this video of carrying user ID, the first terminal plays video in the described video playback information; Make this media server generate this user ID, broadcast time point and this video and obtain the corresponding relation of address; After media server has successfully received the first terminal plays information, return to first terminal and to upload success response.First terminal is uploaded success response receiving this, send media server information to the video switch entity, carry this media server address and this user ID in this media server information, this video switch entity is set up according to this media server address and media server linked, and obtain address and video playback time point to what this media server obtained this video corresponding with this user ID.First terminal is uploaded the broadcast information of the first terminal plays video to media server, make first terminal can be after sending the video switch request, can close this first terminal power supply, link by video switch entity and this media server foundation, obtain the address information and the video playback time point of this first terminal plays video at this media server place, need not to wait for that the video switch entity obtains address and video playback time point what first end was obtained this video, reduce the time that the user waits for, increased user's experience.
For example, user A watches a ball match by the computer of its binding, and this ball match was play 24 minutes; When this user A will go out, but do not want to miss the rest segment of this ball match, when thinking that outside mobile phone by its binding continues to watch this ball match, this user A can send the video switch request to this video switch server by this computer, the MAC Address of carrying this computer in this video switch request: 44-45-53-54-00-00 and this user's cell-phone number: 13800000000.
S207: according to this video switch request, that obtains video obtains address and the current play time of this video;
In the present embodiment, when carrying first terminal iidentification and second terminal iidentification in the video switch request, the video switch entity sends video information to first terminal and obtains request according to first terminal iidentification.This video information is obtained request, and the video that is used for the acquisition request video obtains address and the current play time of video.First terminal is obtained request according to this video information, and what the video that sends its current displaying video to the video switch entity obtained the address video obtains address and the current video playback time point of this video.
When also carry in this video switch request video obtain the current play time of address and this video the time, what the video switch entity can directly obtain video in this video switch request obtains address and the current play time of this video.
Wherein, the play time that this video is current can be the time point of having play of this video; Also can be the reproduction time of this video of being provided with of user, as user's F.F., rewind down or after suspending, the play time at video time-out place.
For example, the MAC Address that can in the video switch request that this video switch server sends, carry this computer by this computer as this user A: 44-45-53-54-00-00 and this user's cell-phone number: in the time of 13800000000, the video switch entity sends video information according to this 44-45-53-54-00-00 to this computer and obtains request, and what be used for the current broadcast ball match of this computer of acquisition request obtains address and the current play time of this ball match; This computer with this ball match obtain address " www.123.com " and the current play time " 24 minutes " of this ball match sends to this video switch entity.
S208: the video switch entity obtains address and the current play time of this video to what second terminal sent this video, makes second terminal obtain the address according to this video and this current play time is play this video.
In the present embodiment, the video switch entity obtains address and video playback time point according to the terminal iidentification of second terminal to what second terminal sent video, and second terminal is obtained the address according to this video and linked with media server foundation, obtains this video.Second terminal is play this video at the current play time place of this video.Optionally, three screen switching controls entities can also send and stop the video playback request to media server, are stopped to send this video to first terminal by media server.
For example, the video switch entity to phone number be 13800000000 mobile phone send this ball match video obtain address " www.123.com " and the current play time " 24 minutes " of this ball match, this mobile phone obtains this ball match according to " www.123.com ", and locate to play this ball match, thereby realize that this user A continues to watch this ball match on this mobile phone in " 24 minutes ".
Wherein, second terminal is carried out information interaction by the I2 interface for receiving the terminal of switching rear video between the video switch entity and second terminal, and the I2 interface adopts HTTP, SIP, RTSP agreement; Carry out information interaction by the I4 interface between the media server and second terminal, the I4 interface adopts HTTP, RTP or RTMP agreement.
When this second terminal when having logined the state of this video switch entity, then video switch entity video from this video to this second terminal that directly send obtains address and the current play time of video; When this second terminal is when not logining the state of this video switch entity, then the video switch entity obtains the current play time of address and video at local cache with the video of this video, after treating second terminal login video switch entity, send video to second terminal and obtain information, make this second terminal according to this video obtain information obtain local cache video obtain address and video playback time point.
Preferably, when second terminal is that portable terminal and this portable terminal are in when not logining the shape body, the video switch entity sends video with the form of note to this portable terminal and obtains information.
When second terminal for can set up the other-end that long-chain connects the time with the video switch entity, as computer, the video switch entity carries the terminal iidentification of second terminal, sets up terminal that long-chain connects to all and video switch entity and broadcasts this video and obtain information; Whether its terminal iidentification of terminal judges and this second terminal iidentification that receive this broadcasting mate, if coupling, then Pi Pei terminal receives this video and obtains information, and, make this video switch entity know that this video obtains information and is successfully received to video switch entity transmission response message.
The embodiment of the invention, the user sends the video switch request by first terminal to the video switch entity, make the video switch entity obtain address and the current play time of video according to this video switch acquisition request video, and send this video to second terminal and obtain address and the current play time of this video, make second terminal obtain the address and play this video with the current play time of this video according to this video, realized that the user is with second terminal plays of the current video switch that it is watched by first terminal to its appointment, thereby video seamless switching between different terminals is play, and then realized the user continuous watch this video, can not obtain video information again because of the change of terminal, adjust the play time of video, reduce user's operation, increased the experience that the user watches video continuously.
Fig. 3 is the flow chart of another embodiment of video switch player method of the present invention; As shown in Figure 3, on the basis of the foregoing description, present embodiment comprises step S301~S311, and wherein, S301~S305 is identical with S201~S205 concrete steps among the last embodiment, repeats no more herein.
Be with a last embodiment difference: in the present embodiment, when the user does not want to watch this video by this first terminal, and when wanting to watch this video by second terminal, this user can send the video switch request to this video switch entity by second terminal, request is play the video switch of the current broadcast of first terminal to second terminal, the method for present embodiment comprises:
S306: receive the user by the request of landing that second terminal sends, judge whether this user is validated user, if, then carry out S307, if not, then this flow process finishes;
In the present embodiment, the user sends logging request by second terminal to the video switch entity, carries user ID in this logging request.The local user ID of preserving of video switch entity inquiry concentrates whether comprise this user ID, if comprise, then this user is a validated user, the video switch entity returns the login success response to the user, and carries out S307, if do not comprise, then this user is illegal user, and this flow process finishes.
Wherein, carry out transmission of messages by the I1 interface between second terminal and the video switch main body, this port adopts http protocol.
For example, user A sends the request of landing by second terminal to this video switch entity, this lands and carries this user ID A in the request, and then the video switch entity is concentrated by the local as can be known user ID of preserving of question blank one and comprised this user ID A, and then this user A is legal usefulness.
S307: return the login success response to the user;
In the present embodiment, optionally, the video switch entity can obtain the binding terminal iidentification corresponding with this user ID according to the user ID question blank one that carries in the request of landing; And obtaining relevant terminal information according to this binding terminal iidentification, this end message can be video content of the current presence of this terminal, the current displaying video of this terminal etc.; When the video switch entity lands success response to this user's transmission, can send the video switch option to this user, this option comprises: " whether carrying out three screens switches " also can comprise " whether closing former terminal video ".And send this user binding terminal iidentification corresponding terminal information to the user.The terminal that makes the user select its needs to switch according to this video switch option.
S308: receive the video switch request that the user sends by second terminal;
In the present embodiment, the user sends the video switch request by second terminal to the video switch entity, carries first terminal iidentification and second terminal iidentification in this video switch request.Optionally, go back portability in this request and close the first terminal power request, and/or, close the first terminal plays video request.This closes the first terminal plays video request, is used for request and closes the current displaying video of first terminal after video switch finishes; This closes the first terminal power request, is used to ask to close after video switch finishes the power supply of first terminal.
Wherein, second terminal is carried out information interaction by the I1 interface for receiving the terminal of switching rear video between second terminal and the video switch entity, and the I1 interface adopts http protocol.
For example, user A watches a ball match by the computer of its binding, and this ball match was play 24 minutes; When this user A will go out, but do not want to miss the rest segment of this ball match, when thinking that outside mobile phone by its binding continues to watch this ball match, this user A can send the video switch request to this video switch server by this mobile phone, the MAC Address of carrying this computer in this video switch request: 44-45-53-54-00-00 and this user's cell-phone number: 13800000000.
S309: according to this video switch request, that obtains video obtains address and the current play time of this video.
In the present embodiment, the video switch entity is according to first terminal iidentification, and the request of obtaining of obtaining the current play time of address and video that the video that sends its current displaying video to first terminal obtains the address video sends video information to first terminal and obtains request.This video information is obtained request, and what the video that is used for the acquisition request first terminal plays video obtained the address video obtains address and the current play time of video.First terminal is obtained request according to this video information, and what the video that sends its current displaying video to the video switch entity obtained the address video obtains address and the current video playback time point of this video.
Wherein, the play time that this video is current can be the time point of having play of this video; Also can be the reproduction time of this video of being provided with of user, as user's F.F., rewind down or after suspending, the play time at video time-out place.Carry out transmission of messages by the I1 interface between first terminal and the video switch main body, this port adopts http protocol.
For example, when this user A can send the MAC Address of carrying this computer in video switch request: 44-45-53-54-00-00 and this user's cell-phone number to this video switch server by this mobile phone: in the time of 13800000000, the video switch entity sends video information according to this 44-45-53-54-00-00 to this computer and obtains request, and what be used for the current broadcast ball match of this computer of acquisition request obtains address and the current play time of this ball match; This computer with this ball match obtain address " www.123.com " and the current play time " 24 minutes " of this ball match sends to this video switch entity.
S310: obtain address and video playback time point to what second terminal sent video, make second terminal according to this video obtain the address and this video playback time point is play this video.
In the present embodiment, the video switch entity obtains address and video playback time point according to the terminal iidentification of second terminal to what second terminal sent video, second terminal is obtained the address according to this video, with media server set up link obtain this video after, the play time place current at this video plays this video.
Wherein, second terminal is carried out information interaction by the I2 interface for receiving the terminal of switching rear video between the video switch entity and second terminal, and the I2 interface adopts HTTP, SIP, RTSP agreement; Carry out information interaction by the I4 interface between the media server and second terminal, the I4 interface adopts HTTP, RTP or RTMP agreement.
For example, the video switch entity to phone number be 13800000000 mobile phone send this ball match video obtain address " www.123.com " and the current play time " 24 minutes " of this ball match, this mobile phone obtains this ball match according to " www.123.com ", and locate to play this ball match, thereby realize that this user A continues to watch this ball match on this mobile phone in " 24 minutes ".
S311: send power-off instruction to first terminal, make first terminal according to this power-off instruction powered-down.
In the present embodiment, when second terminal is also carried in the video switch request that this video switch entity sends when closing the first terminal power request, the video switch entity sends power-off instruction to second terminal, makes first terminal according to this power-off instruction powered-down.
Wherein, carry out transmission of messages by I1 between the video switch entity and first terminal, the I1 interface adopts http protocol.
The embodiment of the invention, the user sends the video switch request by second terminal to the video switch entity, make the video switch entity obtain address and the current play time of described video according to this video switch acquisition request video, and obtain address and the current play time of this video to what second terminal sent this video, make second terminal play this video with the current play time of this video according to the address that obtains of this video, realized that video switch to its this second terminal that the user watches first terminal by second terminal continues to play, thereby but video seamless switching between different terminals is play, and then realized the user continuous watch this video, can not obtain video information again because of the change of terminal, adjust the play time of video, reduce user's operation, increased the experience that the user watches video continuously.
The structure chart of an embodiment of Fig. 4 video switch Play Server of the present invention;
Wherein, video switch request receiver module 401 is used for the receiver, video handoff request, and video switch to the second terminal of the current broadcast of first terminal is play in this video switch request, carries first terminal iidentification and second terminal iidentification in this video switch request;
In the present embodiment, this video switch request is used to ask video switch to the second terminal with the current broadcast of first terminal to play.The video switch request that this video switch request can send to video switch request receiver module 401 for first terminal or second terminal.
Wherein, when first terminal when video switch request receiver module 401 sends these video switch requests, that goes back this video of portability in this video switch request obtains address and the current play time of this video.
Video information acquisition module 402 is used for the video switch request that receives according to video switch request receiver module 401, and that obtains this video obtains address and the current play time of this video;
In the present embodiment, video information acquisition module 402 is according to this first terminal iidentification, and that obtains this video obtains address and the current play time of this video.
Video information sending module 403, be used for obtaining address and the current play time of this video to what second terminal sent this video that video information acquisition module 402 gets access to, make second terminal according to this video obtain the address and the current play time of this video is play this video.
In the present embodiment, the play time that this video is current can be the time point that this video has been play; Also can be the reproduction time of this video of being provided with of user, as user's F.F., rewind down or after suspending, the play time of video.
The specific implementation of the video switch server of present embodiment can repeat no more with reference to the description of method embodiment shown in Figure 1 herein.
Optionally, the video switch Play Server that the embodiment of the invention provides also can comprise memory module, this memory unit can be interior if the memory unit of peripheral hardware, is used for information that store video handoff request receiver module 401 receives, information that video information acquisition module 402 gets access to and video information sending module 403 information to be sent.This memory module can be that distributed storage also can be a database storage.Optionally, this memory module can be the database of stored information, for example is specifically designed to the hard disk of storage data etc.
Further alternative, the video switch Play Server that the embodiment of the invention provides also can comprise the buffer memory assembly, this buffer memory assembly be used for above-mentioned each information stores to the memory module, this each information is carried out buffer memory, so that increase the processing speed of above-mentioned each module to corresponding information.
The embodiment of the invention, obtain address and the current play time of video according to video switch acquisition request video, and send this video to second terminal and obtain address and the current play time of this video, make second terminal play this video with the current play time of this video according to the address that obtains of this video, realized the real-time seamless switching broadcast of video between different terminals, make the user can by different terminals continuous watch same video, can need not obtain video information again by the terminal after changing because of the change of terminal, adjust the play time of video, reduce user's operation, increased the experience that the user watches video continuously.
Fig. 5 is the structure chart of another embodiment of video switch Play Server of the present invention; As shown in Figure 5, this server comprises among the embodiment 4, video switch request receiver module 401, video information acquisition module 402 and video information sending module 403, as different from Example 4, this video switch server also comprises: register requirement receiver module 404, user ID memory module 405, corresponding relation memory module 406.
Wherein, video switch request receiver module 401 also comprises:
The first video switch request receiving element 4011 is used to receive the user by the video switch request that first terminal sends, and carries first terminal iidentification and second terminal iidentification in this video switch request.
Or,
The second video switch request receiving element 4012 is used to receive the user by the video switch request that second terminal sends, and carries first terminal iidentification and second terminal iidentification in this video switch request.
This video information acquisition module 402 also comprises:
Video information is obtained request transmitting unit 4021, be used for first terminal iidentification that receives according to the first video switch request receiving element 4011 or the second video switch request receiving element 4012, send video information to first terminal and obtain request, this video information is obtained request, and what be used for this video of acquisition request obtains address and the current play time of this video;
Video information receiving element 4022, the video that is used to receive this displaying video that first terminal sends obtains address and the current play time of this video.
In the present embodiment, that goes back this video of portability in the video switch request that first terminal that this first video switch request receiving element 4011 receives sends obtains address and the current play time of this video;
Accordingly, described video information acquisition module 402, what be used for also that video switch request that first terminal that receives at the described first video switch request receiving element 4011 sends obtains this video obtains address and the current play time of this video.
In the present embodiment, but the description of S309 among S207 and the embodiment 3 among the reference method embodiment 2, when carrying first terminal iidentification and second terminal iidentification in the video switch request, video information is obtained request transmitting unit 4021 according to first terminal iidentification, sends video information to first terminal and obtains request.This video information is obtained request, and the video that is used for the acquisition request video obtains address and the current play time of video.First terminal is obtained request according to this video information, and what the video that sends its current displaying videos to video information receiving element 4022 obtained the address video obtains address and the current video playback time point of this video.
Register requirement receiver module 404 is used for the register requirement of receiver, video service switchover, carries user ID and at least two binding terminal iidentifications in this register requirement;
Terminal is carried user ID and binding terminal iidentification to the register requirement of register requirement receiver module 404 transmission video switch business in the present embodiment in the request.Register requirement receiver module 404 receives this register requirement, obtains this user ID and binding terminal iidentification.
User ID memory module 405 is used for that the user ID that register requirement receiver module 404 receives is kept at local user ID and concentrates, and described user ID collection is used for judging whether transmission video switch requesting users identity is legal;
In the present embodiment, user ID memory module 405 is saved to local user ID with this user ID and concentrates.
Corresponding relation memory module 406, be used to generate the user ID that register requirement receiver module 404 receives and the corresponding relation of this binding terminal iidentification, this corresponding relation is kept at local user ID of preserving to be concentrated with the corresponding relation of binding terminal iidentification, described local user ID of preserving and the set of correspondences of binding terminal iidentification are used to judge whether to allow terminal to carry out video switch.
In the present embodiment, corresponding relation memory module 406 is according to user ID of carrying in this register requirement and binding terminal iidentification, generate the corresponding relation of user ID and this terminal iidentification, this corresponding relation is kept at local user ID of preserving concentrates with the corresponding relation of binding terminal iidentification.
The video switch server specific implementation of present embodiment can repeat no more with reference to the description of Fig. 2 to method embodiment shown in Figure 3 herein.
The embodiment of the invention, send the video switch request by first terminal or second terminal to the video switch entity, make the video switch entity obtain address and the current play time of video according to this video switch acquisition request video, and send this video to second terminal and obtain address and the current play time of this video, make second terminal obtain the address and play this video with the current play time of this video according to this video, realized that the user is with second terminal plays of the current video switch that it is watched by first terminal to its appointment, thereby video seamless switching between different terminals is play, and then realized that this video is play in continuous the watching of user between different terminals, can not obtain video information again because of the change of terminal, adjust the play time of video, reduce user's operation, increased the experience that the user watches video continuously.
Fig. 6 is the structure chart of an embodiment of terminal of the present invention; As shown in Figure 6, this terminal comprises:
Video switch request sending module 501, be used for sending the video switch request to the video switch server, this video switch request is used to ask video switch to the second terminal with the current broadcast of first terminal to play, carry first terminal iidentification and second terminal iidentification in this video switch request, wherein, terminal is this first terminal or this second terminal;
When terminal was this second terminal, this terminal also comprised:
Video information receiver module 502, be used to receive described video switch Play Server this video obtain address and the current play time of this video;
Video playback module 503, be used for this video of receiving according to this video information receiver module 502 obtain the address and the current play time of this video is play this video;
When terminal was this second terminal, this terminal also comprised:
Video information is obtained request receiver module 504, and this video information that is used to receive described video switch Play Server is obtained request, and this video information is obtained request, and what be used for this video of acquisition request obtains address and the current play time of this video;
Video information sending module 505 is used to send this video and obtains address and the current play time of this video.
Optionally, when this terminal is first terminal when being, go back in this video switch request this video of portability obtain the address and the current play time of this video is given described video switch Play Server.
Optionally, the terminal that provides of the embodiment of the invention can be for watching the mobile phone of video in the computer in the computer network, TV in the cable television network or the telecommunications network.For example, when terminal was mobile phone, in order to realize that the video switch of the current broadcast of other-end is play to this mobile phone, then this mobile phone need comprise: video switch request sending module 501, video information receiver module 502 and video playback module 503; In order to realize that the video switch of the current broadcast of this mobile phone is play to other-end, then this mobile phone need comprise: video information is obtained request receiver module 504 and video information sending module 505.
The embodiment of the invention, send the video switch request by first terminal or second terminal to the video switch entity, make the video switch entity obtain address and the current play time of video according to this video switch acquisition request video, and send this video to second terminal and obtain address and the current play time of this video, make second terminal obtain the address and play this video with the current play time of this video according to this video, realized that the user is with second terminal plays of the current video switch that it is watched by first terminal to its appointment, thereby video seamless switching between different terminals is play, and then realized that this video is play in continuous the watching of user between different terminals, can not obtain video information again because of the change of terminal, adjust the play time of video, reduce user's operation, increased the experience that the user watches video continuously.
Fig. 7 is the structure chart of an embodiment of terminal of the present invention; As shown in Figure 7, this terminal comprises the request of obtaining of video switch request sending module 501, video information receiver module 502, video playback module 503, the video information among Fig. 6 receiver module 504 and video information sending module 505, and this terminal also comprises: register requirement sending module 506:
This register requirement sending module 506 is used for the register requirement to this video switch service transmission video switch business, carries user ID and at least two binding terminal iidentifications in this register requirement.
The embodiment of the invention, send the video switch request by first terminal or second terminal to the video switch entity, make the video switch entity obtain address and the current play time of video according to this video switch acquisition request video, and send this video to second terminal and obtain address and the current play time of this video, make second terminal obtain the address and play this video with the current play time of this video according to this video, realized that the user is with second terminal plays of the current video switch that it is watched by first terminal to its appointment, thereby video seamless switching between different terminals is play, and then realized that this video is play in continuous the watching of user between different terminals, can not obtain video information again because of the change of terminal, adjust the play time of video, reduce user's operation, increased the experience that the user watches video continuously.In addition, the embodiment of the invention, by send the register requirement of video switch business to the video switch service, carry user ID and at least two binding terminal iidentifications in this register requirement, make the user have the legal identity of carrying out the video switch business, and then can realize video switch by the terminal iidentification of its binding.
Fig. 8 is the structural representation structure chart of an embodiment of video switch Play System of the present invention; As shown in Figure 8, this system comprises: the video switch Play Server 601 and second terminal 602:
This video switch Play Server 601, be used for the receiver, video handoff request, this video switch request is used to ask video switch to this second terminal 602 with the current broadcast of first terminal to play, and carries first terminal iidentification and second terminal iidentification in this video switch request; That obtains this video obtains address and the current play time of this video; Obtain address and the current play time of this video to what this second terminal 602 sent these videos;
This second terminal 602, be used for sending this video switch request to this video switch server 601, what receive this video that this video switch server 601 sends obtains address and the current play time of this video, according to this video obtain the address and the current play time of this video is play this video.
The embodiment of the invention, the user sends the video switch request by second terminal to the video switch server, make the video switch server obtain address and the current play time of video according to this video switch acquisition request video, and send this video to second terminal and obtain address and the current play time of this video, make second terminal obtain the address and play this video with the current play time of this video according to this video, realized that the user is with second terminal plays of the current video switch that it is watched by first terminal plays to its appointment, thereby video seamless switching between different terminals is play, and then realized this video user of broadcast continuous between different terminals continuous watch this video, can not obtain video information again because of the change of terminal, adjust the play time of video, reduce user's operation, increased the experience that the user watches video continuously.
Fig. 9 is the structural representation structure chart of an embodiment of video switch Play System of the present invention; As shown in Figure 9, this system comprises: the video switch Play Server 601 and first terminal 603:
This video switch Play Server 601, be used for the receiver, video handoff request, this video switch request is used to ask video switch to the second terminal with these first terminal, 603 current broadcasts to play, and carries first terminal iidentification and second terminal iidentification in this video switch request; Obtain address and the current play time of this video according to this this video of video switch acquisition request; Obtain address and the current play time of this video to what this second terminal sent this video, make this second terminal according to this video obtain the address and the current play time of this video is play this video;
This first terminal 603 is used for sending this video switch request to this video switch server 601.
Wherein, this video switch Play Server 601, be used for according to this this video of video switch acquisition request obtain address and the current play time of this video, comprising:
This video switch Play Server 601 is used for according to this first terminal iidentification, sends video informations to this first terminal 603 and obtains request, and what the request of obtaining of this video information was used for this video of acquisition request obtains address and the current play time of this video; What receive this video that this first terminal 603 sends obtains address and the current play time of this video;
Accordingly, this first terminal 603, the video information that also is used to receive this video switch Play Server 601 is obtained request; What send this video obtains the current play time of address and this video to this video switch Play Server 601.
Further, this first terminal 603 to this video switch server 601 send also carry this video in these video switch requests obtain address and the current play time of this video;
Accordingly, this video switch Play Server 601, be used for according to this this video of video switch acquisition request obtain address and the current play time of this video, comprising:
What this video switch Play Server 601 obtained this video in this video switch request obtains address and the current play time of this video.
The embodiment of the invention, the user sends the video switch request by first terminal to the video switch server, make the video switch server, send video information to this first terminal and obtain request, what the request of obtaining of this video information was used for this video of acquisition request obtains address and the current play time of this video; And send this video to second terminal behind the current reproduction time of address and this video and obtain address and the current play time of this video receiving obtaining of this video that this first terminal sends, make second terminal obtain the address and play this video with the current play time of this video according to this video, realized that the user is with second terminal plays of the current video switch that it is watched by first terminal plays to its appointment, thereby video seamless switching between different terminals is play, and then realized this video user of broadcast continuous between different terminals continuous watch this video, can not obtain video information again because of the change of terminal, adjust the play time of video, reduce user's operation, increased the experience that the user watches video continuously.
The video switching system specific implementation of present embodiment can repeat no more with reference to the description of Fig. 1, Fig. 2, method embodiment shown in Figure 3 herein.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.