Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of method of shared video and shares end, receiving terminal, can Real-Time Sharing video, and very convenient, user experiences better.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of method of shared video is provided, comprises the sign of obtaining current in progress video; To receiving terminal, send the sharing request of sharing described video, wherein, described sharing request is carried the sign of described video; Receive the processing request that described receiving terminal returns according to described sharing request; According to described processing request, obtain the video information of described video, and send described video information to described receiving terminal, so that described receiving terminal, according to described video information, obtains described video.
Wherein, described processing request is for accepting to share accepting request of described video; Described video information is the video address of described video or from the video segment of the certain time length of described video intercepting.
Wherein, described processing request is the cache request of video described in buffer memory, and wherein, described cache request is carried the address information of buffer unit; Described video information is that described video cache is at the buffer address of buffer unit; Described according to described processing request, the step of obtaining the video information of described video comprises: obtain described current in progress video; Described video cache, at described buffer unit, and is sent to described video at the buffer address of described buffer unit to described receiving terminal, so that described receiving terminal obtains described video according to described buffer address from described buffer unit.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of method that shared video is provided, comprise the sharing request receiving from sharing the shared current in progress video of end transmission, wherein, described sharing request is carried the sign of described video; According to described sharing request, to the request of described shared end transmission processing; Receive described shared end according to processing request, and the video information of the described video returning; According to described video information, obtain the described video that described shared end is shared.
Wherein, described processing request is for accepting to share accepting request of described video; Described video information is the video address of described video or from the video segment of the certain time length of described video intercepting.
Wherein, described processing request is the cache request of video described in buffer memory, and wherein, described cache request is carried the address information of buffer unit; Described video information is that described video cache is at the buffer address of buffer unit; The described shared end of described reception is according to processing request, and the step of the video information of returning comprises: receive described shared end according to described cache request, by described video cache, after buffer unit, and the described video returning is at the buffer address of buffer unit; Described according to described video information, the step of obtaining the shared video of described shared end comprises: according to described buffer address, from described buffer unit, obtain described video.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of shared end is provided, comprises acquisition module, for obtaining the sign of current in progress video; Sending module, for send the sharing request of sharing described video to receiving terminal, wherein, described sharing request is carried the sign of described video; Receiver module, the processing request of returning according to described sharing request for receiving described receiving terminal; Obtain sending module, for according to described processing request, obtain the video information of described video, and send described video information to described receiving terminal, so that described receiving terminal, according to described video information, obtains described video.
Wherein, described processing request is for accepting to share accepting request of described video; Described video information is the video address of described video or from the video segment of the certain time length of described video intercepting.
Wherein, described processing request is the cache request of video described in buffer memory, and wherein, described cache request is carried the address information of buffer unit; Described video information is that described video cache is at the buffer address of buffer unit; The described sending module that obtains, specifically for obtaining described current in progress video, and by described video cache at described buffer unit, and send described video at the buffer address of described buffer unit to described receiving terminal, so that described receiving terminal obtains described video according to described buffer address from described buffer unit.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of receiving terminal is provided, comprise the first receiver module, for receive from share shared current in progress video that end sends sharing request, wherein, described sharing request is carried the sign of sharing the shared video of end; Sending module, for according to described sharing request, to the request of described shared end transmission processing; The second receiver module, for receiving described shared end according to processing request, and the video information of the described video returning; Acquisition module, for according to described video information, obtains the described video that described shared end is shared.
The invention has the beneficial effects as follows: the situation that is different from prior art, the present invention is in embodiment of the present invention, shared end obtains the video information of current in progress video, and send video information to receiving terminal, wherein, receiving terminal is according to video information, obtain and share the current in progress video of end, thereby make receiving terminal and share end all at the identical video of broadcasting, and then realizing synchronous displaying video, user experiences better.
Embodiment
Below in conjunction with drawings and embodiments, the present invention is described in detail.
Refer to Fig. 1, shared video system comprises shares end 11, receiving terminal 12 and buffer unit 13.Share end 11 and receiving terminal 12 and all there is video playback capability, and share end 11 and can obtain video from network video server, for example: Tengxun's video website, Sohu's video website etc., also from cable television channels, obtain just in live telecast, for example: five, central authorities, Beijing physical culture etc.
Share end 11 and obtain the sign of sharing the current in progress video of end, wherein, sign is the mark of current in progress video, for example: the title of video, certainly, at other, substitute in real formula mode, sign also can be the brief description of current in progress video, and this brief description also can be inputted by user.
Share end 11 and send to receiving terminal 12 sharing request of sharing current in progress video, wherein, sharing request is carried the sign of current in progress video.Receiving terminal 12 receives after sharing request, receiving terminal 12 returns to sharing end 11 request of processing, wherein, the request of processing can be to be accepted to share accepting request of video, or the cache request of buffer memory video, for example: user is in the way of driving, when inconvenient horse back is watched video, can ask buffer memory video, when conveniently watching video, then obtain video and watch.
If the request of processing is for accepting to share accepting request of video, the current video of conveniently watching of user is described, share the video information that end 11 obtains current in progress video, and send video information to receiving terminal, so that receiving terminal is according to video information, obtain current in progress video, wherein, the video address that video information is current in progress video or from the video segment of the certain time length of current in progress video intercepting; Further, video address can be the channel address of live telecast, for example: five, central authorities, receiving terminal 12 gets channel address, according to channel address, obtains live telecast, and plays live telecast, wherein, the play content of live telecast is identical, makes to share end 11 and receiving terminal 12 broadcasting same video, Real-Time Sharing video; Video address also can be the network address of the video that network video server provides, for example: the network address of the XX TV play that Tengxun's video website provides, wherein, in video information, also can comprise that rising of set displaying video broadcast a little, receiving terminal 12 acquires after video according to the network address, from broadcast a displaying video, certainly, also can arrange eventually and broadcast a little, video playback, after Final broadcasts a little, stops displaying video.
If the request processed is the cache request of buffer memory video, illustrate that user is current and be inconvenient to watch shared video, wherein, cache request is carried the address information of buffer unit.Share the video that end 11 obtains current in progress video, and by video cache at buffer unit 13, and send videos at the buffer address of buffer unit 13 to receiving terminal 12.Receiving terminal 12 receives to be shared after end 11 buffer address that return, and can from buffer unit, extract and share the shared video of end 11 according to buffer address.
Shared video system also can comprise the first Set Top Box 14, the first television set 15, the second Set Top Box 16 and the second television set 17.Share end 11 and connect the first Set Top Box 14, to control the first Set Top Box 14, wherein, the mode of sharing end 11 connection the first Set Top Box 14 can be wired mode, also can be wireless mode, the first Set Top Box 14 connects the first television set 15, shares the video of end 11 and can play by the first Set Top Box 14 and the first television set 15.Receiving terminal 12 connects the second Set Top Box 16, to control the second Set Top Box 16, the second Set Top Box 16 connects the second television set 17, the video that receiving terminal 12 gets also can be play by the second Set Top Box 16 and the second television set 17, in invention execution mode, share end 11 and receiving terminal 12 and can be intelligent terminal, for example: with the smart mobile phone of IOS system or Android system, the first Set Top Box 14 and the second Set Top Box 16 can be network machine top box.Wherein, the second Set Top Box 16 also can be done buffer unit 13 uses.
In embodiment of the present invention, shared end obtains the video information of current in progress video, and send video information to receiving terminal, wherein, receiving terminal, according to video information, obtains and shares the current in progress video of end, thereby makes receiving terminal and share end all at the identical video of broadcasting, and then realizing synchronous displaying video, user experiences better.
The invention provides and share end execution mode.Refer to Fig. 2, share end 21 and comprise acquisition module 211, sending module 212, receiver module 213 and obtain sending module 214.
Acquisition module 211 obtains the sign of current in progress video, wherein, is designated the mark of sharing end 21 current in progress videos, for example: the title of video, brief description of video etc.Sending module 212 sends to receiving terminal 22 sharing request of sharing this video, and wherein, sharing request is carried the sign of current in progress video.By sign, make the user of receiving terminal 22 can understand the content of sharing the shared video of end 21.Receiver module 213 receives the processing request that receiving terminal 22 returns according to sharing request.Obtain sending module 214 according to processing request, obtain the video information of video, and send video information to receiving terminal, so that receiving terminal, according to video information, obtains video
The request of processing can be to be accepted to share accepting request of video, also can be the cache request of buffer memory video.If the request of processing is for accepting to share accepting request of video, the video address that video information is video or from the video segment of the certain time length of video intercepting, obtain sending module 214 specifically for the video of the certain time length obtaining the video address of current in progress video or intercept from current in progress video, and return to the video address of current in progress video or the video of the certain time length that intercepts to receiving terminal 22 from current in progress video, so that receive, according to video address, obtain video, and displaying video, or, play-over the video of intercepted certain time length.
If the request of processing is for the cache request of video described in buffer memory, wherein, cache request is carried the address information of buffer unit 23, and video information is that video cache is at the buffer address of buffer unit 23.Obtain sending module 214 specifically for obtaining current in progress video, and by video cache at buffer unit 23, and send video at the buffer address of buffer unit 23, so that receiving terminal 22 obtains video according to buffer address from buffer unit 22 to receiving terminal 22.
In embodiment of the present invention, obtain the video information that receiver module obtains current in progress video, and send video information to receiving terminal, so that receiving terminal is according to video information, obtain and share the current in progress video of end, thereby make receiving terminal and share end all at the identical video of broadcasting, and then realizing synchronous displaying video, user experiences better.
Refer to Fig. 3, share end 31 and comprise processor 311, memory 312, bus 313 and display 314.Processor 321, memory 322 and display 314 are all connected with bus 323.
Processor 321 is for obtaining the sign of current in progress video; To receiving terminal 32, send the sharing request of sharing video, wherein, sharing request is carried the sign of video; Receive the processing request that receiving terminal 32 returns according to sharing request; According to processing request, obtain the video information of video, and send described video information to receiving terminal 32, so that receiving terminal 32 is according to video information, obtain video.
Wherein, if process request accepting request for the shared video of acceptance; The video address that video information is video or from the video segment of the certain time length of video intercepting.
Wherein, if process request, be the cache request of buffer memory video, wherein, cache request is carried the address information of buffer unit 33, and video information is that video cache is at the buffer address of buffer unit 33; Processor 311 is for asking according to processing, and the step of obtaining the video information of video comprises: obtain current in progress video; Video cache, at buffer unit 33, and is sent to videos at the buffer address of buffer unit 33, so that receiving terminal 32 obtains video according to buffer address from buffer unit 33 to receiving terminal 33.
Wherein, the performed aforesaid operations of processor 311 can be stored in the form of one section of program memory 312, when processor 311 need to be carried out aforesaid operations, this section of program is called in to processor 311 and carry out.
In embodiment of the present invention, processor obtains the video information of the current in progress video of display, and send video information to receiving terminal, so that receiving terminal is according to video information, obtain and share the current in progress video of end, thereby make receiving terminal and share end all at the identical video of broadcasting, and then realizing synchronous displaying video, user experiences better.
The present invention also provides receiving terminal execution mode.Refer to Fig. 3, receiving terminal 41 comprises the first receiver module 411, sending module 412, the second receiver module 413 and acquisition module 414.
The first receiver module 411 receives from the sharing request of sharing the shared video of end 42 transmissions, and wherein, sharing request is carried the sign of sharing end 42 current in progress videos, wherein, is designated the mark of video.
Sending module 412 is according to sharing request, to sharing end 42 transmission processing requests.Share end 42 and receive the request of processing, obtain the video information of current in progress video, and send video information to receiving terminal 41.The second receiver module 413 receiver, video information.Acquisition module 414, according to video information, obtains and shares the shared video of end.
Receiving terminal 41 can be according to actual conditions, and video is shared in selection acceptance, or, select first buffer memory video, at the convenient time obtain again video, the request of processing comprises the cache request of accepting request of the shared video of acceptance or buffer memory video.
If the request of processing is to accept to share accepting request of video, video information is for sharing the video of the certain time length of holding the video address of current in progress video or intercepting from share the current in progress video of end.Sending module 412 is specifically for sending accepting request of the shared video of acceptance to sharing end 42.Shared end 42 receives and accepts request, obtain the video address of current in progress video, or, the video of the certain time length intercepting from share the current in progress video of end, and to receiving terminal 41, return to the video address of current in progress video, or, the video of the certain time length intercepting from share the current in progress video of end.The second receiver module 413 returns to the video address of current in progress video specifically for receiving receiving terminal 41, or, the video of the certain time length intercepting from share the current in progress video of end.Acquisition module 414, specifically for according to video address, obtains video, or play-overs the video of intercepted certain time length.
If the request of processing comprises the cache request of buffer memory video, video information is for sharing the current in progress video cache of end at the buffer address of buffer unit, and wherein, cache request is carried the address information of buffer unit.Sending module 412 is specifically for sending to sharing end the cache request that buffer memory is shared video, and wherein, cache request is carried the address information of buffer unit.Share end 42 and receive after the cache request of receiving terminal 41, according to the address information of carrying in cache request, to buffer unit, send current in progress video, and send the buffer address of video in buffer unit to receiving terminal 41.The second receiver module 413 is shared end 41 videos that return at the buffer address of buffer unit specifically for receiving.Acquisition module 414, specifically for according to buffer address, obtains video from buffer unit 43.
In embodiment of the present invention, receiving terminal receives from the video information of sharing the current in progress video of shared end of end transmission, and according to video information, obtain and share the current in progress video of end, thereby make receiving terminal and share end all at the identical video of broadcasting, and then realizing synchronous displaying video, user experiences better.
Refer to Fig. 5, receiving terminal 51 comprises processor 511, memory 512, bus 513 and display 514.Processor 511, memory 512 and display 514 are all connected with bus 513.
Processor 511 is for receiving from the sharing request of sharing the shared video of end 52 transmissions, and wherein, sharing request is carried the sign of sharing the shared video of end 52; According to sharing request, to sharing end 51 transmission processing requests; Receive and share end 51 according to processing request, and the video information of returning; According to video information, obtain the shared video of receiving terminal 51, and play this video by display 514.
Wherein, process request for accepting to share accepting request of video; Video information is for sharing the video of the certain time length of holding the video address of current in progress video or intercepting from share the current in progress video of end.
Wherein, the request of processing is the cache request of buffer memory video, and wherein, cache request is carried the address information of buffer unit; Video information is for sharing end 52 current in progress video caches at the buffer address of buffer unit; Receive and share end 52 according to processing request, and the step of the video information of returning comprises: receive and share end 52 according to cache request, will share end 52 current in progress video caches after buffer unit, the video returning is at the buffer address of buffer unit 53; According to video information, obtain to share and hold the step of shared video to comprise: according to buffer address, from buffer unit 53, obtain video, and play these videos by display 514.
The performed aforesaid operations of processor 511 all can be stored in the form of one section of program in memory 512, when processor 511 need to be carried out aforesaid operations, this section of program is called in to processor 511 and carry out.
In embodiment of the present invention, processor receives from the video information of sharing the current in progress video of shared end of end transmission, and according to video information, obtain and share the current in progress video of end, thereby make receiving terminal and share end all at the identical video of broadcasting, and then realizing synchronous displaying video, user experiences better.
The present invention also provides the method execution mode of sharing video.Refer to Fig. 6, method comprises:
Step S601: the sign of obtaining current in progress video;
Be designated the mark of current in progress video, for example: the title of video.
Step S602: send the sharing request of sharing video to receiving terminal, wherein, sharing request is carried the sign of current in progress video;
By sign mark, share the shared video of end, so that distolaterally can understand what content shares the current shared video of end be receiving, facilitate user to make next step judgement.
Step S603: receive the processing request that receiving terminal returns according to sharing request;
Receiving distolaterally, can select to accept to share video according to actual conditions, and then entering and watch video, or, select buffer memory video, when an opportunity arises follow-up, then extract video and watch, for example: user, in the way of driving, now can not watch video.
Step S604: according to processing request, obtain the video information of video, and send video information to receiving terminal, so that receiving terminal, according to video information, obtains video.
The request of processing can be to be accepted to share accepting request of video, also can be the cache request of buffer memory video.If the request of processing is for accepting to share accepting request of video, illustrate the distolateral user of reception and can watch video, shared end can directly be shared video to receiving terminal, the video of the video address that video information is current in progress video or the certain time length that intercepts from current in progress video, step S604 can be specially again: obtain the video address of current in progress video or the video of the certain time length that intercepts from current in progress video, and send the video address of current in progress video or the video of the certain time length that intercepts to receiving terminal from current in progress video, so that receiving terminal obtains video according to video address, and displaying video, or play-over the video segment of intercepted certain time length.
If the request of processing is the cache request of buffer memory video, wherein, cache request is carried the address information of buffer unit, and video information is that video cache is at the buffer address of buffer unit.Step S604 can be specially again: obtain current in progress video, and by video cache at buffer unit, and send video at the buffer address of buffer unit, so that receiving terminal obtains video according to buffer address from buffer unit to receiving terminal.
In embodiment of the present invention, obtain the video information that receiver module obtains current in progress video, and send video information to receiving terminal, so that receiving terminal is according to video information, obtain and share the current in progress video of end, thereby make receiving terminal and share end all at the identical video of broadcasting, and then realizing synchronous displaying video, user experiences better.
Refer to Fig. 7, method comprises:
Step S701: receive from the sharing request of sharing the shared current in progress video of end transmission, wherein, sharing request is carried the sign of video;
Be designated the mark of current in progress video.
Step S702: according to sharing request, to sharing the request of end transmission processing;
The request of processing can be to be accepted to share accepting request of video, can be also the cache request of buffer memory video.
Step S703: receive and share end according to processing request, and the video information of returning;
Video information refers to the relevant information of sharing the current in progress video of end, for example: sharing current broadcasting of end is live telecast, the channel address that video information is live telecast, sharing current broadcasting of end is Internet video, the network address that video information is Internet video.
Step S704: according to video information, obtain and share the shared video of end;
If the request of processing is to accept to share accepting request of video, video information is for sharing the video of the certain time length of holding the video address of current in progress video or intercepting from current in progress video.It should be noted that: if share current broadcasting of end, be live telecast, the channel address that video address is live telecast, sharing current broadcasting of end is Internet video, the network address that video address is Internet video.Step S704 can be specially again: according to video address, obtain video, and displaying video, or play-over the video segment of intercepted certain time length.
If the request of processing is the cache request of buffer memory video, wherein, cache request is carried the address information of buffer unit, and video information is for sharing the current in progress video cache of end at the buffer address of buffer unit.Step S703 can be specially again: receive and share end according to cache request, will share the current in progress video cache of end after buffer unit, the video returning is at the buffer address of buffer unit.Step S704 can be specially again: according to buffer address, from buffer unit, obtain video.
In embodiment of the present invention, receiving terminal receives to share and holds after the video information of returning, according to video information, obtain and share the current in progress video of end, thereby make receiving terminal and share end all at the identical video of broadcasting, and then realizing synchronous displaying video, user experiences better.
The foregoing is only embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.