CN108959450B - Popular comment determination system, method, device and readable medium - Google Patents

Popular comment determination system, method, device and readable medium Download PDF

Info

Publication number
CN108959450B
CN108959450B CN201810614339.9A CN201810614339A CN108959450B CN 108959450 B CN108959450 B CN 108959450B CN 201810614339 A CN201810614339 A CN 201810614339A CN 108959450 B CN108959450 B CN 108959450B
Authority
CN
China
Prior art keywords
comment
popular
candidate
comments
management server
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
CN201810614339.9A
Other languages
Chinese (zh)
Other versions
CN108959450A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810614339.9A priority Critical patent/CN108959450B/en
Publication of CN108959450A publication Critical patent/CN108959450A/en
Application granted granted Critical
Publication of CN108959450B publication Critical patent/CN108959450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a system, a method and a device for determining popular comments and a readable medium, belonging to the technical field of data processing.A comment server respectively forwards a popular comment pulling request to each comment management server after receiving the popular comment pulling request aiming at a comment object; after each comment management server receives the popular comment pulling request, a candidate popular comment set meeting the popular comment selection condition is determined, the candidate popular comment set is sent to the comment server, the comment server determines the popular comment from each candidate popular comment set received by each comment management service according to the current popular comment screening rule, the determined popular comment can adapt to the real-time property of the change of the popular comment screening rule, in addition, the data amount processed by each comment management server is relatively small, the time of a user for waiting for the popular comment is saved, and therefore the processing performance of an interface is improved.

Description

