CN106612469A - Video sharing method and device - Google Patents
Video sharing method and device Download PDFInfo
- Publication number
- CN106612469A CN106612469A CN201510696204.8A CN201510696204A CN106612469A CN 106612469 A CN106612469 A CN 106612469A CN 201510696204 A CN201510696204 A CN 201510696204A CN 106612469 A CN106612469 A CN 106612469A
- Authority
- CN
- China
- Prior art keywords
- video
- sharing
- frequency
- chained address
- video frequency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Abstract
The invention discloses a video sharing method and device, which relates to the technical field of computers. The problems of slow speed and low efficiency, which are caused by the fact that wonderful clips in a video re intercepted through a server, are solved. According to the main technical scheme provided by the invention, the link address of the video is acquired, wherein the video contains a video to be shared; the starting position and the ending position of the video to be shared are acquired; the starting position and the ending position are added to the link address of the video to acquire the share link address containing the play position information of the shared video; and the share link address is shared. The video sharing method and device are mainly used for sharing and viewing some highlights in the video.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of video sharing method and device.
Background technology
With the progress of network technology, daily life also is occurring to change constantly.Now,
People watch online video and popularize very much using network, whether at home, in unit, or
It is, in outdoor, video can anywhere or anytime to be watched by the Internet.In these videos, there is source
More also it is by the good friend in software point by social software in the video resource of professional video website
The video that good friend shares in the software such as the video resource enjoyed, such as wechat, microblogging, QQ spaces.
In the video that good friend shares, participator is mostly by the URL of the video place page
(Uniform Resource Locator, URL) is uploaded on the shared platform of video, but at some
In longer video, what participator wanted to share is in fact some of video excellent fragment, and
The shared platform of existing social software can not carry out intelligent scissor according to the demand of user to video,
Shared for wonderful, only participator is after it have shared a long video, it is indicated that in the video
The play position of wonderful, is selectively watched by online friend according to the explanation that participator makes.
For shared longer video, there are some video softwares or platform to support to cut whole section of video
Take, typically selected to want to share the starting and ending position in the video before being shared by participator
Put, the identification information of video, the original position of fragment and end position are sent to into server, by taking
Business device carries out cutting to the video according to the starting and ending position that participator provides, and generates one and shares
Person needs the video shared, and the link of sharing video frequency is fed back to into participator, then is shared by participator
The link of the video segment.Such mode is cumbersome for participator, and needs server
Cooperation, the efficiency of video intercepting is very low.
The content of the invention
In view of this, the present invention provides a kind of video sharing method and device, can solve the problem that by service
Device to intercept video in wonderful the problem that speed is slow, efficiency is low that exists of mode.
To reach above-mentioned purpose, present invention generally provides following technical scheme:
On the one hand, the invention provides a kind of video sharing method, the method includes:
The chained address of video is obtained, the video shared in need is included in the video;
Acquisition needs the original position and end position of sharing video frequency;
The original position and end position are added in the chained address of the video, are contained
The sharing video frequency play position information shares chained address;
The chained address of sharing is shared.
On the other hand, present invention also offers a kind of video sharing method, the method includes:
Receive video shares chained address, and the chained address of sharing includes the starting of sharing video frequency
The chained address of position, end position and sharing video frequency place video;
Parsing is described to share chained address and obtains the original position of the sharing video frequency, end position and divide
Enjoy the chained address of video place video;
Sharing video frequency place video is loaded according to the chained address of sharing video frequency place video;
According to the original position and end position of the sharing video frequency, the sharing video frequency is played.
On the other hand, present invention also offers a kind of video sharing device, the device includes:
First acquisition unit, for obtaining the chained address of video, includes in need point in the video
The video enjoyed;
Second acquisition unit, for obtaining the original position and end position that need sharing video frequency;
Adding device, the chain for the original position and end position to be added to the video is grounded
In location, obtain sharing chained address containing the sharing video frequency play position information;
Shares unit, for the chained address of sharing to be shared.
On the other hand, present invention also offers a kind of video sharing device, the device includes:
Receiving unit, for receiving the chained address of sharing of video, the chained address of sharing includes
The chained address of the original position, end position and sharing video frequency place video of sharing video frequency;
Resolution unit, for parse it is described share chained address obtain the sharing video frequency original position,
The chained address of end position and sharing video frequency place video;
Loading unit, for loading sharing video frequency according to the chained address of sharing video frequency place video
Place video;
Broadcast unit, for according to the original position and end position of the sharing video frequency, playing described
Sharing video frequency.
The video sharing method and device proposed according to the invention described above, is by modification by participator
The chained address of video, it would be desirable to which the positional information of the starting and ending of the video shared is added to original and regards
In frequency chained address, then shared, the chained address of the sharing video frequency when being opened by beholder,
The video location information contained in the address is first parsed, video is entered further according to the positional information for parsing
Row loading is played.Existing video technology of sharing is compared, the present invention need not be by server to video
The operation for being intercepted, it is only necessary to which participator obtains the chained address of former video, it is possible to local real
Now to the labelling of Highlights in video, new chained address is generated, then share the link, and by seeing
The person of seeing directly is parsed, is loaded and played in chained address locally new to this, again without
The direct broadcasting to video highlight part is realized by server.Therefore, what the present invention was realized regards
The frequency division scheme of enjoying eliminates the link of server process, so as to accelerate needed for operating to video intercepting
Time, improve the efficiency of video sharing.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the present invention's
Technological means, and being practiced according to the content of description, and in order to allow the above-mentioned of the present invention and
Other objects, features and advantages can become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantage and benefit for
Those of ordinary skill in the art will be clear from understanding.Accompanying drawing is only used for illustrating the mesh of preferred implementation
, and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol
Number represent identical part.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of video sharing method that the embodiment of the present invention is proposed;
Fig. 2 shows the flow chart of another kind of video sharing method that the embodiment of the present invention is proposed;
Fig. 3 shows the flow chart of the third video sharing method that the embodiment of the present invention is proposed;
Fig. 4 shows the flow chart of the 4th kind of video sharing method that the embodiment of the present invention is proposed;
Fig. 5 shows a kind of composition frame chart of video sharing device that the embodiment of the present invention is proposed;
Fig. 6 shows the composition frame chart of another kind of video sharing device that the embodiment of the present invention is proposed;
Fig. 7 shows the composition frame chart of the third video sharing device that the embodiment of the present invention is proposed;
Fig. 8 shows the composition frame chart of the 4th kind of video sharing device that the embodiment of the present invention is proposed.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing
The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure
And should not be limited by embodiments set forth here.On the contrary, there is provided these embodiments are able to more
Thoroughly understand the disclosure, and can be by the complete technology for conveying to this area of the scope of the present disclosure
Personnel.
A kind of method of video sharing is embodiments provided, as shown in figure 1, the method application
In the video player of the user side for uploading sharing video frequency, concrete steps include:
101st, the chained address of video is obtained.
In the present embodiment the video of indication is video non-indigenous, is needed by the online of network viewing
Video, this kind of video is usually to obtain video resource by the chained address of loading video by user.
After user's viewing, user wishes for a part of featured videos in the video to be shared with oneself the video
Good friend.
This step is exactly that the chained address of the video is obtained by user side side, and is broadcast in local video
Put and carry out in device loading broadcasting.
102nd, the original position and end position for needing sharing video frequency is obtained.
During player is to video playback, user, can be in player according to the hobby of itself
In the video section wanting to share is marked.Marking user needs the original position of sharing video frequency
And end position.
The original position and end position of sharing video frequency mentioned here refers to the sharing video frequency in former video
In starting play time point and terminate play time point, it is also possible to the video frame number of time point
Come labelling original position and end position, the embodiment of the present invention is for original position and the mark of end position
Note mode is not specifically limited.
103rd, the original position and end position of sharing video frequency are added in the chained address of video, are obtained
Share chained address to containing the sharing video frequency play position information.
The original position of the sharing video frequency that player goes out user's mark and the positional information of end position enter
Row is extracted, and the positional information is added in the middle of the chained address of the video for having obtained, and generates one
The individual new video link address containing positional information labelling.
104th, chained address will be shared to be shared.
Player be able to will be incited somebody to action behind the chained address for generating new sharing video frequency according to the instruction of user
The link is shared in network.
It is pointed out that in the present embodiment to the labelling of video, synthesize new chained address and point
Enjoying instruction is performed by player, but, existing video player is due to the framework for designing
Difference, what is used writes language difference, result in different players and there are different broadcasting logics.
Therefore, the marking operation for carrying out in different players, cannot be in other different types of broadcastings
The parsing being marked in device.So, in the present embodiment, the beholder of participator and sharing video frequency
Need to use broadcasting logic identical, be capable of identify that the player of positional information labelling in chained address.
After the chained address with sharing video frequency positional information labelling has been shared, the embodiment of the present invention is also
There is provided a kind of video sharing method, as shown in Fig. 2 the method is applied to watch the sharing video frequency
In the video player of user one end, specific method is:
201st, receive video shares chained address.
The video that player is loaded is shared in chained address, except the chained address containing former video
Outward, also including participator needs positional information of the video shared in former video, the positional information
It is broadly divided into the original position and end position of sharing video frequency.
202nd, parsing is shared chained address and obtains the original position of the sharing video frequency, end position and share
The chained address of video place video.
Player first can be analyzed judgement before loading video to the chained address of loaded video,
If it find that there are video location information in chained address, player will be to the chained address
Parsed, therefrom obtained the chained address of positional information and former video.
It should be noted that the positional information in the present embodiment in the chained address of indication should be by
Beginning position and the information of end position in pairs occur, or in only one of which original position, do not have
During end position, it is believed that end position is the ending of video.Also or only one of which end position,
It is considered that beginning of the original position for video.And during for multipair original position and end position,
Player plays out the sequencing played according to original position, also, the present embodiment is not limited
The fixed original position and end position for occurring in pairs is necessary for two video playback positions of adjacent appearance,
Other video playback positions can be inserted in the video between a pair of original positions and end position
Information.
203rd, sharing video frequency place video is loaded according to the chained address of sharing video frequency place video.
The work of this step is exactly to load former video by parsing the chained address of former video.Specifically
Load mode be prior art, do not elaborate for how to load in the present embodiment.
204th, according to the original position and end position of sharing video frequency, the sharing video frequency is played.
Player obtains the video resource of former video by the loading to former video, and by parsing
Original position positioning video play position, and video is stopped according to the end position that parsing
Play.Thus, player just completes the playing process to sharing video frequency, beholder passes through player
It is perceived by the part that participator is wanted in the former video shared.
The present embodiment sharing video frequency is completed play after, if beholder to the sharing video frequency other
Part is interested, it is also an option that continue to play the video, this is because the video that player is loaded
Resource is in itself former video, rather than former video is carried out into the partial video fragment after segmentation intercepting, because
This, player, still can be to other portions of former video behind the part for preferentially playing sharing video frequency
Divide and play out.
The sharing video frequency method that the embodiment of the present invention is adopted is can be seen that with reference to above-mentioned implementation,
It is, in the method for sharing end and watch a kind of video sharing that end is realized completing jointly, to be passed through by participator
The chained address of modification video, it would be desirable to which the positional information of the starting and ending of the video shared is added to
In the chained address of former video, then shared, the chained address of the sharing video frequency is being beaten by beholder
When opening, the video location information contained in the address is first parsed, further according to the positional information pair for parsing
Video carries out loading broadcasting.Existing video technology of sharing is compared, the present invention need not pass through server
The operation that video is intercepted, it is only necessary to which participator obtains the chained address of former video, it is possible to
The labelling to Highlights in video is locally realized, new chained address is generated, then shares the link,
And directly parsed, loaded and played in chained address locally new to this by beholder, equally
The direct broadcasting to video highlight part need not be realized by server.Therefore, present invention institute is real
Existing video sharing scheme eliminates the link of server process, and video intercepting is operated so as to accelerate
The required time, improve the efficiency of video sharing.
In order to a kind of video sharing method proposed by the present invention, the embodiment of the present invention is explained in more detail
It is specifically described as a example by using html5 video players, as shown in figure 3, the method is to video
Included step is when sharing:
301st, the chained address of video is obtained.
Sharing video frequency user, should firstly the need of the chained address that video is obtained by html5 video players
There is user to want the video segment shared in video.
302nd, the triggering letter of the trigger message of initial button and conclusion button in video playback interface is received
Breath.
Before using html5 video players loading video resource, need to be configured player,
Two buttons are provided with player interface, are respectively initial button and conclusion button, for labelling
The original position and end position of sharing video frequency required for user.
By the initial button and conclusion button of the setting in player interface, user can enter to video
Line position tagging, by the original position for clicking on initial button label sharing video frequency, clicks on conclusion button
The end position of mark-sha-ring video.Player is believed by judging the triggering of initial button and conclusion button
Breath is marked to former video.
303rd, shared with the trigger message record of conclusion button according to the trigger message of initial button respectively and regarded
The original position and end position of frequency.
Player, first can be according to 302 when one section of video is intercepted by original position and end position
The trigger message of middle initial button generates a start mark, broadcasting of the start mark in the video
For first position, and the first position is exactly sharing video frequency original position.Equally, according to conclusion button
Trigger message regenerate an end mark, the play position of the end mark is the second position, should
The second position is exactly sharing video frequency end position.Html5 video players in the present embodiment can pass through
A kind of js (JavaScript, script) script realizes the concrete control to player, and such as play (broadcasts
Put), pause (time-out), seeking (redirecting), the control instruction on the basis such as stop (stopping).And
After player gets the trigger message of button, the video.currentTime of js codes can be passed through
Instruct to obtain the play position of currently playing video.For example, user pressed at the 30th second starting by
Button, player can be obtained by according to the trigger message of initial button by video.currentTime instructions
Original position mark (st=30) of sharing video frequency, user pressed conclusion button, player at the 60th second
Sharing video frequency can be obtained by by video.currentTime instructions according to the trigger message of conclusion button
End position mark (et=60).After labelling, player is assured that the 30th of the video
Second was the video segment that user wants to share by the 60th second.
Wherein, when the reproduction time of a video is longer, in order to accelerate the entirety loading to the video,
Usually the video is divided into into some end to end segments, while being loaded.And incite somebody to action for this
Video is divided into the video of multiple segments, and above-mentioned first position is current with the video of start mark institute labelling
Play position is simultaneously differed, if the current play position for obtaining is the first play position, then this
Playout length shown by one play position is the length in currently playing segment, rather than is entirely regarded
Total length of the frequency from starting position to current location.Therefore, when the play position of sharing video frequency is obtained,
The inaccurate problem of location point for obtaining will occur, to solve the problem can be by the way that first be played
The length of position, the total length of the segment video played before adding, to obtain first position
Video length.Equally, in the second position of the end position of sharing video frequency, it would however also be possible to employ same
The cumulative mode of sample.Illustrate, the video of 30 minutes is divided into first paragraph 5 minutes, the
Two-stage nitration 10 minutes, the 3rd section 15 minutes, if the user while the 8th minute of video click on initial button,
So player is exactly 3 minutes by the acquired original position of video.currentTime instructions, i.e., when
The position of front broadcasting is the 3rd minute of second segment.When end position is obtained, the problem is equally existed.
Therefore, when for such situation, player will obtain the original position and stop bits of sharing video frequency
Put, it is necessary to first obtain the segment information of video, determine the playout length of each video segment, then
The position length for obtaining video playback current clip is instructed by video.currentTime, while determining
Jing plays excessive fragment, and the position length of the length and current clip of playing fragment is added up,
The value for being drawn is defined as the original position of sharing video frequency or the value of end position.
304th, original position and end position are added in the chained address of video, are obtained containing sharing
Video playback positional information shares chained address.
Original position and end position are added in the chained address of video, for example, are obtained in 301
Video link address is www.xxx.com/12345, and player is touched by initial button and conclusion button
The original position and end position of the sharing video frequency of photos and sending messages labelling is respectively st=30, et=60, then
The chained address of sharing of the sharing video frequency for ultimately generating is www.xxx.com/12345St=30&et=60.
305th, chained address will be shared to be shared.
It is finally will newly to obtain believing with sharing video frequency play position by the sharing function in player
Breath chained address of sharing be sent in the platform for wanting to share, for example, share wechat circle of friends,
QQ spaces, microblogging etc..
Through the above-mentioned method for carrying out video sharing using html5 video players, next will be right
How to carry out sharing video frequency broadcasting by the chained address shared to be specifically described, as shown in figure 4,
Concrete mode includes:
401st, receive video shares chained address.
The video player for sharing chained address for being used to receive in the present embodiment is html5 video playbacks
Device, includes original position, end position and the sharing video frequency for enjoying video in the chained address for receiving
The chained address of the former video in place.With reference to Fig. 3, the chained address that this step is received is shared by 306
Chained address.
402nd, original position, the end position of sharing video frequency play position in video is determined.
Share chained address according to 401 acquisitions, to the address resolution, obtain the starting of sharing video frequency
The chained address of position, end position and sharing video frequency place video.
It should be noted that the original position of the sharing video frequency for being obtained, end position, are in original
Play position in video, for example, from www.xxx.com/12345St=30&et=60 is solved in address
St=30, et=60 of precipitation is respectively the original position the 30th second and end position the 60th of sharing video frequency
Second, wherein, the 30th second and the 60th second is all the play position in former video.
403rd, the information of video segment in video is obtained.
The step is that the above-mentioned presence of correspondence has the situation that segment processing is carried out to longer video, player
Before video resource is loaded according to the chained address of video, video present in the video should be first obtained
The information of fragment, if video is not segmented, can by the number of fragments of video be considered as one section it is right
Treat.Wherein, in the information of video segment, serial number information, the video segment of video segment is included
Length, and the link address corresponding to the video segment.
By to be video segmentation, loading simultaneously, class can be carried out to multistage video in player
Download tool is similar to when big file download is carried out, the pattern that the multithreading for using is downloaded.In this enforcement
In example, the information of video segment is usually to follow video resource together to store in the server, by broadcasting
Put device together to obtain when video is loaded.
404th, according to the play position and the information of video segment of sharing video frequency, rising for sharing video frequency is calculated
Beginning position, end position play position of the correspondence in concrete video segment.
According to regarding for obtaining in original position, the end position and 403 of the sharing video frequency determined in 402
The information of frequency fragment, calculates original position, the end position correspondence of sharing video frequency in concrete video segment
In play position.
In the video with multiple video segments, due to resulting original position, end position all
It is that, relative to the position in whole video, and in the video of multistage, player will be unable to confirm starting
Concrete video segment and the position in the fragment that position or end position are located.Therefore, play
Device in order to determine detailed position, can by according to the length of acquired original position and end position,
Playing sequence according to video segment is split, and most at last original position and end position are positioned respectively
To on the particular location in concrete segmentation.
405th, sharing video frequency place video is loaded according to the chained address of sharing video frequency place video.
After the video segment that the original position and end position that calculate sharing video frequency are located, player
Corresponding video segment can be preferentially loaded, and after the loading for completing sharing video frequency, can be right
Former video proceeds loading.
406th, according to the original position and end position of sharing video frequency, the sharing video frequency is played.
Player while loading preferential to sharing video frequency, if original position has been loaded and completed
The position of broadcasting can be jumped directly to original position.While sharing video frequency broadcasting is carried out, broadcast
Putting device can carry out real-time monitoring by registering ontimeupdate events to the position of video playback, and
Judge whether the position played has arrived at end position, the broadcasting of video is suspended if reaching.Deng
Treat next step operational order of the user to player.
Further, as the realization to said method, a kind of video point is embodiments provided
The device enjoyed, the device is arranged in the video player of sharing video frequency user side, as shown in figure 5,
The device includes:
First acquisition unit 51, for obtaining the chained address of video, comprising in need in the video
The video shared.
Second acquisition unit 52, for obtaining the original position and end position that need sharing video frequency.
Adding device 53, for the original position that obtains the second acquisition unit 52 and end position
In being added to the chained address of the video of the acquisition of the first acquisition unit 51, obtain sharing containing described
Video playback positional information shares chained address.
Shared shares unit 54, the chained address of sharing for the adding device 53 to be obtained.
Further, as shown in fig. 6, the second acquisition unit 52 of described device includes:
Receiver module 521, for receiving video playback interface in initial button trigger message and end press
The trigger message of button, the initial button and conclusion button are used for the broadcasting position of sharing video frequency described in labelling
Put.
Logging modle 522, the trigger message of the initial button for being received according to the receiver module 521
Record the original position of the sharing video frequency.
The logging modle 522 is additionally operable to, the conclusion button received according to the receiver module 521
Trigger message records the end position of the sharing video frequency.
Further, the logging modle 522 in the second acquisition unit 52 includes:
Acquisition submodule, the video start mark that the trigger message for obtaining the initial button is generated
In the first play position of affiliated video segment, the video includes multiple end to end video segments.
The acquisition submodule is additionally operable to obtain the video of the trigger message generation of the conclusion button and terminates
It is marked at the second play position of affiliated video segment.
Calculating sub module, for the information of the video segment according to belonging to the video start mark, meter
Calculate first position of first play position in the video.
The calculating sub module is additionally operable to the letter of the video segment according to belonging to the video end mark
Breath, calculates the second position of second play position in the video.
Labelling submodule, for the first position in the video to be labeled as into rising for the sharing video frequency
Beginning position.
The labelling submodule is additionally operable to for the second position in the video to be labeled as the sharing video frequency
End position.
Further, the calculating sub module in the logging modle is additionally operable to, and obtains described first and plays
First length of the position in affiliated video segment and played before affiliated video segment
Second length of video segment, and first length and the second length are added up, obtain described first
First position of the play position in the video;And acquisition second play position is regarded affiliated
The 3rd length in frequency fragment and played before affiliated video segment the of video segment
Four length, the 3rd length and the 4th length are added up, and obtain second play position described
The second position in video.
Further, the embodiment of the present invention additionally provides a kind of video sharing device, as shown in fig. 7,
The device is used in the video player for watching sharing video frequency user side, and the device includes:
Receiving unit 71, it is described to share chained address Zhong Bao for receiving the chained address of sharing of video
Include the chained address of the original position, end position and sharing video frequency place video of sharing video frequency.
Resolution unit 72, the chained address of sharing for parsing the reception of the receiving unit 71 obtains described
The chained address of the original position, end position and sharing video frequency place video of sharing video frequency.
Loading unit 73, for the sharing video frequency place video that parsed according to the resolution unit 72
Chained address loading sharing video frequency place video.
Broadcast unit 74, after the completion of loading in loading unit 73, according to the resolution unit 72
The original position and end position of the sharing video frequency for parsing, plays the sharing video frequency.
Further, as shown in figure 8, the resolution unit 72 of described device includes:
Determining module 721, for determining that the original position of the sharing video frequency, end position are regarded described
Play position in frequency.
Acquisition module 722, for obtaining the video in video segment information, the video segment is
When the video exceedes predetermined length, for the ease of overall loading by after the Video segmentation into many
Section video.
Computing module 723, the play position of the sharing video frequency for being determined according to the determining module 721
The information of the video segment obtained with the acquisition module 722, calculates the start bit of the sharing video frequency
Put, end position corresponds to the play position in concrete video segment.
In sum, the video sharing method and device that the embodiment of the present invention is adopted, is to share end
With the mode for watching a kind of video sharing that end is realized completing jointly, modification video is passed through by participator
Chained address, it would be desirable to which the positional information of the starting and ending of the video shared is added to the chain of former video
In ground connection location, then shared, the chained address of the sharing video frequency first solves when being opened by beholder
The video location information contained in the address is analysed, video is carried out further according to the positional information for parsing adding
Carry and play.Existing video technology of sharing is compared, the present invention need not be carried out by server to video
The operation of intercepting, it is only necessary to which participator obtains the chained address of former video, it is possible to locally realize it is right
The labelling of Highlights in video, generates new chained address, then shares the link, and by beholder
Directly parsed, loaded and played in chained address locally new to this, again without by
Server is realizing the direct broadcasting to video highlight part.Therefore, the video point that the present invention is realized
The scheme of enjoying eliminates the link of server process, so as to accelerate to the time needed for video intercepting operation,
Improve the efficiency of video sharing.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part being described in detail, may refer to the associated description of other embodiment.
It is understood that said method and the correlated characteristic in device can be referred to mutually.In addition,
" first ", " second " in above-described embodiment etc. is, for distinguishing each embodiment, and not represent each enforcement
The quality of example.
Those skilled in the art can be understood that, for convenience and simplicity of description, above-mentioned
The specific work process of the system, apparatus, and unit of description, in may be referred to preceding method embodiment
Corresponding process, will not be described here.
Provided herein algorithm and show not with any certain computer, virtual system or miscellaneous equipment
It is intrinsic related.Various general-purpose systems can also be used together based on teaching in this.According to above
Description, the structure constructed required by this kind of system is obvious.Additionally, the present invention is also not for
Any certain programmed language.It is understood that, it is possible to use various programming languages realize described here
The content of invention, and the description done to language-specific above is to disclose the optimal reality of the present invention
Apply mode.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that
Embodiments of the invention can be put into practice in the case of without these details.In some instances,
Known method, structure and technology are not been shown in detail, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect
It is individual or multiple, in above to the description of the exemplary embodiment of the present invention, each feature of the invention
Sometimes in being grouped together into single embodiment, figure or descriptions thereof.However, should be by
The method of the disclosure is construed to reflect following intention:I.e. the present invention for required protection requires ratio at each
The more features of feature being expressly recited in claim.More precisely, as following right will
As asking book to reflect, inventive aspect is all features less than single embodiment disclosed above.
Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment,
Wherein each claim itself is used as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out to the module in the equipment in embodiment
Adaptively change and they are arranged in one or more equipment different from the embodiment.
Module or unit or component in embodiment can be combined into a module or unit or component, and
In addition multiple submodule or subelement or sub-component can be divided into.Except such feature and/or
Outside at least some in process or unit is excluded each other, can be using any combinations to this explanation
All features disclosed in book (including adjoint claim, summary and accompanying drawing) and such as the displosure
Any method or all processes or unit of equipment be combined.Unless expressly stated otherwise, originally
Each feature disclosed in description (including adjoint claim, summary and accompanying drawing) can be by carrying
Replace for the alternative features of identical, equivalent or similar purpose.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include
Some included features rather than further feature in other embodiments, but the feature of different embodiments
Combination mean to be within the scope of the present invention and formed different embodiments.For example, under
In the claims in face, embodiment required for protection one of arbitrarily can be in any combination
Mode is using.
The all parts embodiment of the present invention can be realized with hardware, or with one or more
The software module run on reason device is realized, or is realized with combinations thereof.Those skilled in the art
It should be appreciated that can be realized using microprocessor or digital signal processor (DSP) in practice
Some in denomination of invention (device as determined website internal chaining grade) according to embodiments of the present invention
Or some or all functions of whole parts.The present invention is also implemented as performing institute here
Some or all equipment of the method for description or program of device (for example, computer program and
Computer program).Such program for realizing the present invention can be stored in computer-readable medium
On, or can have the form of one or more signal.Such signal can be from the Internet net
Download on standing and obtain, or provide on carrier signal, or provide in any other form.
It should be noted that above-described embodiment the present invention will be described rather than the present invention is limited
Make, and those skilled in the art can design without departing from the scope of the appended claims
Alternative embodiment.In the claims, any reference markss between bracket should not be configured to
Limitations on claims.Word "comprising" does not exclude the presence of element not listed in the claims or step
Suddenly.Word "a" or "an" before element does not exclude the presence of multiple such elements.The present invention
Can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be logical
Cross same hardware branch to embody.The use of word first, second, and third is not indicated that
Any order.These words can be construed to title.
Claims (10)
1. a kind of method of video sharing, it is characterised in that methods described includes:
The chained address of video is obtained, the video shared in need is included in the video;
Acquisition needs the original position and end position of sharing video frequency;
The original position and end position are added in the chained address of the video, are contained
The sharing video frequency play position information shares chained address;
The chained address of sharing is shared.
2. method according to claim 1, it is characterised in that the acquisition needs sharing video frequency
Original position and end position include:
Receive the trigger message and the trigger message of conclusion button of initial button in video playback interface, institute
Stating initial button and conclusion button is used for the play position of sharing video frequency described in labelling;
Divide according to the trigger message of the initial button and the trigger message record of conclusion button respectively
Enjoy the original position and end position of video.
3. method according to claim 2, it is characterised in that described according to the initial button
Trigger message record the original position of the sharing video frequency and include:
The video start mark of trigger message generation of the initial button is obtained in affiliated video segment
First play position, the video includes multiple end to end video segments;
The information of the video segment according to belonging to the video start mark, calculates described first and plays position
Put the first position in the video;
First position in the video is labeled as into the original position of the sharing video frequency;
The trigger message according to the conclusion button records the end position bag of the sharing video frequency
Include:
The video end mark of trigger message generation of the conclusion button is obtained in affiliated video segment
Second play position;
The information of the video segment according to belonging to the video end mark, calculates described second and plays position
Put the second position in the video;
The second position in the video is labeled as into the end position of the sharing video frequency.
4. method according to claim 3, it is characterised in that described according to video starting
The information of the video segment belonging to labelling, calculates first of first play position in the video
Position, including:
Obtain first length of first play position in affiliated video segment and in affiliated video
Second length of the video segment played before fragment;
First length and the second length are added up, first play position is obtained in the video
In first position;
The information of the video segment according to belonging to the video end mark, calculates described second and broadcasts
The second position of the position in the video is put, including:
Obtain threeth length of second play position in affiliated video segment and in affiliated video
4th length of the video segment played before fragment;
3rd length and the 4th length are added up, second play position is obtained in the video
In the second position.
5. a kind of video sharing method, it is characterised in that methods described includes:
Receive video shares chained address, and the chained address of sharing includes the starting of sharing video frequency
The chained address of position, end position and sharing video frequency place video;
Parsing is described to share chained address and obtains the original position of the sharing video frequency, end position and divide
Enjoy the chained address of video place video;
Sharing video frequency place video is loaded according to the chained address of sharing video frequency place video;
According to the original position and end position of the sharing video frequency, the sharing video frequency is played.
6. method according to claim 5, it is characterised in that share link described in the parsing
The link of the original position, end position and sharing video frequency place video of sharing video frequency described in address acquisition
Address includes:
Determine the play position of the original position, end position of the sharing video frequency in the video;
The information of video segment in the video is obtained, the video segment is when the video exceedes in advance
During measured length, for the ease of overall loading by after the Video segmentation into multistage video;
According to the play position and the information of the video segment of the sharing video frequency, share described in calculating
Play position of the original position, end position correspondence of video in concrete video segment.
7. a kind of device of video sharing, it is characterised in that described device includes:
First acquisition unit, for obtaining the chained address of video, includes in need point in the video
The video enjoyed;
Second acquisition unit, for obtaining the original position and end position that need sharing video frequency;
Adding device, the chain for the original position and end position to be added to the video is grounded
In location, obtain sharing chained address containing the sharing video frequency play position information;
Shares unit, for the chained address of sharing to be shared.
8. device according to claim 7, it is characterised in that the second acquisition unit includes:
Receiver module, for receiving video playback interface in initial button trigger message and conclusion button
Trigger message, the initial button and conclusion button are used for the play position of sharing video frequency described in labelling;
Logging modle, the trigger message record institute of the initial button for being received according to the receiver module
State the original position of sharing video frequency;
The logging modle is additionally operable to, the trigger message of the conclusion button received according to the receiver module
Record the end position of the sharing video frequency.
9. a kind of video sharing device, it is characterised in that described device includes:
Receiving unit, for receiving the chained address of sharing of video, the chained address of sharing includes
The chained address of the original position, end position and sharing video frequency place video of sharing video frequency;
Resolution unit, for parse it is described share chained address obtain the sharing video frequency original position,
The chained address of end position and sharing video frequency place video;
Loading unit, for loading sharing video frequency according to the chained address of sharing video frequency place video
Place video;
Broadcast unit, for according to the original position and end position of the sharing video frequency, playing described
Sharing video frequency.
10. device according to claim 9, it is characterised in that the resolution unit includes:
Determining module, for determining original position, the end position of the sharing video frequency in the video
In play position;
Acquisition module, for obtaining the video in video segment information, the video segment be work as
When the video exceedes predetermined length, for the ease of overall loading by after the Video segmentation into multistage
Video;
Computing module, for according to the information of the play position of the sharing video frequency and the video segment,
Calculate the broadcasting position of the original position, end position correspondence of the sharing video frequency in concrete video segment
Put.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510696204.8A CN106612469A (en) | 2015-10-23 | 2015-10-23 | Video sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510696204.8A CN106612469A (en) | 2015-10-23 | 2015-10-23 | Video sharing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106612469A true CN106612469A (en) | 2017-05-03 |
Family
ID=58612512
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510696204.8A Pending CN106612469A (en) | 2015-10-23 | 2015-10-23 | Video sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106612469A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682744A (en) * | 2017-09-29 | 2018-02-09 | 惠州Tcl移动通信有限公司 | Method, storage medium and the mobile terminal of video segment output |
CN109819306A (en) * | 2018-12-29 | 2019-05-28 | 华为技术有限公司 | Media file clipping method, electronic device and server |
CN110868638A (en) * | 2019-11-25 | 2020-03-06 | 天脉聚源(杭州)传媒科技有限公司 | Automatic playing method of video watching point, terminal and server |
CN111694986A (en) * | 2020-06-12 | 2020-09-22 | 北京奇艺世纪科技有限公司 | Video recommendation method and device, electronic equipment and storage medium |
CN114225364A (en) * | 2020-09-14 | 2022-03-25 | 成都拟合未来科技有限公司 | Real-time interaction method and system |
CN114449327A (en) * | 2021-12-31 | 2022-05-06 | 北京百度网讯科技有限公司 | Video clip sharing method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103647991A (en) * | 2013-12-23 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Method and system for sharing video in intelligent television |
CN104427404A (en) * | 2013-08-20 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Video segment extraction and play methods and devices |
CN104506937A (en) * | 2015-01-06 | 2015-04-08 | 三星电子(中国)研发中心 | Method and system for sharing processing of audios and videos |
CN104717559A (en) * | 2013-12-13 | 2015-06-17 | 中国电信股份有限公司 | Method, video server and system for sharing online video |
-
2015
- 2015-10-23 CN CN201510696204.8A patent/CN106612469A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104427404A (en) * | 2013-08-20 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Video segment extraction and play methods and devices |
CN104717559A (en) * | 2013-12-13 | 2015-06-17 | 中国电信股份有限公司 | Method, video server and system for sharing online video |
CN103647991A (en) * | 2013-12-23 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Method and system for sharing video in intelligent television |
CN104506937A (en) * | 2015-01-06 | 2015-04-08 | 三星电子(中国)研发中心 | Method and system for sharing processing of audios and videos |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682744A (en) * | 2017-09-29 | 2018-02-09 | 惠州Tcl移动通信有限公司 | Method, storage medium and the mobile terminal of video segment output |
CN109819306A (en) * | 2018-12-29 | 2019-05-28 | 华为技术有限公司 | Media file clipping method, electronic device and server |
CN110868638A (en) * | 2019-11-25 | 2020-03-06 | 天脉聚源(杭州)传媒科技有限公司 | Automatic playing method of video watching point, terminal and server |
CN111694986A (en) * | 2020-06-12 | 2020-09-22 | 北京奇艺世纪科技有限公司 | Video recommendation method and device, electronic equipment and storage medium |
CN114225364A (en) * | 2020-09-14 | 2022-03-25 | 成都拟合未来科技有限公司 | Real-time interaction method and system |
CN114449327A (en) * | 2021-12-31 | 2022-05-06 | 北京百度网讯科技有限公司 | Video clip sharing method and device, electronic equipment and readable storage medium |
CN114449327B (en) * | 2021-12-31 | 2024-03-26 | 北京百度网讯科技有限公司 | Video clip sharing method and device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106612469A (en) | Video sharing method and device | |
US9948965B2 (en) | Manifest re-assembler for a streaming video channel | |
CN103620639B (en) | The selective digital service information source of many carousel parts | |
US8407609B2 (en) | System and method for providing and tracking the provision of audio and visual presentations via a computer network | |
CA2824368C (en) | Creation of video bookmarks via scripted interactivity in advanced digital television | |
CN106303732A (en) | Interactive approach based on net cast, Apparatus and system | |
CN105095480B (en) | To the real-time offer of the link of portion of media object in social networks update | |
US8510333B2 (en) | Methods, systems, and apparatus for developing widgets | |
US20140040026A1 (en) | Systems and methods for including advertisements in streaming content | |
US8504918B2 (en) | Identification of video segments | |
CN104135692B (en) | The loading display method and loaded and displayed device of video information | |
CN103609131A (en) | Reception device, reception method, transmission device, transmission method, and program | |
CN110175291B (en) | Hand trip recommendation method, storage medium, equipment and system based on similarity calculation | |
US20170168697A1 (en) | Systems and methods for playing videos | |
WO2012129336A1 (en) | Methods, systems, and media for managing conversations relating to content | |
CN104348714A (en) | Mobile terminal, server and friend-based application program recommendation method | |
CN110913135A (en) | Video shooting method and device, electronic equipment and storage medium | |
CN111711861B (en) | Video processing method and device, electronic equipment and readable storage medium | |
US11778286B2 (en) | Systems and methods for summarizing missed portions of storylines | |
CN107071525A (en) | Output processing method, client and the system of media file | |
CN102802073B (en) | Image processing equipment and method | |
CN109120954A (en) | Video messaging method for pushing, device, computer equipment and storage medium | |
CN106488256A (en) | A kind of data processing method and device | |
CN106131689A (en) | Method for downloading video and device | |
CN108174300A (en) | Video playing control method, storage medium and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170503 |
|
RJ01 | Rejection of invention patent application after publication |