CN104185079B - User comment displaying, collection method and device - Google Patents
User comment displaying, collection method and device Download PDFInfo
- Publication number
- CN104185079B CN104185079B CN201410461331.5A CN201410461331A CN104185079B CN 104185079 B CN104185079 B CN 104185079B CN 201410461331 A CN201410461331 A CN 201410461331A CN 104185079 B CN104185079 B CN 104185079B
- Authority
- CN
- China
- Prior art keywords
- comment
- video file
- user
- time point
- play time
- 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
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of displaying of user comment, collection method and device, user comment methods of exhibiting to include the following steps:During video playback area plays the first video file, the current play time point of first video file is obtained;Obtain the comment of first video file in the time range that there is preset first correspondence with the current play time point;The comment is shown in user comment display area.There is provided technical solution is provided using the present invention, so that the comment that user comment display area is shown is corresponding with the play time of currently played video file, user to watch the video file provides effective reference, and user need not search one by one can view with the relevant comment of current play time point, bring preferable usage experience for user.
Description
Technical field
The present invention relates to information technology fields, more particularly to user comment displaying, collection method and device.
Background technology
Nowadays, many video websites have provided user comment function to the user.User is led to during watching video file
It crosses user comment and delivers region and make comments to express oneself understanding and thoughts to watched video content, it, can be with after delivering
It is watched for other users and understands that video content provides reference.It can also view what user comment display area was shown simultaneously
The comment content that other users are delivered.In this way so that the gains in depth of comprehension and body of viewing video file can be exchanged between different user mutually
Meeting.
Collection and displaying for user comment, a kind of existing way are that collecting multiple client by server sends
User comment information carry out video file in client wherein deliver time point and user comment content comprising user comment
In playing process, the user comment content that time point shows the video in a manner of inverted order is delivered according to user comment, that is, will
The newest comment content delivered is shown in the top of user comment display area.
This way has some disadvantages, in video file playing process, if above user comment display area
The user comment content shown is not consistent with currently playing video content, and the user for watching the video file manages
Currently playing video content is solved without reference to meaning.Needing user to search one by one can just find and currently playing video content
The user comment content being consistent, user experience are poor.
Invention content
To solve the above problems, the embodiment of the invention discloses user comment displaying, collection method and devices.Technical solution
It is as follows:
User comment methods of exhibiting, including:
During video playback area plays the first video file, obtain first video file it is currently playing when
Between point;
Obtain described first in the time range that there is preset first correspondence with the current play time point
The comment of video file;
The comment is shown in user comment display area.
In a kind of specific implementation mode of the present invention, the acquisition has preset the with the current play time point
The comment of first video file in the time range of one correspondence, including:
The first request is sent to server according to the current play time point, request has with the current play time point
There is the comment of first video file in the time range of preset first correspondence;
Receive the comment that the server is returned according to first request.
In a kind of specific implementation mode of the present invention, the first video file process is played in video playback area described
In, before the current play time point for obtaining first video file, further include:
The comment information of first video file is obtained from server, the comment information of first video file is at least
Include the play time of the comment of first video file first video file corresponding with the comment.
In a kind of specific implementation mode of the present invention, the acquisition has preset the with the current play time point
The comment of first video file in the time range of one correspondence, including:
The broadcasting of first video file corresponding to the comment in the comment information of first video file
Time point filters out the comment in the time range for having preset first correspondence with the current play time point.
In a kind of specific implementation mode of the present invention, the comment is shown in user comment display area described
Afterwards, further include:
If the discrepancy of quantity of the comment closes preset quantitative requirement, the second request is sent to server, request with
The current play time point have preset second correspondence time range in comment, with by the server according to
Second request searches whether there is the new comment for meeting second request and being asked different from described first, if
In the presence of new comment then being returned to client, the time range of preset second correspondence includes described preset
The time range of first correspondence;
Receive the new comment that server is returned according to second request;
Update the comment of the user comment display area displaying.
In a kind of specific implementation mode of the present invention, the comment is shown in user comment display area described
Afterwards, further include:
If the discrepancy of quantity of the comment closes preset quantitative requirement, from the comment information of first video file
Middle screening has the comment in the time range of preset second correspondence with the current play time point;
Update the comment of the user comment display area displaying.
In a kind of specific implementation mode of the present invention, the user comment display area includes multiple floated regions,
The method further includes:
Obtain described first in the time range that there is preset first correspondence with the current play time point
The corresponding co-ordinate position information of comment of video file, it is user when delivering the comment each to comment on corresponding co-ordinate position information
In the position that the video playback area is clicked;
It is described to show the comment in user comment display area, including:
The corresponding region of the co-ordinate position information of acquisition is determined as to the user comment display area of the comment;
Corresponding comment is shown in each user comment display area.
User comment collection method, including:
Obtain the comment that user delivers the second video file that region is delivered in user comment;
Determine the play time of corresponding second video file of comment of second video file;
The play time of the comment of second video file second video file corresponding with the comment is sent out
Server is given, the user comment information that multiple client is sent is collected by server.
In a kind of specific implementation mode of the present invention, the second video file process is played in video playback area
In, user is obtained in the case where user comment delivers the comment for the second video file that region is delivered, the determination described the
The play time of corresponding second video file of comment of two video files, including:
User's start to make comments play time of corresponding second video file is determined as the comment and corresponds to
Second video file play time.
In a kind of specific implementation mode of the present invention, broadcast after video playback area plays second video file
It puts in advertisement process, obtains user in the case where user comment delivers the comment for the second video file that region is delivered, it is described
Determine the play time of corresponding second video file of comment of second video file, including:
The initial play time point of second video file is determined as corresponding second video file of the comment
Play time.
In a kind of specific implementation mode of the present invention, it includes multiple floated regions that the user comment, which delivers region,
The method further includes:
Determine that the corresponding co-ordinate position information of comment of second video file, the co-ordinate position information are sent out for user
The position clicked in the video playback area when table comment;
By the comment of second video file, corresponding second video file of the comment play time and should
It comments on corresponding co-ordinate position information and is sent to server, the user comment information that multiple client is sent is collected by server.
User comment shows device, including:
Time point obtains module, for during video playback area plays the first video file, obtaining described first
The current play time point of video file;
First comment obtains module, has for obtaining the current play time point for obtaining module acquisition with the time point
The comment of first video file in the time range of preset first correspondence;
Display module is commented on, for showing that first comment obtains commenting for module acquisition in user comment display area
By.
In a kind of specific implementation mode of the present invention, first comment obtains module, including:
First request-to-send submodule, for obtaining current play time point that module obtains to clothes according to the time point
Business device sends first and asks, in the time range of request and the current play time point with preset first correspondence
The comment of first video file;
First comment receiving submodule, the comment returned according to first request for receiving the server.
In a kind of specific implementation mode of the present invention, further include:
Comment information acquisition module, the comment information for obtaining first video file from server, described first
The comment information of video file includes at least comment the first video text corresponding with the comment of first video file
The play time of part.
In a kind of specific implementation mode of the present invention, first comment obtains module, including:
Submodule is screened in first comment, and the first video file for being obtained according to comment information acquisition module is commented
By the play time of first video file corresponding to the comment in information, filter out and the current play time point
Comment in time range with preset first correspondence.
In a kind of specific implementation mode of the present invention, further include:
Second request sending module is used in the case where the discrepancy of quantity of the comment closes preset quantitative requirement, to
Server sends the second request, and request has with the current play time point in the time range of preset second correspondence
Comment, with by the server according to it is described second ask, search whether exist meet it is described second request and be different from institute
The new comment of the first request is stated, if it is present new comment is returned to client, preset second correspondence
Time range include the time range of preset first correspondence;
Second comment receiving module, the second request sent according to second request sending module for receiving server
The new comment returned;
First comment update module, the comment for updating the user comment display area displaying.
In a kind of specific implementation mode of the present invention, further include:
Second comment screening module is used in the case where the discrepancy of quantity of the comment closes preset quantitative requirement, from
Screening has preset second correspondence with the current play time point in the comment information of first video file
Comment in time range;
Second comment update module, the comment for updating the user comment display area displaying.
In a kind of specific implementation mode of the present invention, described device further includes:
Coordinate position obtains module, for the case where the user comment display area includes multiple floated regions
Under, obtain first video text in the time range that there is preset first correspondence with the current play time point
The corresponding co-ordinate position information of comment of part is each commented on when corresponding co-ordinate position information delivers the comment for user described
The position that video playback area is clicked;
The comment display module, including:
Display area determination sub-module is determined for position to be obtained the corresponding region of co-ordinate position information that module obtains
For the user comment display area of the comment;
Comment displaying submodule, for showing corresponding comment in each user comment display area.
User comment collection device, which is characterized in that including:
Second comment obtains module, and commenting for the second video file that region is delivered is delivered in user comment for obtaining user
By;
Time point determining module, for determining that second comment obtains the comment pair for the second video file that module obtains
The play time for second video file answered;
Comment information collection module, for by it is described second comment obtain module obtain the second video file comment and
The play time for corresponding second video file of the comment that the time point determining module determines is sent to server,
The user comment information that multiple client is sent is collected by server.
In a kind of specific implementation mode of the present invention, the time point determining module is specifically used for:
During video playback area plays second video file, second comment obtains module and obtains user
In the case where user comment delivers the comment for the second video file that region is delivered, user is started into the corresponding institute that makes comments
The play time for stating the second video file is determined as the play time of corresponding second video file of the comment.
In a kind of specific implementation mode of the present invention, the time point determining module is specifically used for:
In playing advertisement process after video playback area plays second video file, second comment obtains
Module obtains user in the case where user comment delivers the comment for the second video file that region is delivered, by second video
The initial play time point of file is determined as the play time of corresponding second video file of the comment.
In a kind of specific implementation mode of the present invention, described device further includes:
Coordinate position determining module, for delivering the case where region includes multiple floated regions in the user comment
Under, determine that the corresponding co-ordinate position information of comment of second video file, the co-ordinate position information are that user delivers this
The position clicked in the video playback area when comment;
The comment information collection module is specifically used for second comment obtaining the second video file that module obtains
Comment on, the time point determining module determine corresponding second video file of the comment play time and sit
The corresponding co-ordinate position information of the comment that cursor position determining module determines is sent to server, and multiple clients are collected by server
Hold the user comment information sent.
The technical solution that the embodiment of the present invention is provided, the user comment information that server is collected into include what user delivered
The play time of comment video file corresponding with the comment.In video playback area during playing video file, user
Current play time point of the display area by the video file of acquisition is commented on, obtains to have with current play time point and preset
The first correspondence time range in comment, and be shown.In this way so that user comment display area was shown
Comment is corresponding with the play time of currently played video file, and the user to watch the video file provides
Effectively reference, and user need not search one by one can view with the relevant comment of current play time point, be user
Bring preferable usage experience.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 show a kind of implementing procedure figure of user comment methods of exhibiting in the embodiment of the present invention;
Fig. 2 show video playing beginning of the page screen schematic diagram in the embodiment of the present invention;
Fig. 3 show floated area schematic in the embodiment of the present invention;
Fig. 4 show a kind of implementing procedure figure of user comment collection method in the embodiment of the present invention;
Fig. 5 show a kind of structural schematic diagram of user comment displaying device in the embodiment of the present invention;
Fig. 6 show a kind of structural schematic diagram of user comment collection device in the embodiment of the present invention.
Specific implementation mode
It is provided for the embodiments of the invention user comment displaying first, collection method illustrates.
Wherein, user comment methods of exhibiting may comprise steps of:
During video playback area plays the first video file, obtain first video file it is currently playing when
Between point;
Obtain described first in the time range that there is preset first correspondence with the current play time point
The comment of video file;
The comment is shown in user comment display area.
Correspondingly, user comment collection method may comprise steps of:
Obtain the comment that user delivers the second video file that region is delivered in user comment;
Determine the play time of corresponding second video file of comment of second video file;
The play time of the comment of second video file second video file corresponding with the comment is sent out
Server is given, the user comment information that multiple client is sent is collected by server.
The executive agent of above step is client.User comment is that user expresses for watched video file
Oneself understanding and impression to video file content can be watched for other users and understand that video file content provides reference.
The technical solution that the embodiment of the present invention is provided, the user comment information that server is collected into include what user delivered
The play time of comment video file corresponding with the comment.In video playback area during playing video file, user
Current play time point of the display area by the video file of acquisition is commented on, obtains to have with current play time point and preset
The first correspondence time range in comment, and be shown.In this way so that user comment display area was shown
Comment is corresponding with the play time of currently played video file, and the user to watch the video file provides
Effectively reference, and user need not search one by one can view with the relevant comment of current play time point, be user
Bring preferable usage experience.
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, below in conjunction with this hair
Attached drawing in bright embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described
Embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field
The every other embodiment that those of ordinary skill is obtained without making creative work, belongs to protection of the present invention
Range.
Shown in Fig. 1, it is the implementing procedure figure of user comment methods of exhibiting in the embodiment of the present invention, may include following base
This step:
S110 obtains the current of first video file during video playback area plays the first video file
Play time;
The first screen of video playing page is usually designed as video playback area by video website, shows video text being played on
The content of part.With the fast development of terminal technology, widescreen terminal is gradually popularized, and left and right is increased in the first screen of video playing page
The Free Region in direction, many video websites are used as user comment region, which includes user comment exhibition
Show that region is delivered in region and user comment.
Video playing beginning of the page screen schematic diagram as shown in Figure 2, it can be seen that the video playing beginning of the page screen includes video playing
Region 210, playing progress bar 220 and user comment region 230.Certainly, user comment region 230 and video playback area 210
Relative position can be adjusted according to actual needs.In addition, when user wishes that video file can be with played in full screen, according to
User comment region 230 can be contracted to one jiao of video playback area 210 by user instruction.
It is understood that during video playback area 210 plays the first video file, the first video file is worked as
Preceding play time is corresponding with the playing progress rate of playing progress bar 220, so, it in practical applications, can be by video playing
Region 210 notifies the current play time point of first video file to user comment region 230, can also be by user comment
Region 230 is obtained by the playing progress rate of playing progress bar 220.
In a kind of specific implementation mode of the present invention, a cycle can be set, current play time is periodically obtained
Point.For a video file, the plot variation for being separated by 1 second video file content is little, but the video for being separated by 15 seconds
The plot of file content changes greatly, so the setting in period as possible rationally if the period of setting is too short, can will make client
Each widget interaction between end is excessively frequent, increases client's end pressure, if the period of setting is too long, can make video file content
Plot variation too greatly, it has not been convenient to user checks comment corresponding with broadcast point in time.Can usually be arranged the period be 5 seconds extremely
10 seconds.
S120 is obtained described in the time range for having preset first correspondence with the current play time point
The comment of first video file;
In the case where step S110 obtains the current play time point of the first video file, according to the current play time
Point obtains comment corresponding with the current play time, these comments are other users in the first video file process of viewing
In deliver and collected by server and summarize.Comment on corresponding with the current play time can currently be broadcast with this
Put the comment of first video file in time range of the time point with preset first correspondence.
For example, during video playback area plays the first video file, first video file of acquisition
Current play time point is the 10th minute.Can using 20 seconds before the 10th minute to after ten minutes 40 seconds time range as with
The time range of the current play time (the 10th minute) with the first correspondence, i.e. time range (the 9th point 40 seconds, the
10 points 40 seconds).
S130 shows the comment in user comment display area.
After step S120 obtains comment corresponding with current play time point, show that this is commented in user comment display area
By.Specific display form can be the detailed content of every comment, can also be the summary info of every comment.Two kinds of displaying shapes
Formula has their own advantages, and can be configured according to actual conditions.It is relatively more intuitive if showing the detailed content of every comment,
User can be allowed to be directly viewable interested comment content;If showing the summary info of every comment, can work as
Greater number of comment is shown on forth screen, it, can be corresponding by clicking when the abstract that user comments on certain is interested
Summary info obtains the detailed content of the comment.It is understood that the summary info of every comment can pass through the detailed of comment
The keyword of thin content obtains, or may be used first of the detailed content that every is commented on.
In an embodiment of the present invention, step S120 is obtained has preset first with the current play time point
The preparation method of the comment of first video file in the time range of correspondence may comprise steps of:
Step 1, according to the current play time point to server send first request, request with it is described currently playing
Time point has the comment of first video file in the time range of preset first correspondence;
Step 2 receives the comment that the server is returned according to first request.
In practical applications, the comment information of video file is stored in server.The operation of two above step is executed,
Client is needed to be interacted with server.After the current play time point that step S110 obtains the first video file, according to
The current play time sends the first request to server, and request server is returned with the current play time with default
The first correspondence time range in comment, and receive server according to first request return comment.
From the point of view of server side, there are two types of return the result:
The first, after server receives the first request of client, in the comment of first video file stored
In information, inquiry has the comment in the time range of preset first correspondence with the current play time, and will knot
Fruit returns to client, is received by client;
Second, if the number of reviews that server is inquired is less, a such as less than preset threshold value can be certainly
Dynamic expansion is with time range of the current play time with preset first correspondence, in the time range after expansion
It is searched again, and final result is returned into client.
In an alternative embodiment of the invention, returned the result with above-described embodiment the first server it is corresponding, in step
S130 can also include the following steps after the displaying comment of user comment display area:
First step sends second if the discrepancy of quantity of the comment closes preset quantitative requirement to server
Request, request has the comment in the time range of preset second correspondence with the current play time point, with by institute
State server according to it is described second ask, search whether exist meet it is described second request and different from it is described first request it is new
Comment, if it is present new comment is returned to client, the time range of preset second correspondence includes
The time range of preset first correspondence;
Second step receives the new comment that server is returned according to second request;
Third step updates the comment of the user comment display area displaying.
For a video file, the content of user interest point is concentrated mainly on a few places, Duo Shuoyong in capable of stabbing
Family is made comments just for oneself more interested content, when leading to the broadcasting in the comment information stored in server in this way
Between point be unevenly distributed, if some play times it is corresponding comment more concentrate, some play times it is corresponding comment more
Dispersion.
In practical applications, be as much as possible it is that user shows comment, the quantity that can pre-set user comment wants
It asks, if the number of reviews of user comment display area displaying is very little, does not meet preset quantitative requirement, client can be to clothes
Business device sends the second request, and the current play time point of request and acquisition has in the time range of preset second correspondence
Comment, the time range of preset second correspondence includes the time range of preset first correspondence, that is, will
On the basis of the time range of preset first correspondence, forwardly and/or backwardly expand the time range, it is most to obtain
The comment of amount.
As front illustrates, the current play time point of acquisition is the 10th minute, is had with the current play time
It is (the 9th point and 40 seconds, the 10th point and 40 seconds) to have the time range of preset first correspondence, is had with the current play time
The time range of preset second correspondence is (the 9th point and 30 seconds, the 10th point and 50 seconds).
Server according to client send second request, search whether exist meet it is described second request and be different from institute
The new comment of the first request is stated, if it is present new comment is returned to client, client receives new comment
Afterwards, the comment that update user comment display area is shown.If it does not exist, then returning to empty, holding user comment display area
The comment shown, until obtaining new play time.
In another embodiment of the invention, in step S110 the first video file process is played in video playback area
In, before the current play time point for obtaining first video file, it can also include the following steps:
The comment information of first video file is obtained from server, the comment information of first video file is at least
Include the play time of the comment of first video file first video file corresponding with the comment.
The comment information of the first video file is stored in server, when video playback area starts or will play
When one video file, client first can obtain all comment informations of first video file from server.
In this case, step S120 is obtained has preset first correspondence with the current play time point
The preparation method of the comment of first video file in time range can also include the following steps:
The broadcasting of first video file corresponding to the comment in the comment information of first video file
Time point filters out the comment in the time range for having preset first correspondence with the current play time point.
Client has locally obtained all comment informations of the first video file, in video playback area playing video file
In the process, if obtaining the current play time point of first video file, can believe from the comment of first video file
The comment in the time range that there is preset first correspondence with current play time point is filtered out in breath.
By the comment after the displaying of user comment display area, wanted if the discrepancy of quantity of comment closes preset quantity
It asks, then screening is corresponding with preset second with the current play time point from the comment information of first video file
Comment in the time range of relationship, and update the comment of the user comment display area displaying.
When starting to play or the first video file will be played, all comment letters of first video file are first obtained
Breath, and screen satisfactory comment in these comment informations and be shown, efficiency is improved to a certain extent.
In one embodiment of the invention, user comment display area may include multiple floated regions, in step
S120 obtains commenting for the first video file in the time range for having preset first correspondence with current play time point
By while, or after this step, co-ordinate position information corresponding with every comment can also be obtained, each commented on corresponding
The position clicked in the video playback area when co-ordinate position information delivers the comment by user.Based on this, step S130
May include in the user comment display area displaying comment:
The corresponding region of the co-ordinate position information of acquisition is determined as to the user comment display area of the comment;
Corresponding comment is shown in each user comment display area.
Such as in the diagram shown in figure 3, using 210 upper left corner of video playback area as coordinate origin (0,0), with horizontal direction
Right direction is positive direction of the x-axis, and coordinate system is established by positive direction of the y-axis of vertical downward direction, and two are obtained in current play time point
Item has the comment of the first video file in the time range of preset first correspondence with the current play time, and
This two comments corresponding co-ordinate position information A (100,20) and B (30,60), floated region 240 and 250 are respectively to sit
The corresponding user comment regions A and B are marked, can be specifically user comment display area in this example, the corresponding comments of coordinate A exist
It is shown in floated region 240, the corresponding comments of coordinate B are shown in floated region 250.
It is understood that the relative position of floated region and coordinate position can carry out really according to actual setting situation
Fixed, such as floated region is centered on corresponding coordinate position or floated region is in any one of corresponding coordinate position
Side, the present invention are without limitation.Moreover, in practical applications, if can be provided and be set using the displaying comment of floated region
Item is set by user setting.The interest of video playing can be increased using the embodiment, better viewing experience is brought for user.
Fig. 4 show the implementing procedure figure of user comment collection method in the embodiment of the present invention, may include following base
This step:
S310 obtains the comment that user delivers the second video file that region is delivered in user comment;
It should be noted that the second video file used in this method can be identical as the first video file or not
Together.User is during watching the second video file, can if certain partial content to second video file is interested
It can make comments, express oneself viewpoint and view to the contents of the section.
S320 determines the play time of corresponding second video file of comment of second video file;
Generally, there are two the opportunitys that user makes comments:
It first, makes comments during video playback area plays the second video file;
It second, makes comments in playing advertisement process after video playback area plays the second video file.
First opportunity, user watches interested video file content, directly can deliver area in user comment
The input frame input information in domain, it is possible to the reproduction time for corresponding second video file that starts to make comments by user
Point is determined as the play time of corresponding second video file of the comment.
Second opportunity, even if user watches interested video file content, but in watching process, do not send out
Table is commented on, but is made comments in playing advertisement process after second video file broadcasting terminates, can be by described the
The initial play time point of two video files is determined as the play time of corresponding second video file of the comment.
S330, by the reproduction time of the comment of second video file second video file corresponding with the comment
Point is sent to server, and the user comment information that multiple client is sent is collected by server.
Each client is by the broadcasting of the comment of the second video file of acquisition the second video file corresponding with the comment
Time point is sent to server, finally collects the user comment information that multiple client is sent by server, is receiving client
When end is directed to the request of a certain play time, returned according to request content has default correspondence with the play time
Comment information in time range.
The technical solution that the embodiment of the present invention is provided, the user comment information that server is collected into include what user delivered
The play time of comment video file corresponding with the comment.In video playback area during playing video file, user
Current play time point of the display area by the video file of acquisition is commented on, obtains to have with current play time point and preset
The first correspondence time range in comment, and be shown.In this way so that user comment display area was shown
Comment is corresponding with the play time of currently played video file, and the user to watch the video file provides
Effectively reference, and user need not search one by one can view with the relevant comment of current play time point, be user
Bring preferable usage experience.
In one embodiment of the invention, it may include multiple floated regions that user comment, which delivers region, can be with
Including:
Determine that the corresponding co-ordinate position information of comment of second video file, the co-ordinate position information are sent out for user
The position clicked in the video playback area when table comment;
By the comment of second video file, corresponding second video file of the comment play time and should
It comments on corresponding co-ordinate position information and is sent to server, the user comment information that multiple client is sent is collected by server.
Still by taking schematic diagram shown in Fig. 3 as an example, using 210 upper left corner of video playback area as coordinate origin (0,0), with level
Right direction is positive direction of the x-axis, and coordinate system is established by positive direction of the y-axis of vertical downward direction.In same play time,
The use of the position coordinates that mouse or felt pen are clicked is A (100,20), outstanding when user 1 is to be made comments in one client
Input comment content is made comments in turn in floating region 240;On a second client, when user 2 is to be made comments, mouse is used
The position coordinates that mark or felt pen are clicked are B (30,60), and input comment content is delivered in turn in floated region 250 comments
By.In this example, floating region 240 and 250 can be specifically that user comment delivers region.Each client believes these associations
Breath is sent to server, and the user comment information that multiple client is sent is collected by server.
It is understood that the relative position of floated region and coordinate position can carry out really according to actual setting situation
Fixed, such as floated region is centered on corresponding coordinate position or floated region is in any one of corresponding coordinate position
Side, the present invention are without limitation.Moreover, in practical applications, if being made comments to provide using floated region is set
Item is set by user setting.The interest of video playing can be increased using the embodiment, better usage experience is brought for user.
Corresponding to user comment methods of exhibiting embodiment above, the present invention also provides user comments to show device, ginseng
As shown in Figure 5, which may include:
Time point obtains module 410, for during video playback area plays the first video file, obtaining described the
The current play time point of one video file;
First comment obtains module 420, and the current play time that module 410 obtains is obtained with the time point for obtaining
The comment of first video file in time range of the point with preset first correspondence;
Display module 430 is commented on, is obtained for obtaining module 420 in user comment display area displaying first comment
Comment.
In a kind of specific implementation mode of the present invention, first comment obtains module 420, may include:
First request-to-send submodule, for obtaining the current play time point that module 410 obtains according to the time point
The first request is sent to server, request has the time range of preset first correspondence with the current play time point
The comment of interior first video file;
First comment receiving submodule, the comment returned according to first request for receiving the server.
In a kind of specific implementation mode of the present invention, can also include:
Comment information acquisition module, the comment information for obtaining first video file from server, described first
The comment information of video file includes at least comment the first video text corresponding with the comment of first video file
The play time of part.
In a kind of specific implementation mode of the present invention, first comment obtains module 420, may include:
Submodule is screened in first comment, and the first video file for being obtained according to comment information acquisition module is commented
By the play time of first video file corresponding to the comment in information, filter out and the current play time point
Comment in time range with preset first correspondence.
In a kind of specific implementation mode of the present invention, can also include:
Second request sending module is used in the case where the discrepancy of quantity of the comment closes preset quantitative requirement, to
Server sends the second request, and request has with the current play time point in the time range of preset second correspondence
Comment, with by the server according to it is described second ask, search whether exist meet it is described second request and be different from institute
The new comment of the first request is stated, if it is present new comment is returned to client, preset second correspondence
Time range include the time range of preset first correspondence;
Second comment receiving module, the second request sent according to second request sending module for receiving server
The new comment returned;
First comment update module, the comment for updating the user comment display area displaying.
In a kind of specific implementation mode of the present invention, further include:
Second comment screening module is used in the case where the discrepancy of quantity of the comment closes preset quantitative requirement, from
Screening has preset second correspondence with the current play time point in the comment information of first video file
Comment in time range;
Second comment update module, the comment for updating the user comment display area displaying.
In a kind of specific implementation mode of the present invention, can also include:
Coordinate position obtains module, for the case where the user comment display area includes multiple floated regions
Under, obtain first video text in the time range that there is preset first correspondence with the current play time point
The corresponding co-ordinate position information of comment of part is each commented on when corresponding co-ordinate position information delivers the comment for user described
The position that video playback area is clicked;
The comment display module may include:
Display area determination sub-module is determined for position to be obtained the corresponding region of co-ordinate position information that module obtains
For the user comment display area of the comment;
Comment displaying submodule, for showing corresponding comment in each user comment display area.
Corresponding to user comment collection method embodiment, the present invention also provides user comment collection devices, referring to Fig. 6 institutes
Show, which may include:
Second comment obtains module 510, and the second video file that region is delivered is delivered in user comment for obtaining user
Comment;
Time point determining module 520, for determining that second comment obtains the second video file that module 510 obtains
Comment on the play time of corresponding second video file;
Comment information collection module 530, for second comment to be obtained the second video file that obtains of module 510
The play time of comment second video file corresponding with the comment that the time point determining module determines is sent to
Server collects the user comment information that multiple client is sent by server.
In a kind of specific implementation mode of the present invention, the time point determining module 520 is specifically used for:
During video playback area plays second video file, second comment obtains module and obtains user
In the case where user comment delivers the comment for the second video file that region is delivered, user is started into the corresponding institute that makes comments
The play time for stating the second video file is determined as the play time of corresponding second video file of the comment.
In a kind of specific implementation mode of the present invention, the time point determining module 520 is specifically used for:
In playing advertisement process after video playback area plays second video file, second comment obtains
Module obtains user in the case where user comment delivers the comment for the second video file that region is delivered, by second video
The initial play time point of file is determined as the play time of corresponding second video file of the comment.
In a kind of specific implementation mode of the present invention, can also include:
Coordinate position determining module, for delivering the case where region includes multiple floated regions in the user comment
Under, determine that the corresponding co-ordinate position information of comment of second video file, the co-ordinate position information are that user delivers this
The position clicked in the video playback area when comment;
The comment information collection module is specifically used for second comment obtaining the second video file that module obtains
Comment on, the time point determining module determine corresponding second video file of the comment play time and sit
The corresponding co-ordinate position information of the comment that cursor position determining module determines is sent to server, and multiple clients are collected by server
Hold the user comment information sent.
The device that the embodiment of the present invention is provided, the user comment information that server is collected into include the comment that user delivers
The play time of video file corresponding with the comment.In video playback area during playing video file, user comment
For display area by the current play time point of the video file of acquisition, obtain has preset the with current play time point
Comment in the time range of one correspondence, and be shown.In this way so that the comment that user comment display area is shown
Corresponding with the play time of currently played video file, the user to watch the video file provides effectively
With reference to, and user need not search one by one can view with the relevant comment of current play time point, brought for user
Preferable usage experience.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method
Part explanation.
One of ordinary skill in the art will appreciate that all or part of step in realization above method embodiment is can
It is completed with instructing relevant hardware by program, the program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. user comment methods of exhibiting, which is characterized in that including:
During video playback area plays the first video file, the current play time of first video file is obtained
Point;
Obtain first video in the time range that there is preset first correspondence with the current play time point
The comment of file;The current play time point of first video file is located at the current play time point with preset
In the time range of first correspondence;
Show that the comment, display form are the summary info of every comment in user comment display area;
The user comment display area includes multiple floated regions, is obtained with the current play time point with preset
The corresponding co-ordinate position information of comment of first video file in the time range of first correspondence, each comment pair
The position clicked in the video playback area when co-ordinate position information answered delivers the comment by user;
It is described to show the comment in user comment display area, including:
The corresponding region of the co-ordinate position information of acquisition is determined as to the user comment display area of the comment;
Corresponding comment is shown in each user comment display area;
If the discrepancy of quantity of the comment closes preset quantitative requirement, the second request is sent to server, request with it is described
Current play time point have preset second correspondence time range in comment, with by the server according to
Second request searches whether there is the new comment for meeting second request and being asked different from first, if it is present will
New comment returns to client, and the time range of preset second correspondence includes that preset first correspondence is closed
The time range of system, first request is for asking have preset first correspondence with the current play time point
The comment of first video file in time range;
Receive the new comment that server is returned according to second request;
Update the comment of the user comment display area displaying.
2. according to the method described in claim 1, it is characterized in that, the acquisition and the current play time point are with default
The first correspondence time range in first video file comment, including:
The first request is sent to server according to the current play time point, request has pre- with the current play time point
If the first correspondence time range in first video file comment;
Receive the comment that the server is returned according to first request.
3. according to the method described in claim 1, it is characterized in that, playing the first video file in video playback area described
In the process, before the current play time point for obtaining first video file, further include:
The comment information of first video file is obtained from server, the comment information of first video file includes at least
The play time of comment first video file corresponding with the comment of first video file.
4. according to the method described in claim 3, it is characterized in that, the acquisition and the current play time point are with default
The first correspondence time range in first video file comment, including:
The reproduction time of first video file corresponding to the comment in the comment information of first video file
Point filters out the comment in the time range for having preset first correspondence with the current play time point.
5. method according to claim 3 or 4, which is characterized in that described described in the displaying of user comment display area
After comment, further include:
If the discrepancy of quantity of the comment closes preset quantitative requirement, sieved from the comment information of first video file
Choosing has the comment in the time range of preset second correspondence with the current play time point;
Update the comment of the user comment display area displaying.
6. user comment shows device, which is characterized in that including:
Time point obtains module, for during video playback area plays the first video file, obtaining first video
The current play time point of file;
First comment obtains module, and the current play time point for obtaining and time point acquisition module obtains has default
The first correspondence time range in first video file comment;First video file it is currently playing
Time point is located in the time range for having preset first correspondence with the current play time point;
Display module is commented on, for showing that first comment obtains the comment that module obtains, exhibition in user comment display area
Show that form is the summary info of every comment;
Coordinate position obtains module, in the case where the user comment display area includes multiple floated regions, obtaining
Obtain first video file in the time range that there is preset first correspondence with the current play time point
Corresponding co-ordinate position information is commented on, is each commented on when corresponding co-ordinate position information delivers the comment for user in the video
The position that play area is clicked;
The comment display module, including:
Display area determination sub-module is determined as this for position to be obtained the corresponding region of co-ordinate position information that module obtains
The user comment display area of comment;
Comment displaying submodule, for showing corresponding comment in each user comment display area;
Second request sending module is used in the case where the discrepancy of quantity of the comment closes preset quantitative requirement, to service
Device sends the second request, asks commenting in the time range for having preset second correspondence with the current play time point
By, with by the server according to it is described second ask, search whether exist meet it is described second request and asked different from first
The new comment asked, if it is present new comment is returned to client, the time model of preset second correspondence
The time range for including preset first correspondence is enclosed, first request is for asking and the current play time
The comment of first video file in time range of the point with preset first correspondence;
Second comment receiving module is returned for receiving server according to the second request that second request sending module is sent
New comment;
First comment update module, the comment for updating the user comment display area displaying.
7. device according to claim 6, which is characterized in that first comment obtains module, including:
First request-to-send submodule, for obtaining current play time point that module obtains to server according to the time point
The first request is sent, is asked described in the time range that there is preset first correspondence with the current play time point
The comment of first video file;
First comment receiving submodule, the comment returned according to first request for receiving the server.
8. device according to claim 6, which is characterized in that further include:
Comment information obtains module, the comment information for obtaining first video file from server, first video
The comment information of file includes at least comment first video file corresponding with the comment of first video file
Play time.
9. device according to claim 8, which is characterized in that first comment obtains module, including:
First comment screening submodule, the comment for obtaining the first video file that module obtains according to the comment information are believed
The play time of first video file corresponding to comment in breath, filtering out has with the current play time point
Comment in the time range of preset first correspondence.
10. device according to claim 8 or claim 9, which is characterized in that further include:
Second comment screening module, in the case where the discrepancy of quantity of the comment closes preset quantitative requirement, from described
Screening has the time of preset second correspondence with the current play time point in the comment information of first video file
Comment in range;
Second comment update module, the comment for updating the user comment display area displaying.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410461331.5A CN104185079B (en) | 2014-09-11 | 2014-09-11 | User comment displaying, collection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410461331.5A CN104185079B (en) | 2014-09-11 | 2014-09-11 | User comment displaying, collection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104185079A CN104185079A (en) | 2014-12-03 |
CN104185079B true CN104185079B (en) | 2018-09-28 |
Family
ID=51965766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410461331.5A Active CN104185079B (en) | 2014-09-11 | 2014-09-11 | User comment displaying, collection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104185079B (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104703038A (en) * | 2015-03-13 | 2015-06-10 | 天脉聚源(北京)传媒科技有限公司 | Multimedia processing method and device |
CN104735543B (en) * | 2015-03-30 | 2018-09-28 | 北京奇艺世纪科技有限公司 | A kind of barrage display methods and device |
CN104811764A (en) * | 2015-04-28 | 2015-07-29 | 柳州市一呼百应科技有限公司 | System for Internet video advertisement |
CN104796740A (en) * | 2015-04-28 | 2015-07-22 | 柳州市一呼百应科技有限公司 | Platform for internet video advertisements |
CN104811763A (en) * | 2015-04-28 | 2015-07-29 | 柳州市一呼百应科技有限公司 | Interactive advertisement system based on Internet videos |
CN104811766A (en) * | 2015-04-28 | 2015-07-29 | 柳州市一呼百应科技有限公司 | Advertising platform based on interaction network |
CN105094841A (en) * | 2015-08-14 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Page commenting method and device |
CN105357587A (en) * | 2015-10-28 | 2016-02-24 | 广州华多网络科技有限公司 | Method and system for realizing music barrage |
CN105472468B (en) * | 2015-12-04 | 2018-07-24 | 珠海多玩信息技术有限公司 | Thumb up the back method and server of video |
CN105898600A (en) * | 2015-12-10 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Processing method of bullet screen data and terminal equipment |
CN105916037A (en) * | 2015-12-23 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Video comment information processing method and apparatus |
CN105847986A (en) * | 2016-02-01 | 2016-08-10 | 乐视移动智能信息技术(北京)有限公司 | Real-time music commenting method and system |
CN105721899B (en) * | 2016-03-21 | 2018-09-18 | 传线网络科技(上海)有限公司 | A kind of method and system of video quality score |
CN106484406A (en) * | 2016-09-26 | 2017-03-08 | 珠海市魅族科技有限公司 | A kind of method for sending information and device |
WO2018176464A1 (en) * | 2017-04-01 | 2018-10-04 | 深圳市智晟达科技有限公司 | Method for pushing film comments according to video playing time, and digital television |
JP6304847B1 (en) | 2017-04-28 | 2018-04-04 | 株式会社コナミデジタルエンタテインメント | Server apparatus and computer program used therefor |
CN107635153B (en) * | 2017-09-11 | 2020-07-31 | 北京奇艺世纪科技有限公司 | Interaction method and system based on image data |
CN109344318B (en) * | 2018-10-15 | 2020-05-15 | 北京字节跳动网络技术有限公司 | Method and apparatus for processing information |
CN109739418B (en) * | 2018-12-27 | 2021-02-12 | 维沃移动通信有限公司 | Interaction method and terminal for multimedia playing application program |
CN110475134A (en) * | 2019-08-27 | 2019-11-19 | 北京达佳互联信息技术有限公司 | A kind of comment content display method, device, electronic equipment and storage medium |
CN113194336A (en) * | 2021-04-30 | 2021-07-30 | 北京奇艺世纪科技有限公司 | Comment display method and device |
CN116996699A (en) * | 2022-10-12 | 2023-11-03 | 广州腾讯科技有限公司 | Video comment display method, device, terminal and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382867A (en) * | 2008-10-28 | 2009-03-11 | 深圳市迅雷网络技术有限公司 | Video playing interaction method and terminal |
CN103164414A (en) * | 2011-12-09 | 2013-06-19 | 腾讯科技(深圳)有限公司 | Multimedia file comment display method and multimedia file comment display system |
CN103517092A (en) * | 2012-06-29 | 2014-01-15 | 腾讯科技(深圳)有限公司 | Method and device for video displaying |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547433A (en) * | 2010-12-07 | 2012-07-04 | 华录文化产业有限公司 | Method and device for interactive comments based on play time points |
US20130145248A1 (en) * | 2011-12-05 | 2013-06-06 | Sony Corporation | System and method for presenting comments with media |
WO2014013689A1 (en) * | 2012-07-20 | 2014-01-23 | パナソニック株式会社 | Moving-image-with-comments generation device and moving-image-with-comments generation method |
CN102905170B (en) * | 2012-10-08 | 2015-05-13 | 北京导视互动网络技术有限公司 | Screen popping method and system for video |
CN103810185A (en) * | 2012-11-07 | 2014-05-21 | 联想(北京)有限公司 | Information processing method and device, and electronic equipment |
-
2014
- 2014-09-11 CN CN201410461331.5A patent/CN104185079B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382867A (en) * | 2008-10-28 | 2009-03-11 | 深圳市迅雷网络技术有限公司 | Video playing interaction method and terminal |
CN103164414A (en) * | 2011-12-09 | 2013-06-19 | 腾讯科技(深圳)有限公司 | Multimedia file comment display method and multimedia file comment display system |
CN103517092A (en) * | 2012-06-29 | 2014-01-15 | 腾讯科技(深圳)有限公司 | Method and device for video displaying |
Also Published As
Publication number | Publication date |
---|---|
CN104185079A (en) | 2014-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104185079B (en) | User comment displaying, collection method and device | |
CN103517092B (en) | A kind of method and device of video display | |
CN104735543B (en) | A kind of barrage display methods and device | |
CN105338394B (en) | The processing method and system of caption data | |
CN101950578B (en) | Method and device for adding video information | |
CN106303726B (en) | Video tag adding method and device | |
CN104618788B (en) | A kind of method and device of display video information | |
CN105872593A (en) | Barrage pushing method and device | |
CN109996124B (en) | Bullet screen processing method, system and storage medium | |
CN108650558A (en) | The generation method and device of video Previously on Desperate Housewives based on interactive video | |
CN102547433A (en) | Method and device for interactive comments based on play time points | |
CN109688481A (en) | Media guide to visitors and playback method, device and computer readable media | |
CN103164414A (en) | Multimedia file comment display method and multimedia file comment display system | |
CN103501464A (en) | Method, terminal, server and system for pushing advertisement | |
CN104270647B (en) | A kind of media content recommendations method and apparatus | |
CN107920274A (en) | A kind of method for processing video frequency, client and server | |
CN104936034B (en) | Information input method and device based on video | |
CN105916037A (en) | Video comment information processing method and apparatus | |
CN107635153B (en) | Interaction method and system based on image data | |
CN111107434A (en) | Information recommendation method and device | |
CN103200427A (en) | Network programme playing method and system, multi-media server and terminal | |
CN104581224B (en) | Switch the method, apparatus and terminal of broadcasting content | |
CN105323600A (en) | IPTV shopping information pushing method and device | |
CN105635838A (en) | Bullet-screen information processing method and device | |
CN114025185B (en) | Video playback method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |