CN107566906B - Video comment processing method and device - Google Patents

Video comment processing method and device Download PDF

Info

Publication number
CN107566906B
CN107566906B CN201710758929.4A CN201710758929A CN107566906B CN 107566906 B CN107566906 B CN 107566906B CN 201710758929 A CN201710758929 A CN 201710758929A CN 107566906 B CN107566906 B CN 107566906B
Authority
CN
China
Prior art keywords
comment
time point
playing
video
fixed
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.)
Active
Application number
CN201710758929.4A
Other languages
Chinese (zh)
Other versions
CN107566906A (en
Inventor
王睿宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710758929.4A priority Critical patent/CN107566906B/en
Publication of CN107566906A publication Critical patent/CN107566906A/en
Application granted granted Critical
Publication of CN107566906B publication Critical patent/CN107566906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a video comment processing method and device, and belongs to the technical field of computers. According to the video comment processing method provided by the embodiment of the invention, time point information can be determined according to the first comment and the corresponding video playing time when the first comment is sent, a corresponding fixed point playing tag is generated according to the time point information, then the fixed point playing tag is associated with the first comment to generate a second comment, and the second comment is displayed. Therefore, the user can control the video to be positioned at the corresponding playing position by clicking the displayed second comment, so that the user is saved from manually adjusting the playing position according to the video comment, the operation is simplified, and the adjustment efficiency is further improved; meanwhile, the time point information used for generating the fixed point playing label can accurately reflect the video playing position corresponding to the first comment, so that the accuracy of determining the video playing position according to the comment is improved.

Description

Video comment processing method and device
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a video comment processing method and device.
Background
With the continuous development of computer technology, users often use terminals to watch videos, and current video playing programs provide video comment functions. Video commentary can often embody highlights of the video. Therefore, how to position the corresponding playing position according to the video comment becomes a problem of great attention of people.
In the prior art, when a user sees that an interested video comment wants to find a corresponding play position for playing, the user needs to determine the corresponding play position according to the understanding of the user on the content of the video comment, and then manually adjust the play progress of the video to a corresponding time point for playing.
However, the manual adjustment method in the prior art is complex to operate and low in convenience. Meanwhile, the specific playing time point determined by the user according to the understanding of the user on the video content is influenced by subjective understanding, so that the determined time point is inaccurate, and even the corresponding time point cannot be determined.
Disclosure of Invention
The invention provides a video comment processing method and device, and aims to solve the problems that the video playing progress is adjusted according to comments, the operation is complicated, and the accuracy is low.
According to a first aspect of the present invention, there is provided a video comment processing method, including:
receiving a first comment sent by a user;
determining time point information according to the first comment and the corresponding video playing time when the first comment is sent;
generating a corresponding fixed-point playing label according to the time point information; the fixed-point playing tag is used for fixed-point playing of the video;
associating the fixed-point play tag with the first comment to generate a second comment;
and displaying the second comment.
Optionally, the step of determining time point information according to the first comment and the video playing time corresponding to the time when the first comment is sent includes:
performing time point field matching in the first comment by using a preset regular expression;
if the time point field is matched, determining the matched time point field as time point information;
and if the time point field is not matched, determining the corresponding video playing time when the first comment is sent as the time point information.
Optionally, the step of associating the fixed-point play tag with the first comment includes:
and when a time point field exists in the first comment, associating the fixed point playing tag with the time point field.
Optionally, after the step of associating the fixed-point play tag with the time point field, the method further includes: and setting the time point field to be in a high brightness state so as to trigger the fixed point playing tag to play the video at a fixed point when the time point field is clicked.
Optionally, the step of associating the fixed-point playing tag with the first comment includes: when the time point field does not exist in the first comment, a play button is arranged at a preset position corresponding to the first comment, and the fixed-point play tag is associated with the play button, so that the fixed-point play tag is triggered to play the video at a fixed point when the play button is clicked.
According to a second aspect of the present invention, there is provided a video comment processing apparatus, the apparatus including:
the receiving module is used for receiving a first comment sent by a user;
the determining module is used for determining time point information according to the first comment and the corresponding video playing time when the first comment is sent;
the generating module is used for generating a corresponding fixed-point playing label according to the time point information; the fixed-point playing tag is used for fixed-point playing of the video;
the association module is used for associating the fixed point playing tag with the first comment to generate a second comment;
and the display module is used for displaying the second comment.
Optionally, the determining module includes:
the matching sub-module is used for performing time point field matching in the first comment by using a preset regular expression;
the first determining submodule is used for determining the matched time point field as time point information if the time point field is matched;
and the second determining submodule is used for determining the corresponding video playing time when the first comment is sent as the time point information if the time point field is not matched.
Optionally, the association module is configured to:
and when a time point field exists in the first comment, associating the fixed point playing tag with the time point field.
Optionally, the association module is further configured to:
and setting the time point field to be in a high brightness state so as to trigger the fixed point playing tag to play the video at a fixed point when the time point field is clicked.
Optionally, the association module is configured to:
when the time point field does not exist in the first comment, a play button is arranged at a preset position corresponding to the first comment, and the fixed-point play tag is associated with the play button, so that the fixed-point play tag is triggered to play the video at a fixed point when the play button is clicked.
Aiming at the prior art, the invention has the following advantages:
according to the video comment processing method and device, the time point information can be determined according to the first comment and the corresponding video playing time when the first comment is sent, the time point information is generated into the corresponding fixed point playing label, then the fixed point playing label is associated with the first comment to generate the second comment, and the second comment is displayed. Therefore, the user can control the video to be positioned to the corresponding playing time by clicking the displayed second comment, so that the manual adjustment of the playing progress of the user according to the video comment is omitted, the operation is simplified, and the adjustment efficiency is improved; meanwhile, the time point information used for generating the fixed point playing label can accurately reflect the video playing time corresponding to the first comment, so that the accuracy of determining the video playing progress according to the comment is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1-1 is a schematic diagram of an implementation environment involved in a video comment processing method provided by an embodiment of the present invention;
fig. 1-2 are flowcharts illustrating steps of a video comment processing method according to an embodiment of the present invention;
FIG. 2-1 is a flow chart illustrating steps of another video comment processing method according to a second embodiment of the present invention;
FIG. 2-2 is a user interface diagram provided in the second embodiment of the present invention;
FIGS. 2-3 are diagrams of alternative user interfaces provided by a second embodiment of the present invention;
fig. 3 is a block diagram of a video comment processing apparatus according to a third embodiment of the present invention;
fig. 4 is a block diagram of a video comment processing apparatus according to a fourth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1-1 is a schematic diagram of an implementation environment related to a video comment processing method provided by an embodiment of the present invention, and as shown in fig. 1-1, the implementation environment may include: a review server 110 and at least one mobile terminal 120.
The comment server 110 may be a server, a server cluster composed of several servers, or a cloud computing service center. The mobile terminal 120 may be a smart phone, a computer, a multimedia player, an e-reader, a wearable device, etc. having a video playing function.
The comment server 110 and the mobile terminal 120 may establish a connection through a wired network or a wireless network, and when a user uses the mobile terminal 120 to comment on a video being watched, the mobile terminal 120 may process a first comment sent by the user by using the video comment method provided in the embodiment of the present invention, obtain a second comment, and display the second comment, so that the user may control the playing progress of the currently watched video by clicking the second comment displayed in the video playing page, and the comment server 110 may store the second comment.
Example one
Fig. 1-2 is a flowchart of steps of a video comment processing method provided in an embodiment of the present invention, and is applied to a mobile terminal, as shown in fig. 1-2, the method may include:
step 101, receiving a first comment sent by a user.
The first comment in the embodiment of the present invention refers to content transmitted when a user comments on a video being viewed. After the user sends the first comment, the mobile terminal can receive the first comment sent by the user. Suppose that the user "Zhang three" sends a comment through the comment sending area "this movie is really nice looking, anger pushes! ", then" this movie is really nice looking, anger pushing! "is determined as the first comment.
And step 102, determining time point information according to the first comment and the corresponding video playing time when the first comment is sent.
In the embodiment of the present invention, the time point information may be a time point field indicating time in the first comment, or may be video playing time corresponding to the time when the first comment is sent. Wherein the content of the first and second substances,
for example, assuming the first comment is "i see wang five at 1 hour, 20 minutes and 10 seconds", then the time point field may be determined to be "1 hour, 20 minutes and 10 seconds"; suppose the first comment is "this movie is really nice looking, anger pushing! "the currently viewed video a is played to 19 minutes 37 seconds when the comment is sent," 19 minutes 37 seconds "may be determined as the video playing time corresponding to the first comment when sent.
Since the time point field representing time in the first comment is more representative, the time point field may be determined as the time point information when the time point field exists in the first comment. By adopting the more representative time point field as the time point information, the fixed point playing label generated according to the time point information can more accurately position the playing progress of the video to the corresponding position. If the time point field does not exist in the first comment, the corresponding video playing time when the first comment is sent can be determined as the time point information, so that the problem that subsequent processing cannot be performed due to the fact that the time point field does not exist in the first comment is avoided, and the video comment processing can be performed normally.
And 103, generating a corresponding fixed point playing label according to the time point information.
In the embodiment of the present invention, the fixed point playing tag may be used for fixed point playing of a video. Assuming that the time corresponding to the time point information is 20 minutes 19 seconds, the generated fixed point playing tag can be used for playing the video from the 20 minutes 19 seconds.
And 104, associating the fixed point playing tag with the first comment to generate a second comment.
In the embodiment of the present invention, the second comment represents the first comment associated with the fixed point play tag, and the fixed point play link may be associated with the first comment to generate the second comment. Specifically, when the fixed-point play link is associated with the first comment, the fixed-point play link may be associated with a time-point field in the first comment.
And 105, displaying the second comment.
The fixed-point playing tag can realize fixed-point playing of the video, and the second comment is generated by associating the fixed-point playing tag with the first comment, so that the user can click the second comment by displaying the second comment, the fixed-point playing tag can be triggered to play the video at a fixed point by clicking the second comment, and the playing progress of the video is adjusted to the time corresponding to the comment content.
In summary, the video comment processing method provided in the embodiment of the present invention may determine time point information according to the first comment and the corresponding video play time when the first comment is sent, generate a corresponding fixed point play tag for the time point information, associate the fixed point play tag with the first comment to generate a second comment, and display the second comment. Therefore, the user can control the video to be positioned to the corresponding playing time by clicking the displayed second comment, so that the manual adjustment of the playing progress of the user according to the video comment is omitted, the operation is simplified, and the adjustment efficiency is improved; meanwhile, the time point information used for generating the fixed point playing label can accurately reflect the video playing time corresponding to the first comment, so that the accuracy of determining the video playing progress according to the comment is improved.
Example two
Fig. 2-1 is a flowchart of steps of another video comment processing method provided in the second embodiment of the present invention, which is applied to a mobile terminal, and as shown in fig. 2-1, the method may include:
step 201, receiving a first comment sent by a user.
The first comment in the embodiment of the present invention refers to content transmitted when a user comments on a video being viewed. After the user sends the first comment, the mobile terminal can receive the first comment sent by the user. For example, fig. 2-2 is a user interface diagram provided in the second embodiment of the present invention, where the user interface diagram includes: a playing interface 00 of the currently played video and a comment sending area 01. When a user commends a video and sends a first comment, the user can edit the first comment in a comment input box of the comment sending area 01, and after the edit is completed, the user can click a sending button to send the comment. Suppose that the user "Liqu" comments in the comment sending area 01 of the video being viewed, and edit "this movie is really good looking, anger pushing! "and click the send button to send," Liqu "sent" this movie can be really nice, push! "is determined as the first comment.
Step 202, performing time point field matching in the first comment by using a preset regular expression.
By way of example, Regular expressions, also known as Regular expressions, Regular Expressions (REs), are an important concept in computer science. In computer science, a single string is used to describe or match a series of strings that conform to a syntactic rule. In many text editors or other tools, regular expressions are often used to retrieve and/or replace text content that conforms to a pattern.
The regular expression in the embodiment of the present invention may be expressed as:
string pat ═ 1-3, two and three? [ hour': {0,2} [ 0-9-two-three-four-five-six-seven-eight-ninety ] {0,5} [ minute': {0,2} [ 0-9-two-three-four-five-six-seven-eight-ninety ] {0,2} [ second "] {0,2 }";
wherein String pat represents a regular expression; the sub-expressions [1-3, one, two, and three ] represent "1, 2, 3, one, two, and three" in the matching first; character "? "means zero or one matching the previous sub-expression; sub-expressions "[ hour': the "representation matches" hours,',: "; sub-expressions {0,2} represent a minimum of 0 matches and a maximum of 2 matches; the sub-expression [ 0-9-two-three-four-five-six-seven-eight ninety ] represents a match to "0, 1, 2, 3, 4, 5, 6, 7, 8, 9, one, two, three, four, five, six, seven, eight, nine, and ten" in the first comment; sub-expressions [ min': the "minute,',: and: "; the sub expression [ second "] represents that" second and "in the first comment are matched.
Suppose the first comment is "i see wang five in 1 hour, 20 minutes and 10 seconds", that can be matched to the time field "1 hour, 20 minutes and 10 seconds"; suppose the first comment is "i see wang five at 1 '20' 10", that can be matched to the time field "1 '20' 10"; assuming the first comment is "i see wang five in twenty-ten seconds of one hour", then the time point field "one hour two ten seconds" can be matched.
If the time point field is matched, step 203 is executed, and if the time point field is not matched, step 204 is executed.
And step 203, determining the matched time point field as time point information.
For example, in the case where the matched time point fields in the above steps are "1 hour 20 minutes 10 seconds", "1 '20' 10", "and" one hour two ten seconds ", the matched time point fields" 1 hour 20 minutes 10 seconds "," 1 '20' 10 "," and "one hour two ten seconds" may be determined as the time point information.
In practical applications, after the time point field is determined, the determined time point field may be further processed through the following step a, and then the processed time point field is determined as the time point information.
And A, removing other information except the time information in the time point field.
When the time point field in the first comment is matched by using the regular expression, other contents which do not represent time information are often matched as the time point field, for example, if the first comment is "the most smiling part is at the twentieth 19 seconds 233333", then the time point field matched by using the preset regular expression is "the twentieth 19 seconds 233333", and it can be seen that the matched time point field also includes a part of "233333" which does not represent time. Therefore, if the matched time point field is directly determined as the time point information, the accuracy of the subsequent timing playing label generated according to the time point information is low. In the embodiment of the invention, other information except the time information in the time point field is removed, so that interference factors are reduced, and the accuracy rate of generating the fixed-point playing label is ensured.
For example, the portion representing the time information in the time point field may be extracted by means of extracting the key character, so as to achieve an effect of removing other information except the time information in the time point field.
For example, the expression for performing key character extraction may be:
string keys ═ hour, minute, second,: ',', ";
taking the time point field matched by using the preset regular expression as "twenty minutes 19 seconds 233333" as an example, by means of extracting the key characters, the other information "233333" except the time information in the time point field can be removed, and "twenty minutes 19 seconds" is obtained. At this time, "twenty minutes 19 seconds" is determined as the time point information. The method reduces interference factors and ensures that the subsequently generated fixed point playing label can more accurately adjust the video playing progress to the corresponding time.
And step 204, determining the video playing time corresponding to the first comment when the first comment is sent as time point information.
For example, if the first comment is "small and clear, and good-", when the first comment is matched by using the regular expression, the time point field cannot be matched, and at this time, the video playing time corresponding to the first comment when being sent may be determined as the time point information. Assuming that the video playing time corresponding to the first comment is 20 minutes 19 seconds when the first comment is transmitted, 20 minutes 19 seconds may be determined as the time point information.
And step 205, generating a corresponding fixed-point playing label according to the time point information.
In the embodiment of the present invention, the fixed point playing tag may be used for fixed point playing of a video. Assuming that the time corresponding to the time point information is 20 minutes 19 seconds, the generated fixed point playing tag can be used for playing the video from the 20 minutes 19 seconds.
Specifically, the fixed-point playing label can be expressed as < a href ═ javascript:; a "@ click ═ playbystarttime (item)/> statement that indicates that when the fixed play tab is clicked, the" playbystarttime (item) "function is executed. Where an < a > tag can be used to define the hyperlink and an attribute href attribute in the < a > tag can be used to indicate the target of the link. Meanwhile, the ability of an event to trigger an action in the browser can be utilized, and @ click ═ playbystarttime (item) is inserted into an HTML tag to define the behavior of the event. For example, the fixed point play function may be implemented by the following example code:
Figure DEST_PATH_GDA0001450877560000091
Figure DEST_PATH_GDA0001450877560000101
wherein, options.tvid, options.starttime and options.quality are video playing control option parameters, which respectively represent video identity, start time and video quality; item.tvid, item.starttime, and item.quality, all represent timed play parameters. Play (options) indicates that a play operation is performed according to the parameter of the options. Because the parameters of the options all correspond to the time point information corresponding to the comment content, when the playing operation is executed, the video can be played directly from the time corresponding to the time point information. It should be noted that, when the fixed-point playing tag is generated according to the time point information, the specific time corresponding to the time point information may be advanced by a certain time, and then the fixed-point playing link may be generated according to the advanced time. For example, assuming that "20 minutes 19 seconds" is determined as the time point information, when the fixed point play tab is generated according to the time point information, the specific time "20 minutes 19 seconds" corresponding to the time point information may be advanced by 5 seconds, that is, the fixed point play tab is generated in "20 minutes 15 seconds". Therefore, when the video is played at fixed point, the video can be played from the position before the actual time, a certain buffering time is provided, and the fluency of video playing is ensured.
And step 206, associating the fixed point playing tag with the first comment to generate a second comment.
In the embodiment of the invention, the fixed-point playing tag can realize fixed-point playing of the video, the fixed-point playing tag is associated with the first comment to generate the second comment, the fixed-point playing tag can be triggered to play the video at a fixed point by clicking the second comment, and the playing progress of the video is adjusted to the position corresponding to the comment content.
Specifically, step 206 may include:
step 2061, when a time point field exists in the first comment, associating the fixed point playing label with the time point field.
In this step, the fixed-point playing tag can be associated with the time point field by the < a > tag of html. Specifically, the time point field in the first comment can be used as the content in the a tag, so that the fixed point play tag and the time point field are associated.
For example, suppose the comment content is "i am seeing wangwu for 1 hour, 20 minutes and 10 seconds", the fixed-point play tag is "< ahref ═ javascript:; "@ click ═ playbytime (item)/>, then this can be achieved by the following code example:
< span > I in < a href ═ javascript:; wangpian is seen in "@ click ═ playbytime (item)" >1 hour, 20 minutes and 10 seconds >
Wherein < span > is a semantic tag used for combining inline elements in a document to contain a text to form a single element, so that styles can be conveniently set for the contained text content; setting < a href ═ javascript:; the a-tag may be made not to jump but to execute the @ click ═ playbytime (item) fixed point play function.
Step 2062, setting the time point field to be in a highlighted state, so that when the time point field is clicked, the fixed point playing tag is triggered to play the video at a fixed point.
In this step, the time point field is set to be in a highlighted state, which may be set to be in a highlighted state by setting a Cascading Style Sheets (CSS) to add a style to the time point field. In the embodiment of the invention, the position of the time point field in the first comment can be more highlighted by setting the time point field to be in a highlighted state, so that when a user needs to click the time point field to play the time point field at a fixed point, the position of the time point field in the first comment can be more conveniently and quickly determined.
Step 2063, when the time point field does not exist in the first comment, setting a play button at a preset position corresponding to the first comment, and associating the fixed point play tag with the play button, so that when the play button is clicked, the fixed point play tag is triggered to play the video at a fixed point.
In this step, the preset position corresponding to the first comment may be a start position, a middle position, or an end position of the first comment, which is not limited in the embodiment of the present invention. In the embodiment of the present invention, the preset position is taken as an example of an end position of the first comment, and is schematically described.
Specifically, the adding of the play button may be implemented by the < a > tag and the cascading style sheet, and the associating of the play button and the fixed-point play tag may be implemented by the following example codes:
aminomo: "playBtn" href: "javascript" was obtained from Aminomo:; "@ click ═ playbytime (item)" > </span >
After the association is completed, the mobile terminal may display the associated first comment as a second comment.
When the user watches the video, the user can click a play button in the second comment or a time point field in a highlight state to play the video at a fixed point. For example, fig. 2-3 are another user interface diagram provided in the second embodiment of the present invention, as shown in fig. 2-3, the user interface diagram includes: the method comprises a playing interface 00 of a currently played video, a comment sending area 01 and a published comment area 02, wherein the published comment area 02 comprises two displayed second comments, and the two second comments are as follows: a second comment a and a second comment B. As can be seen from fig. 2 to 3, the time point field "twenty minutes 19 seconds" of the second comment a "i see wang five in twenty minutes 19 seconds" displayed is in a highlighted state, and the end portion of the second comment B "well-opened person" is provided with a play button. In actual operation, the user can adjust the playing time of the currently played video to the 20 th 19 th second by clicking the "twenty minutes 19 seconds" in the highlight state, and adjust the playing time of the currently played video to the video playing time corresponding to the second comment B when being sent by clicking the playing button.
It should be noted that, in practical application, some first comments which do not include a time point field have no practical significance, so in another optional embodiment of the present invention, for the first comments which do not include a time point field, before setting a play button for the first comment, the first comments which do not include a time point field may be screened, and if the first comment is a comment which has practical significance, a play button is set for the first comment; if the first comment is a comment having no practical meaning, a play button may not be provided for the first comment.
For example, when performing the filtering, the filtering may be performed according to the length of the first comment. Generally, a first comment may be considered to have no practical significance if its length is particularly short. Therefore, a large number of comments without practical significance can be obtained in a manual selection mode, then the average length of the comments is calculated, and the average length is used as a preset length threshold value. Further, when the first comment is screened, the first comment with the length greater than the preset length threshold may be determined as a comment with practical significance, and the first comment with the length not greater than the preset length threshold may be determined as a comment without practical significance. In a specific implementation, the first comment may be filtered through other manners, for example, the first comment is filtered through semantic recognition, and the like, which is not limited in the embodiment of the present invention.
And step 207, displaying the second comment.
In practical applications, after step 207, the second comment may also be sent to a preset comment server.
Specifically, the second comment may be sent to a preset comment server, and the comment server may store the second comment after receiving the second comment. Therefore, when the video is opened and played again, the previous comments can be loaded normally. In practical application, the video Identification (ID) information corresponding to the second comment may also be sent to a preset comment server to facilitate storage by the comment server, which is not limited in the embodiment of the present invention.
In summary, the video comment processing method provided in the second embodiment of the present invention may determine time point information according to the first comment and the corresponding video playing time when the first comment is sent, generate a corresponding fixed point playing tag for the time point information, associate the fixed point playing tag with the first comment to generate a second comment, and display the second comment. Therefore, the user can control the video to be positioned to the corresponding playing time by clicking the displayed second comment, the manual adjustment of the playing progress of the user according to the video comment is omitted, the operation is simplified, the adjustment efficiency is further improved, and the accuracy of determining the video playing progress according to the comment is improved because the time point information for generating the fixed point playing label can accurately reflect the video playing time corresponding to the first comment; meanwhile, after the time point field is determined, other information areas except the time information in the time point field can be used, so that the accuracy of the time point field is improved, and the accuracy of the fixed-point playing label is improved.
EXAMPLE III
Fig. 3 is a block diagram of a video comment processing apparatus according to a third embodiment of the present invention, and as shown in fig. 3, the apparatus 30 may include:
the receiving module 301 is configured to receive a first comment sent by a user.
The determining module 302 is configured to determine time point information according to the first comment and video playing time corresponding to the time when the first comment is sent.
A generating module 303, configured to generate a corresponding fixed-point playing tag according to the time point information; the fixed-point playing tag is used for playing the video at a fixed point.
An associating module 304, configured to associate the fixed-point play tag with the first comment to generate a second comment.
A display module 305, configured to display the second comment.
In summary, in the video comment processing apparatus provided in the third embodiment of the present invention, the determining module may determine time point information according to the first comment and the video playing time corresponding to the time when the first comment is sent, the generating module may generate a corresponding fixed point playing tag from the time point information, and then the associating module may associate the fixed point playing tag with the first comment to generate a second comment, and display the second comment. Therefore, the user can control the video to be positioned to the corresponding playing time by clicking the displayed second comment, so that the manual adjustment of the playing progress of the user according to the video comment is omitted, the operation is simplified, and the adjustment efficiency is improved; meanwhile, the time point information used for generating the fixed point playing label can accurately reflect the video playing time corresponding to the first comment, so that the accuracy of determining the video playing progress according to the comment is improved.
Example four
Fig. 4 is a block diagram of a video comment processing apparatus according to a fourth embodiment of the present invention, and as shown in fig. 4, the apparatus 40 may include:
the receiving module 401 is configured to receive a first comment sent by a user.
A determining module 402, configured to determine time point information according to the first comment and a video playing time corresponding to the time when the first comment is sent.
A generating module 403, configured to generate a corresponding fixed-point playing tag according to the time point information; the fixed-point playing tag is used for playing the video at a fixed point.
An associating module 404, configured to associate the fixed-point play tag with the first comment to generate a second comment.
A display module 405, configured to display the second comment.
Optionally, the determining module 402 may include:
the matching sub-module 4021 is configured to perform time point field matching in the first comment by using a preset regular expression.
The first determining sub-module 4022 is configured to determine the matched time point field as the time point information if the time point field is matched.
The second determining sub-module 4023 is configured to determine, if the first comment is not matched with the time point field, the video playing time corresponding to the time when the first comment is sent as the time point information.
Optionally, the associating module 404 is further configured to:
and when a time point field exists in the first comment, associating the fixed point playing tag with the time point field.
Optionally, the associating module 404 is further configured to:
and setting the time point field to be in a high brightness state so as to trigger the fixed point playing tag to play the video at a fixed point when the time point field is clicked.
Optionally, the associating module 404 is further configured to:
when the time point field does not exist in the first comment, a play button is arranged at a preset position corresponding to the first comment, and the fixed-point play tag is associated with the play button, so that the fixed-point play tag is triggered to play the video at a fixed point when the play button is clicked.
In summary, in the video comment processing apparatus provided in the fourth embodiment of the present invention, the determining module may determine time point information according to the first comment and the video playing time corresponding to the time when the first comment is sent, the generating module may generate a corresponding fixed point playing tag from the time point information, and then the associating module may associate the fixed point playing tag with the first comment to generate a second comment, and display the second comment. Therefore, the user can control the video to be positioned to the corresponding playing time by clicking the displayed second comment, the manual adjustment of the playing progress of the user according to the video comment is omitted, the operation is simplified, the adjustment efficiency is further improved, and the accuracy of determining the video playing progress according to the comment is improved because the time point information for generating the fixed point playing label can accurately reflect the video playing time corresponding to the first comment; meanwhile, after the time point field is determined, other information areas except the time information in the time point field can be used, so that the accuracy of the time point field is improved, and the accuracy of the fixed-point playing label is improved. For the above device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The video review processing methods provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the method of identifying background music in video according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (8)

1. A method for processing video commentary, the method comprising:
receiving a first comment sent by a user;
determining time point information according to the first comment and the corresponding video playing time when the first comment is sent;
generating a corresponding fixed-point playing label according to the time point information; the fixed-point playing tag is used for fixed-point playing of the video;
associating the fixed-point play tag with the first comment to generate a second comment;
displaying the second comment;
the step of determining time point information according to the first comment and the video playing time corresponding to the first comment when the first comment is sent includes:
performing time point field matching in the first comment by using a preset regular expression;
if the time point field is matched, determining the matched time point field as time point information;
and if the time point field is not matched, determining the corresponding video playing time when the first comment is sent as the time point information.
2. The method of claim 1, wherein the step of associating the fixed-point playtab with the first comment comprises:
and when a time point field exists in the first comment, associating the fixed point playing tag with the time point field.
3. The method of claim 2, wherein after the step of associating the fixed-point playtab with the point-in-time field, the method further comprises:
and setting the time point field to be in a high brightness state so as to trigger the fixed point playing tag to play the video at a fixed point when the time point field is clicked.
4. The method of claim 1, wherein the step of associating the fixed-point playtab with the first comment comprises:
when the time point field does not exist in the first comment, a play button is arranged at a preset position corresponding to the first comment, and the fixed-point play tag is associated with the play button, so that the fixed-point play tag is triggered to play the video at a fixed point when the play button is clicked.
5. A video comment processing apparatus characterized in that the apparatus comprises:
the receiving module is used for receiving a first comment sent by a user;
the determining module is used for determining time point information according to the first comment and the corresponding video playing time when the first comment is sent;
the generating module is used for generating a corresponding fixed-point playing label according to the time point information; the fixed-point playing tag is used for fixed-point playing of the video;
the association module is used for associating the fixed point playing tag with the first comment to generate a second comment;
a display module for displaying the second comment;
the determining module includes:
the matching sub-module is used for performing time point field matching in the first comment by using a preset regular expression;
the first determining submodule is used for determining the matched time point field as time point information if the time point field is matched;
and the second determining submodule is used for determining the corresponding video playing time when the first comment is sent as the time point information if the time point field is not matched.
6. The apparatus of claim 5, wherein the association module is configured to:
and when a time point field exists in the first comment, associating the fixed point playing tag with the time point field.
7. The apparatus of claim 6, wherein the association module is further configured to:
and setting the time point field to be in a high brightness state so as to trigger the fixed point playing tag to play the video at a fixed point when the time point field is clicked.
8. The apparatus of claim 5, wherein the association module is further configured to:
when the time point field does not exist in the first comment, a play button is arranged at a preset position corresponding to the first comment, and the fixed-point play tag is associated with the play button, so that the fixed-point play tag is triggered to play the video at a fixed point when the play button is clicked.
CN201710758929.4A 2017-08-29 2017-08-29 Video comment processing method and device Active CN107566906B (en)

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 CN107566906A (en) 2018-01-09
CN107566906B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
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
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
CN111294660B (en) * 2020-03-12 2021-11-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
CN113038185B (en) * 2021-04-02 2022-09-09 上海哔哩哔哩科技有限公司 Bullet screen processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9066145B2 (en) * 2011-06-30 2015-06-23 Hulu, LLC Commenting correlated to temporal point of video data
US10068617B2 (en) * 2016-02-10 2018-09-04 Microsoft Technology Licensing, Llc Adding content to a media timeline

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN107566906A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107566906B (en) Video comment processing method and device
CN111143610B (en) Content recommendation method and device, electronic equipment and storage medium
US10650861B2 (en) Video summarization and collaboration systems and methods
US9659278B2 (en) Methods, systems, and computer program products for displaying tag words for selection by users engaged in social tagging of content
US10515142B2 (en) Method and apparatus for extracting webpage information
WO2017015114A1 (en) Media production system with social media feature
KR101916874B1 (en) Apparatus, method for auto generating a title of video contents, and computer readable recording medium
US10783192B1 (en) System, method, and user interface for a search engine based on multi-document summarization
CN111259271A (en) Comment information display method and device, electronic equipment and computer readable medium
CN110096701A (en) Message conversion process method, device, storage medium and electronic equipment
CN103207917A (en) Method for marking multimedia content and method and system for generating recommended content
JP7395377B2 (en) Content search methods, devices, equipment, and storage media
CN107562432B (en) Information processing method and related product
US20170272793A1 (en) Media content recommendation method and device
CN106899879B (en) Multimedia data processing method and device
CN109213933B (en) Content item recommendation method, device, equipment and storage medium
CN113449144B (en) Video processing method and device and electronic equipment
CN113407775B (en) Video searching method and device and electronic equipment
CN111259225A (en) New media information display method and device, electronic equipment and computer readable medium
WO2017166477A1 (en) Method and device for obtaining video information
CN102982078A (en) Loading method of sequencing website and client with sequencing website being loaded
US20160232237A1 (en) Method and device for an engine to crawl, validate, and provide open-type abstract information of a webpage
US20160353176A1 (en) Contextual content programming
CN113778717A (en) Content sharing method, device, equipment and storage medium
JP2010049384A (en) Moving image evaluation method, device, and program

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