The content of the invention
, can the present invention solves the technical problem of a kind of method for providing shared video and shared end, receiving terminal
Real-Time Sharing video, very convenient, Consumer's Experience is more preferable.
In order to solve the above technical problems, one aspect of the present invention is:A kind of method of shared video is provided,
Mark including obtaining the video being currently played;The sharing request for sharing the video is sent to receiving terminal, wherein, it is described
Sharing request carries the mark of the video;The processing request that the receiving terminal returns according to the sharing request is received, its
In, the processing request includes receiving the receiving request for sharing the video, or the cache request of the caching video;If place
Reason request then obtains the video information for the video being currently played, and connect to described to receive the receiving request of shared video
Receiving end sends the video information, so that after the receiving terminal receives the video information returned, can be believed according to the video
Breath obtains the video shared, or, if processing request is the cache request of buffered video, acquisition is currently played
Video, and by the video cache in buffer unit, the video is sent in the slow of the buffer unit to the receiving terminal
Address is deposited, so that after the receiving terminal receives the buffer address returned, can be single from the caching according to the buffer address
Member obtains the video shared.
Wherein, the video information is the video address of the video or regarding from the certain time length of the video intercepting
Frequency fragment.
Wherein, the cache request carries the address information of the buffer unit.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of side of shared video is provided
Method, including the sharing request of the shared video being currently played sent from shared end is received, wherein, the sharing request
Carry the mark of the video;According to the sharing request, processing request is sent to the shared end, wherein, the processing please
Ask the receiving request including receiving the shared video, or the cache request of the caching video;If processing request is receiving
The receiving request of shared video, then the video information for the video that the shared end returns is received, according to the video information
The video that the shared end is shared is obtained, or, if cache request of the processing request for buffered video, described in reception
The shared video for holding return obtains institute in the buffer address of buffer unit, according to the buffer address from the buffer unit
State the video that shared end is shared.Wherein, the video information is for the video address of the video or from the video
The video segment of the certain time length of interception.
Wherein, the cache request carries the address information of the buffer unit.
In order to solve the above technical problems, another technical scheme that the present invention uses is:A kind of shared end is provided, including obtained
Modulus block, for obtaining the mark for the video being currently played;Sending module, share the video for being sent to receiving terminal
Sharing request, wherein, the sharing request carries the mark of the video;Receiving module, for receiving the receiving terminal root
The processing request returned according to the sharing request, wherein, the receiving that the processing request includes receiving to share the video please
Ask, or the cache request of the caching video;Sending module is obtained, for being asked according to the processing, including, if the place
Reason request then obtains the video information for the video being currently played, and connect to described to receive the receiving request of shared video
Receiving end sends the video information, so that the video that the receiving terminal is shared according to the acquiring video information, or,
If processing request is the cache request of buffered video, the video being currently played is obtained, and by the video cache slow
Memory cell, buffer address of the video in the buffer unit is sent to the receiving terminal, so that the receiving terminal is according to institute
State buffer address and the video shared is obtained from the buffer unit.
Wherein, the video information is the video address of the video or regarding from the certain time length of the video intercepting
Frequency fragment.
Wherein, the cache request carries the address information of the buffer unit.
In order to solve the above technical problems, another technical scheme that the present invention uses is:A kind of receiving terminal, including are provided
One receiving module, for receiving the sharing request of the shared video being currently played sent from shared end, wherein, institute
State the mark that sharing request carries the video that shared end is shared;Sending module, for according to the sharing request, to described common
Enjoy end and send processing request, wherein, the processing request includes receiving the receiving request for sharing the video, or described in caching
The cache request of video;If processing request is receives the receiving request of shared video, the shared end returns to the video
Video information, or, if processing request is the cache request of buffered video, it is single in caching that the shared end returns to the video
The buffer address of member;Second receiving module, asked for receiving the shared end according to processing, and the video returned regards
The buffer address of frequency information or the video in buffer unit;Acquisition module, for according to the video information or the video
In the buffer address of buffer unit, the video that the shared end is shared is obtained.
The beneficial effects of the invention are as follows:The situation of prior art is different from, the present invention in embodiments of the present invention, shares
The video information for obtaining the video being currently played or the video are held in the buffer address of buffer unit, and send out to receiving terminal
Video information or the video are sent in the buffer address of buffer unit, wherein, receiving terminal exists according to video information or the video
The buffer address of buffer unit, the video that shared end is currently played is obtained, so that receiving terminal and shared end are all being broadcast
Identical video is put, and then realizes synchronous broadcasting video, Consumer's Experience is more preferable.
Embodiment
The present invention is described in detail with embodiment below in conjunction with the accompanying drawings.
Referring to Fig. 1, shared video system includes shared end 11, receiving terminal 12 and buffer unit 13.It is shared to hold 11 and connect
Receiving end 12 is respectively provided with video playback capability, and shared end 11 can obtain video from network video server, such as:Tengxun's video
Website, Sohu's video website etc., also obtained from cable television channels just in live telecast, such as:Central five, Beijing physical culture
Etc..
Shared end 11 obtains the mark for the video that shared end is currently played, wherein, mark is currently played
The mark of video, such as:The title of video, certainly, in other real formula modes of replacement, mark is alternatively what is be currently played
The brief description of video, what the brief description can also be inputted by user.
Shared end 11 sends the sharing request of the shared video being currently played to receiving terminal 12, wherein, sharing request
Carry the mark for the video being currently played.After receiving terminal 12 receives sharing request, receiving terminal 12 returns to shared end 11
Processing request, wherein, processing request can be to receive the receiving request of shared video, or the cache request of buffered video, such as:
User is in driving way, it has not been convenient at once during viewing video, buffered video can be asked, when convenient viewing video, then
Video is obtained to be watched.
If processing request illustrates that user currently facilitates viewing video, shares end to receive the receiving request of shared video
11 obtain the video information for the video being currently played, and send video information to receiving terminal, so that receiving terminal is according to video
Information, obtain the video being currently played, wherein, video information be the video being currently played video address or from
The video segment of the certain time length for the video intercepting being currently played;Further, video address can be the frequency of live telecast
Track address, such as:Five, center, receiving terminal 12 gets channel address, obtains live telecast according to channel address, and play straight
TV is broadcast, wherein, the broadcasting content of live telecast is identical so that shared end 11 and receiving terminal 12 play same video, in real time altogether
Enjoy video;Video address is alternatively the network address of the video of network video server offer, such as:Tengxun's video website provides
XX TV plays network address, wherein, rising for set broadcasting video is may also include in video information and is broadcast a little, then receiving terminal 12
After acquiring video according to network address, a broadcasting video is broadcast from, is broadcast a little eventually it is of course also possible to set, video playback to Final
After broadcasting a little, stop playing video.
If processing request is the cache request of buffered video, illustrate that user is currently inconvenient to watch shared video, its
In, cache request carries the address information of buffer unit.The video that end 11 obtains the video being currently played then is shared, and will
Video cache sends buffer address of the video in buffer unit 13 in buffer unit 13, and to receiving terminal 12.Receiving terminal 12 connects
After receiving the buffer address that shared end 11 returns, the video shared at shared end 11 can be extracted from buffer unit according to buffer address.
Shared video system may also include the first set top box 14, the first television set 15, the second set top box 16 and the second TV
Machine 17.First set top box 14 of the shared connection of end 11, to control the first set top box 14, wherein, share first set top box of the connection of end 11
14 mode can be wired mode, or wirelessly, the first set top box 14 connects the first television set 15, shares end 11
Video can be played out by the first set top box 14 and the first television set 15.Receiving terminal 12 connects the second set top box 16, with
The second set top box 16 is controlled, the second set top box 16 connects the second television set 17, and the video that receiving terminal 12 is got can also pass through
Second set top box 16 and the second television set 17 play out, and in invention embodiment, it can be intelligence to share end 11 and receiving terminal 12
Energy terminal, such as:Smart mobile phone with IOS systems or Android system, the first set top box 14 and the second set top box 16 can be net
Network set top box.Wherein, the second set top box 16 can also make buffer unit 13 and use.
In embodiments of the present invention, share end and obtain the video information of video being currently played, and to receiving terminal
Video information is sent, wherein, receiving terminal obtains the video that shared end is currently played, so that connecing according to video information
Receiving end and shared end are all playing identical video, and then realize and synchronously play video, and Consumer's Experience is more preferable.
The present invention provides shared end embodiment.Referring to Fig. 2, shared end 21 includes acquisition module 211, sending module
212nd, receiving module 213 and acquisition sending module 214.
Acquisition module 211 obtains the mark for the video being currently played, wherein, it is identified as shared end 21 and is currently broadcasting
The mark for the video put, such as:The title of video, brief description of video etc..Sending module 212 is sent altogether to receiving terminal 22
The sharing request of the video is enjoyed, wherein, sharing request carries the mark for the video being currently played.By mark, make reception
The user at end 22 will be seen that the content for the video that shared end 21 is shared.Receiving module 213 receives receiving terminal 22 according to shared
The processing request asked and returned.Obtain sending module 214 to be asked according to processing, obtain the video information of video, and to reception
End sends video information, so that receiving terminal obtains video according to video information
Processing request can be to receive the receiving request of shared video, or the cache request of buffered video.If processing please
Ask to receive the receiving request of shared video, then video address of the video information for video or the certain time length from video intercepting
Video segment, obtain sending module 214 and be specifically used for obtaining the video address of video that is currently played or from current
The video of the certain time length intercepted in the video played, and the video for the video being currently played to the return of receiving terminal 22
Address or the video of the certain time length intercepted from the video being currently played, regarded so as to receive and obtained according to video address
Frequently, and video is played, or, the direct video for playing intercepted certain time length.
If processing request is the cache request of the caching video, wherein, cache request carries the address of buffer unit 23
Information, then video information is buffer address of the video cache in buffer unit 23.Sending module 214 is obtained specifically for obtaining to work as
The preceding video played, and by video cache in buffer unit 23, and to the transmission video of receiving terminal 22 in buffer unit 23
Buffer address so that receiving terminal 22 according to buffer address from buffer unit 22 obtain video.
In embodiments of the present invention, the video information for the video that the acquisition of acquisition receiving module is currently played, and to
Receiving terminal sends video information, so that the video that receiving terminal is currently played according to video information, the shared end of acquisition, so that
Obtain receiving terminal and shared end and all playing identical video, and then realize and synchronously play video, Consumer's Experience is more preferable.
Referring to Fig. 3, shared end 31 includes processor 311, memory 312, bus 313 and display 314.Processor
321st, memory 322 and display 314 are connected with bus 323.
Processor 321 is used for the mark for obtaining the video being currently played;Being total to for shared video is sent to receiving terminal 32
Request is enjoyed, wherein, sharing request carries the mark of video;Receive the processing request that receiving terminal 32 returns according to sharing request;
Asked according to processing, obtain the video information of video, and the video information is sent to receiving terminal 32, so that the basis of receiving terminal 32
Video information, obtain video.
Wherein, if the receiving request of video is shared in processing request for receiving;Then video information for video video address or
Video segment of the person from the certain time length of video intercepting.
Wherein, if processing request is the cache request of buffered video, wherein, cache request carries the address of buffer unit 33
Information, then video information is buffer address of the video cache in buffer unit 33;Processor 311 is used to be asked according to processing, obtains
The step of video information for taking video, includes:Obtain the video being currently played;By video cache in buffer unit 33, and to
Receiving terminal 33 sends buffer address of the video in buffer unit 33, so that receiving terminal 32 obtains according to buffer address from buffer unit 33
Take video.
Wherein, the aforesaid operations performed by processor 311 can be stored in memory 312 in the form of one section of program, when
When processor 311 needs to perform aforesaid operations, this section of program is called in into processor 311 and performed.
In embodiments of the present invention, the video information for the video that processor acquisition display is currently played, and to
Receiving terminal sends video information, so that the video that receiving terminal is currently played according to video information, the shared end of acquisition, so that
Obtain receiving terminal and shared end and all playing identical video, and then realize and synchronously play video, Consumer's Experience is more preferable.
The present invention also provides receiving terminal embodiment.Referring to Fig. 3, receiving terminal 41 includes the first receiving module 411, sent
Module 412, the second receiving module 413 and acquisition module 414.
First receiving module 411 receives the sharing request of the shared video sent from shared end 42, wherein, sharing request
The mark for the videos that shared end 42 is currently played is carried, wherein, it is identified as the mark of video.
Sending module 412 sends processing request according to sharing request to shared end 42.Shared end 42 receives processing please
Ask, obtain the video information for the video being currently played, and video information is sent to receiving terminal 41.Second receiving module 413
Receive video information.Acquisition module 414 obtains the video that shared end is shared according to video information.
Receiving terminal 41 can select to receive shared video according to actual conditions, or, first buffered video is selected, convenient
When obtain video again, then processing request include receiving shared video receive to ask or the cache request of buffered video.
If processing request is receives the receiving request of shared video, video information regards for what shared end was currently played
The video of the certain time length intercepted in the video address of frequency or the video being currently played from shared end.Sending module 412
Receive the receiving request of shared video specifically for being sent to shared end 42.Shared end 42 receives receiving request, obtains current
The video address of the video played, or, the certain time length intercepted in the video being currently played from shared end regards
Frequently, the video address for the video being currently played and to receiving terminal 41 is returned, or, regarded from what shared end was currently played
The video of the certain time length intercepted in frequency.Second receiving module 413 is specifically used for the reception return of receiving terminal 41 and is currently played
Video video address, or, the video of the certain time length intercepted in the video being currently played from shared end.Obtain mould
Block 414 is specifically used for according to video address, obtains video, or directly plays the video of intercepted certain time length.
If processing request includes the cache request of buffered video, the video that video information is currently played for shared end
The buffer address of buffer unit is buffered in, wherein, cache request carries the address information of buffer unit.Sending module 412 is specific
For sending the cache request of the shared video of caching to shared end, wherein, cache request carries the address information of buffer unit.Altogether
Enjoy after holding 42 to receive the cache request of receiving terminal 41, sent and worked as to buffer unit according to the address information carried in cache request
The preceding video played, and send buffer address of the video in buffer unit to receiving terminal 41.Second receiving module 413 has
Body is used for buffer address of the video in buffer unit for receiving the shared return of end 41.Acquisition module 414 is specifically used for according to caching
Address, video is obtained from buffer unit 43.
In embodiments of the present invention, receiving terminal receives the video that the shared end sent from shared end is currently played
Video information, and according to video information, the video that shared end is currently played is obtained, so that receiving terminal and shared end
Identical video all is being played, and then is realizing synchronous broadcasting video, Consumer's Experience is more preferable.
Referring to Fig. 5, receiving terminal 51 includes processor 511, memory 512, bus 513 and display 514.Processor
511st, memory 512 and display 514 are connected with bus 513.
Processor 511 is used for the sharing request for receiving the shared video sent from shared end 52, wherein, sharing request is taken
The mark for the video that the shared end 52 of band is shared;According to sharing request, processing request is sent to shared end 51;Receive shared end 51
Asked according to processing, and the video information returned;According to video information, the video that receiving terminal 51 is shared is obtained, and by aobvious
Show that device 514 plays the video.
Wherein, the receiving request of video is shared in processing request for receiving;The shared end of video information is currently played
The video of the certain time length intercepted in the video address of video or the video being currently played from shared end.
Wherein, processing request is the cache request of buffered video, wherein, cache request carries the address letter of buffer unit
Breath;Video information is the shared buffer address for holding 52 video caches being currently played in buffer unit;Receive shared end 52
Asked according to processing, and the step of video information of return includes:Shared end 52 is received according to cache request, shared end 52 is worked as
The preceding video cache played is after buffer unit, the buffer address of the video of return in buffer unit 53;Believed according to video
Breath, the step of holding the video shared is shared in acquisition to be included:According to buffer address, video is obtained from buffer unit 53, and pass through
Display 514 plays the video.
Aforesaid operations performed by processor 511 can be stored in memory 512 in the form of one section of program, work as place
When reason device 511 needs to perform aforesaid operations, this section of program is called in into processor 511 and performed.
In embodiments of the present invention, processor receives the video that the shared end sent from shared end is currently played
Video information, and according to video information, the video that shared end is currently played is obtained, so that receiving terminal and shared end
Identical video all is being played, and then is realizing synchronous broadcasting video, Consumer's Experience is more preferable.
The present invention also provides the method embodiment of shared video.Referring to Fig. 6, method includes:
Step S601:Obtain the mark for the video being currently played;
The mark for the video being currently played is identified as, such as:The title of video.
Step S602:The sharing request of shared video is sent to receiving terminal, wherein, sharing request is carried and is currently played
Video mark;
By identifying the video for marking shared end to share, so as to will be seen that shared end is currently shared receiving side
Video be what content, facilitate user to make the judgement of next step.
Step S603:Receive the processing request that receiving terminal returns according to sharing request;
Side is being received, can selected to receive shared video according to actual conditions, and then is entering viewing video, or, selection
Buffered video, subsequently when an opportunity arises, then extract video and watched, such as:For user in driving way, being now can not
Watch video.
Step S604:Asked according to processing, obtain the video information of video, and video information is sent to receiving terminal, so that
Receiving terminal obtains video according to video information.
Processing request can be to receive the receiving request of shared video, or the cache request of buffered video.If processing please
Ask to receive the receiving request of shared video, then explanation can watch video in the user for receiving side, and shared end can be direct
Video is shared to receiving terminal, then video information is the video address for the video being currently played or from being currently played
The video of the certain time length intercepted in video, step S604 can be specially again:With obtaining the video for the video being currently played
Location or the video of the certain time length intercepted from the video being currently played, and send what is be currently played to receiving terminal
The video of the video address of video or the certain time length intercepted from the video being currently played, so that receiving terminal is according to regarding
Frequency address acquisition video, and video is played, or directly play the video segment of intercepted certain time length.
If processing request is the cache request of buffered video, wherein, cache request carries the address information of buffer unit, then
Video information is buffer address of the video cache in buffer unit.Step S604 can be specially again:Obtain what is be currently played
Video, and by video cache in buffer unit, and buffer address of the video in buffer unit is sent to receiving terminal, so as to receive
End obtains video according to buffer address from buffer unit.
In embodiments of the present invention, the video information for the video that the acquisition of acquisition receiving module is currently played, and to
Receiving terminal sends video information, so that the video that receiving terminal is currently played according to video information, the shared end of acquisition, so that
Obtain receiving terminal and shared end and all playing identical video, and then realize and synchronously play video, Consumer's Experience is more preferable.
Referring to Fig. 7, method includes:
Step S701:The sharing request of the shared video being currently played sent from shared end is received, wherein, altogether
Enjoy the mark that request carries video;
It is identified as the mark for the video being currently played.
Step S702:According to sharing request, processing request is sent to shared end;
Processing request can be to receive the receiving request of shared video, or the cache request of buffered video.
Step S703:Shared end is received to be asked according to processing, and the video information returned;
Video information refers to the relevant information for the video that shared end is currently played, such as:Currently broadcasting at shared end
It is live telecast to put, then video information is the channel address of live telecast, and it is Internet video that shared end, which is currently played, then regards
Frequency information is the network address of Internet video.
Step S704:According to video information, the video that shared end is shared is obtained;
If processing request is receives the receiving request of shared video, video information regards for what shared end was currently played
The video of the video address of frequency or the certain time length intercepted from the video being currently played.It should be noted that:If altogether
It is live telecast to enjoy end and be currently played, then video address is the channel address of live telecast, and shared end is currently played
It is Internet video, then video address is the network address of Internet video.Step S704 can be specially again:Obtained according to video address
Video, and video is played, or directly play the video segment of intercepted certain time length.
If processing request is the cache request of buffered video, wherein, cache request carries the address information of buffer unit, then
Video information is the shared buffer address for holding the video cache being currently played in buffer unit.Step S703 again can be specific
For:Shared end is received according to cache request, after buffer unit, return regards the video cache that shared end is currently played
Buffer address of the frequency in buffer unit.Step S704 can be specially again:According to buffer address, video is obtained from buffer unit.
In embodiments of the present invention, after receiving terminal receives the video information that shared end returns, according to video information, obtain
The video for taking shared end to be currently played, so that receiving terminal and shared end are all playing identical video, and then realize
Synchronous to play video, Consumer's Experience is more preferable.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this
The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, it is included within the scope of the present invention.