Popular comment determination system, method, device and readable medium
Technical Field
The invention relates to the technical field of data processing, in particular to a system, a method, a device and a readable medium for determining popular comments.
Background
Comments are common scenes in internet products, and users can make opinions and opinions aiming at information, posts and the like which are interested by the users, and certainly can make secondary comments on other people or simply like comments. When the number of replies and praise of a comment reaches a certain degree, the comment becomes a popular comment and gets a chance of preferential exposure. How to screen out popular comments from numerous comments is a key technical point in the design of comment systems.
When filtering popular comments, two indexes are generally considered, namely the processing performance of the interface and the real-time performance of the filtering rule. The existing popular comment determining method comprises a reading diffusion method and a writing diffusion method, wherein the reading diffusion method is characterized in that the server side counts the reply number and the like of each comment in the process that a user draws the popular comment, and then determines the popular comment based on the reply number and the like, so that the waiting time for the user to obtain the popular comment is long, namely, the processing performance of an interface is sacrificed. The write-diffusion method is characterized in that a server side determines a popular comment set in advance based on comments before the current time, and then the popular comment set is adjusted when a user pulls the popular comment to determine the popular comment, so that the real-time property of the change of the popular comment screening rule is sacrificed.
Therefore, how to adapt to the real-time property of the change of the hot comment screening rule in the hot comment determining process is a considerable problem for improving the processing performance of the interface in the hot comment determining process.
Disclosure of Invention
The embodiment of the invention provides a system, a method and a device for determining popular comments and a readable medium, which are used for adapting to the real-time property of the change of a popular comment screening rule and improving the processing performance of an interface in the process of determining the popular comments.
In a first aspect, an embodiment of the present invention provides a system for determining popular comments, including: comment server, at least two comment management servers, wherein:
the comment server is used for forwarding the popular comment pulling request to each comment management server after receiving the popular comment pulling request aiming at the comment object; receiving candidate popular comment sets respectively returned by each comment management server; determining popular comments from each received candidate popular comment set according to the current popular comment screening rule;
each comment management server is used for determining a candidate popular comment set meeting popular comment selection conditions after receiving the popular comment pulling request, and sending the candidate popular comment set to the comment servers, wherein the popular comment selection conditions corresponding to different comment management servers are different.
By arranging a plurality of comment management servers, each comment management server only determines a candidate popular comment set based on a single popular comment selection condition, and the processed data volume is relatively small, so that the time for determining popular comments can be saved, and the processing capacity of an interface is improved to a certain extent; in addition, the comment server determines the popular comments according to the current popular comment screening rule, so that the determined popular comments can adapt to the real-time property of the change of the popular comment screening rule.
Preferably, the at least two comment managing servers include a first comment managing server and a second comment managing server, wherein:
the first comment management server is used for determining a first candidate popular comment set of which the reply number meets a first popular comment selection condition in the comments of the comment object after receiving the popular comment pulling request and sending the first candidate popular comment set to the comment server;
the second comment management server is configured to determine, after receiving the popular comment pull request, a second candidate popular comment set in which the number of praise in the comment for the comment object satisfies a second popular comment selection condition, and send the second candidate popular comment set to the comment server.
Based on the flow, popular comments with the reply number and the like meeting the corresponding popular comment selection conditions can be obtained, the first comment management server and the second comment management server perform labor division processing, the time for determining the popular comments is shortened, the time for a user to wait for browsing the popular comments is reduced, and the processing efficiency of the interface is improved to a certain extent.
Preferably, the first candidate popular comment set includes a recurrence number of each comment meeting a first popular comment selection condition; the second candidate popular comment set comprises the number of praise of each comment of which the number of praise meets the second popular comment selection condition; and
the comment server is specifically configured to determine, for each comment in the first candidate popular comment set and the second candidate popular comment set, a heat value of the comment according to the number of replies, the number of votes, and the weight of the number of replies and the weight of votes corresponding to the current popular comment screening rule; and determining the popular comments in the set based on the popularity values of the comments in the first candidate popular comment set and the second candidate popular comment set.
Based on the description, the comment server can adapt to the real-time property of the change of the popular comment screening rule based on the number of replies, the number of praise and the current popular comment screening rule.
Optionally, the first comment management server is specifically configured to extract comments corresponding to the top M reply numbers from a comment reply set that is predetermined and is formed by arranging all comments to the comment object in an order of a reply number from high to low, and form the first candidate popular comment set by using the comments corresponding to the top M extracted reply numbers and their reply numbers.
The first candidate popular comment set is determined through the predetermined comment reply set, so that the time for determining the first candidate popular comment set can be saved, and the processing capacity of the interface is improved.
Optionally, the second comment management server is specifically configured to extract comments corresponding to the top N number of comment like sets from a predetermined comment like set formed by arranging all comments for the comment object in an order of the top N number of comment like sets from top to bottom, and constitute the second candidate popular comment set with the extracted comments corresponding to the top N number of comment like sets and the number of comment like sets thereof.
The second candidate popular comment set is determined through the predetermined comment praise set, so that the time for determining the second candidate popular comment set can be saved, and the processing capacity of the interface is improved.
Preferably, the comment server is further configured to send a reply request to the first comment management server after receiving the reply request for any comment of the comment object;
the first comment management server is further used for updating the sequence of the comments in the comment reply set after the reply request is received.
By executing the process, the timeliness of the comment reply set is guaranteed, so that the timeliness of the first candidate popular comment set obtained based on the timeliness is guaranteed, and the determined timeliness of the popular comments is guaranteed.
Preferably, the comment server is further configured to send an approval request to the second comment management server after receiving the approval request for any comment of the comment object;
the second comment management server is further configured to update the order of the comments in the comment like set after receiving the like request.
By executing the process, the timeliness of the comment praise set is guaranteed, so that the timeliness of the second candidate popular comment set obtained based on the timeliness is guaranteed, and the determined timeliness of the popular comments is further guaranteed.
In a second aspect, an embodiment of the present invention provides a method for determining popular comments, including:
after receiving a popular comment pulling request for a comment object, respectively forwarding the popular comment pulling request to each comment management server; and
receiving candidate popular comment sets respectively returned by each comment management server, wherein each candidate popular comment set is determined according to popular comment selection conditions set in the comment management server after the comment management server returning the candidate popular comment set receives the popular comment pulling request, and the popular comment selection conditions corresponding to different comment management servers are different; and
and determining the popular comments from the received candidate popular comment sets according to the current popular comment screening rule.
Preferably, the receiving of the candidate popular comment sets respectively returned by each comment management server specifically includes:
receiving a first candidate popular comment set returned by a first comment management server and a second candidate popular comment set returned by a second comment management server, wherein the first candidate popular comment set is determined according to whether the number of replies in the comments of the comment object meets a first popular comment selection condition or not after the first comment management server receives the popular comment pulling request, and the second candidate popular comment set is determined according to whether the number of praise in the comments of the comment object meets a second popular comment selection condition or not after the second comment management server receives the popular comment pulling request.
Preferably, the first candidate popular comment set includes a recurrence number of each comment meeting a first popular comment selection condition; the second candidate popular comment set comprises the number of praise of each comment of which the number of praise meets the second popular comment selection condition; and determining popular comments in the set according to the first candidate popular comment set and the second candidate popular comment set, wherein the method specifically comprises the following steps:
for each comment in the first candidate popular comment set and the second candidate popular comment set, determining the popularity value of the comment according to the number of replies of the comment, the number of praise, and the weight of the number of replies and praise corresponding to the current popular comment screening rule;
and determining the popular comments in the set based on the popularity values of the comments in the first candidate popular comment set and the second candidate popular comment set.
Optionally, the method further comprises:
after a reply request aiming at any comment of the comment object is received, the reply request is sent to the first comment management server, so that the first comment management server updates the sequence of the comment in a comment reply set after receiving the reply request, wherein the comment reply set is a set formed by all comments aiming at the comment object in a sequence of a plurality of replies from high to low.
Optionally, the method further comprises: after receiving an approval request for any comment of the comment object, sending the approval request to the second comment management server, so that the second comment management server updates the order of the comment in a comment approval set after receiving the approval request, wherein the comment approval set is a set formed by all comments of the comment object in the order of high approval number to low approval number.
In a third aspect, an embodiment of the present invention provides a device for determining popular comments, including:
the system comprises a forwarding unit, a comment management server and a comment processing unit, wherein the forwarding unit is used for forwarding popular comment pulling requests to comment management servers respectively after receiving the popular comment pulling requests for comment objects;
the receiving unit is used for receiving candidate popular comment sets respectively returned by each comment management server, and each candidate popular comment set is determined according to popular comment selection conditions set in the comment management server after the comment management server returning the candidate popular comment set receives the popular comment pulling request, wherein the popular comment selection conditions corresponding to different comment management servers are different;
and the determining unit is used for determining the popular comments from each received candidate popular comment set according to the current popular comment screening rule.
Preferably, the receiving unit is specifically configured to receive a first candidate popular comment set returned by a first comment management server and a second candidate popular comment set returned by a second comment management server, where the first candidate popular comment set is determined by the first comment management server according to whether a number of replies in the comments about the comment object after receiving the popular comment pulling request meets a first popular comment selection condition, and the second candidate popular comment set is determined by the second comment management server according to whether a number of votes in the comments about the comment object after receiving the popular comment pulling request meets a second popular comment selection condition.
Preferably, the first candidate popular comment set includes a recurrence number of each comment meeting a first popular comment selection condition; the second candidate popular comment set comprises the number of praise of each comment of which the number of praise meets the second popular comment selection condition; and
the determining unit is specifically configured to determine, for each comment in the first candidate popular comment set and the second candidate popular comment set, a popularity value of the comment according to the number of replies, the number of praise, and the weight of the number of replies and the weight of praise corresponding to the current popular comment screening rule; and determining the popular comments in the set based on the popularity values of the comments in the first candidate popular comment set and the second candidate popular comment set.
Preferably, the forwarding unit is further configured to send a reply request to the first comment management server after receiving a reply request for any comment of the comment object, so that the first comment management server updates an order of the comment in a comment reply set after receiving the reply request, where the comment reply set is a set formed by all comments of the comment object in a sequence of a plurality of replies from high to low.
Preferably, the forwarding unit is further configured to send, after receiving an approval request for any comment of the comment object, the approval request to the second comment management server, so that the second comment management server updates, after receiving the approval request, an order of the comment in a comment approval set, where the comment approval set is a set formed by all comments about the comment object in an order of high to low in approval number.
In a fourth aspect, an embodiment of the present invention provides a computer-readable medium storing computer-executable instructions for performing the topical review determination method provided in the present application.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the topical review determination methods provided herein.
The invention has the beneficial effects that:
according to the system, the method, the device and the readable medium for determining popular comments, provided by the embodiment of the invention, after receiving the popular comment pulling request aiming at the comment object, the comment server respectively forwards the popular comment pulling request to each comment management server; after receiving the popular comment pulling request, each comment management server determines a candidate popular comment set meeting popular comment selection conditions and sends the candidate popular comment set to the comment server, and the comment server determines popular comments from each candidate popular comment set received by each comment management service according to the current popular comment screening rule, so that the data volume processed by each comment management server is relatively small, the time of a user waiting for the popular comments is saved, and the processing performance of an interface is improved; in addition, according to the method and the system, the comment server determines the popular comments in the set according to the current popular comment screening rule and the candidate popular comment sets returned by the comment management servers, and the determined popular comments can adapt to the real-time property of the change of the popular comment screening rule.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1a is a schematic flow chart of a method for determining popular comments by using a read diffusion scheme in the prior art;
FIG. 1b is a schematic flow chart of a method for determining popular comments by using a write-diffusion scheme in the prior art;
FIG. 2 is a schematic structural diagram of a system for implementing popular comment determination according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an effect of displaying a determined popular comment on the user equipment 11 according to the embodiment of the present invention;
fig. 4 is a schematic flowchart illustrating an interaction between devices involved in the popular comment determination system to determine a popular comment according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a system in which the popular comment determining system includes first and second comment managing servers according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for performing a topical review determination based on the system shown in FIG. 5 according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of determining popular comments by the comment server 12 according to the embodiment of the present invention;
FIG. 8 is a schematic flow chart of a user replying to a comment according to an embodiment of the present invention;
FIG. 9 is a schematic flow chart of comment approval by a user according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a popular comment determination apparatus according to an embodiment of the present invention;
fig. 11 is a schematic hardware structure diagram of a computing apparatus implementing the popular comment determination method according to an embodiment of the present invention.
Detailed Description
The system, the method, the device and the readable medium for determining the popular comments, provided by the embodiment of the invention, are used for adapting to the real-time property of the change of the popular comment screening rule and improving the processing performance of the interface in the process of determining the popular comments.
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, it being understood that the preferred embodiments described herein are for purposes of illustration and explanation only and are not intended to be limiting of the present invention, and that the embodiments and features of the embodiments may be combined with each other without conflict.
To facilitate understanding of the invention, the present invention relates to technical terms in which:
1. the performance of the interface means that the popular comments are acquired as fast as possible, so that the waiting time of the user on system interaction is reduced.
2. The real-time property of the rule means that the screening rule of the popular comment may change at any time, such as adjusting the proportion weight of the reply number and the like. When the rule changes, the hot comments determined by the history will be invalid, and at this time, new hot comments need to be calculated according to the new rule.
3. The number of replies refers to the number of replied comments initiated by each user for the comment object, for example, if the user a initiates a comment for the handheld through fire game, the number of replied comments is 100, and the number of replied comments is 100.
4. The number of praise refers to the number of times that each user-initiated comment on the comment object is praised, for example, if the user a initiates a comment on the handheld cross fire wire game, and the comment is praised 100 times, the number of praise is 100.
5. A client: a computer program that can perform one or more specific tasks, which has a visual display interface, can interact with a user, such as an electronic map and a WeChat, can be referred to as a client.
The existing popular comment determination method comprises two schemes of reading diffusion and writing diffusion, the flow is respectively shown in a figure 1a and a figure 1b, the popular comment in the reading diffusion scheme is calculated in real time, although the real-time performance of the change of the popular comment screening rule can be adapted, the adoption of the reading diffusion scheme can cause the reduction of the processing performance of an interface due to the fact that the comment has large data volume, namely, a user needs to wait for a long time to obtain the popular comment. The popular comments in the write-diffusion scheme are pre-calculated, so that although the processing performance of the interface can be guaranteed through operation, when the popular comment screening rule changes, the previously calculated popular comments are invalid and need to be recalculated, namely, the popular comments determined by the write-diffusion scheme cannot adapt to the real-time property of the change of the popular comment screening rule.
In order to solve the problems in the prior art, an embodiment of the present invention provides a solution, and provides a system for determining popular comments, including: a comment server and at least two comment managing servers. The popular comment determining system provided by the invention can respond to a popular comment pulling request aiming at the comment object initiated by a user based on a client with a comment function installed on user equipment, and returns the popular comment determining the comment object to the client for displaying. Referring to fig. 2, a client with a comment function is installed on a user device 11, then a user 10 sends a popular comment pulling request for a comment object to a comment server 12 through the client in the user device 11, after receiving the popular comment pulling request, the comment server 12 forwards the popular comment pulling request to each comment management server 131-13 n, where a value of n is determined according to an actual situation. After receiving the popular comment pulling request, each comment management server determines a candidate popular comment set meeting the popular comment selection condition, and then sends the determined candidate popular comment set to the comment server 12, so that the comment server 12 can determine popular comments from the received candidate popular comment sets according to the current popular comment screening rule. In the invention, a plurality of popular comment management servers are arranged, and each popular comment management server is responsible for determining candidate popular comment sets meeting the popular comment selection conditions arranged in the popular comment server, so that the data volume responsible for each comment management server is relatively small, the consumed time is small, and the processing performance of an interface can be improved; in addition, according to the method and the device, the comment server determines the popular comments in the set according to the current popular comment screening rule and the candidate popular comment sets returned by the comment management servers, and the determined popular comments can adapt to the real-time property of the change of the popular comment screening rule.
The application scenario of the popular comment determining method provided by the invention is that the popular comment determining system provided by the invention can be applied to the scenes of determining popular comments in the fields of games, videos, music, news and the like. For example, when a user 10 initiates a hotline comment pulling request for a game through a handheld live line crossing game client in a user device 11, the user device 11 sends the hotline comment pulling request to a comment server 12, the comment server 12 sends the hotline comment pulling request to each comment management server in the hotline comment determination system, each comment management server determines a candidate hotline comment set meeting the hotline comment selection condition set in the comment management server after receiving the hotline comment pulling request, and then each comment management server sends the determined candidate hotline comment set Ci to the comment server 12, and the comment server 12 can determine the hotline comment set for the live line comment game from the received candidate hotline comment sets according to the current hotline comment screening rule The determined popular comments are sent to a live wire crossing game client in the user equipment 11, and the client displays a plurality of popular comments adapted to the screen according to the size of the screen of the user equipment 11, which may specifically refer to an effect schematic diagram shown in fig. 3 where the determined popular comments are displayed on the user equipment 11. Based on the method and the system, popular comments in all comments aiming at the game of crossing the live wire can be displayed to the user. And each comment management server is responsible for determining comments which meet the hot comment selection conditions set in the comment management server in all the comments of the live wire crossing game, and the processing data volume is relatively small, so that the processing performance of the interface can be improved to a certain extent.
The user device 11 and the comment server 12 are communicatively connected through a network, which may be a local area network, a wide area network, or the like. The user device 11 may be a portable device (e.g., a mobile phone, a tablet, a notebook Computer, etc.) or a Personal Computer (PC), the server 12 may be any device capable of providing internet services, and the client in the user device 11 may be a client with a comment function, such as a game application, video, music, and news, etc.
Referring to fig. 4 to fig. 11, a method for determining popular comments according to an exemplary embodiment of the present invention will be described below with reference to the system configuration diagram shown in fig. 2 and the application scenario described above and the effect diagram of fig. 3. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
After introducing the popular comment determination system provided by the present invention, fig. 4 shows a schematic flow chart of interaction between devices involved in the popular comment determination system to determine a popular comment, including the following steps:
s31, the user equipment 11 receives a hot comment pulling request which is triggered by the user through the client and aims at the comment object.
The comment objects in the present invention may be, but are not limited to: games, videos, music, novels, news and the like, only the client has a comment function, and resources in the client can be used as comment objects in the invention.
In this step, a comment object is taken as a handheld fire crossing game as an example for explanation, when a user wants to view comments of all game users playing the handheld fire crossing game on the game, because the comment data volume for the game may be particularly large, comments of some game users may get replies or praises of other game users, when the number of praises or the number of replies is more than that, it is indicated that the comments cause a particularly large discussion interest of the game users, and on the contrary, the number of times that some comments are praised or replied is smaller, even no one asks for much, and it is indicated that the comments cause a low attention of the game users. Thus, when the user 10 wants to view a comment, a topical comment pull request is initiated on the handheld through fire game client in the user device 11, such as by double-clicking a "comment" button.
S32, the user device 11 sends the popular comment pull request to the comment server 12.
In this step, after receiving the popular comment pulling request, the user equipment 11 sends the request to the comment server 12, where the request may carry identification information of the user equipment 11, so that the comment server 12 returns the determined popular comment to the corresponding user equipment 11.
Note that the comment server and the comment management server corresponding to different comment objects are different from each other.
S33, after receiving the popular comment pulling request, the comment server 12 forwards the popular comment pulling request to each comment management server (131-13 n).
In this step, in order to adapt to the real-time performance of the popular comment screening rule, the comment server 12 determines the popular comments, and in order to determine the popular comments, the comment server 12 sends the popular comment pulling request to each comment management server. Since many factors need to be considered in screening popular comments, for example, popular comments can be determined based on the number of returns of comments, the number of praise, the browsing duration and other factors, and in practical application, the data size of comments for a comment object is particularly large. In the prior art, only one database (a relational database or an ordered set database) is used for determining the popular comments, and then the popular comments are sent to a comment server, so that the database processing comments can spend a long time for determining the popular comments due to large data volume, the processing performance of an interface is low, and a user can see the popular comments after waiting for a long time. In order to solve the problems, the invention is provided with at least two comment management servers, and different comment management servers are provided with different popular comment selection conditions according to the evaluation factors of popular comments, so that the data volume processed by each comment management server is relatively small, and the processing performance of the interface can be improved to a certain extent.
It should be noted that, in the present invention, the comment server 12 simultaneously sends a hot comment pull request to all comment management servers (131 to 13n) included in the hot comment determination system.
S34, after receiving the popular comment pulling request, each comment management server (131-13 n) determines a candidate popular comment set which meets the popular comment selection condition.
The popular comment selecting conditions corresponding to different comment management servers are different.
For convenience of description, the present invention is described by taking an example of a process executed by the ith comment management server 13i after receiving the popular comment pulling request, where processes executed by other comment management servers are similar to those executed by the ith comment management server 13i, except that the popular comment selection conditions corresponding to different comment management servers are different, and thus, the obtained candidate popular comment sets are different.
In this step, the ith comment management server 13i determines, according to the preset popular comment selection condition, a comment that meets the popular comment selection condition among all comments for the comment object, and forms the determined comment into a candidate popular comment set. For example, the invention may count the number of times that the comment is praised, the number of times that the comment is replied, and the browsing duration of browsing the comment for each comment initiated by the user, then three comment management servers may be provided in the invention, each comment management server is provided with popular comment selection conditions of different factors, for example, the first comment management server 131 is provided with a reply number of popular comment selection conditions, the second comment management server 132 is provided with a like number of popular comment selection conditions, and the third comment management server 133 is provided with a browsing duration of popular comment selection conditions, so that three candidate popular comment sets may be obtained, which are respectively a candidate popular comment set related to the reply number, a candidate popular comment set related to the like number, and a candidate popular comment set related to the browsing duration, so that the data amount processed by each comment management server is relatively small, the time for determining the popular comments is reduced, so that the time for determining the popular comments can be saved, the processing performance of the interface is improved, and the waiting time for the user to wait for checking the popular comments is reduced.
S35, the comment management server (131-13 n) sends the candidate popular comment sets to the comment server 12.
In this step, each comment management server may determine its own candidate popular comment set based on its own popular comment selection condition, and then send its own candidate popular comment set to the comment server 12.
It should be noted that, in the present invention, the time for obtaining the candidate popular comment sets is different because the popular comment selection conditions in each comment management server are different, and therefore, the time for returning the candidate popular comment sets to the comment server may also be different.
S36, the comment server 12 determines popular comments from the received candidate popular comment sets respectively sent by the comment management servers (131-13 n) according to the current popular comment screening rule.
In the step, in order to determine the popular comments according to the popular comment screening rule in real time, the comment server 12 is used for determining the popular comments from the candidate popular comment sets returned by the comment management servers according to the current popular comment screening rule, so that the determined popular comments can adapt to the current popular comment screening rule, namely the change instantaneity of the popular comment screening rule.
It should be noted that the popular comment screening rule in the present invention generally refers to a weight for measuring a factor of a popular comment, for example, the factor for measuring the popular comment of a comment object includes a number of praise, a number of replies, a browsing duration, and the like, and the popular comment screening rule is a weight for the number of praise, a weight for the number of replies, and a weight for the browsing duration.
S37, the comment server 12 sends the determined popular comment to the user device 11.
In this step, after the popular comment determined by the comment server 12, when the popular comment is sent to the user equipment 11, the comment other than the popular comment is also sent, and only the popular comment is sent to the user equipment 11 in the order that the popular comment is before the other comment, so that the user equipment 11 can show the popular comment with a higher popularity to the user 10 based on the client.
According to the popular comment determining method provided by the invention, each comment management server is used for determining the candidate popular comment set which meets the popular comment selecting condition aiming at all comments in the comment object, and the comment service determines the popular comments from the candidate popular comment sets returned by each comment management server based on the current popular comment screening rule. In addition, the method determines the popular comments based on the current popular comment screening rule, so that the determined popular comments can adapt to the real-time property of the change of the popular comment screening rule.
For example, it is explained that at least two comment management servers in the popular comment determination system include a first comment management server and a second comment management server, the first comment management server in the present invention is used to determine a first candidate popular comment set whose number of replies in all comments for a comment object satisfies a first popular comment selection condition, and the second comment management server in the present invention is used to determine a second candidate popular comment set whose number of votes in all comments for a comment object satisfies a second popular comment selection condition. Referring to fig. 5, a schematic flowchart of a method for performing popular comment determination based on the system shown in fig. 5 can be seen from fig. 6, which includes the following steps:
s41 and the comment server 12, upon receiving the popular comment pull request sent by the user device 11, send the popular comment pull request to the first comment managing server 131.
In this step, reference may be specifically made to the implementation processes of steps S31 to S33, and details are not repeated here.
S42, the comment server 12, upon receiving the popular comment pull request sent by the user device 11, sends the popular comment pull request to the second comment managing server 132.
The implementation of this step can refer to the implementation process of steps S31-S33, and will not be repeated here.
It should be noted that, in the present invention, the step S41 and the step S42 are not executed sequentially, and may be executed simultaneously.
S43, after receiving the popular comment pulling request, the first comment management server 131 determines a first candidate popular comment set in which the number of replies in the comment for the comment object satisfies a first popular comment selection condition.
In this step, the first comment managing server 131 determines, for all comments of the comment object, a comment reply set obtained by sorting all comments in an order from high to low in the number of replies, where the comment reply set may include identification information of each comment and the number of replies thereof, and if the comment object is a palm cross fire game, the comment reply set includes identification information of each comment and the number of replies thereof for the game.
Based on the above description, the first comment management server 131 may extract the identification information of the top M comments and the number of replies thereof from the comment reply set, and then determine the set of the extracted identification information of the comments and the number of replies thereof as a first candidate popular comment set whose number of replies satisfies the first popular comment selection condition.
Preferably, the comment reply set may further include content information of each comment and content information replied for each comment, and the first candidate popular comment set obtained based on the above may also include content information of the top M comments and content information replied for the top M comments.
Based on the above description, since the comment reply set is predetermined in the present invention, the time for determining the first candidate popular comment set by the present invention can be saved, thereby improving the processing efficiency of the interface to a certain extent.
S44, the first comment managing server 131 sends the first popular comment set to the comment server 12.
S45, after receiving the popular comment pulling request, the second comment managing server 132 determines a second candidate popular comment set in which the number of praise in the comment for the comment object satisfies a second popular comment selecting condition.
In this step, the second comment managing server 132 also ranks all the comments about the comment object in advance in the order of the number of praise from high to low, so as to obtain a set of praise including the identification information and the number of praise for each comment about the comment object. If the comment object is a handheld through fire wire game, the comment like set comprises identification information of each comment aiming at the game and like numbers.
Based on the above description, the second comment managing server 132 may extract the identification information of the top N comments and the number of the votes thereof from the comment set, and then determine a set of the extracted identification information of the comments and the number of the votes thereof as a second candidate popular comment set whose number of the votes satisfies the second popular comment selection condition.
Preferably, the comment approval set may also include content information of each comment, and the second candidate popular comment set obtained based on this also includes content information of the top N comments.
It should be noted that steps S44 and S45 are not executed in sequence, and may be determined according to actual situations. In addition, the values of M and N are not limited in the present invention, and may be determined according to actual situations.
Based on the above description, since the comment like set is predetermined, the time for determining the second candidate popular comment set can be saved, thereby improving the processing efficiency of the interface to some extent.
S46, the second comment managing server 132 sends the second candidate popular comment set to the comment server 12.
S47, the comment server 12 determines popular comments in the set from the received first candidate popular comment set and second candidate popular comment set according to the current popular comment screening rule.
Based on the number of replies containing comments in the first candidate popular comment set returned by the first comment management server 131 in step S43 and based on the number of praise containing comments in the second candidate popular comment set returned by the second comment management server 132 in step S45, the comment server 12 may determine the popular comment according to the flow shown in fig. 7, including the following steps:
s51, aiming at each comment in the first candidate popular comment set and the second candidate popular comment set, determining the popularity value of the comment according to the number of replies, the popularity number of the comment, the weight of the number of replies and the popularity number of the comment corresponding to the current popular comment screening rule.
In this step, the comment server 12 may, for the identification information of each comment in the first candidate popular comment set, extract the number of votes for the comment from the first candidate popular comment set, then traverse the second candidate popular comment set, determine whether the comment is included in the second candidate popular comment set, and if the comment is included in the second candidate popular comment set, extract the number of votes for the comment, so that the extracted number of replies, the extracted number of votes, and the weight of the number of replies and the weight of the number of votes corresponding to the current popular comment screening rule may be subjected to weighted average processing, and the popularity value of the comment may be obtained. If the fact that the comment is not contained in the second candidate popular comment combination is determined, the number of praise is determined to be 0, and then the product of the number of replies of the comment and the weight of the number of replies is directly determined as the popularity value of the comment. According to the above description, the heat value of each comment in the first candidate set can be determined, and it should be noted that the comments in the first candidate popular comment set and the comments in the second candidate popular comment set may not be the same, so the present invention proposes that when a comment in the first candidate popular comment is found in the second candidate popular comment, the comment can be marked in the second candidate popular comment set, so that comments in the second candidate popular comment set that are not in the first candidate popular comment set can be quickly determined, and then the heat values of the comments are respectively determined, wherein the heat value is the product of the praise number of the comment and the praise number weight.
Of course, other methods may also be used to determine the popularity value of each comment, such as determining the comments in the first candidate popular comment set and the comments in the second candidate popular comment set that have the same comment identification, then respectively extracting the identification information and the number of the reviews from the first candidate popular review set and marking the reviews in the first candidate popular review set, meanwhile, the praise number of the comments is extracted from the second candidate popular comment set and marked in the second candidate popular comment set, then, the identification information, the reply number and the like of the extracted comments form an intersection, the intersection is recorded as a set U, then for each comment in the set U, and carrying out weighted average processing on the reply number, the praise number, the reply number weight and the praise number weight corresponding to the current popular comment screening rule, and obtaining the popularity value of the comment. For each comment which is not marked in the first candidate popular comment set, the identification information of the comments is not in the second candidate popular comment set, and the hot degree value of the comment which is not marked is the product of the reply number of the comment and the reply number weight corresponding to the current popular comment screening rule.
Based on the above description, the heat value of each comment contained in the first candidate popular comment set and the second candidate popular comment set may be determined.
S52, determining the popular comments in the set based on the popularity values of the comments in the first candidate popular comment set and the second candidate popular comment set.
Based on the heat value determined in step S51, the comment server 12 may sort the comments in the order of the heat value from high to low, where the number of comments participating in the sorting is determined by M and N, and if it is determined that there are K pieces of same identification information in the combination of the first candidate hot comment set and the second candidate hot comment, it may finally determine the heat values of (M + N-K) comments, and: and H is M + N-K, the H comments are sorted according to the sequence of the heat value from high to low, and then the first L comments can be determined as popular comments, wherein L is not more than H. Of course, topical reviews may be determined in other ways.
S48, the comment server 12 sends the determined popular comment to the user equipment 11.
In this step, when the comment server 12 sends the popular comments, the users who need to send the popular comments, the comment contents, the number of praise and the number of reply, and the like are sent.
It should be noted that, in consideration of the size of the display interface of the user device 11, comments other than the popular comments may also be sent while sending the popular comments to the user device 11, for example, the comment list obtained by sorting the heat value in step S47 from high to low is directly sent to the user device 11, so that the user can view other comments other than the popular comments.
In the invention, a user can actively initiate comments while browsing popular comments, and referring to the interface in fig. 3, the user can initiate own comments in the effect diagram shown in fig. 3 of "please input the words you want", and in order to ensure the accuracy of the finally determined popular comments, the comments initiated, liked or replied by the user each time need to be recorded in the corresponding comment management server. As described in detail below:
as shown in fig. 8, a schematic flowchart of a process for a user to reply a comment provided in an embodiment of the present invention may include the following steps:
s61, the user device 11 sends a reply request for any comment to the comment object received through the client to the comment server 12.
In this step, when the user a replies to the comment initiated by the user B through the handheld live wire game client, the user device 11 will carry the contents replied by the user a and the user a, the identification information of the user B, and the identification information of the comment initiated by the user B in a reply request, and send the reply request to the comment server 12.
S62, the comment server 12 transmits the reply request to the first comment managing server 131.
In this step, the comment server 12 forwards the reply request in step S61 to the first comment managing server 131, but the comment server 12 may also store information carried in the reply request.
S63, after receiving the reply request, the first comment managing server 131 updates the order of the comment in the comment reply collection.
In this step, after receiving the reply request, the first comment management server 131, on one hand, stores the content of the comment initiated by the user B and carried by the user a in the reply request to the position corresponding to the identification information of the comment initiated by the user B, and on the other hand, updates the number of replies of the comment in the comment reply set according to the identification information of the comment initiated by the user B and carried by the reply request, and determines whether the adjusted number of replies needs to adjust the position of the comment in the comment reply set, if necessary, adjusts the position and the number of replies of the comment in the comment reply set, otherwise, only adjusts the number of replies of the comment.
In this way, the comment reply set determined by the first comment management server 131 can be updated in real time, so that the first candidate popular comment set determined based on the comment reply set is ensured to be updated in real time, and the accuracy of the popular comment determined based on the first candidate popular comment set is ensured.
As shown in fig. 9, a schematic flow chart of comment approval by a user provided in the embodiment of the present invention may include the following steps:
s71, the user device 11 sends a approval request for any comment on the comment object received through the client to the comment server 12.
In this step, taking the user a as an example for explanation, when the user a approves the comment initiated by the user B through the handheld through fire wire game client endpoint, the user equipment 11 carries the identification information of the user B and the identification information of the comment initiated by the user B approved by the user a in an approval request, and sends the identification information to the comment server 12.
S72, the comment server 12 transmits the approval request to the second comment managing server 132.
The comment server 12 directly sends the approval request to the second comment managing server 132 when determining that the approval request is initiated by the user equipment 11, and of course, the comment server 12 may also store information carried in the approval request.
S73, after receiving the comment request, the second comment managing server 132 updates the order of the comment in the comment like set.
In this step, after receiving the approval request, the second comment management server 132 stores, on one hand, information carried in the approval request, and on the other hand, may update, according to the identification information of the comment initiated by the user B who approves the comment by the user a, which is carried in the approval request, the number of approval times corresponding to the identification information in the comment approval set, and then judge whether the updated number of approval times changes the current ranking in the current comment approval set, if so, the sequence of the comment in the comment approval set, and if not, keep the sequence in the comment approval set unchanged.
By executing the flow shown in fig. 9, the second comment management server 132 can update the comment like set determined by itself in real time, thereby ensuring the real-time performance of the second candidate popular comment set determined based on the comment like set, and further ensuring the real-time performance and accuracy of the popular comment determined based on the second candidate popular comment set.
In the popular comment determining method provided by the invention, after the comment server receives the popular comment pulling request sent by the comment object, the comment server sends the popular comment pull request to the first comment managing server and the second comment managing server respectively, so that the first comment managing server determines a first candidate popular comment set in which the number of replies in the comment for the comment object satisfies the first popular comment selecting condition after receiving the request and sends the first candidate popular comment set to the comment server, so that the second comment managing server determines a second candidate popular comment set in which the number of likes in the comment for the comment object satisfies a second popular comment selection condition after receiving the request and sends the second candidate popular comment set to the comment server, therefore, the comment server can determine the popular comments in the set from the first candidate popular comment set and the second candidate popular comment set according to the current popular comment screening rule. According to the invention, two servers are arranged, and the two servers respectively determine a first candidate popular comment set and a second candidate popular comment set according to different popular comment selection conditions, so that compared with the prior art, the data volume processed by each server is smaller, and the processing performance of an interface is improved to a certain extent; in addition, in the invention, the comment server determines the popular comments according to the current popular comment screening rule, thereby ensuring that the determined popular comments can adapt to the real-time performance of the popular comment screening rule.
Based on the same inventive concept, the embodiment of the invention also provides a device for determining popular comments, and as the problem solving principle of the device is similar to that of the method for determining popular comments, the implementation of the device can refer to the implementation of the method, and repeated parts are not repeated.
As shown in fig. 10, a schematic structural diagram of a popular comment determining apparatus provided in an embodiment of the present invention includes:
the forwarding unit 81 is configured to, after receiving a popular comment pulling request for a comment object, respectively forward the popular comment pulling request to each comment management server;
the receiving unit 82 is configured to receive candidate popular comment sets respectively returned by each comment management server, where each candidate popular comment set is determined according to popular comment selection conditions set in the comment management server after the comment management server returning the candidate popular comment set receives the popular comment pulling request, and the popular comment selection conditions corresponding to different comment management servers are different;
and the determining unit 83 is configured to determine the popular comments from the received candidate popular comment sets according to the current popular comment screening rule.
Preferably, the receiving unit is specifically configured to receive a first candidate popular comment set returned by a first comment management server and a second candidate popular comment set returned by a second comment management server, where the first candidate popular comment set is determined by the first comment management server after receiving the popular comment pulling request and according to whether a reply number in the comments for the comment object satisfies a first popular comment selecting condition, and the second candidate popular comment set is determined by the second comment management server after receiving the popular comment pulling request and according to whether a comment number in the comments for the comment object satisfies a second popular comment selecting condition.
Preferably, the first candidate popular comment set includes a recurrence number of each comment meeting a first popular comment selection condition; the second candidate popular comment set comprises the number of praise of each comment of which the number of praise meets the second popular comment selection condition; and
the determining unit 83 is specifically configured to determine, for each comment in the first candidate popular comment set and the second candidate popular comment set, a heat value of the comment according to the number of replies of the comment, the number of votes, and the weight of the number of replies and the weight of votes corresponding to the current popular comment screening rule; and determining the popular comments in the set based on the popularity values of the comments in the first candidate popular comment set and the second candidate popular comment set.
Preferably, the forwarding unit 81 is further configured to, after receiving a reply request for any comment of the comment object, send the reply request to the first comment management server, so that the first comment management server updates an order of the comment in a comment reply set after receiving the reply request, where the comment reply set is a set formed by all comments for the comment object in a sequence of a plurality of replies from high to low.
Preferably, the forwarding unit 82 is further configured to, after receiving an approval request for any comment of the comment object, send the approval request to the second comment management server, so that the second comment management server updates an order of the comment in a comment approval set after receiving the approval request, where the comment approval set is a set formed by all comments of the comment object in an order from high to low in an approval number.
For convenience of description, the above parts are separately described as modules (or units) according to functional division. Of course, the functionality of the various modules (or units) may be implemented in the same or in multiple pieces of software or hardware in practicing the invention.
Having described the topical review determination systems, methods, apparatus, and readable media of exemplary embodiments of the present invention, next, a computing apparatus according to another exemplary embodiment of the present invention is described.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a computing device according to the present invention may comprise at least one processing unit, and at least one memory unit. Wherein the storage unit stores program code that, when executed by the processing unit, causes the processing unit to perform the steps in the popular comment determination method according to various exemplary embodiments of the present invention described above in this specification. For example, the processing unit may execute a popular comment determination flow executed by the comment server in steps S31 through S37 shown in fig. 4.
The computing device 90 according to this embodiment of the invention is described below with reference to fig. 11. The computing device 90 shown in fig. 11 is only an example and should not impose any limitations on the functionality or scope of use of embodiments of the present invention.
As shown in fig. 11, the computing apparatus 90 is in the form of a general purpose computing device. Components of computing device 90 may include, but are not limited to: the at least one processing unit 91, the at least one memory unit 92, and a bus 93 connecting the various system components (including the memory unit 92 and the processing unit 91).
Bus 93 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The storage unit 92 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)921 and/or cache memory 922, and may further include Read Only Memory (ROM) 923.
Storage unit 92 may also include programs/utilities 925 having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The computing apparatus 90 may also communicate with one or more external devices 94 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the computing apparatus 90, and/or with any devices (e.g., router, modem, etc.) that enable the computing apparatus 90 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 95. Moreover, the computing device 90 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via a network adapter 96. As shown, the network adapter 96 communicates with the other modules for the computing device 90 over a bus 93. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computing device 90, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, various aspects of the popular comment determination method provided by the present invention may also be implemented in the form of a program product including program code for causing a computer device to execute the steps in the popular comment determination method according to various exemplary embodiments of the present invention described above in this specification when the program product runs on the computer device, for example, the computer device may execute a popular comment determination flow executed by a comment server in steps S31 to S37 shown in fig. 4.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for the topical review determination method of an embodiment of the present invention may employ a portable compact disk read only memory (CD-ROM) and include program code, and may be run on a computing device. However, the program product of the present invention is not limited in this respect, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the invention. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (15)

1. A topical review determination system, comprising: comment server, at least two comment management servers, wherein:
the comment server is used for forwarding the popular comment pulling request to each comment management server after receiving the popular comment pulling request aiming at the comment object; receiving candidate popular comment sets respectively returned by each comment management server; determining popular comments from each received candidate popular comment set according to the current popular comment screening rule;
each comment management server is used for determining a candidate popular comment set meeting popular comment selection conditions after receiving the popular comment pulling request, and sending the candidate popular comment set to the comment servers, wherein the popular comment selection conditions corresponding to different comment management servers are different.
2. The system of claim 1, wherein the at least two review management servers include a first review management server and a second review management server, wherein:
the first comment management server is used for determining a first candidate popular comment set of which the reply number meets a first popular comment selection condition in the comments of the comment object after receiving the popular comment pulling request and sending the first candidate popular comment set to the comment server;
the second comment management server is configured to determine, after receiving the popular comment pull request, a second candidate popular comment set in which the number of praise in the comment for the comment object satisfies a second popular comment selection condition, and send the second candidate popular comment set to the comment server.
3. The system of claim 2, wherein the first set of candidate popular comment comments includes a number of replies for each comment that satisfies a first popular comment selection condition; the second candidate popular comment set comprises the number of praise of each comment of which the number of praise meets the second popular comment selection condition; and
the comment server is specifically configured to determine, for each comment in the first candidate popular comment set and the second candidate popular comment set, a heat value of the comment according to the number of replies, the number of votes, and the weight of the number of replies and the weight of votes corresponding to the current popular comment screening rule; and determining the popular comments in the set based on the popularity values of the comments in the first candidate popular comment set and the second candidate popular comment set.
4. The system of claim 2,
the first comment management server is specifically configured to extract comments corresponding to the top M reply numbers from a comment reply set formed by arranging all comments of the comment object in a sequence of a reply number from high to low, and form the first candidate popular comment set by using the comments corresponding to the top M extracted reply numbers and the reply numbers thereof.
5. The system of claim 2,
the second comment management server is specifically configured to extract comments corresponding to the top N comment counts from a predetermined comment set in which all comments for the comment object are arranged in an order from high to low in comment count, and constitute the second candidate popular comment set by the comments corresponding to the top N comment counts extracted and the comment counts thereof.
6. The system of claim 4,
the comment server is further used for sending a reply request to the first comment management server after receiving the reply request for any comment of the comment object;
the first comment management server is further used for updating the sequence of the comments in the comment reply set after the reply request is received.
7. The system of claim 5,
the comment server is further used for sending an approval request to the second comment management server after receiving the approval request for any comment of the comment object;
the second comment management server is further configured to update the order of the comment in the comment like set after receiving the like request.
8. A popular comment determination method is characterized in that,
after receiving a popular comment pulling request for a comment object, respectively forwarding the popular comment pulling request to each comment management server; and
receiving candidate popular comment sets respectively returned by each comment management server, wherein each candidate popular comment set is determined according to popular comment selection conditions set in the comment management server after the comment management server returning the candidate popular comment set receives the popular comment pulling request, and the popular comment selection conditions corresponding to different comment management servers are different; and
and determining the popular comments from the received candidate popular comment sets according to the current popular comment screening rule.
9. The method of claim 8, wherein receiving the candidate popular comment sets returned by each comment management server includes:
receiving a first candidate popular comment set returned by a first comment management server and a second candidate popular comment set returned by a second comment management server, wherein the first candidate popular comment set is determined according to whether the number of replies in the comments of the comment object meets a first popular comment selection condition or not after the first comment management server receives the popular comment pulling request, and the second candidate popular comment set is determined according to whether the number of praise in the comments of the comment object meets a second popular comment selection condition or not after the second comment management server receives the popular comment pulling request.
10. The method of claim 9, wherein the first set of candidate topical reviews comprises a number of replies for each review meeting a first topical review selection condition; the second candidate popular comment set comprises the number of praise of each comment of which the number of praise meets the second popular comment selection condition; and determining popular comments in the set according to the first candidate popular comment set and the second candidate popular comment set, wherein the method specifically comprises the following steps:
for each comment in the first candidate popular comment set and the second candidate popular comment set, determining the popularity value of the comment according to the number of replies of the comment, the number of praise, and the weight of the number of replies and praise corresponding to the current popular comment screening rule;
and determining the popular comments in the set based on the popularity values of the comments in the first candidate popular comment set and the second candidate popular comment set.
11. The method of claim 9, further comprising:
after a reply request aiming at any comment of the comment object is received, the reply request is sent to the first comment management server, so that the first comment management server updates the sequence of the comment in a comment reply set after receiving the reply request, wherein the comment reply set is a set formed by all comments aiming at the comment object in a sequence of a plurality of replies from high to low.
12. The method of claim 9, further comprising:
after receiving a comment request for any comment of the comment object, sending the comment request to the second comment management server, so that the second comment management server updates the sequence of the comments in a comment set after receiving the comment request, wherein the comment set is a set formed by all comments of the comment object in a sequence of high comment number to low comment number.
13. A popular comment determination apparatus, comprising:
the system comprises a forwarding unit, a comment management server and a comment processing unit, wherein the forwarding unit is used for forwarding popular comment pulling requests to comment management servers after receiving the popular comment pulling requests for comment objects;
the receiving unit is used for receiving candidate popular comment sets respectively returned by each comment management server, and each candidate popular comment set is determined according to popular comment selection conditions set in the comment management server after the comment management server returning the candidate popular comment set receives the popular comment pulling request, wherein the popular comment selection conditions corresponding to different comment management servers are different;
and the determining unit is used for determining the popular comments from the received candidate popular comment sets according to the current popular comment screening rule.
14. A computer-readable medium having stored thereon computer-executable instructions for performing the method of any one of claims 8 to 12.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 8 to 12.
CN201810614339.9A 2018-06-14 2018-06-14 Popular comment determination system, method, device and readable medium Active CN108959450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810614339.9A CN108959450B (en) 2018-06-14 2018-06-14 Popular comment determination system, method, device and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810614339.9A CN108959450B (en) 2018-06-14 2018-06-14 Popular comment determination system, method, device and readable medium

Publications (2)

Publication Number Publication Date
CN108959450A CN108959450A (en) 2018-12-07
CN108959450B true CN108959450B (en) 2022-08-26

Family

ID=64488887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810614339.9A Active CN108959450B (en) 2018-06-14 2018-06-14 Popular comment determination system, method, device and readable medium

Country Status (1)

Country Link
CN (1) CN108959450B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188232B (en) * 2019-05-24 2021-09-14 杭州网易云音乐科技有限公司 Music comment interaction method, device, medium and computing equipment
CN112492381B (en) * 2019-09-11 2023-05-30 北京字节跳动网络技术有限公司 Information display method and device and electronic equipment
CN113094492B (en) * 2019-12-23 2023-10-20 腾讯科技(深圳)有限公司 Comment information display method, processing system, device, equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130054317A1 (en) * 2011-08-24 2013-02-28 Raj Vasant Abhyanker Geospatially constrained gastronomic bidding
US9032289B1 (en) * 2010-03-26 2015-05-12 Google Inc. Providing suggestions to users to write comments
US9311678B2 (en) * 2010-12-15 2016-04-12 Facebook, Inc. Comment plug-in for third party system
US20150089409A1 (en) * 2011-08-15 2015-03-26 Equal Media Limited System and method for managing opinion networks with interactive opinion flows
US9904711B2 (en) * 2013-06-28 2018-02-27 Rakuten, Inc. Information provision device, information provision method, and information provision program
CN105630793A (en) * 2014-10-28 2016-06-01 阿里巴巴集团控股有限公司 Information weight determination method and device
CN105898336A (en) * 2015-12-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Hot review determining method, hot review display system and server
CN107807936A (en) * 2016-09-09 2018-03-16 腾讯科技(深圳)有限公司 Comment information sort method and device
CN107105318B (en) * 2017-03-21 2021-01-29 华为技术有限公司 Video hotspot segment extraction method, user equipment and server
CN107590114A (en) * 2017-09-08 2018-01-16 掌阅科技股份有限公司 Processing method, electronic equipment and the storage medium of e-book comment information

Also Published As

Publication number Publication date
CN108959450A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN107679211B (en) Method and device for pushing information
US11017152B2 (en) Optimizing loading of web page based on aggregated user preferences for web page elements of web page
CN109194714B (en) File pushing method and device, terminal device and storage medium
JP6181867B2 (en) Application information search method and apparatus
CN108959450B (en) Popular comment determination system, method, device and readable medium
CN109862100B (en) Method and device for pushing information
CN107480277A (en) Method and device for web log file collection
CN104580348A (en) Accessing location-based content
EP4134900A2 (en) Method and apparatus for recommending content, method and apparatus for training ranking model, device, and storage medium
US20170031993A1 (en) Presenting Previously Selected Search Results
CN110866040A (en) User portrait generation method, device and system
CN113626624B (en) Resource identification method and related device
CN110971983B (en) Video question answering method, equipment and storage medium
CN107480269B (en) Object display method and system, medium and computing equipment
CN113590985B (en) Page jump configuration method and device, electronic equipment and computer readable medium
US11122139B2 (en) Systems and methods for reducing download requirements
CN110888583B (en) Page display method, system and device and electronic equipment
CN110764662B (en) Information processing method, information processing device, electronic equipment and storage medium
JP6998354B2 (en) Search-based collection support methods and computer equipment
CN112951398A (en) Bed management method and device, electronic terminal and storage medium
KR20150068760A (en) System and method for managing real estate offerings
US11244005B1 (en) System for amplifying user online visibility and credibility
CN108831012B (en) Vending method and device of vending machine
WO2023221818A1 (en) Information display method and apparatus, and device and medium
US20220076276A1 (en) Business owner verification system

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