CN107566906A - A kind of video comments processing method and processing device - Google Patents
A kind of video comments processing method and processing device Download PDFInfo
- Publication number
- CN107566906A CN107566906A CN201710758929.4A CN201710758929A CN107566906A CN 107566906 A CN107566906 A CN 107566906A CN 201710758929 A CN201710758929 A CN 201710758929A CN 107566906 A CN107566906 A CN 107566906A
- Authority
- CN
- China
- Prior art keywords
- comment
- time point
- label
- fixed point
- video
- 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.)
- Granted
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a kind of video comments processing method and processing device, belong to field of computer technology.Video comments processing method provided in an embodiment of the present invention, corresponding video playback time determines time point information when can be sent according to the first comment and the first comment, the time point information is generated into corresponding fixed point and plays label, then fixed point is played into label and first comment association the second comment of generation, shows second comment.So, user is commented on by clicking on the second of the display, you can control video location play position corresponding to, is eliminated user and is manually adjusted play position according to video comments, simplify operation, and then improve regulated efficiency;Video playback position corresponding to the first comment can accurately be reflected by playing the time point information of label for generating fixed point simultaneously, therefore improve the accuracy that video playback position is determined according to comment.
Description
Technical field
The invention belongs to field of computer technology, more particularly to a kind of video comments processing method and processing device.
Background technology
With the continuous development of computer technology, often using terminal watches video, current video playback to user
Program can all provide video comments function.Video comments can often embody the excellent point of the video.Therefore, how according to video
Comment navigates to corresponding play position, the problem of turning into people's extensive concern.
In the prior art, when user see video comments interested want to find corresponding to play position play out
When, it is necessary to determine corresponding play position according to oneself understanding to the video comments content, then, manually adjust video
Playing progress rate to corresponding time point plays out.
However, manual adjusting style of the prior art, cumbersome, convenience is relatively low.Meanwhile user is right according to oneself
The specific play time that the understanding of video content is determined, can be influenceed by subjective understanding, cause determine out when
Between put inaccurate, or even corresponding time point can not be determined.
The content of the invention
The present invention provides a kind of video comments processing method and processing device, to solve to enter according to comment adjustment video playback
Degree, the problem of cumbersome and accuracy rate is relatively low.
According to the first aspect of the present invention, there is provided a kind of video comments processing method, this method include:
Receive the first comment that user sends;
Corresponding video playback time determines that time point believes when being sent according to the described first comment and first comment
Breath;
Label is played according to fixed point corresponding to time point information generation;The fixed point plays label and is used to enter video
Row fixed point plays;
The fixed point is played into label to associate with the described first comment, with the comment of generation second;
Show second comment.
Optionally, it is described true according to corresponding video playback time when the described first comment and the first comment transmission
The step of information of fixing time, including:
Using default regular expression time point fields match is carried out in the described first comment;
If matching time point field, the time point field that will match to is defined as time point information;
If not matching time point field, corresponding video playback time is defined as when the described first comment is sent
Time point information.
Optionally, it is described that the fixed point is played into the step of label associates with the described first comment, including:
When existence time point field in the described first comment, the fixed point is played into label and the time point field is closed
Connection.
Optionally, after described the step of associating the fixed point broadcasting label with the time point field, the side
Method also includes:The time point field is arranged to highlighted state, so as to described in the triggering when the time point field is clicked
Fixed point plays label and carries out fixed point broadcasting to the video.
Optionally, described the step of associating the fixed point broadcasting label with the described first comment, includes:When described first
When time point field being not present in comment, broadcast button is set in predeterminated position corresponding to the described first comment, and will be described fixed
Point plays label and the broadcast button is associated, and mark is played to trigger the fixed point when the broadcast button is clicked
Label carry out fixed point broadcasting to the video.
According to the second aspect of the present invention, there is provided a kind of video comments processing unit, described device include:
Receiving module, for receiving the first comment of user's transmission;
Determining module, for according to corresponding video playback time when the described first comment and the first comment transmission
Determine time point information;
Generation module, label is played for the fixed point according to corresponding to time point information generation;The fixed point plays mark
Sign for carrying out fixed point broadcasting to video;
Relating module, associated for the fixed point to be played into label with the described first comment, with the comment of generation second;
Display module, for showing second comment.
Optionally, the determining module, including:
Matched sub-block, for carrying out time point field in the described first comment using default regular expression
Match somebody with somebody;
First determination sub-module, if for matching time point field, the time point field that will match to is defined as
Time point information;
Second determination sub-module, if for not matching time point field, it is corresponding when the described first comment is sent
Video playback time be defined as time point information.
Optionally, the relating module, is used for:
When existence time point field in the described first comment, the fixed point is played into label and the time point field is closed
Connection.
Optionally, the relating module, is additionally operable to:
The time point field is arranged to highlighted state, it is described fixed to be triggered when the time point field is clicked
Point plays label and carries out fixed point broadcasting to the video.
Optionally, the relating module, is used for:
When time point field is not present in the described first comment, sets and broadcast in predeterminated position corresponding to the described first comment
Button is put, and the fixed point broadcasting label and the broadcast button are associated, so as to when the broadcast button is clicked
Trigger the fixed point broadcasting label and fixed point broadcasting is carried out to the video.
For first technology, the present invention possesses following advantage:
Video comments processing method and processing device provided by the invention, when can be sent according to the first comment and the first comment
Corresponding video playback time determines time point information, and the time point information is generated into corresponding fixed point plays label, then will
Fixed point plays label and first comment association the second comment of generation, shows second comment.So, user is by clicking on the display
The second comment, you can control video location to corresponding reproduction time, eliminate user and manually adjusted according to video comments and broadcast
Degree of putting into, operation is simplified, and then improve regulated efficiency;The time point information for playing label for generating fixed point simultaneously can
Accurately video playback time corresponding to the comment of reflection first, therefore improve and the accurate of video playback progress is determined according to comment
Property.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1-1 is the implementation environment schematic diagram involved by video comments processing method provided in an embodiment of the present invention;
Fig. 1-2 is a kind of step flow chart for video comments processing method that the embodiment of the present invention one provides;
Fig. 2-1 is the step flow chart for another video comments processing method that the embodiment of the present invention two provides;
Fig. 2-2 is a kind of user interface map that the embodiment of the present invention two provides;
Fig. 2-3 is another user interface map that the embodiment of the present invention two provides;
Fig. 3 is a kind of block diagram for video comments processing unit that the embodiment of the present invention three provides;
Fig. 4 is a kind of block diagram for video comments processing unit that the embodiment of the present invention four provides.
Embodiment
The exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although the present invention is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
Limited.Conversely, there is provided these embodiments are to be able to be best understood from the present invention, and can be by the scope of the present invention
Completely it is communicated to those skilled in the art.
Fig. 1-1 is the implementation environment schematic diagram involved by video comments processing method provided in an embodiment of the present invention, is such as schemed
Shown in 1-1, the implementation environment can include:Comment on server 110 and at least one mobile terminal 120.
Comment on server 110 can be a server, either by some server groups into server cluster or
It is a cloud computing service center.Mobile terminal 120 can be the smart mobile phone with video playback capability, computer, multimedia
Player, electronic reader, wearable device etc..
Connection can be established between server 110 and mobile terminal 120 by cable network or wireless network by commenting on, when with
When family is commented on the video watched using mobile terminal 120, mobile terminal 120 can use the present invention to implement
First comment of transmission of the video comments method provided in example to user is handled, and is obtained the second comment and is shown, so
The second comment that user is shown by clicking in the video playback page can control the playing progress rate of currently viewing video, comment clothes
The second comment can be stored in business device 110.
Embodiment one
Fig. 1-2 is a kind of step flow chart for video comments processing method that the embodiment of the present invention one provides, applied to shifting
Dynamic terminal, as shown in Figure 1-2, this method can include:
Step 101, receive the first comment that user sends.
The first comment in the embodiment of the present invention refers to transmitted when user is commented on the video watched
Content.After user have sent the first comment, mobile terminal can receive the first comment of user's transmission.Assuming that user "
Three " send area and have sent comment " this film is very good-looking, and anger pushes away by commenting on!", then can incite somebody to action " this film is very good-looking,
Anger pushes away!" it is defined as the first comment.
Step 102, corresponding video playback time determination when sending is commented on according to the described first comment and described first
Time point information.
In the embodiment of the present invention, time point information can be the time point field that the time is represented in the first comment, can also
It is corresponding video playback time when the first comment is sent.Wherein,
Example, it is assumed that first comment for " I 1 hour 20 points see king five " within 10 seconds, that can determine time braille
Section is " 1 hour 20 points and 10 seconds ";Assuming that the first comment is " this film is very good-looking, and anger pushes away!", it is current to see when the comment is sent
The video a seen play to the 19th point 37 seconds, then " 19 points 37 seconds " can be defined as corresponding when first comment is sent regard
Frequency reproduction time.
Due to representing that the time point field of time is more representative in the first comment, therefore, exist in the first comment
The time point field can be defined as time point information during time point field.Using more representative time point field conduct
Time point information, the fixed point subsequently generated according to the time point information can be enabled to play label more accurately by video
Playing progress rate position to relevant position.If in the first comment time point field is not present, this first can be commented
It is defined as time point information by corresponding video playback time when sending, so, avoids and time point is not present in the first comment
Field and the problem of subsequent treatment can not be carried out, ensure that can be normally carried out to video comments processing.
Step 103, the fixed point according to corresponding to time point information generation play label.
In the embodiment of the present invention, the fixed point plays label and can be used for carrying out fixed point broadcasting to video.Assuming that the time point
Time corresponding to information be 20 points 19 seconds, then the fixed point of generation plays label and can be used for from the 20th point carrying out video within 19 seconds
Play.
Step 104, by it is described fixed point play label with described first comment associate, with generate second comment on.
In the embodiment of the present invention, what second comment represented is and fixed point is played after label associate first comments on, can be with
Fixed point broadcasting link is associated with the first comment, the comment of generation second.Specifically, fixed point broadcasting link and first is being commented on into pass
Can associate the fixed point broadcasting link with the time point field in the first comment when connection.
Step 105, display second comment.
Fixed point broadcasting is carried out to video because fixed point broadcasting label can be realized, and second comment is that fixed point plays label
Generation is associated with the first comment, therefore by the comment of display second, such user's can clicks on the second comment, passes through click
Second comment can trigger fixed point and play label progress video fixed-time broadcasting, and then realizes and adjust the playing progress rate of video to this
Comment on the time corresponding to content.
In summary, the video comments processing method that the embodiment of the present invention one provides, can be according to the first comment and the
Corresponding video playback time determines time point information when one comment is sent, and the time point information is generated into corresponding fixed point plays
Label, fixed point is then played into label and first comment association the second comment of generation, shows second comment.So, Yong Hutong
Cross the second comment for clicking on the display, you can control video location reproduction time corresponding to, eliminate user and commented according to video
By playing progress rate is manually adjusted, operation is simplified, and then improve regulated efficiency;Simultaneously for generate fixed point play label when
Between point information can accurately reflect video playback time corresponding to the first comment, therefore improve according to comment determine video broadcast
The accuracy of degree of putting into.
Embodiment two
Fig. 2-1 is the step flow chart for another video comments processing method that the embodiment of the present invention two provides, and is applied to
Mobile terminal, as shown in Fig. 2-1, this method can include:
Step 201, receive the first comment that user sends.
The first comment in the embodiment of the present invention refers to transmitted when user is commented on the video watched
Content.After user have sent the first comment, mobile terminal can receive the first comment of user's transmission.Example, Fig. 2-2
It is a kind of user interface map that the embodiment of the present invention two provides, the user interface map includes:Broadcasting circle of currently playing video
Face 00 and comment send area 01.User comments on to video, when sending the first comment, can send area in comment
First comment is edited in 01 comment input frame, after editor completes, send button can be clicked on, be transmitted.Assuming that with
Family " Li Si " sends area 01 in the comment for the video watched and commented on, and " this film is edited in input frame is commented on
Very good-looking, anger pushes away!" and click on send button and be transmitted, then " Li Si " can be sent " this film is very good-looking, anger
Push away!" it is defined as the first comment.
Step 202, carry out time point fields match in being commented on using default regular expression described first.
Example, regular expression, also known as normal representation method, conventional expressing method (Regular Expression, RE),
It is a key concept in computer science.In computer science, refer to that one is used for describing or matching a series of symbols
Close the single character string of the character string of some syntactic rule.In many text editors or other instruments, regular expression leads to
Often it is used to retrieve and/or replaces those content of text for meeting some pattern.
Regular expression in the embodiment of the present invention can be expressed as:
String pat=" [1-3 1][hour '::] { 0,2 } [0-9 10] { 0,5 }
[minute '::] { 0,2 } [0-9 10] { 0,2 } [second "] { 0,2 } ";
Wherein, String pat represent regular expression;In subexpression [1-3 1] expression matching first " 1,
2nd, 3, one, two and three ";Character "" represent matching subexpression zero degree above or once;Subexpression " [hour '::]”
Represent matching first comment in " hour, ',:And:”;Subexpression { 0,2 } represents at least to match 0 time and at most match 2
It is secondary;Subexpression [0-9 10] represent matching first comment in " 0,1,2,3,4,5,6,7,8,
9th, one, two, three, four, five, six, seven, eight, nine and ten ";Subexpression [minute '::] represent " dividing in the comment of matching first
Clock, ',:And:”;Subexpression [second "] represents " second and " in the comment of matching first ".
Assuming that first comment for " I 1 hour 20 points see king five " within 10 seconds, that can match time field, and " 1 is small
When 20 divide 10 seconds ";Assuming that the first comment is " I sees king five " 1 ' 20 ' 10 ", and that can match time field " 1 ' 20 '
10””;Assuming that first comment for " I one hour 20 points see king five " within ten seconds, then time point field can be matched
" one hour 20 points ten seconds ".
If matching time point field, step 203 is performed, if not matching time point field, performs step
204。
Step 203, the time point field that will match to are defined as time point information.
Example, using matched in above-mentioned steps the time point field come as " 1 hour 20 points 10 seconds ", " 1 ' 20 ' 10 " " with
And exemplified by " one hour 20 points ten seconds ", it can will match the time point field " 1 hour 20 points and 10 seconds " come, " 1 ' 20 ' 10 " "
And " one hour 20 points ten seconds " is defined as time point information.
In practical application, after time point field is determined, the time point field determined can be passed through such as
Lower step A is further processed, and the time point field after processing then is defined as into time point information.
Step A, the other information in the time point field in addition to temporal information is removed.
When the time point field in being commented on using matching regular expressions first, time letter will not be often represented
The other guide of breath also serves as time point fields match and come out, for example, the first comment is " part most made laughs is at the second ten point 19
Seconds 233333 ", then the time point field arrived using default matching regular expressions for " 20 points 19 seconds 233333 ", can be with
Find out and " 233333 " that do not represent the time this part is further comprises in the time point field for matching and.Therefore, if directly
The time point field for matching is defined as time point information, the timing that can cause subsequently to generate according to the time point information is broadcast
The accuracy rate for putting label is relatively low.In the embodiment of the present invention, by by the other information in time point field in addition to temporal information
Remove, reduce disturbing factor, ensure that accuracy rate when generation fixed point plays label.
Example, can be by way of key character extraction, by the part of the expression temporal information in time point field
Extract, and then realize the effect for removing the other information in time point field in addition to temporal information.
Example, the expression formula for carrying out key character extraction can be:
String keys=" hours, when, point, minute, the second,:,:,',’,”";
By the time point field that is come out using default matching regular expressions for " 20 points 19 seconds exemplified by 233333 ",
By way of key character extraction, the other information " 233333 " in the time point field in addition to temporal information can be gone
Remove, obtain " 20 points and 19 seconds ".Now, " 20 points 19 seconds " are defined as time point information.Which reduce disturbing factor, ensures
The fixed point being subsequently generated plays label can be more accurately by video playback progress adjustment to corresponding time.
Step 204, by described first comment send when corresponding video playback time be defined as time point information.
Example, it is assumed that the first comment is " Xiao Ming out, jees~", then using regular expression to this first
Comment is just matched less than time point field when being matched, at this point it is possible to corresponding video playback when first comment is sent
Time is defined as time point information.Assuming that this first comment send when corresponding video playback time be 20 points 19 seconds, then can
To be defined as time point information within 19 seconds by 20 points.
Step 205, the fixed point according to corresponding to time point information generation play label.
In the embodiment of the present invention, the fixed point plays label and can be used for carrying out fixed point broadcasting to video.Assuming that the time point
Time corresponding to information be 20 points 19 seconds, then the fixed point of generation plays label and can be used for from the 20th point carrying out video within 19 seconds
Play.
It can pass through specifically, the fixed point plays label<A href=" javascript:;"@click=
playByStartTime(item)/>Sentence realizes that the sentence represents, when fixed point plays label and is clicked, to perform
" playByStartTime (item) " function.Wherein,<a>Label can be used for defining hyperlink,<a>Attribute in label
Href attributes can serve to indicate that the target of link.The ability of event trigger action in a browser can be utilized simultaneously, by@
Click=playByStartTime (item) inserts html tag to define the behavior of event.Example, pinpoint play function
It can be realized by following code sample:
Wherein, options.tvid, options.startTime and options.quality are video playback control
Option parameter processed, video identity, time started and video quality are represented respectively;item.tvid、
Item.startTime and item.quality, all represent timing play parameter.MyPlayer.play (options) is represented
Play operation is performed according to the parameter of options options.When due to the parameter of options options being all with commenting on corresponding to content
Between put information corresponding to, therefore perform play operation when, directly can be broadcast since the time corresponding to the time point information
Put video.It should be noted that when fixed point broadcasting label is generated according to time point information, can also be by time point information
Pushed away the regular hour before the corresponding specific time, fixed point broadcasting link is then generated according to the time before postponed.Example, it is false
, can be with when generating fixed point according to the time point information and playing label if " 20 points 19 seconds " are defined as into time point information
It will push away 5 seconds before the specific time corresponding to the time point information " 20 points and 19 seconds ", i.e., mark played with " 20 points 15 seconds " generation fixed point
Label.When can so make it that fixed point is carried out to video to be played, it can be commenced play out from the position before the real time, there is provided
Certain buffer time, it ensure that the fluency of video playback.
Step 206, by it is described fixed point play label with described first comment associate, with generate second comment on.
In the embodiment of the present invention, fixed point broadcasting is carried out to video because fixed point broadcasting label can be realized, the fixed point is broadcast
Put label and the first comment association, the comment of generation second, it is possible to achieve play label by clicking on the second comment to trigger fixed point
Video fixed-time broadcasting is carried out, and then realizes and adjusts the playing progress rate of video to position corresponding to the comment content.
Specifically, step 206 can include:
Step 2061, when described first comment in existence time point field when, by it is described fixed point play label and it is described when
Between put field association.
In this step, it can pass through html's<a>Label associates fixed point broadcasting label with time point field to realize.Tool
Body, can using first comment in time point field be used as the content in a labels, and then realize will fixed point broadcasting label and when
Between put field association.
Example, it is assumed that comment content for " I be 1 hour 20 points see within 10 seconds king five ", fixed point play label for "<a
Href=" javascript:;"@click=" playByTime (item)/>", then can be by following example code come real
It is existing:
<span>I<A href=" javascript:;"@click=" playByTime (item) ">1 hour 20
Divide 10 seconds</a>See king five</span>
Wherein,<span>For semantization label, for combining the row interior element in document, so that text is included, shape
Into a single element, it is convenient to comprising content of text pattern is set;Set<A href=" javascript:;Can be with
So that a labels do not redirect but perform@click=" playByTime (item) fixed point play functions.
Step 2062, the time point field is arranged to highlighted state, so as to when the time point field is clicked
Trigger the fixed point broadcasting label and fixed point broadcasting is carried out to the video.
In this step, time point field is arranged to highlighted state, can be that CSS (Cascading is set
Style Sheets, CSS) come to this time braille section addition pattern be arranged to highlighted state.Pass through in the embodiment of the present invention by
Time point field is arranged to highlighted state, can more protrude the position of time point field in the first comment, so when user needs
Click on the time point field carry out fixed point play when, can be more convenient determine time braille in the first comment
The position of section.
Step 2063, when time point field is not present in the described first comment, default corresponding to the described first comment
Position sets broadcast button, and the fixed point broadcasting label and the broadcast button are associated, to be pressed when the broadcasting
The fixed point broadcasting label is triggered when button is clicked fixed point broadcasting is carried out to the video.
In this step, predeterminated position corresponding to the first comment can be the starting position of the first comment, centre position or
End position, the embodiment of the present invention are not construed as limiting to this.In the embodiment of the present invention, the ending that is the first comment with the predeterminated position
Exemplified by position, schematically illustrated.
Specifically, it can pass through<a>Label and CSS realize increase broadcast button, by broadcast button and fixed
It can be realized by following code sample that point, which plays label association,:
<span>Xiao Ming has come out~~and opened smoked<A class=" playBtn " href=" javascript:;”
@click=" playByTime (item) "></a></span>
After completing to associate, mobile terminal can be shown the first comment after association as the second comment.
User is when video is watched, it is possible to by clicking on the either highlighted state of the broadcast button in the second comment
Time point field, realize and fixed point broadcasting carried out to video.Example, Fig. 2-3 is the another kind that the embodiment of the present invention two provides
User interface map, as Figure 2-3, the user interface map include:The broadcast interface 00 of currently playing video, comment send area
01 and region 02 of having made comments, wherein, region 02 of having made comments includes two second comments of display, this two second
Comment is respectively:Second comment A and the second comment B.From Fig. 2-3 it can be seen that display second comment A " I am at 20 points
The time point field " 20 points and 19 seconds " seen in king five " for 19 seconds is highlighted state, and " Xiao Ming incarnation Xiao Zhang goes out the second comment B
Come~" ending be provided with broadcast button.When practical operation, user can be by clicking on highlighted state
" 20 points 19 seconds " by the reproduction time of currently playing video adjust to the 20th point 19 seconds, will be current by clicking on broadcast button
The reproduction time for playing video is adjusted to corresponding video playback time during the second comment B transmissions.
It should be noted that the first comment that some in practical application do not include time point field is not of practical significance,
Therefore in another alternative embodiment of the present invention, for the first comment not comprising time point field, can be commented for first
By before setting broadcast button, the first comment that first these are not included with time point field is screened, if first comment
For the comment being of practical significance, then broadcast button is set for first comment;If first comment is no practical significance
Comment, can not be that first comment sets broadcast button.
Example, when being screened, it can be screened according to the length of the first comment.If general first comment
Length it is especially short if, then it is considered that the no practical significance of the first comment.Therefore it can first pass through what is manually chosen
Mode, obtain largely do not have practical significance comment, then calculate these comment on average length, using the average length as
Pre-set length threshold.Further, when being screened to the first comment, length can be more than to the first of the pre-set length threshold
Comment is defined as the comment being of practical significance, and first comment of the length no more than the pre-set length threshold is defined as without actual
The comment of meaning.When specific implementation, the first comment can also be screened by other means, such as, by right
First comment carries out semantics recognition to screen, etc., and the embodiment of the present invention is not limited this.
Step 207, display second comment.
In practical application, after step 207, the described second comment can also be sent to default comment server.
Specifically, the second comment can be sent into default comment server, comment server receive this second
It can be stored after comment.It can so ensure that comment before is all when video is opened broadcasting again
Normally it can load out., can also be by video labeling (Identity, ID) information corresponding to the second comment in practical application
It is sent to default comment server to be stored in order to comment on server, the embodiment of the present invention is not construed as limiting this.
In summary, the video comments processing method that the embodiment of the present invention two provides, can be according to the first comment and the
Corresponding video playback time determines time point information when one comment is sent, and the time point information is generated into corresponding fixed point plays
Label, fixed point is then played into label and first comment association the second comment of generation, shows second comment.So, Yong Hutong
Cross the second comment for clicking on the display, you can control video location reproduction time corresponding to, eliminate user and commented according to video
By playing progress rate is manually adjusted, simplify operation, and then improve regulated efficiency, due to for generate pinpoint play label when
Between point information can accurately reflect video playback time corresponding to the first comment, therefore improve according to comment determine video broadcast
The accuracy of degree of putting into;Meanwhile after time point field is determined, can also by time point field in addition to temporal information
Other information region, improves the accuracy of time point field, and then improves accuracy rate when generation fixed point plays label.
Embodiment three
Fig. 3 is a kind of block diagram for video comments processing unit that the embodiment of the present invention three provides, as shown in figure 3, the device
30 can include:
Receiving module 301, for receiving the first comment of user's transmission.
Determining module 302, for according to corresponding video playback when the described first comment and the first comment transmission
Time determines time point information.
Generation module 303, label is played for the fixed point according to corresponding to time point information generation;The fixed point plays
Label is used to carry out fixed point broadcasting to video.
Relating module 304, associated for the fixed point to be played into label with the described first comment, with the comment of generation second.
Display module 305, for showing second comment.
In summary, the video comments processing unit that the embodiment of the present invention three provides, determining module can be commented according to first
By and first comment send when corresponding video playback time determine time point information, generation module can believe the time point
Fixed point corresponding to breath generation plays label, and then relating module can play fixed point on label and the first comment association generation second
Comment, show second comment.So, user is commented on by clicking on the second of the display, you can control video location is to correspondingly
Reproduction time, eliminate user and manually adjust playing progress rate according to video comments, simplify operation, so improve adjustment effect
Rate;When video playback corresponding to the first comment can accurately be reflected by playing the time point information of label for generating fixed point simultaneously
Between, therefore improve the accuracy that video playback progress is determined according to comment.
Example IV
Fig. 4 is a kind of block diagram for video comments processing unit that the embodiment of the present invention four provides, as shown in figure 4, the device
40 can include:
Receiving module 401, for receiving the first comment of user's transmission.
Determining module 402, for according to corresponding video playback when the described first comment and the first comment transmission
Time determines time point information.
Generation module 403, label is played for the fixed point according to corresponding to time point information generation;The fixed point plays
Label is used to carry out fixed point broadcasting to video.
Relating module 404, associated for the fixed point to be played into label with the described first comment, with the comment of generation second.
Display module 405, for showing second comment.
Optionally, above-mentioned determining module 402, can include:
Matched sub-block 4021, for carrying out time point field in the described first comment using default regular expression
Matching.
First determination sub-module 4022, if for matching time point field, the time point field that will match to is true
It is set to time point information.
Second determination sub-module 4023, if for not matching time point field, when the described first comment is sent
Corresponding video playback time is defined as time point information.
Optionally, above-mentioned relating module 404, is additionally operable to:
When existence time point field in the described first comment, the fixed point is played into label and the time point field is closed
Connection.
Optionally, above-mentioned relating module 404, is additionally operable to:
The time point field is arranged to highlighted state, it is described fixed to be triggered when the time point field is clicked
Point plays label and carries out fixed point broadcasting to the video.
Optionally, above-mentioned relating module 404, is additionally operable to:
When time point field is not present in the described first comment, sets and broadcast in predeterminated position corresponding to the described first comment
Button is put, and the fixed point broadcasting label and the broadcast button are associated, so as to when the broadcast button is clicked
Trigger the fixed point broadcasting label and fixed point broadcasting is carried out to the video.
In summary, the video comments processing unit that the embodiment of the present invention four provides, determining module can be commented according to first
By and first comment send when corresponding video playback time determine time point information, generation module can believe the time point
Fixed point corresponding to breath generation plays label, and then relating module can play fixed point on label and the first comment association generation second
Comment, show second comment.So, user is commented on by clicking on the second of the display, you can control video location is to correspondingly
Reproduction time, eliminate user and manually adjust playing progress rate according to video comments, simplify operation, so improve adjustment effect
Rate, when the time point information due to pinpointing broadcasting label for generating can accurately reflect video playback corresponding to the first comment
Between, therefore improve the accuracy that video playback progress is determined according to comment;Meanwhile after time point field is determined, also
By the other information region in time point field in addition to temporal information, the accuracy of time point field, Jin Erti can be improved
High generation fixed point plays accuracy rate during label.For said apparatus embodiment, because it is basic with embodiment of the method
Similar, so description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It would have readily occurred to a person skilled in the art that be:Any combination application of above-mentioned each embodiment is all feasible, therefore
Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited,
This is not just detailed one by one.
Video comments processing method is not intrinsic with any certain computer, virtual system or miscellaneous equipment provided herein
It is related.Various general-purpose systems can also be used together with teaching based on this.As described above, construction has the present invention
Structure required by the system of scheme is obvious.In addition, the present invention is not also directed to any certain programmed language.Should be bright
In vain, various programming languages can be utilized to realize the content of invention described herein, and that is done above to language-specific retouches
State is to disclose the preferred forms of the present invention.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the present invention and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the embodiment, wherein the conduct of each claim in itself
The separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Mode it can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize the identification side of background music in video according to embodiments of the present invention
The some or all functions of some or all parts in method.The present invention is also implemented as described here for performing
Method some or all equipment or program of device (for example, computer program and computer program product).This
The program of the realization present invention of sample can store on a computer-readable medium, or can have one or more signal
Form.Such signal can be downloaded from internet website and obtained, and either be provided or with any other on carrier signal
Form provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Claims (10)
1. a kind of video comments processing method, it is characterised in that methods described includes:
Receive the first comment that user sends;
Corresponding video playback time determines time point information when being sent according to the described first comment and first comment;
Label is played according to fixed point corresponding to time point information generation;The fixed point plays label and is used to determine video
Point plays;
The fixed point is played into label to associate with the described first comment, with the comment of generation second;
Show second comment.
2. according to the method for claim 1, it is characterised in that described to be commented on according to the described first comment and described first
The step of corresponding video playback time determines time point information during transmission, including:
Using default regular expression time point fields match is carried out in the described first comment;
If matching time point field, the time point field that will match to is defined as time point information;
If not matching time point field, corresponding video playback time is defined as the time when the described first comment is sent
Point information.
3. according to the method for claim 1, it is characterised in that described that the fixed point is played into label and the described first comment
The step of association, including:
When existence time point field in the described first comment, the fixed point is played into label and associated with the time point field.
4. according to the method for claim 3, it is characterised in that the fixed point is played into label and the time point described
After the step of field associates, methods described also includes:
The time point field is arranged to highlighted state, broadcast to trigger the fixed point when the time point field is clicked
Put label and fixed point broadcasting is carried out to the video.
5. according to the method for claim 1, it is characterised in that described that the fixed point is played into label and the described first comment
The step of association, includes:
When time point field is not present in the described first comment, broadcasting is set to press in predeterminated position corresponding to the described first comment
Button, and the fixed point broadcasting label and the broadcast button are associated, to be triggered when the broadcast button is clicked
The fixed point plays label and carries out fixed point broadcasting to the video.
6. a kind of video comments processing unit, it is characterised in that described device includes:
Receiving module, for receiving the first comment of user's transmission;
Determining module, for being determined according to corresponding video playback time when the described first comment and the first comment transmission
Time point information;
Generation module, label is played for the fixed point according to corresponding to time point information generation;The fixed point plays label and used
In carrying out fixed point broadcasting to video;
Relating module, associated for the fixed point to be played into label with the described first comment, with the comment of generation second;
Display module, for showing second comment.
7. device according to claim 6, it is characterised in that the determining module, including:
Matched sub-block, for carrying out time point fields match in the described first comment using default regular expression;
First determination sub-module, if for matching time point field, the time point field that will match to is defined as the time
Point information;
Second determination sub-module, if for not matching time point field, it is corresponding when the described first comment is sent to regard
Frequency reproduction time is defined as time point information.
8. device according to claim 6, it is characterised in that the relating module, be used for:
When existence time point field in the described first comment, the fixed point is played into label and associated with the time point field.
9. device according to claim 8, it is characterised in that the relating module, be additionally operable to:
The time point field is arranged to highlighted state, broadcast to trigger the fixed point when the time point field is clicked
Put label and fixed point broadcasting is carried out to the video.
10. device according to claim 6, it is characterised in that the relating module, be additionally operable to:
When time point field is not present in the described first comment, broadcasting is set to press in predeterminated position corresponding to the described first comment
Button, and the fixed point broadcasting label and the broadcast button are associated, to be triggered when the broadcast button is clicked
The fixed point plays label and carries out fixed point broadcasting to the video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710758929.4A CN107566906B (en) | 2017-08-29 | 2017-08-29 | Video comment processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710758929.4A CN107566906B (en) | 2017-08-29 | 2017-08-29 | Video comment processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107566906A true CN107566906A (en) | 2018-01-09 |
CN107566906B CN107566906B (en) | 2020-09-01 |
Family
ID=60976289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710758929.4A Active CN107566906B (en) | 2017-08-29 | 2017-08-29 | Video comment processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566906B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109302638A (en) * | 2018-09-29 | 2019-02-01 | 传线网络科技(上海)有限公司 | Information processing method and device, electronic equipment and storage medium |
CN109996124A (en) * | 2019-03-19 | 2019-07-09 | 北京奇艺世纪科技有限公司 | A kind of barrage processing method, system and storage medium |
CN110933509A (en) * | 2019-12-09 | 2020-03-27 | 北京字节跳动网络技术有限公司 | Information publishing method and device, electronic equipment and storage medium |
CN111294660A (en) * | 2020-03-12 | 2020-06-16 | 咪咕文化科技有限公司 | Video clip positioning method, server, client and electronic equipment |
CN111601139A (en) * | 2020-04-27 | 2020-08-28 | 维沃移动通信有限公司 | Information display method, electronic device, and storage medium |
CN113038185A (en) * | 2021-04-02 | 2021-06-25 | 上海哔哩哔哩科技有限公司 | Bullet screen processing method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130004138A1 (en) * | 2011-06-30 | 2013-01-03 | Hulu Llc | Commenting Correlated To Temporal Point Of Video Data |
KR20150030387A (en) * | 2013-09-12 | 2015-03-20 | 엠랩 주식회사 | Comment tagging system for streaming video and providing method thereof |
CN104661096A (en) * | 2013-11-21 | 2015-05-27 | 深圳市快播科技有限公司 | Video barrage adding method and device, video playing method and video player |
CN105228013A (en) * | 2015-09-28 | 2016-01-06 | 百度在线网络技术(北京)有限公司 | Barrage information processing method, device and barrage video player |
CN105872822A (en) * | 2015-12-15 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Video playing method and video playing system |
CN105872820A (en) * | 2015-12-03 | 2016-08-17 | 乐视云计算有限公司 | Method and device for adding video tag |
CN105898600A (en) * | 2015-12-10 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Processing method of bullet screen data and terminal equipment |
CN105893422A (en) * | 2015-12-03 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and system for creating hyperlink in video play page and server |
US20170229152A1 (en) * | 2016-02-10 | 2017-08-10 | Linkedin Corporation | Adding content to a media timeline |
-
2017
- 2017-08-29 CN CN201710758929.4A patent/CN107566906B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130004138A1 (en) * | 2011-06-30 | 2013-01-03 | Hulu Llc | Commenting Correlated To Temporal Point Of Video Data |
KR20150030387A (en) * | 2013-09-12 | 2015-03-20 | 엠랩 주식회사 | Comment tagging system for streaming video and providing method thereof |
CN104661096A (en) * | 2013-11-21 | 2015-05-27 | 深圳市快播科技有限公司 | Video barrage adding method and device, video playing method and video player |
CN105228013A (en) * | 2015-09-28 | 2016-01-06 | 百度在线网络技术(北京)有限公司 | Barrage information processing method, device and barrage video player |
CN105872820A (en) * | 2015-12-03 | 2016-08-17 | 乐视云计算有限公司 | Method and device for adding video tag |
CN105893422A (en) * | 2015-12-03 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and system for creating hyperlink in video play page and server |
CN105898600A (en) * | 2015-12-10 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Processing method of bullet screen data and terminal equipment |
CN105872822A (en) * | 2015-12-15 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Video playing method and video playing system |
US20170229152A1 (en) * | 2016-02-10 | 2017-08-10 | Linkedin Corporation | Adding content to a media timeline |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109302638A (en) * | 2018-09-29 | 2019-02-01 | 传线网络科技(上海)有限公司 | Information processing method and device, electronic equipment and storage medium |
CN109996124A (en) * | 2019-03-19 | 2019-07-09 | 北京奇艺世纪科技有限公司 | A kind of barrage processing method, system and storage medium |
CN109996124B (en) * | 2019-03-19 | 2021-08-20 | 北京奇艺世纪科技有限公司 | Bullet screen processing method, system and storage medium |
CN110933509A (en) * | 2019-12-09 | 2020-03-27 | 北京字节跳动网络技术有限公司 | Information publishing method and device, electronic equipment and storage medium |
CN111294660A (en) * | 2020-03-12 | 2020-06-16 | 咪咕文化科技有限公司 | Video clip positioning method, server, client and electronic equipment |
CN111601139A (en) * | 2020-04-27 | 2020-08-28 | 维沃移动通信有限公司 | Information display method, electronic device, and storage medium |
CN113038185A (en) * | 2021-04-02 | 2021-06-25 | 上海哔哩哔哩科技有限公司 | Bullet screen processing method and device |
US11812110B2 (en) | 2021-04-02 | 2023-11-07 | Shanghai Bilibili Technology Co., Ltd. | Bullet comment processing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN107566906B (en) | 2020-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566906A (en) | A kind of video comments processing method and processing device | |
US10567329B2 (en) | Methods and apparatus for inserting content into conversations in on-line and digital environments | |
US9218414B2 (en) | System, method, and user interface for a search engine based on multi-document summarization | |
CN102349087B (en) | Automatically providing content associated with captured information, such as information captured in real-time | |
US20160234278A1 (en) | Audio commenting and publishing system | |
US8782066B2 (en) | Media transcription, synchronization and search | |
US20190130185A1 (en) | Visualization of Tagging Relevance to Video | |
CN106462640B (en) | Contextual search of multimedia content | |
US10783192B1 (en) | System, method, and user interface for a search engine based on multi-document summarization | |
US20120005686A1 (en) | Annotating HTML Segments With Functional Labels | |
US20150254349A1 (en) | System and Method for Providing Content in Real-Time | |
CN107526846B (en) | Method, device, server and medium for generating and sorting channel sorting model | |
CN104598502A (en) | Method, device and system for obtaining background music information in played video | |
TW201202980A (en) | Infinite browse | |
CN109271509B (en) | Live broadcast room topic generation method and device, computer equipment and storage medium | |
CN109255037B (en) | Method and apparatus for outputting information | |
JP5884740B2 (en) | Time-series document summarization apparatus, time-series document summarization method, and time-series document summarization program | |
JP7140913B2 (en) | Video distribution statute of limitations determination method and device | |
CN109284367B (en) | Method and device for processing text | |
US11651039B1 (en) | System, method, and user interface for a search engine based on multi-document summarization | |
CN104104999A (en) | Audio and video information recommending method and device | |
JP2019091450A (en) | Method and system for providing real-time feedback information related to content of user input | |
CN112765460A (en) | Conference information query method, device, storage medium, terminal device and server | |
CN104602119A (en) | Video transcoding and decoding method and device and related information release control method and system | |
JP6499763B2 (en) | Method and apparatus for verifying video information |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |