CN115203581A - Comment method and device, electronic equipment and storage medium - Google Patents

Comment method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115203581A
CN115203581A CN202210731632.XA CN202210731632A CN115203581A CN 115203581 A CN115203581 A CN 115203581A CN 202210731632 A CN202210731632 A CN 202210731632A CN 115203581 A CN115203581 A CN 115203581A
Authority
CN
China
Prior art keywords
comment
comment information
target
user
information
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.)
Pending
Application number
CN202210731632.XA
Other languages
Chinese (zh)
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202210731632.XA priority Critical patent/CN115203581A/en
Publication of CN115203581A publication Critical patent/CN115203581A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the application discloses a commenting method, a commenting device, electronic equipment and a storage medium; the comment input interface can be displayed in response to the comment operation on the first target release content; receiving comment information input by a user on a comment input interface; sensitive word detection is carried out on the comment information; if the comment information contains the first sensitive word, coding the first sensitive word to obtain first target comment information; acquiring user attributes of the comment information; obtaining a first user score according to the first sensitive word and the user attribute; determining a first display sequence of the first target comment information according to the first target comment information and the first user score; and displaying the first target comment information in the comment display interface according to the first display sequence. Therefore, the ranking effect of the comments can be improved.

Description

Comment method and device, electronic equipment and storage medium
Technical Field
The application relates to the field of computers, in particular to a commenting method and device, electronic equipment and a storage medium.
Background
In recent years, in order to improve the knowledge storage of employees in an enterprise and meet the requirements of training and daily work of new people in the enterprise, the employees can share and exchange knowledge on the knowledge sharing platform generally by constructing the knowledge sharing platform.
However, when the existing knowledge sharing platform displays the comments of the published content, the comments are only displayed in a sequencing manner according to the publishing time of the comments, so that the sequencing effect is poor.
Disclosure of Invention
The embodiment of the application provides a comment method and device, electronic equipment and a storage medium, and the comment ordering effect can be improved.
In a first aspect, an embodiment of the present application provides a comment method, including:
responding to a comment operation of the first target release content, and displaying a comment input interface;
receiving comment information input by a user on a comment input interface;
sensitive word detection is carried out on the comment information;
if the comment information contains the first sensitive word, coding the first sensitive word to obtain first target comment information;
obtaining user attributes of the comment information, wherein the user attributes comprise position information and historical comment information of the user;
obtaining a first user score according to the first sensitive word and the user attribute;
determining a first display sequence of the first target comment information according to the first target comment information and the first user score;
and displaying the first target comment information in the comment display interface according to the first display sequence.
In some embodiments, after detecting the sensitive word in the comment information, the method further comprises:
if the comment information contains the second sensitive word, the comment information is sent to a manual review terminal for manual review;
receiving an auditing result sent by a manual auditing terminal;
if the verification result is passed, coding the second sensitive word to obtain second target comment information;
acquiring user attributes of the comment information, wherein the user attributes comprise names, position information and historical comment information of users;
obtaining a second user score according to the second sensitive word and the user attribute;
determining a second display sequence of the second target comment information according to the second target comment information and the second user score;
and displaying the second target comment information in the comment display interface according to the second display sequence.
In some embodiments, after detecting the sensitive word in the comment information, the method further comprises:
and if the comment information contains the third sensitive word, shielding the comment information.
In some embodiments, after detecting the sensitive word in the comment information, the method further comprises:
and if the sensitive words do not exist in the comment information, displaying the comment information in a comment display interface.
In some embodiments, deriving a first user score based on the first sensitive word and the user attribute comprises:
performing first keyword retrieval processing on the first target release content, and determining a knowledge point label of the first target release content;
determining the matching degree of the user and the first target release content according to the knowledge point label and the position information;
acquiring history sensitive word information according to the history comment information;
determining the occurrence rate of the sensitive words according to the historical sensitive word information and the first sensitive words;
and obtaining a first user score according to the matching degree and the sensitive word occurrence rate.
In some embodiments, after presenting the first target comment information in the comment display interface according to the first presentation order, the method further comprises:
performing second keyword retrieval processing on the first target comment information to obtain at least one knowledge keyword tag in the first target comment information;
selecting second target release content from a pre-stored database according to at least one knowledge keyword tag, wherein the second target release content comprises all knowledge keyword tags in the first target comment information;
and acquiring second address information of the second target release content, and displaying the second address information of the second target release content in the first target comment content.
In some embodiments, after determining the second targeted post content in the pre-stored database based on the at least one knowledge keyword tag, the method further comprises:
the method comprises the steps of obtaining first address information of first target release content, and displaying the first target comment information and the first address information in a comment display interface of second target release content.
In a second aspect, an embodiment of the present application further provides a comment apparatus, including:
the first response unit is used for responding to the comment operation of the first target release content and displaying a comment input interface;
the receiving unit is used for receiving comment information on a comment input interface;
the detection unit is used for detecting the sensitive words in the comment information;
the code printing processing unit is used for printing a code on the first sensitive word to obtain first target comment information if the comment information contains the first sensitive word;
the obtaining unit is used for obtaining user attributes of the comment information, wherein the user attributes comprise names, position information and historical comment information of users;
the obtaining unit is used for obtaining a first user score according to the first sensitive word and the user attribute;
the display unit is used for determining a first display sequence of the first target comment information according to the first target comment information and the first user score;
and the second response unit is used for displaying the first target comment information in the comment display interface according to the first display sequence.
In a third aspect, an embodiment of the present application further provides an electronic device, including a memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps of any of the review methods provided by the embodiments of the present application.
In a fourth aspect, the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the steps in any one of the review methods provided in the embodiments of the present application.
In the application, the display sequence of the comment published by the user can be determined by detecting the sensitive words in the comment and the detection result and the user attribute of the user publishing the comment, so that the quality of each comment can be better determined. Therefore, the ranking result of the comments is better.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a is a scene schematic diagram of a comment method provided by an embodiment of the present application;
FIG. 1b is a schematic flow chart diagram of a review method provided by an embodiment of the present application;
fig. 1c is a schematic flowchart of a method for obtaining a first user score according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a comment method provided by an embodiment of the present application applied in a server scenario;
FIG. 3 is a schematic diagram of a first structure of a comment device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a commenting method and device, electronic equipment and a storage medium.
The comment device may be specifically integrated in an electronic device, and the electronic device may be a terminal, a server, or the like. The terminal can be a mobile phone, a tablet Computer, an intelligent bluetooth device, a notebook Computer, or a Personal Computer (PC), and the like; the server may be a single server or a server cluster composed of a plurality of servers.
In some embodiments, the comment apparatus may be further integrated in a plurality of electronic devices, for example, the comment apparatus may be integrated in a plurality of servers, and the comment method of the present application is implemented by the plurality of servers.
In some embodiments, the server may also be implemented in the form of a terminal.
For example, referring to fig. 1a, the electronic device may be a server, and the server in this embodiment of the application is configured to display a comment input interface in response to a comment operation on a first target posted content; receiving comment information input by a user on a comment input interface; sensitive word detection is carried out on the comment information; if the comment information contains the first sensitive word, coding the first sensitive word to obtain first target comment information; obtaining user attributes of the comment information, wherein the user attributes comprise position information and historical comment information of the user; obtaining a first user score according to the first sensitive word and the user attribute; determining a first display sequence of the first target comment information according to the first target comment information and the first user score; and displaying the first target comment information in the comment display interface according to the first display sequence.
The following are detailed below. The numbers in the following examples are not intended to limit the order of preference of the examples.
In this embodiment, a comment method is provided, as shown in fig. 1b, where the comment method is applied to the first terminal, and a specific flow of the comment method may be as follows:
110. and responding to the comment operation of the first target publishing content, and displaying a comment input interface.
For example, in some embodiments, the release content may be the content of a question that is released on the knowledge sharing platform when the release user encounters a problem during work, or the content of knowledge, experience, and the like during work that the release user shares on the knowledge sharing platform, for example, the release user releases an article "foregone and modern of repayment schedule" on the knowledge sharing platform.
The knowledge sharing platform can be an environment or system which shares individual knowledge and organization knowledge for other members in an organization or in a larger range through various communication means, and is a subsystem of the knowledge management system. In some embodiments, the knowledge sharing platform may be software installed on the electronic device or may be a website.
For example, in the embodiment of the present Application, when the knowledge sharing platform is an app (Application program) installed on a mobile phone, and a publishing user needs to publish an article "foregone and foregone of a repayment schedule", the publishing user may log in the knowledge sharing platform, and then input the article "foregone and foregone of a repayment schedule" on a publishing interface for publishing the article or asking questions on the knowledge sharing platform, thereby implementing an operation of publishing content on the knowledge sharing platform.
The target release content may refer to target release content selected by a user among a plurality of release contents according to retrieval needs. For example, in some embodiments, a user needs to know knowledge content of a repayment schedule, and after logging in the knowledge sharing platform, the user finds an article "foregone and modern" in the repayment schedule "from a plurality of published content in the knowledge sharing platform, where the article is target published content. For example, in the embodiment of the application, a user can quickly find target release content in a fuzzy retrieval mode.
The comment operation may be an operation in which the user can comment on the target posted content by sending a comment signal to the knowledge sharing platform when the user needs to answer, ask a question, or enjoy sharing according to the content of the target posted content.
For example, in some embodiments, a "comment" button may be included in the interface for displaying the target published content, and the user enters the comment input interface to perform a comment by clicking the "comment" button.
The comment input interface may be used for a user to input comment content. For example, in some embodiments, a comment input box may be included in the comment input interface, in which a user may enter a comment.
120. And receiving comment information input by a user in the comment input interface.
For example, in some embodiments, when the user browses the article "foregone and modern of repayment schedule" in the app end of the knowledge sharing platform, the user can click a "comment" button in the interface for displaying the article, so as to enter the comment input interface, input a reading or a question for the article in a comment input box in the comment input interface, and then click and publish, where the published content can be sent to the server end of the knowledge sharing platform.
The comment information receiving method includes that a server side of the knowledge sharing platform receives comment information sent by a user at an app side of the knowledge sharing platform through a wireless gateway.
In some embodiments, the server side of the knowledge sharing platform may receive the content in the comment information in real time, that is, the user may input a word or a piece of content, and the server side of the knowledge sharing platform acquires the word or the piece of content input by the user, or the server side of the knowledge sharing platform receives all the content of the comment information after the user inputs the comment information.
130. Sensitive word detection is carried out on the comment information.
The sensitive words can be words or non-civilized words containing sensitive political tendency, violence tendency and unhealthy colors in the comment information; or may be special sensitive words set according to the actual conditions of the platform itself, for example, in some embodiments, some contents related to infringement of intellectual property may be set as special sensitive words.
Sensitive word detection may refer to a method of detecting a sensitive word in comment information, where in some embodiments, the method of sensitive word detection may include: determining character information in the comment information, comparing the character information in the comment information with sensitive words prestored in a preset database, when characters or fields matched with the sensitive words prestored in the preset database exist in the comment information, indicating that the sensitive words exist in the comment information, and when characters or fields matched with the sensitive words prestored in the preset database do not exist in the comment information, indicating that the sensitive words do not exist in the comment information.
In some embodiments, the text information in the comment information is compared with the sensitive words pre-stored in the preset database, except for comparing the text, the initial letters of the sensitive words may also be compared, and the interval characters may also be compared, for example, the sensitive words pre-stored in the preset database may be "X _ Y". When the comment information has the "XZY" in making the collation, it is determined that the sensitive word is present in the comment information.
140. And if the comment information contains the first sensitive word, coding the first sensitive word to obtain first target comment information.
The coding process may be fuzzification, that is, a mosaic process or a method of masking the target content with other special characters. When the target content is image content, coding processing can be performed in a mosaic mode, wherein mosaic can be an effect of degrading the details of color gradation of a specific area and causing disorder of color blocks; when the target content is a character, the coding processing can be carried out in a mode of replacing the target content by other special characters.
For example, in some embodiments, when the comment information is "foreigner of repayment schedule" and the sensitive word is "schedule", after detecting that the sensitive word "schedule" exists in "foreigner of repayment schedule", the "schedule" is subjected to coding processing, and after the coding processing is performed, the target comment information may be "foreigner of repayment XXX".
150. And acquiring user attributes of the comment information, wherein the user attributes comprise position information and historical comment information of the user.
The user attribute refers to information related to the user, and the user attribute may include position information and historical comment information of the user.
Where the position information may be position information of where the user is located in the company, for example, in some embodiments, the position information of the user may be "aa department, bb department". The position information may also be position information of the user on the knowledge sharing platform, for example, in some embodiments, the position information of the user may be used to characterize the activeness or ability of the user to answer questions in the target field.
The historical comment information can be the historical comment information of the content which is commented or published on the knowledge sharing platform by the user.
In some embodiments, the position information and the historical comment information of the user may be stored in an account file of the user, and the method of obtaining the user attribute of the comment information may include searching for a user file of the comment information from a memory of the knowledge sharing platform by determining an Identity document (ID number) of the comment information, and retrieving the position information and the historical comment information of the user from the user file.
160. And obtaining a first user score according to the first sensitive word and the user attribute.
The first user score is used for representing historical performance of the user when the user comments. When the first user score is higher, the historical performance of the characterization user in commenting is better, and when the first user score is lower, the historical performance of the characterization user in commenting is worse.
In this embodiment of the present application, as shown in fig. 1c, a method for obtaining a first user score according to a first sensitive word and a user attribute includes:
161. and performing first keyword retrieval processing on the first target release content, and determining the knowledge point label of the first target release content.
The keyword retrieval processing may refer to traversing characters in the target release content, so as to obtain knowledge point feature words from the target release content, and marking the knowledge point feature words as knowledge point tags. For example, in some embodiments, knowledge points involved in the target release content may be determined through a pre-stored knowledge database; and the knowledge points related to the target release content can be determined by the knowledge point labels of the publishers and the comparison between the pre-stored knowledge database and the knowledge point labels.
For example, in some embodiments, when the target release content includes "interest bearing", the target release content is compared with a pre-stored knowledge database to determine that the knowledge point includes the interest bearing, so as to obtain the knowledge point label "interest bearing" of the target release content. The pre-stored knowledge database may be a knowledge database of a third party.
162. And determining the matching degree of the user and the first target release content according to the knowledge point tags and the position information.
The position information is used for representing the position function of the user in the company, the work content of the user and related knowledge points can be determined through the position function of the user in the company, and therefore the matching degree of the user who comments and the first target release content can be determined through the knowledge point labels and the position information.
Wherein, the connection between the user's position function and the knowledge point can be determined through a pre-stored association table. For example, when the knowledge point label of the first target release content is "debt, occurrence and settlement of debt and the position information of the user is" accounting ", the matching degree of the user and the first target release content is high; when the knowledge point label of the first target release content is 'generation and settlement of debt and debt', and the position information of the user is 'product manager', the matching degree of the user and the first target release content is low.
163. And acquiring history sensitive word information according to the history comment information.
The history sensitive word information may refer to which information in the history comment information the user has the first sensitive word.
164. And determining the occurrence rate of the sensitive words according to the historical sensitive word information and the first sensitive words.
Wherein, the sensitive word occurrence rate refers to the rate of the occurrence of the comment of the first sensitive word and all comments. For example, in some embodiments, when the number of comments is 10 and the number of comments in which a sensitive word occurs is 3, the sensitive word occurrence rate is 30%.
165. And obtaining a first user score according to the matching degree and the occurrence rate of the sensitive words.
The user score is used for representing the priority of the user comment ordering, for example, when the first user score is high, the priority of the user comment ordering is high.
In this embodiment, the user score may be obtained according to the matching degree and the occurrence rate of the sensitive word, for example, in some embodiments, when the matching degree is high and the occurrence rate of the sensitive word is low, the first user score is high, when the matching degree is low and the occurrence rate of the sensitive word is low, the first user score is high, when the matching degree is high and the occurrence rate of the sensitive word is high, the first user score is medium, when the matching degree is low and the occurrence rate of the sensitive word is low, the first user score is low, and when the matching degree is low and the occurrence rate of the sensitive word is high, the first user score is low.
In this embodiment of the present application, the first user score may be further obtained according to the matching degree and the weight of the occurrence rate of the sensitive word, for example, in some embodiments, the user score may be obtained by "matching degree + first weight + occurrence rate of the sensitive word + second weight", where the matching degree is high, medium, and low and may represent scores 1, 0.5, and 0, respectively, the first weight may be 0.6, and the second weight may be 0.4.
170. And determining a first display sequence of the first target comment information according to the first target comment information and the first user score.
Wherein the first presentation order may refer to a presentation order of comment information for the presence-sensitive word. In some embodiments, the comment information of the presence-sensitive word and the comment information of the absence-sensitive word may be ranked, wherein the comment information of the absence-sensitive word may be presented in preference to the comment information of the presence-sensitive word. And review information for the presence-sensitive word may determine a first presentation order based on the first user score.
The higher the first user score is, the higher the ranking of the first target comment information is. In the embodiment of the application, when there are three original target comment information, where the user score of the first original target comment information is 0.8, the user score of the second original target comment information is 0.76, the user score of the third original target comment information is 0.6, and the first user score of the first target comment information is 0.79, the first display order of the first target comment information is between the first original target comment information and the second original target comment information.
180. And displaying the first target comment information in the comment display interface according to the first display sequence.
The comment display interface can be an interface for displaying comments. According to the first presentation order, presenting the first target comment information in the comment display interface may refer to presenting the first target comment information at a target position in the comment display interface, where the target position may be determined according to the first presentation order.
In this embodiment of the present application, after detecting a sensitive word in comment information, the comment method may further include:
if the comment information contains the second sensitive word, the comment information is sent to a manual review terminal for manual review;
receiving an audit result sent by a manual audit terminal;
if the verification result is passed, coding the second sensitive word to obtain second target comment information;
acquiring user attributes of the comment information, wherein the user attributes comprise users, position information and historical comment information;
obtaining a second user score according to the second sensitive word and the user attribute;
determining a second display sequence of the second target comment information according to the second target comment information and the second user score;
and displaying the second target comment information in the comment display interface according to the second display sequence.
The second sensitive word may be a sensitive word with a higher sensitivity than the first sensitive word, and the sensitivity of the sensitive word may be set artificially, for example, in some embodiments, the first sensitive word may be a violent tendency, an unhealthy colored word or a non-civilized language, and the second sensitive word may be a violent tendency word or a non-civilized language.
The manual auditing terminal can be a mobile phone or a computer with approval software. And the auditor examines the second sensitive word through the approval software, and if the second sensitive word is an ambiguous word, for example, the second sensitive word generated due to a sentence breaking problem can be subjected to coding processing, so that second target comment information is obtained.
The second user score may be obtained for the second target comment information and the user attribute, and the second user score may be used to determine a second display order, that is, may be to sort the second target comment information of the second sensitive word.
In the embodiment of the application, when the comment information is sequenced, if the comment information does not contain the sensitive words, the comment information is preferentially displayed, if the comment information contains the first sensitive words, the comment information sequence containing the first sensitive words is displayed after the comment information without the sensitive words, and if the comment information contains the second sensitive words, the comment information sequence containing the second sensitive words is displayed after the comment information containing the second sensitive words. When the comment information contains the first sensitive word and the second sensitive word, the first sensitive word and the second sensitive word can be subjected to coding processing, and sequencing is performed according to the second sensitive word and the user attribute.
In the embodiment of the present application, after detecting a sensitive word in comment information, the comment method further includes:
and if the third sensitive word exists in the comment information, shielding the comment information.
The third sensitive word may be a sensitive word with a higher sensitivity than the first sensitive word and the second sensitive word, and the sensitivity of the sensitive word may be set manually, for example, in some embodiments, the first sensitive word may be a violence-prone word or a non-civilized language, the second sensitive word may be an unhealthy colorful word or a non-civilized language, and the third sensitive word may be a violence-prone word or a non-civilized language.
The masking process may refer to not presenting the comment information and may close the comment function of the user.
In the embodiment of the present application, after detecting a sensitive word in comment information, the method further includes:
and if the sensitive words do not exist in the comment information, displaying the comment information in a comment display interface. In this embodiment of the application, after the first target comment information is displayed in the comment display interface according to the first display order, the comment method further includes:
performing second keyword retrieval processing on the first target comment information to obtain at least one knowledge keyword tag in the first target comment information;
selecting second target release content from a pre-stored database according to at least one knowledge keyword tag, wherein the second target release content comprises all knowledge keyword tags in the first target comment information;
and acquiring second address information of the second target release content, and displaying the second address information of the second target release content in the first target comment content.
For example, in some embodiments, when the first target comment information is "obligation that the debtor legally assumes to the creditor is a certain behavior or is not a certain behavior" in a legal relationship in which the debt refers to the debt, the knowledge keyword tag of the first target comment information can be "debt" through a prestored knowledge point database and through field matching. The pre-stored knowledge point database may be an encyclopedic database.
The second address information may be a link address, and when the user clicks the link address, the user may enter an interface where the second target issues content.
The displaying of the second address information of the second target posting content in the first target comment content may refer to displaying the second address information together with the first target comment content in a comment display interface.
In an embodiment of the present application, after determining, according to at least one knowledge keyword tag, a second target release content in a pre-stored database, the method further includes:
the method comprises the steps of obtaining first address information of first target release content, and displaying the first target comment information and the first address information in a comment display interface of second target release content.
The first address information may be a link address, and after the user clicks the link address, the user may enter an interface where the first target issues content.
By the method provided by the embodiment of the application, the comment input interface can be displayed in response to the comment operation on the first target release content; receiving comment information input by a user on a comment input interface; sensitive word detection is carried out on the comment information; if the comment information contains the first sensitive word, coding the first sensitive word to obtain first target comment information; obtaining user attributes of the comment information, wherein the user attributes comprise position information and historical comment information of the user; obtaining a first user score according to the first sensitive word and the user attribute; determining a first display sequence of the first target comment information according to the first target comment information and the first user score; and displaying the first target comment information in the comment display interface according to the first display sequence. Therefore, the display sequence of the comments made by the user is determined by detecting the sensitive words in the comments and according to the detection result and the user attributes of the users who make the comments, so that the quality of each comment can be better determined. Therefore, the ranking result of the comments is better.
The method described in the above embodiments is further detailed below.
As shown in fig. 2, a specific flow of the review method is as follows:
201. responding to comment operation on the published content, and displaying a comment input interface;
202. receiving comment information input by a user on a comment input interface;
203. sensitive word detection is carried out on the comment information;
204. if the sensitive words do not exist in the comment information, displaying the comment information in a comment display interface according to a preset priority display rule;
205. if the comment information contains the first-level sensitive words, shielding the first-level sensitive words to obtain first target comment information, and displaying the first target comment information in a comment display interface according to a preset priority display rule;
206. if the comment information contains the second-level sensitive word, the comment information is sent to a manual review terminal for manual review, if the review is passed, the second sensitive word is subjected to coding processing to obtain second target comment information, and the second target comment information is displayed in the comment display interface according to a preset priority display rule.
The preset priority display rule may mean that when comment information is displayed in a sequencing mode, the display priority of comment information without sensitive words is higher than the display priority of comment information with first-level sensitive words than the display priority of comment information with second-level sensitive words.
207. And if the third-level sensitive words exist in the comment information, shielding the third-level sensitive words.
In order to better implement the above method, an embodiment of the present application further provides an image processing apparatus, as shown in fig. 3, the comment apparatus may include:
a first response unit 301, configured to display a comment input interface in response to a comment operation on the first target posted content;
a receiving unit 302, configured to receive comment information input by a user on a comment input interface;
the detecting unit 303 is configured to perform sensitive word detection on the comment information;
the code printing processing unit 304 is configured to print a code on the first sensitive word to obtain first target comment information if the comment information includes the first sensitive word;
an obtaining unit 305, configured to obtain user attributes of the comment information, where the user attributes include position information and historical comment information of the user;
an obtaining unit 306, configured to obtain a first user score according to the first sensitive word and the user attribute;
the display unit 307 is configured to determine a first display order of the first target comment information according to the first target comment information and the first user score;
and the second response unit 308 is configured to display the first target comment information in the comment display interface according to the first display order.
In some embodiments of the present application, the coding processing unit 304 is further configured to:
if the comment information contains the second sensitive word, the comment information is sent to a manual review terminal for manual review;
receiving an audit result sent by a manual audit terminal;
if the verification result passes, code printing processing is carried out on the second sensitive word to obtain second target comment information;
obtaining user attributes of the comment information, wherein the user attributes comprise position information and historical comment information of the user;
obtaining a second user score according to the second sensitive word and the user attribute;
determining a second display sequence of the second target comment information according to the second target comment information and the second user score;
and displaying the second target comment information in the comment display interface according to the second display sequence.
In some embodiments of the present application, the coding processing unit 304 is further configured to:
and if the third sensitive word exists in the comment information, shielding the comment information.
In some embodiments of the present application, the coding processing unit 304 is further configured to:
and if the sensitive words do not exist in the comment information, displaying the comment information in a comment display interface.
In some embodiments of the present application, the obtaining unit 306 is further configured to:
performing first keyword retrieval processing on the first target release content, and determining a knowledge point label of the first target release content;
determining the matching degree of the user and the first target release content according to the knowledge point label and the position information;
obtaining history sensitive word information according to the history comment information;
determining the occurrence rate of the sensitive words according to the history sensitive word information and the first sensitive words;
and obtaining a first user score according to the matching degree and the sensitive word occurrence rate.
In some embodiments of the present application, the second response unit 308 is further configured to:
performing second keyword retrieval processing on the first target comment information to obtain at least one knowledge keyword tag in the first target comment information;
selecting second target release content from a pre-stored database according to at least one knowledge keyword tag, wherein the second target release content comprises all knowledge keyword tags in the first target comment information;
and acquiring second address information of the second target release content, and displaying the second address information of the second target release content in the first target comment content.
In some embodiments of the present application, the second responding unit 308 is further configured to:
after determining the second targeted post content in the pre-stored database based on the at least one knowledge keyword tag, the method further comprises:
the method comprises the steps of obtaining first address information of first target release content, and displaying the first target comment information and the first address information in a comment display interface of second target release content.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, the comment apparatus of the present embodiment is configured with a first response unit 301 configured to display a comment input interface in response to a comment operation on a first target posted content; the receiving unit 302 is used for receiving comment information input by a user in a comment input interface; the detecting unit 303 is configured to perform sensitive word detection on the comment information; the code printing processing unit 304 is configured to print a code on the first sensitive word to obtain first target comment information if the comment information includes the first sensitive word; the obtaining unit 305 is configured to obtain user attributes of the comment information, where the user attributes include position information and historical comment information of the user; the obtaining unit 306 is configured to obtain a first user score according to the first sensitive word and the user attribute; the display unit 307 is configured to determine a first display order of the first target comment information according to the first target comment information and the first user score; the second response unit 308 is configured to display the first target comment information in the comment display interface according to the first display order. According to the embodiment of the application, the sensitive words in the comments can be detected, the display sequence of the comments made by the user can be determined through the detection result and the user attributes of the user who makes the comments, and therefore the quality of each comment can be better determined. Therefore, the ranking result of the comments is better.
The embodiment of the application also provides the electronic equipment which can be equipment such as a terminal and a server. The terminal can be a mobile phone, a tablet computer, an intelligent Bluetooth device, a notebook computer, a personal computer and the like; the server may be a single server, a server cluster composed of a plurality of servers, or the like.
In some embodiments, the comment device may also be integrated in a plurality of electronic devices, for example, the comment device may be integrated in a plurality of servers, and the comment method of the present application is implemented by the plurality of servers.
In this embodiment, the electronic device of this embodiment is taken as an example of a terminal to be described in detail, for example, as shown in fig. 4, it shows a schematic structural diagram of the terminal according to the embodiment of this application, and specifically:
the terminal may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, an input module 404, and a communication module 405. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 401 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402. In some embodiments, processor 401 may include one or more processing cores; in some embodiments, processor 401 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The terminal further includes a power supply 403 for supplying power to the various components, and in some embodiments, the power supply 403 may be logically connected to the processor 401 via a power management system, so that the power management system may manage charging, discharging, and power consumption. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The terminal may also include an input module 404, the input module 404 being operable to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The terminal may also include a communication module 405, and in some embodiments the communication module 405 may include a wireless module, through which the terminal may wirelessly transmit over short distances, thereby providing wireless broadband internet access to the user. For example, the communication module 405 may be used to assist a user in sending and receiving e-mails, browsing web pages, accessing streaming media, and the like.
Although not shown, the terminal may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 401 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions as follows:
responding to a comment operation on the first target release content, and displaying a comment input interface;
receiving comment information input by a user on a comment input interface;
sensitive word detection is carried out on the comment information;
if the comment information contains the first sensitive word, coding the first sensitive word to obtain first target comment information;
acquiring user attributes of the comment information, wherein the user attributes comprise position information and historical comment information of the user;
obtaining a first user score according to the first sensitive word and the user attribute;
determining a first display sequence of the first target comment information according to the first target comment information and the first user score;
and displaying the first target comment information in the comment display interface according to the first display sequence.
In some embodiments, a computer program product is also proposed, comprising a computer program or instructions which, when executed by a processor, implement the steps of any of the above-mentioned review methods.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the comment methods provided in the present application.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium.
Because the instructions stored in the storage medium can execute the steps in any one of the review methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the review methods provided in the embodiments of the present application can be achieved, and the detailed description is omitted here for details, see the foregoing embodiments.
The above detailed description is provided for a comment method, apparatus, electronic device and computer-readable storage medium provided by the embodiments of the present application, and specific examples are applied herein to explain the principles and implementations of the present application, and the description of the above embodiments is only used to help understand the method and its core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of commenting, the method comprising:
responding to a comment operation of the first target release content, and displaying a comment input interface;
receiving comment information input by a user on the comment input interface;
sensitive word detection is carried out on the comment information;
if a first sensitive word exists in the comment information, coding the first sensitive word to obtain first target comment information;
acquiring user attributes of the comment information, wherein the user attributes comprise position information and historical comment information of a user;
obtaining a first user score according to the first sensitive word and the user attribute;
determining a first display sequence of the first target comment information according to the first target comment information and the first user score;
and displaying the first target comment information in a comment display interface according to the first display sequence.
2. The method of claim 1, wherein after the detecting the sensitive word in the comment information, the method further comprises:
if the comment information contains a second sensitive word, the comment information is sent to a manual review terminal for manual review;
receiving an audit result sent by the manual audit terminal;
if the verification result passes, code printing processing is carried out on the second sensitive word to obtain second target comment information;
acquiring user attributes of the comment information, wherein the user attributes comprise names, position information and historical comment information of users;
obtaining a second user score according to the second sensitive word and the user attribute;
determining a second display sequence of the second target comment information according to the second target comment information and the second user score;
and displaying second target comment information in the comment display interface according to the second display sequence.
3. The method of claim 1, wherein after the detecting the sensitive word in the comment information, the method further comprises:
and if a third sensitive word exists in the comment information, shielding the comment information.
4. The method of claim 1, wherein after the detecting the sensitive word in the comment information, the method further comprises:
and if the sensitive words do not exist in the comment information, displaying the comment information in the comment display interface.
5. The method of claim 1, wherein deriving a first user score based on the first sensitive word and the user attribute comprises:
performing first keyword retrieval processing on the first target release content, and determining a knowledge point tag of the first target release content;
determining the matching degree of the user and the first target release content according to the knowledge point label and the position information;
acquiring history sensitive word information according to the history comment information;
determining the occurrence rate of sensitive words according to the historical sensitive word information and the first sensitive words;
and obtaining the first user score according to the matching degree and the sensitive word occurrence rate.
6. The method of claim 1, wherein after said presenting first target comment information in said comment display interface according to said first presentation order, said method further comprises:
performing second keyword retrieval processing on the first target comment information to obtain at least one knowledge keyword tag in the first target comment information;
selecting second target release content from a pre-stored database according to at least one knowledge keyword tag, wherein the second target release content comprises all the knowledge keyword tags in the first target comment information;
and acquiring second address information of the second target release content, and displaying the second address information of the second target release content in the first target comment content.
7. The method of claim 6, wherein after determining a second targeted release content in a pre-stored database based on at least one of the knowledge keyword tags, the method further comprises:
the method comprises the steps of obtaining first address information of first target release content, and displaying the first target comment information and the first address information in a comment display interface of second target release content.
8. A review apparatus, comprising:
the first response unit is used for responding to the comment operation of the first target release content and displaying a comment input interface;
the receiving unit is used for receiving comment information input by a user on the comment input interface;
the detection unit is used for detecting sensitive words of the comment information;
the code printing processing unit is used for printing a code on a first sensitive word to obtain first target comment information if the comment information contains the first sensitive word;
the obtaining unit is used for obtaining the user attributes of the comment information, wherein the user attributes comprise position information and historical comment information of the user;
the obtaining unit is used for obtaining a first user score according to the first sensitive word and the user attribute;
the display unit is used for determining a first display sequence of the first target comment information according to the first target comment information and the first user score;
and the second response unit is used for displaying the first target comment information in the comment display interface according to the first display sequence.
9. An electronic device comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps in the review method of any of claims 1-7.
10. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the review method of any one of claims 1-7.
CN202210731632.XA 2022-06-25 2022-06-25 Comment method and device, electronic equipment and storage medium Pending CN115203581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210731632.XA CN115203581A (en) 2022-06-25 2022-06-25 Comment method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210731632.XA CN115203581A (en) 2022-06-25 2022-06-25 Comment method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115203581A true CN115203581A (en) 2022-10-18

Family

ID=83578048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210731632.XA Pending CN115203581A (en) 2022-06-25 2022-06-25 Comment method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115203581A (en)

Similar Documents

Publication Publication Date Title
US11775494B2 (en) Multi-service business platform system having entity resolution systems and methods
CN109657054B (en) Abstract generation method, device, server and storage medium
CN111552880B (en) Knowledge graph-based data processing method and device, medium and electronic equipment
US20120005204A1 (en) System for determining and optimizing for relevance in match-making systems
US11757807B2 (en) Interactive chatbot for multi-way communication
US11620283B2 (en) Method and system for analytic based connections among user types in an online platform
Cvijikj et al. Understanding the user generated content and interactions on a Facebook brand page
US20230418793A1 (en) Multi-service business platform system having entity resolution systems and methods
US11769013B2 (en) Machine learning based tenant-specific chatbots for performing actions in a multi-tenant system
CN110417751B (en) Network security early warning method, device and storage medium
CN114303140A (en) Analysis of intellectual property data related to products and services
US9965812B2 (en) Generating a supplemental description of an entity
Yang et al. Tour: Dynamic topic and sentiment analysis of user reviews for assisting app release
CN108140055A (en) Trigger application message
JP2016021178A (en) Associated topic display control device, associated topic display control method, and program
CN109242690A (en) Finance product recommended method, device, computer equipment and readable storage medium storing program for executing
CN115203581A (en) Comment method and device, electronic equipment and storage medium
Tonkin A day at work (with text): A brief introduction
CN112434144A (en) Method, device, electronic equipment and computer readable medium for generating target problem
US20150193683A1 (en) Assisting an expert to answer preexisting questions in a time efficient manner
JP6885217B2 (en) User dialogue support system, user dialogue support method and program
JP7236711B1 (en) program, method, information processing device, system
US20210090190A1 (en) Data management system for use with agreements and data detailing concepts, designs, and ideas
CN113297848B (en) Information processing method, apparatus, device and storage medium
KR102476662B1 (en) User's comment sharing method and device

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