[go: up one dir, main page]

CN110008395B - Comment content presentation method and device, storage medium and terminal - Google Patents

Comment content presentation method and device, storage medium and terminal Download PDF

Info

Publication number
CN110008395B
CN110008395B CN201811082979.6A CN201811082979A CN110008395B CN 110008395 B CN110008395 B CN 110008395B CN 201811082979 A CN201811082979 A CN 201811082979A CN 110008395 B CN110008395 B CN 110008395B
Authority
CN
China
Prior art keywords
comment
predetermined
preset
link
contents
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
CN201811082979.6A
Other languages
Chinese (zh)
Other versions
CN110008395A (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811082979.6A priority Critical patent/CN110008395B/en
Publication of CN110008395A publication Critical patent/CN110008395A/en
Application granted granted Critical
Publication of CN110008395B publication Critical patent/CN110008395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method, a device, a storage medium and a terminal for presenting comment content, wherein the method comprises the following steps: determining comment subjects of comment contents associated with the predetermined links in all the predetermined comment contents according to a predetermined keyword extraction strategy; displaying a comment theme at a predetermined position; searching for related comment contents with the matching degree with the comment subjects reaching a preset value in all the preset comment contents; and displaying the related comment contents according to a preset sequence. According to the embodiment of the invention, the comment contents are summarized through the comment subjects, so that the user can quickly view the relevant comment contents of all links according to the comment subjects displayed on the current link, and the user experience is good.

Description

Comment content presentation method and device, storage medium and terminal
Technical Field
The invention relates to the field of internet, in particular to a comment content presentation method, a comment content presentation device, a comment content storage medium and a comment content terminal.
Background
When a user watches videos or articles by using various APPs, a comment area specially used for the user to publish a statement is usually arranged behind the videos or the articles, the contents of the comment area are usually displayed according to the time sequence, or displayed according to the praise number of comment, or displayed according to the number of messages under a certain comment in a sequence, and the like.
In the process of implementing the invention, the inventor finds that the existing comment content presentation technology has at least the following defects: the user can only view the default comment content under the current video or article, and if the user clicks under one other link related to the video or article, the user can see the comment content under the related link, however, the user cannot view the comments or popular comments of all related articles uniformly, and the user experience is poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a storage medium, and a terminal for presenting comment content, so as to solve the following problems in the prior art: the user can only check the default comment content of the current video or article, the comment content of other related links can only be checked after entering the corresponding links, the comments or hot comments of all related articles cannot be checked in a unified manner, and the user experience is poor.
On one hand, the embodiment of the invention provides a method for presenting comment content, which comprises the following steps: determining comment subjects of comment contents associated with the predetermined links in all the predetermined comment contents according to a predetermined keyword extraction strategy; displaying the comment subject at a predetermined position; searching for related comment contents with the matching degree of the comment subjects reaching a preset value in all preset comment contents; and displaying the related comment contents according to a preset sequence.
On the other hand, an embodiment of the present invention provides a presentation apparatus for comment content, including: the first determining module is used for determining comment subjects of comment contents related to the preset links in all preset comment contents according to a preset keyword extraction strategy; a first presentation module for displaying the comment subject at a predetermined location; the matching module is used for searching the relevant comment contents of which the matching degree with the comment subjects reaches a preset value in all the preset comment contents; and the second presentation module is used for displaying the related comment contents according to a preset sequence.
In another aspect, an embodiment of the present invention provides a storage medium storing a computer program, where the computer program is executed by a processor to implement the method provided in any embodiment of the present invention.
On the other hand, an embodiment of the present invention provides a terminal, which at least includes a memory and a processor, where the memory stores a computer program, and the processor implements the method provided in any embodiment of the present invention when executing the computer program on the memory.
According to the embodiment of the invention, the comment contents are summarized through the comment subjects, so that the user can quickly view the relevant comment contents of all links according to the comment subjects displayed on the current link, and the user experience is good.
Drawings
Fig. 1 is a flowchart of a method for presenting comment content according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for presenting comment content according to a second embodiment of the present invention;
FIG. 3 is a diagram illustrating an article interface with a comment area according to a second embodiment of the present invention;
FIG. 4 is a first diagram of an article interface displaying a topic of comments according to a second embodiment of the present invention;
FIG. 5 is a second diagram of an article interface displaying a topic of comments according to a second embodiment of the present invention;
FIG. 6 is a schematic diagram of an interface after a comment theme is triggered according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of a presentation apparatus for comment content according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of a presentation apparatus of comment content according to a fourth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention without any inventive step, are within the scope of protection of the invention.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
To maintain the following description of the embodiments of the present invention clear and concise, a detailed description of known functions and known components of the invention have been omitted.
The first embodiment of the present invention provides a method for presenting comment content, the flow of which is shown in fig. 1, and the method includes steps S101 to S104:
s101, determining the comment subjects of the comment contents related to the preset link in all the preset comment contents according to a preset keyword extraction strategy.
After a user clicks a certain link, if the interface corresponding to the link is a link with a comment area, the user can post comment content in the comment area corresponding to the link. For example, when a user watches a certain video link, many users dispute the comment content in the comment area below the video, and then the user can see the comment content posted by other users. Generally, the comment content of the user is directed to the video content, and therefore, the comment content generally surrounds a theme.
In the embodiment, a comment subject is determined for all the predetermined comment contents by taking all the predetermined comment contents as a whole. Any one of the predetermined keyword extraction strategies in the prior art may be used to determine the comment subjects of all the predetermined comment contents involved in a certain predetermined link, for example, the term importance principle is used to determine the comment subjects. The predetermined comment content may be comment content that is not subjected to any filtering, or may be comment content that is subjected to filtering.
S102, displaying the comment theme at a preset position.
According to the embodiment of the invention, the comment subject is not set for a certain preset link independently, but all links have the comment subject corresponding to the comment content of the link, so that after the comment subject is determined by the current link, the comment subject can be used as a search word to search the comment contents of other related links. In order to enable the user to have better user experience, the comment subject can be directly associated with the search box and presented in a certain preset position of the interface corresponding to the preset link, and therefore when the user wants to view more comment contents of the relevant link, the user can directly operate the presented comment subject.
In a specific implementation, a predetermined comment subject library can be used for storing all the linked comment subjects, and the comment subjects can be stored in the predetermined comment subject library before being presented in the predetermined position of the interface corresponding to the predetermined link. Of course, this method is only a specific example, and all the linked comment themes may not be uniformly stored.
S103, searching for related comment contents with the matching degree of the comment subjects reaching a preset value in all the preset comment contents.
Generally, the comment theme is designed to be clickable, and when clicking the comment theme, a user triggers to search for comment content related to the comment theme.
In the process, the comment subjects serve as keywords for searching related comment contents, and if the matching degree of other comments and the comment subjects reaches a preset value, it is indicated that contents which are interested by the user viewing the current preset link exist in the other comments.
And S104, displaying the related comment contents according to a preset sequence.
The display order of the existing comment content is various, for example, according to the comment time, the comment number of comments, the reply number of the comment content, and the like; in setting, the present embodiment may perform presentation in any display order.
According to the embodiment of the invention, a comment subject is determined for all the preset comment contents in the preset link, and the comment contents corresponding to the same or similar other links can be found through the comment subject by searching the related comment contents based on the comment subject.
According to the embodiment of the invention, the comment contents are summarized through the comment subjects, so that the user can quickly view the relevant comment contents of all links according to the comment subjects displayed on the current link, and the user experience is good.
The second embodiment of the present invention provides a method for presenting comment content, the flow of the method is shown in fig. 2, and the method includes steps S201 to S207:
s201, detecting whether the comment content of each link in a preset time range meets a first preset condition or not in all the links, and determining the links meeting the first preset condition as preset links.
The first predetermined condition may include a variety of cases, for example, whether the total number of the comment contents reaches a predetermined comment number, the number of the praise of the comment contents reaches a predetermined praise number, and the like. If the comment content meets the first predetermined condition within a predetermined time range of some links, the links are determined as predetermined links.
S202, determining that the comment content meeting the second preset condition in the preset time range of the preset link is the comment content associated with the preset link in all the preset comment contents.
The second predetermined condition may include a plurality of cases, for example, the number of replies to the comment content reaches the predetermined number of replies, the number of praise to the comment content reaches the predetermined number of praise, and the like. Since the process is a screening process for the comment content, if the second predetermined condition is set that the predetermined number of praise for the comment content reaches the predetermined number of praise, the predetermined number of praise in the process is necessarily higher than the predetermined number of praise in the first predetermined condition in the process of determining the predetermined link, and it can be guaranteed that the related comment content displayed last is of good quality.
When the second predetermined condition is set that the reply quantity of the comment content reaches the predetermined reply quantity, and when all the predetermined comment content in the predetermined link is acquired, whether each comment meets the second predetermined condition is judged, for example, the reply quantity of each comment in the predetermined link is counted, if the reply quantity of a certain comment content reaches 100, it is said that the comment content is a web friend of the comment content, and the comment content meets the second predetermined condition, which may be called a hot comment.
Of course, the number of praise of the comment content and the number of replies of the comment content may be used together as a condition for filtering all the predetermined comment contents.
S203, determining the comment subjects of the comment contents associated with the preset links in all the preset comment contents according to the preset keyword extraction strategy.
After a user clicks a certain link, if the interface corresponding to the link is a link with a comment area, the user can post comment content in the comment area corresponding to the link. For example, when a user watches a certain video link, many users dispute the comment content in the comment area below the video, and then the user can see the comment content posted by other users. Generally, the comment content of the user is directed to the video content, and therefore, the comment content generally surrounds a theme.
In the embodiment, a comment subject is determined for all the predetermined comment contents by taking all the predetermined comment contents as a whole. Any one of the predetermined keyword extraction strategies in the prior art may be used to determine the comment subjects of all the predetermined comment contents involved in a certain predetermined link, for example, the term importance principle is used to determine the comment subjects.
In a specific implementation, the term importance principle may be adopted in the predetermined keyword extraction policy, and the process of determining the comment subjects of all the predetermined comment contents associated with the predetermined link according to the predetermined keyword extraction policy may be as follows: performing word segmentation on the comment content associated with the preset link, and scoring each participle obtained after the word segmentation according to a preset keyword extraction strategy to obtain a score of each participle; sequentially acquiring the first N participles according to the sequence of scores from high to low, and forming M subject terms by the N participles according to a permutation and combination mode; matching each subject term in the M subject terms with historical search terms stored in a preset search database respectively to determine the search matching degree of each subject term; and determining the subject term corresponding to the highest search matching degree as the comment subject of the comment content associated with the predetermined link, wherein M and N are integers greater than 2, and M is greater than N.
For example, all the comment contents meeting the second predetermined condition are extracted from a certain article, word segmentation processing is performed on all the predetermined comment contents, the segmented words are scored according to term importance, after the processing, scores of the same words are added to obtain the top 5 words with the highest score, and then the 5 words are combined to obtain more subject words. And querying a preset search database by using the subject terms, and showing the term to the user if the subject term is the query which is actually searched by the user in history. If a plurality of queries are found to be history-displayed queries after query, one of the queries can be randomly selected for recommendation.
As shown in fig. 3, the article is a basketball report article, the article is followed by the comment area of the user, and the number of comments of the user of the article exceeds 4000 preset, so that in order for the user to have a better use experience, the comment subject needs to be determined for the comment content of the article.
As can be seen in fig. 3, the praise counts are relatively high in the several comments that have been displayed, and therefore, the comment content of the article may be displayed in the order of the praise counts. When the comment subjects of the article are determined, all the preset comment contents with the number of praise higher than 100 are acquired, and the comment subjects are determined for the comment contents.
In fig. 3, only the top 3 comments have a praise number higher than 100, and the following takes the content of the 3 comments as an example to illustrate the process of determining the subject of the comment by the term importance principle.
(1) And acquiring all the preset comment contents meeting the preset hot comment conditions.
Review 1: a is still losing but has strong score ability today
Review 2: a failing to take effect
Comment 3: b score ability of today is general, not
(2) And performing word segmentation on all the preset comment contents.
Review 1: a | today | score | ability | good | o, but | still | output ball
Review 2: a | loses the ball, | hey
Comment 3: b | today | score | ability | general | o, | without force
(3) The 4 words with higher scores are determined, and all combinations of the 4 words are determined.
Words with high scores: A. score, today, lose the ball.
The following are combined: score a, ball lost a, score today a, and so on. Of course, the combination can be performed in combination with the normal word order during the specific implementation, and obvious and unreasonable combinations can be deleted.
(4) Then go to the predetermined search database to search query.
Through searching, only the ball input of the A is found to be the real query, and the ball input of the A can be set as the comment subject.
S204, displaying the comment theme at a preset position.
According to the embodiment of the invention, the comment subject is not set for a certain preset link independently, but all links have the comment subject corresponding to the comment content of the link, so that after the comment subject is determined by the current link, the comment subject can be used as a search word to search the comment contents of other related links. In order to enable the user to have better user experience, the comment subject can be directly associated with the search box and presented in a certain preset position of the interface corresponding to the preset link, and therefore when the user wants to view more comment contents of the relevant link, the user can directly operate the presented comment subject.
For example, as shown in fig. 4, "a lost ball" is shown between the article area and the comment area in fig. 4, and the specific display form thereof only needs to include a lost ball, and in order to give the user a better sensory experience, a special symbol may be added before and after the comment subject, as shown in fig. 5, a "# a lost ball #" is displayed. Of course, "a loses a ball" can be displayed at other positions of the article, and those skilled in the art can make different settings according to the actual needs of the user and different layouts of the corresponding link interfaces.
In a specific implementation, a predetermined comment subject library can be used for storing all the linked comment subjects, and the comment subjects can be stored in the predetermined comment subject library before being presented in the predetermined position of the interface corresponding to the predetermined link. Of course, this method is only a specific example, and all the linked comment themes may not be uniformly stored.
S205, searching for the related comment content with the matching degree of the comment theme reaching the preset value in all the preset comment contents.
Generally, the comment theme is designed to be clickable, and when clicking the comment theme, a user triggers to search for comment content related to the comment theme.
In the process, the comment subjects serve as keywords for searching related comment contents, and if the matching degree of other comments and the comment subjects reaches a preset value, it is indicated that contents which are interested by the user viewing the current preset link exist in the other comments.
For example, when the user clicks "# a ball lost #" in fig. 5, the present embodiment obtains "# a ball lost #" as a keyword for searching, and obtains related comment contents with the same text, where the original links corresponding to the related comment contents may be video links, article links, and the like.
And S206, sequencing the related comment contents according to a preset sequencing rule. Since the ranking modes of the comment contents presented under each link are different, the predetermined ranking rule in the process also does not need to follow the ranking mode of the comment contents of each link, and the predetermined ranking rule may be, for example, by comment time, by comment like number, by reply number of the comment contents, and the like.
And S207, presenting a preset number of comment contents according to the sequence from high to low of the sequencing result.
Due to the limited size of the interface layout, the embodiment of the present invention sets that 10 comment contents possibly from different links are finally presented, as shown in fig. 6, the praise numbers are sequentially arranged from high to low, and the pull-down can view all 10 comment contents. Of course, the content may also be sorted according to the number of replies of each comment content, which is not described herein again.
According to the embodiment of the invention, a comment subject is determined for the comment content associated with the preset link, and related comment content is searched based on the comment subject, so that the comment content corresponding to the same or similar other links can be found through the comment subject.
According to the embodiment of the invention, the comment contents are summarized through the comment subjects, so that the user can quickly view the relevant comment contents of all links according to the comment subjects displayed on the current link, and the user experience is good.
A third embodiment of the present invention provides a presentation apparatus of comment content, the apparatus having a structure schematically shown in fig. 7, and including:
the first determining module 10 is configured to determine, according to a predetermined keyword extraction policy, a comment subject of comment content associated with a predetermined link from among all predetermined comment content; a first presenting module 20, coupled to the first determining module 10, for displaying the comment subject at a predetermined location; the matching module 30 is coupled with the first presenting module 20 and is used for searching all the preset comment contents for the related comment contents of which the matching degree with the comment subjects reaches a preset value; and a second presenting module 40, coupled to the matching module 30, for displaying the related comment contents in a predetermined order.
After a user clicks a certain link, if the interface corresponding to the link is a link with a comment area, the user can post comment content in the comment area corresponding to the link. For example, when a user watches a certain video link, many users dispute the comment content in the comment area below the video, and then the user can see the comment content posted by other users. Generally, the comment content of the user is directed to the video content, and therefore, the comment content generally surrounds a theme.
In the embodiment, a comment subject is determined for all the predetermined comment contents by taking all the predetermined comment contents as a whole. The first determination module 10 may use any one of the predefined keyword extraction strategies in the prior art to determine the comment subjects of all predefined comment contents involved in a certain predefined link, for example, using term importance principle to determine the comment subjects. The predetermined comment content may be comment content that is not subjected to any filtering, or may be comment content that is subjected to filtering.
According to the embodiment of the invention, the comment subject is not set for a certain preset link independently, but all links have the comment subject corresponding to the comment content of the link, so that after the comment subject is determined by the current link, the comment subject can be used as a search word to search the comment contents of other related links. In order to enable the user to have better user experience, the first presentation module 20 in this embodiment may directly associate the comment subject with the search box, and present the comment subject in a certain predetermined position of the interface corresponding to the predetermined link, so that when the user wants to view more comment contents of related links, the user may directly operate the presented comment subject.
In a specific implementation, a predetermined comment subject library can be used for storing all the linked comment subjects, and the comment subjects can be stored in the predetermined comment subject library before being presented in the predetermined position of the interface corresponding to the predetermined link. Of course, this method is only a specific example, and all the linked comment themes may not be uniformly stored.
In general, the matching module 30 may design the comment subject to be clickable, and when the user clicks the comment subject, the user may trigger to search for the comment content related to the comment subject.
In the process, the comment subjects serve as keywords for searching related comment contents, and if the matching degree of other comments and the comment subjects reaches a preset value, it is indicated that contents which are interested by the user viewing the current preset link exist in the other comments.
The display order of the existing comment content is various, for example, according to the comment time, the comment number of comments, the reply number of the comment content, and the like; in this embodiment, when setting up, the second presenting module 40 may present according to any one of the display orders.
According to the embodiment of the invention, a comment subject is determined for the comment content associated with the preset link, and related comment content is searched based on the comment subject, so that the comment content corresponding to the same or similar other links can be found through the comment subject.
According to the embodiment of the invention, the comment contents are summarized through the comment subjects, so that the user can quickly view the relevant comment contents of all links according to the comment subjects displayed on the current link, and the user experience is good.
A fourth embodiment of the present invention provides a comment content presentation apparatus, a structural schematic of which is shown in fig. 8, including:
the second determining module 50 is used for detecting whether the comment content of each link meets a first predetermined condition within a predetermined time range in all the links, and determining the links meeting the first predetermined condition as predetermined links; a third determining module 60, coupled to the second determining module 50, for determining that the predetermined links meet the second predetermined condition within a predetermined time range as all the predetermined comment contents; the first determining module 10 is coupled with the third determining module 60 and is used for determining the comment subjects of all the preset comment contents in the preset link according to a preset keyword extraction strategy; the first presentation module 20 is coupled with the first determination module 10, and is used for setting the comment theme as a search word associated with the search box and presenting the comment theme at a predetermined position of the interface corresponding to the predetermined link; the matching module 30 is coupled with the first presenting module 20, and is configured to search, in the case that the comment subject receives the trigger operation, the same type of comment subject whose matching degree with the comment subject reaches the predetermined matching degree in the predetermined comment subject library, and obtain all linked comment contents corresponding to the same type of comment subject; and a second presentation module 40, coupled to the matching module 30, for presenting all the linked comment contents in a predetermined display order.
In a specific implementation, the first predetermined condition in the second determining module 50 may include various conditions, such as whether the total number of the comment contents reaches a predetermined comment number, the number of the comment contents reaches a predetermined number of the comment, and the like. If the comment content meets the first predetermined condition within a predetermined time range of some links, the links are determined as predetermined links.
The second predetermined condition in the third determination module 60 may include various cases, for example, that the number of replies to the comment content reaches a predetermined number of replies, that the number of votes for the comment content reaches a predetermined number of votes, and the like. Since the process is a screening process for the comment content, if the second predetermined condition is set that the predetermined number of praise for the comment content reaches the predetermined number of praise, the predetermined number of praise in the process is necessarily higher than the predetermined number of praise in the first predetermined condition in the process of determining the predetermined link, and it can be guaranteed that the related comment content displayed last is of good quality.
When the second predetermined condition is set that the number of replies of the comment content reaches the predetermined number of replies, and when the comment content associated with the predetermined link is obtained, it is determined whether each comment meets the second predetermined condition, for example, the number of replies of each comment in the predetermined link is counted, and if the number of replies of a certain comment content reaches 100, it is said that the comment content meets the second predetermined condition, which may be called a hot comment.
Of course, the number of praise of the comment content and the number of replies of the comment content may be used together as a condition for filtering all the predetermined comment contents.
After a user clicks a certain link, if the interface corresponding to the link is a link with a comment area, the user can post comment content in the comment area corresponding to the link. For example, when a user watches a certain video link, many users dispute the comment content in the comment area below the video, and then the user can see the comment content posted by other users. Generally, the comment content of the user is directed to the video content, and therefore, the comment content generally surrounds a theme.
In the embodiment, a comment subject is determined for all the predetermined comment contents by taking all the predetermined comment contents as a whole. The first determination module 10 may use any one of the predefined keyword extraction strategies in the prior art to determine the comment subjects of all predefined comment contents involved in a certain predefined link, for example, using term importance principle to determine the comment subjects. The predetermined comment content may be comment content that is not subjected to any filtering, or may be comment content that is subjected to filtering.
The determining module 10 may include: the scoring unit is used for performing word segmentation processing on all the preset comment contents and scoring each participle obtained after the word segmentation processing according to a preset keyword extraction strategy so as to obtain a score of each participle; the combination unit is used for sequentially acquiring the first N participles according to the sequence of scores from high to low and forming M subject terms by the N participles according to a permutation and combination mode; the matching unit is used for respectively matching each subject term in the M subject terms with historical search terms stored in a preset search database so as to determine the search matching degree of each subject term; and the determining unit is used for determining the subject term corresponding to the highest search matching degree as the comment subject of all the preset comment contents in the preset link, wherein M and N are integers which are larger than 2, and M is larger than N.
For example, all the comment contents meeting the second predetermined condition are extracted from a certain article, word segmentation processing is performed on all the predetermined comment contents, the segmented words are scored according to term importance, after the processing, scores of the same words are added to obtain the top 5 words with the highest score, and then the 5 words are combined to obtain more subject words. And querying a preset search database by using the subject terms, and showing the term to the user if the subject term is the query which is actually searched by the user in history. If a plurality of queries are found to be history-displayed queries after query, one of the queries can be randomly selected for recommendation.
According to the embodiment of the invention, the comment subject is not set for a certain preset link independently, but all links have the comment subject corresponding to the comment content of the link, so that after the comment subject is determined by the current link, the comment subject can be used as a search word to search the comment contents of other related links. In order to enable the user to have better user experience, the first presentation module 20 in this embodiment may directly associate the comment subject with the search box, and present the comment subject in a certain predetermined position of the interface corresponding to the predetermined link, so that when the user wants to view more comment contents of related links, the user may directly operate the presented comment subject.
In a specific implementation, a predetermined comment subject library can be used for storing all the linked comment subjects, and the comment subjects can be stored in the predetermined comment subject library before being presented in the predetermined position of the interface corresponding to the predetermined link. Of course, this method is only a specific example, and all the linked comment themes may not be uniformly stored.
In general, the matching module 30 may design the comment subject to be clickable, and when the user clicks the comment subject, the user may trigger to search for the comment content related to the comment subject.
In the process, the comment subjects serve as keywords for searching related comment contents, and if the matching degree of other comments and the comment subjects reaches a preset value, it is indicated that contents which are interested by the user viewing the current preset link exist in the other comments.
The display order of the existing comment content is various, for example, according to the comment time, the comment number of comments, the reply number of the comment content, and the like; in this embodiment, when setting up, the second presenting module 40 may present according to any one of the display orders.
The second rendering module 40 may include: the sequencing unit is used for sequencing the related comment contents according to a preset sequencing rule; and the presentation unit is coupled with the sorting unit and used for presenting the predetermined number of comment contents according to the sorting result from high to low. In implementation, since the ranking modes of the comment contents presented under each link are different, the predetermined ranking rule in the process also does not need to follow the ranking mode of the comment contents of each link, and the predetermined ranking rule may be, for example, by comment time, by comment praise, by reply number of the comment contents, and the like.
According to the embodiment of the invention, a comment subject is determined for all the preset comment contents in the preset link, and the comment contents corresponding to the same or similar other links can be found through the comment subject by searching the related comment contents based on the comment subject.
According to the embodiment of the invention, the comment contents are summarized through the comment subjects, so that the user can quickly view the relevant comment contents of all links according to the comment subjects displayed on the current link, and the user experience is good.
A fifth embodiment of the present invention provides a storage medium storing a computer program that, when executed by a processor, implements the method provided in any of the embodiments of the present invention, as follows steps S1 to S4:
s1, determining the comment subjects of all the preset comment contents associated with the preset link according to the preset keyword extraction strategy;
s2, displaying the comment theme at the preset position;
s3, searching for relevant comment contents with the matching degree of the comment subjects reaching a preset value in all the preset comment contents;
and S4, displaying the related comment contents according to a preset sequence.
Before the step of determining the comment subject of all the predetermined comment contents associated with the predetermined link according to the predetermined keyword extraction policy is executed by the processor, the computer program may further execute the following steps by the processor: detecting whether the comment content of each link in a preset time range meets a first preset condition or not in all links; and determining the link meeting the first predetermined condition as a predetermined link.
After the step of determining that the link meeting the first predetermined condition is the predetermined link is executed by the processor, the computer program may further execute the following steps by the processor: and determining that the predetermined links meet the second predetermined condition in a predetermined time range as all the predetermined comment contents.
When the computer program is executed by the processor to determine the comment subjects of all the predetermined comment contents associated with the predetermined link according to the predetermined keyword extraction policy, the following steps are specifically executed by the processor: performing word segmentation on all the preset comment contents, and scoring each participle obtained after word segmentation according to a preset keyword extraction strategy to obtain a score of each participle; sequentially acquiring the first N participles according to the sequence of scores from high to low, and forming M subject terms by the N participles according to a permutation and combination mode; matching each subject term in the M subject terms with historical search terms stored in a preset search database respectively to determine the search matching degree of each subject term; and determining the subject term corresponding to the highest search matching degree as the comment subject of all the preset comment contents in the preset link, wherein M and N are integers larger than 2, and M is larger than N.
When the computer program is executed by the processor to display the related comment contents according to the preset sequence, the computer program is specifically executed by the processor to perform the following steps: sequencing the related comment contents according to a preset sequencing rule; and presenting a preset number of comment contents according to the sequence from high to low of the sequencing result.
According to the embodiment of the invention, a comment subject is determined for all the preset comment contents in the preset link, and the comment contents corresponding to the same or similar other links can be found through the comment subject by searching the related comment contents based on the comment subject.
According to the embodiment of the invention, the comment contents are summarized through the comment subjects, so that the user can quickly view the relevant comment contents of all links according to the comment subjects displayed on the current link, and the user experience is good.
The storage medium may be configured in a terminal that at least includes a memory and a processor, and may exist in the form of a memory, and specific implementation manners are not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
A sixth embodiment of the present invention provides a terminal, as shown in fig. 9, the terminal at least includes a memory 901 and a processor 902, the memory 901 stores a computer program, the processor 902 realizes the method provided by any embodiment of the present invention when executing the computer program on the memory 901, the steps of the computer program are as follows S11 to S14:
s11, determining the comment subjects of all the preset comment contents associated with the preset link according to the preset keyword extraction strategy;
s12, displaying the comment theme at the preset position;
s13, searching for relevant comment contents with the matching degree of the comment subjects reaching a preset value in all the preset comment contents;
and S14, displaying the related comment contents according to a preset sequence.
The processor 902 may further execute the following computer program before executing the computer program stored on the memory 901 for determining the comment subjects of all the predetermined comment contents associated with the predetermined link according to the predetermined keyword extraction policy: detecting whether the comment content of each link in a preset time range meets a first preset condition or not in all links; and determining the link meeting the first predetermined condition as a predetermined link.
The processor 902, after executing the computing computer program stored on the memory 901 for determining that a link meeting the first predetermined condition is a predetermined link, may further execute the following computer program: and determining that the predetermined links meet the second predetermined condition in a predetermined time range as all the predetermined comment contents.
The processor 902, when executing a computing computer program stored on the memory 901 that determines the comment subjects of all the predetermined comment contents associated with the predetermined link according to the predetermined keyword extraction policy, specifically executes the following computer program: performing word segmentation on all the preset comment contents, and scoring each participle obtained after word segmentation according to a preset keyword extraction strategy to obtain a score of each participle; sequentially acquiring the first N participles according to the sequence of scores from high to low, and forming M subject terms by the N participles according to a permutation and combination mode; matching each subject term in the M subject terms with historical search terms stored in a preset search database respectively to determine the search matching degree of each subject term; and determining the subject term corresponding to the highest search matching degree as the comment subject of all the preset comment contents in the preset link, wherein M and N are integers larger than 2, and M is larger than N.
When executing the calculation program for displaying the relevant comment contents in a predetermined order stored in the memory 901, the processor 902 specifically executes the following computer program: sequencing the related comment contents according to a preset sequencing rule; and presenting a preset number of comment contents according to the sequence from high to low of the sequencing result.
According to the embodiment of the invention, the comment contents are summarized through the comment subjects, so that the user can quickly view the relevant comment contents of all links according to the comment subjects displayed on the current link, and the user experience is good.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the present invention with equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. In addition, in the above-described embodiments, various features may be grouped together to streamline the disclosure. This should not be interpreted as an intention that a disclosed feature not claimed is essential to any claim. Rather, inventive subject matter may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the invention should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
While the embodiments of the present invention have been described in detail, the present invention is not limited to these specific embodiments, and those skilled in the art can make various modifications and modifications of the embodiments based on the concept of the present invention, which fall within the scope of the present invention as claimed.

Claims (10)

1. A method for presenting comment content, comprising:
determining comment subjects of comment contents associated with a predetermined link in all predetermined comment contents according to a predetermined keyword extraction strategy, wherein the comment subjects comprise the steps of performing word segmentation processing on the comment contents associated with the predetermined link, and scoring each participle obtained after the word segmentation processing according to the predetermined keyword extraction strategy so as to obtain a score of each participle;
sequentially acquiring the first N participles according to the sequence of scores from high to low, and forming M subject terms by the N participles according to a permutation and combination mode;
matching each subject term in the M subject terms with a historical search term stored in a preset search database respectively to determine the search matching degree of each subject term;
determining the subject term corresponding to the highest search matching degree as the comment subject of the comment content associated with the predetermined link, wherein M and N are integers greater than 2, and M is greater than N;
displaying the comment subject at a predetermined position;
searching for relevant comment contents, the matching degree of which with the comment subjects reaches a preset value, in all preset comment contents, wherein the relevant comment contents are associated with other links except the preset links;
and displaying the related comment contents according to a preset sequence.
2. The presentation method of claim 1, wherein before determining the comment subject of the comment content associated with the predetermined link among all the predetermined comment contents according to the predetermined keyword extraction policy, further comprising:
detecting whether the comment content of each link in a preset time range meets a first preset condition or not in all links;
and determining the link meeting the first preset condition as the preset link.
3. The presentation method of claim 2, wherein after determining that the link meeting the first predetermined condition is the predetermined link, further comprising:
and determining that the comment content meeting the second predetermined condition within the predetermined time range of the predetermined link is the comment content associated with the predetermined link.
4. The presentation method according to any one of claims 1 to 3, wherein said displaying the related comment contents in a predetermined order includes:
sequencing the related comment contents according to a preset sequencing rule;
and presenting a preset number of comment contents according to the sequence from high to low of the sequencing result.
5. A presentation apparatus of comment content, comprising:
the first determining module is used for determining comment subjects of comment contents related to a preset link in all preset comment contents according to a preset keyword extraction strategy, and comprises a scoring unit used for performing word segmentation processing on the comment contents related to the preset link and scoring each participle obtained after the word segmentation processing according to the preset keyword extraction strategy so as to obtain a score of each participle; the combination unit is used for sequentially acquiring the first N participles according to the sequence of scores from high to low and forming M subject terms by the N participles according to a permutation and combination mode; the matching unit is used for respectively matching each subject term in the M subject terms with historical search terms stored in a preset search database so as to determine the search matching degree of each subject term; the determining unit is used for determining the subject term corresponding to the highest search matching degree as the comment subject of the comment content associated with the predetermined link, wherein M and N are integers which are larger than 2, and M is larger than N;
a first presentation module for displaying the comment subject at a predetermined location;
the matching module is used for searching for related comment contents, the matching degree of which with the comment subjects reaches a preset value, in all the preset comment contents, and the related comment contents are associated with other links except the preset links;
and the second presentation module is used for displaying the related comment contents according to a preset sequence.
6. The presentation device of claim 5, further comprising:
and the second determining module is used for detecting whether the comment content of each link meets a first predetermined condition in a predetermined time range in all the links, and determining the link meeting the first predetermined condition as the predetermined link.
7. The presentation device of claim 6, further comprising:
and the third determining module is used for determining that the comment content meeting the second predetermined condition within the predetermined time range of the predetermined link is the comment content associated with the predetermined link.
8. The presentation device as claimed in any one of claims 5 to 7, wherein the second presentation module comprises:
the sorting unit is used for sorting the related comment contents according to a preset sorting rule;
and the presentation unit is used for presenting the ranking result with a preset number of comment contents in the order from high to low.
9. A storage medium storing a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 4 when executed by a processor.
10. A terminal comprising at least a memory, a processor, said memory having a computer program stored thereon, characterized in that the processor realizes the steps of the method of any of claims 1 to 4 when executing the computer program on the memory.
CN201811082979.6A 2018-09-17 2018-09-17 Comment content presentation method and device, storage medium and terminal Active CN110008395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811082979.6A CN110008395B (en) 2018-09-17 2018-09-17 Comment content presentation method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811082979.6A CN110008395B (en) 2018-09-17 2018-09-17 Comment content presentation method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN110008395A CN110008395A (en) 2019-07-12
CN110008395B true CN110008395B (en) 2021-11-02

Family

ID=67164864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811082979.6A Active CN110008395B (en) 2018-09-17 2018-09-17 Comment content presentation method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN110008395B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114385902B (en) * 2020-10-22 2024-01-30 腾讯科技(深圳)有限公司 Content recommendation method, device and storage medium
CN113033199A (en) * 2021-04-28 2021-06-25 萧鸿濡 Transaction platform message writing method and system
CN114265950B (en) * 2021-12-16 2025-04-29 咪咕音乐有限公司 Music clip selection method, device, equipment and medium
CN114491098A (en) * 2022-01-14 2022-05-13 北京字跳网络技术有限公司 Comment prompting method and device, electronic equipment, storage medium and program product

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8386453B2 (en) * 2004-09-30 2013-02-26 Google Inc. Providing search information relating to a document
US7962461B2 (en) * 2004-12-14 2011-06-14 Google Inc. Method and system for finding and aggregating reviews for a product
US8533208B2 (en) * 2009-09-28 2013-09-10 Ebay Inc. System and method for topic extraction and opinion mining
US20130085745A1 (en) * 2011-10-04 2013-04-04 Salesforce.Com, Inc. Semantic-based approach for identifying topics in a corpus of text-based items
CN103761264B (en) * 2013-12-31 2017-01-18 浙江大学 Concept hierarchy establishing method based on product review document set
CN103902674B (en) * 2014-03-19 2017-10-27 百度在线网络技术(北京)有限公司 The acquisition method and device of the comment data of particular topic
CN107656787B (en) * 2017-09-26 2021-04-30 掌阅科技股份有限公司 Method for generating topics based on electronic book, computing device and computer storage medium
CN108449642A (en) * 2018-04-03 2018-08-24 优视科技有限公司 A kind of screening display methods, device and the terminal device of video comments
CN108520441A (en) * 2018-04-04 2018-09-11 网易无尾熊(杭州)科技有限公司 Data processing method, medium, system and computing device

Also Published As

Publication number Publication date
CN110008395A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110008395B (en) Comment content presentation method and device, storage medium and terminal
US20110153595A1 (en) System And Method For Identifying Topics For Short Text Communications
US8620849B2 (en) Systems and methods for facilitating open source intelligence gathering
US8555173B2 (en) Recommendation engine
CN110209827B (en) Search method, search device, computer-readable storage medium, and computer device
KR20160083017A (en) Systems and methods for identifying influencers and their communities in a social data network
CN109241451B (en) Content combination recommendation method and device and readable storage medium
US20120323905A1 (en) Ranking data utilizing attributes associated with semantic sub-keys
CN109558538B (en) Input association word construction method and device, storage medium and electronic equipment
EP2688001A1 (en) System and method, in particular for context-based object retrieval in a social networking system
CN103514282A (en) Method and device for displaying search results of videos
JP2012164242A (en) Related word extraction device, related word extraction method, related word extraction program
CN114372215A (en) Search result display method, search request processing method and device
CN109543113B (en) Method and device for determining click recommendation words, storage medium and electronic equipment
CN116401476A (en) Search result display method and device, computer equipment and storage medium
CN116881572A (en) Search term recommendation method and device, computer equipment and storage medium
US20120317141A1 (en) System and method for ordering of semantic sub-keys
CN109558531A (en) News information method for pushing, device and computer equipment
CN111488434B (en) Recommendation method and device for input associative words, storage medium and electronic equipment
CN106202050B (en) Theme information acquisition method and device and electronic equipment
KR101976056B1 (en) System and method for recommendation
US9875298B2 (en) Automatic generation of a search query
CN110232071A (en) Search method, device and storage medium, the electronic device of drug data
CN109376299B (en) Method, device, storage medium and terminal for recommending links
US20240169141A1 (en) Book review display method, device, computer apparatus and non-transitory computer-readable storage medium

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
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

CP01 Change in the name or title of a patent holder