A network public opinion detection method and system
By monitoring account popularity data and trending topic analysis, combined with keyword and sentiment analysis, we solve the problem of insufficient security of self-media accounts in public opinion, achieve more accurate public opinion judgment and traffic management, and improve the influence and influence of accounts. Security.
Patent Information
- Application Number
- CN202410910286.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-09
AI Technical Summary
We-media accounts have insufficient security in online public opinion, making it difficult to effectively monitor and respond to the impact of public opinion, leading to increased negative impact.
By obtaining the popularity data of monitored accounts, we can determine whether there is public opinion and take corresponding measures according to the nature of the public opinion; if there is no public opinion, analyze the trending topic data and match the account positioning, conduct traffic diversion operations to increase traffic and influence, and extract keywords at the same time and sentiment analysis to determine the nature and direction of public opinion and take corresponding measures.
It improves the security and influence of self-media accounts in public opinion, enhances the accuracy of public opinion judgment and traffic management, and reduces negative impacts.
Smart Images

Figure CN118474427B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of public opinion detection, and in particular to a method and system for detecting network public opinion. Background Art
[0002] In recent years, with the rapid development of information technology and the popularization of the Internet, the self-media industry has risen rapidly and has become an important channel for information dissemination. However, in the process of self-media operation, network public opinion often occurs, which causes the self-media accounts of individuals or organizations to be affected, bringing negative impacts to the self-media accounts. Therefore, a network public opinion detection method and system are needed to improve the security of self-media accounts in public opinion, and there is room for improvement. Summary of the invention
[0003] In order to improve the security of self-media accounts, this application provides a network public opinion detection method and system.
[0004] In the first aspect, the present application provides a method for detecting online public opinion, which adopts the following technical solution:
[0005] A network public opinion detection method, comprising:
[0006] Obtain the popularity data of the monitored account and determine whether there is public opinion based on the popularity data;
[0007] If it is determined that the monitored account has public opinion, the nature of the public opinion of the monitored account is judged to determine the nature of the public opinion;
[0008] Take corresponding measures according to the nature of public opinion;
[0009] If it is determined that there is no public opinion on the monitored account, then the hot list topic data is obtained, and public opinion analysis is performed on the hot list topic data to determine the public opinion content of the hot list topic and record it as the hot list public opinion content;
[0010] Match the hot list public opinion content with the account positioning of the monitoring account to determine whether the hot list public opinion content matches the account positioning;
[0011] If the hot list public opinion content matches the account positioning, corresponding measures will be taken against the monitored account based on the hot list public opinion content and account positioning.
[0012] Preferably, the number of likes, the number of plays and the number of comments of the published content are obtained, and the number of likes, the number of plays and the number of comments are statistically judged according to the corresponding time period to obtain the popularity data of each time period;
[0013] The changes in the popularity data of each time period are judged. If the change trend of the popularity data is an increasing trend, the popularity data of each time period is compared with the built-in public opinion analysis threshold. If there is popularity data greater than the built-in public opinion analysis threshold, the corresponding published content is marked as content to be judged;
[0014] Based on the data relationship between the heat data of each time period and the built-in public opinion analysis threshold, determine the time period data whose heat data is greater than the built-in public opinion analysis threshold;
[0015] Based on the time period data, the comment data of the content to be judged is screened to obtain the comment data within the corresponding time period and record it as the comment data to be analyzed;
[0016] Analyze the comment data to be analyzed to determine whether there is public opinion on the content to be judged.
[0017] Preferably, event extraction is performed on the comment data to be analyzed to obtain a first event keyword;
[0018] Obtaining a custom keyword of the content to be determined, and comparing the custom keyword with the first event keyword to determine a relationship between the custom keyword and the first event keyword;
[0019] If the custom keyword is different from the first event keyword, the first event keyword is searched on the self-media platform according to the first event keyword to obtain event data;
[0020] Perform cluster scheduling on the event data to obtain a second event keyword in the event data;
[0021] Comparing the second event keyword with the custom keyword to determine the relationship between the second event keyword and the custom keyword;
[0022] If the custom keyword is different from the second event keyword, it is determined that there is no public opinion on the content to be determined;
[0023] If the custom keyword is the same as the second event keyword, it is determined that the content to be determined has public opinion;
[0024] If the custom keyword is the same as the first event keyword, it is determined that there is public opinion in the content to be determined.
[0025] Preferably, the comment data to be analyzed is divided to obtain direct comment data and reply data;
[0026] Obtain the comment types of direct comment data and reply data, and mark the comment data of reference type according to the comment type to obtain the posting object and marking object of the corresponding comment data;
[0027] The comment data and the reply data are screened according to the posting object and the marked object to obtain the first valid comment data and the valid reply data;
[0028] Rescreening the first valid comment data according to the reply object of the valid reply data to obtain second valid comment data;
[0029] According to the number of valid reply data in the second valid comment data, event keywords are extracted on a priority basis from the second valid comment data and the corresponding valid reply data to obtain event keywords corresponding to the valid comment data;
[0030] According to the event keyword of the second valid comment data, the event keywords of each valid comment data are compared with each other to obtain the first event keyword.
[0031] Preferably, the emotional content of the second valid comment data and the corresponding valid reply data is extracted to obtain emotional data;
[0032] Extracting the emotional content of the content to be judged to obtain emotional output data;
[0033] Matching the emotion data with the emotion output data, and if the emotion data and the emotion output data are successfully matched, determining the unity of the emotion data;
[0034] If the sentiment data is singular, the nature of the public opinion is determined to be positive;
[0035] If the sentiment data is not singular, the sentiment data is judged as oppositional;
[0036] If the sentiment data is contradictory, the nature of the public opinion is determined to be conflicting public opinion;
[0037] If the sentiment data is not contradictory, the nature of the public opinion is determined to be parallel public opinion;
[0038] If the emotion data and the emotion output data fail to match, the emotion data and the emotion output data are judged to be opposite;
[0039] If the sentiment data and the sentiment output data are opposite, the nature of the public opinion is determined to be reverse public opinion;
[0040] If the sentiment data and the sentiment output data are not contradictory, the nature of the public opinion is determined to be parallel public opinion.
[0041] Preferably, if the public opinion nature of the content to be determined is positive public opinion or negative public opinion, a public opinion warning signal is output for reference by decision makers;
[0042] If the public opinion nature of the content to be determined is conflicting public opinion, the heat statistics of the two conflicting sentiment data are performed to obtain the first heat data of the sentiment data matching the sentiment output data and the second heat data of the sentiment data opposite to the sentiment output data, and the first heat data and the second heat data are output for reference by decision makers;
[0043] If the public opinion nature of the content to be determined is parallel public opinion, heat statistics are performed on multiple sentiment data of the parallel public opinion to obtain a heat data set;
[0044] Match the sentiment output data with multiple sentiment data in the parallel public opinion. If the match is successful, determine the heat data of the sentiment output data in the sentiment data according to the heat data set, and compare the heat data with the heat data set to determine the heat sequence of the heat data of the sentiment output data in the heat data set, and record the heat sequence of the sentiment output data as the output heat sequence; the heat sequence is the arrangement order according to the size of the heat data;
[0045] According to the heat data set, the sentiment data whose heat sequence is greater than the output heat sequence is output for decision makers to make decisions;
[0046] If the match fails, the sentiment data with the highest heat value in the heat data set will be output for decision makers to make.
[0047] Preferably, the content of the hot list public opinion is judged to determine the direction of public opinion;
[0048] Make a harmful judgment on the public opinion orientation and obtain the risk coefficient;
[0049] If the risk factor is greater than the built-in risk threshold, the corresponding hot list public opinion content, public opinion orientation and risk factor are output;
[0050] If the risk factor is less than the built-in risk threshold, the hot list public opinion content is matched with the published content. If the match is successful, the output sentiment data of the corresponding content is matched with the public opinion orientation to determine whether the public opinion orientation is consistent;
[0051] If it is determined that the public opinion orientation is consistent, a positive diversion strategy signal is output;
[0052] If it is determined that the public opinion orientation is inconsistent, the hot list public opinion content will be output to decision makers for reference;
[0053] If the match fails, the hot public opinion content will be output to decision makers for reference.
[0054] In the second aspect, the present application provides a network public opinion detection system, which adopts the following technical solutions:
[0055] A network public opinion detection system, comprising: a public opinion judgment module, a nature judgment module, a measure execution module and a public opinion diversion module;
[0056] The public opinion judgment module obtains the popularity data of the monitored account and judges whether there is public opinion based on the popularity data;
[0057] The nature judgment module judges the nature of the public opinion of the monitored account and determines the nature of the public opinion if it is determined that the monitored account has public opinion;
[0058] The measure execution module takes corresponding measures according to the nature of the public opinion;
[0059] If the public opinion diversion module determines that there is no public opinion on the monitored account, it obtains the hot list topic data, performs public opinion analysis on the hot list topic data, determines the public opinion content of the hot list topic, and records it as the hot list public opinion content; matches the hot list public opinion content with the account positioning of the monitored account to determine whether the hot list public opinion content matches the account positioning; if the hot list public opinion content matches the account positioning, corresponding measures are taken for the monitored account according to the hot list public opinion content and the account positioning.
[0060] In summary, the present application includes at least one of the following beneficial technical effects:
[0061] 1. Analyze the popularity data of the monitored account to determine whether the monitored account has public opinion, and make the security of the monitored account itself the first priority. Then, judge the nature of the public opinion to determine the security of the monitored account in the public opinion, and take corresponding measures to maximize the benefits obtained by the monitored account in the public opinion. After determining that the monitored account itself is safe, analyze the hot list topics to find the hot list topics with the same account positioning as the monitored account, and divert the hot list topics to increase the traffic of the monitored account while ensuring the security of the monitored account itself, thereby improving the influence of the monitored account;
[0062] 2. By extracting keywords from the comment data to be analyzed, we can determine the hot events that have increased the popularity of the content to be determined. By comparing the first event keyword with the custom keyword, we can determine whether the increase in popularity is caused by the content to be determined. By clustering the event data of the self-media platform, we can determine whether the increase in popularity is caused by other events. In this way, we can clarify the cause of the increase in popularity and determine whether there is public opinion based on the cause of the increase in popularity, thereby improving the accuracy of public opinion judgment.
[0063] 3. By performing the first division of the comment data to be analyzed, direct comment data and reply data are obtained. By determining the comment type of the comment data and reply data, the comment data and reply data are secondly divided by the posting object and the marking object of the comment data of the reference type, thereby screening out valid comments, further reducing the number of comment data to be analyzed. The first valid comment data is then screened through the valid reply data to determine the credibility of the comments in the first valid comment data, which not only further reduces the number of comment data to be analyzed, but also ensures the validity of the first event keywords obtained based on the analysis of the second valid comment data, thereby improving the accuracy of judging the occurrence of public opinion. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 This is a flowchart of the steps of the network public opinion detection method of this embodiment;
[0065] Figure 2 This is a module block diagram of the network public opinion detection system of this embodiment.
[0066] Figure numerals: 1. Public opinion judgment module; 2. Nature judgment module; 3. Measures execution module; 4. Public opinion diversion module. DETAILED DESCRIPTION
[0067] The following is combined with Figure 1-Figure 2 This application is described in further detail.
[0068] The embodiments of the present application disclose a method and system for detecting network public opinion.
[0069] Example: Figure 1 As shown, the present invention provides a network public opinion detection method, comprising:
[0070] S100, obtaining the popularity data of the monitored account, and determining whether there is public opinion based on the popularity data;
[0071] S200, if it is determined that the monitored account has public opinion, then the nature of the public opinion of the monitored account is judged to determine the nature of the public opinion;
[0072] S300, take corresponding measures according to the nature of public opinion;
[0073] S400, if it is determined that the monitored account does not have public opinion, then obtain hot list topic data, perform public opinion analysis on the hot list topic data, determine the public opinion content of the hot list topic, and record it as the hot list public opinion content;
[0074] S500, matching the hot list public opinion content with the account location of the monitoring account to determine whether the hot list public opinion content matches the account location;
[0075] S600: If the hot list public opinion content matches the account positioning, corresponding measures are taken for the monitored account according to the hot list public opinion content and the account positioning.
[0076] In this embodiment, the monitoring account is monitored to determine the popularity data of the monitoring account, and the public opinion situation of the monitoring account is determined based on the popularity data. When it is determined that public opinion exists, the nature of the public opinion is judged to determine the impact of the public opinion on the monitoring account, and then corresponding measures are taken according to different influences, thereby increasing the influence of the account under favorable influences and weakening the influence on the monitoring account in advance under unfavorable influences, so as to maximize the benefits. When the monitoring account itself does not have public opinion, public opinion analysis is performed on the hot list topics, and based on the analysis results and the positioning of the monitoring account, it is determined whether the monitoring account can be diverted according to the hot list topics, thereby ensuring the traffic data of the monitoring account and improving the operating effect.
[0077] By analyzing the popularity data of the monitored account, it is determined whether there is public opinion on the monitored account, so that the security of the monitored account itself is given the first priority. Then, the nature of the public opinion is judged to determine the security of the monitored account in the public opinion. By taking corresponding measures, the monitored account can gain the greatest benefit from the public opinion. After determining that the monitored account itself is secure, the hot topics are analyzed to find the hot topics with the same account positioning as the monitored account, and the hot topics are diverted to increase the traffic of the monitored account while ensuring the security of the monitored account itself, thereby improving the operational effect of the monitored account.
[0078] For example, if the popularity data of a monitored account increases, and the rate of increase reaches a certain value, it indicates that the popularity of the monitored account has increased during this period, and it is necessary to make a public opinion judgment on the monitored account. For example, after a period of settling, the released video A is mentioned again by netizens, which leads to an increase in the exposure of video A. However, the exposure may be good or bad, so it is necessary to make a public opinion nature judgment on the public opinion to determine the impact of the public opinion on the monitored account. If the exposure is a bad impact, the decision maker needs to control the public opinion to reduce the impact on the monitored account. If the exposure is a good impact, the decision maker can further increase the exposure of the public opinion by strengthening the exposure of the public opinion. The exposure of video A can be increased, thereby improving the operating effect of the monitoring account. If the monitoring account itself does not have public opinion, it can increase the exposure of the content it publishes by diverting traffic to the already high-heat hot topics. For example, the hot topic is a discussion of event B. By judging event B, for example, event B is a news event, and the account positioning of the monitoring account is also a news topic, the exposure of the monitoring account can be increased by reporting on event B. If the account positioning of the monitoring account is an emotional topic, then due to the different subject areas, event B cannot be reported, and then the monitoring account cannot be diverted through event B to increase exposure.
[0079] In step S100, the popularity data of the monitored account is obtained, and whether there is public opinion is determined according to the popularity data, including the following steps:
[0080] S110, obtaining the number of likes, the number of plays, and the number of comments of the published content, and statistically judging the number of likes, the number of plays, and the number of comments according to the corresponding time period to obtain the popularity data of each time period;
[0081] S120, judging the change of the popularity data in each time period, if the change trend of the popularity data is an increasing trend, comparing the popularity data in each time period with the built-in public opinion analysis threshold, if there is popularity data greater than the built-in public opinion analysis threshold, marking the corresponding published content as content to be determined;
[0082] S130, based on the data relationship between the heat data of each time period and the built-in public opinion analysis threshold, determine the time period data whose heat data is greater than the built-in public opinion analysis threshold;
[0083] S140, screening comment data of the content to be determined based on the time period data, obtaining comment data within the corresponding time period, and recording the comment data as the comment data to be analyzed;
[0084] S150, analyzing the comment data to be analyzed to determine whether there is public opinion on the content to be determined.
[0085] In this embodiment, the number of likes, plays and comments on the published content is counted and judged according to the built-in time period to determine the heat data of different time periods. The heat data of different time periods are analyzed to filter out the heat data of the time period that meets the conditions, and the comment data is selected according to the time period, thereby reducing the amount of data for judging public opinion based on the comment data, thereby improving the accuracy and analysis speed of data analysis.
[0086] For example, in time period a, the number of likes is a1, the number of plays is a2, and the number of comments is a3. Through the heat data calculation formula, the heat data of time period a is calculated to be Y1=x1×a1+x2×a2+x3×a3; in time period b, the number of likes is b1, the number of plays is b2, and the number of comments is b3. Through the heat data calculation formula, the heat data of time period b is calculated to be Y2=x1×b1+x2×b2+x3×b3; in time period c, the number of likes is c1, the number of plays is c2, and the number of comments is c3. Through the heat data calculation formula, the heat data of time period c is calculated to be Y3=x1×c1+x2×c2+x3×c3. By comparing the change order of Y1, Y2, and Y3, it is determined that the change trend is an increasing trend. Then, through comparison, it is determined that Y3 is greater than the built-in public opinion analysis threshold. Then, the comment data in time period c is analyzed and judged to determine whether the comment data in time period c can increase public opinion. By only analyzing the comment data within time period c, the number of comment data to be analyzed is reduced, thereby speeding up the analysis rate. At the same time, since the popularity data of time period c is greater than the built-in public opinion analysis threshold, it means that if public opinion exists, the comment data within this time period can already represent the public opinion situation, thereby ensuring the accuracy of the analysis based on the comment data within time period c and reducing interference.
[0087] In step S150, the comment data to be analyzed is analyzed to determine whether the content to be determined has public opinion, including the following steps:
[0088] S151, extracting events from the comment data to be analyzed to obtain a first event keyword;
[0089] S152, obtaining custom keywords of the content to be determined, and comparing the custom keywords with the first event keywords to determine the relationship between the custom keywords and the first event keywords; wherein the custom keywords are keyword tags that users use to post content when posting content based on self-media platforms, such as: games, animation, patriotism, etc.
[0090] S153, if the custom keyword is different from the first event keyword, searching the self-media platform for the first event keyword according to the first event keyword to obtain event data;
[0091] S154, performing cluster scheduling on the event data to obtain a second event keyword in the event data;
[0092] S155, comparing the second event keyword with the custom keyword to determine the relationship between the second event keyword and the custom keyword;
[0093] S156, if the custom keyword is different from the second event keyword, it is determined that there is no public opinion on the content to be determined;
[0094] S157, if the custom keyword is the same as the second event keyword, it is determined that the content to be determined has public opinion;
[0095] S158: If the custom keyword is the same as the first event keyword, it is determined that the content to be determined has public opinion.
[0096] In this embodiment, keywords are extracted from the comment data to be analyzed to determine the event keywords in the comment area, and then the event keywords in the comment area are compared with the custom keywords of the content to be determined, so as to determine whether the hot events discussed in the comment area are related to the content published by the monitoring account itself, thereby more effectively determining whether public opinion has occurred. When it is determined that the custom keyword is different from the first event keyword, it indicates that the hot event is not caused by the content published by itself, so it is necessary to find the cause of the hotness. Therefore, the content of the self-media platform is clustered to determine the cause of the hotness of the content published by the monitoring account, and then the second event keyword is determined. By determining the relationship between the second event keyword and the custom keyword, it is determined whether the event scheduled by the cluster is related to the content published by itself. If they are the same, it is determined to be related. If they are different, it is necessary to issue an alarm to the account management personnel to ensure accurate judgment of the public opinion of the account.
[0097] By extracting keywords from the comment data to be analyzed, we can determine the hot events that have increased the popularity of the content to be determined. By comparing the first event keyword with the custom keyword, we can determine whether the increase in popularity is caused by the content to be determined. By clustering the event data of the self-media platform, we can determine whether the increase in popularity is caused by other events. In this way, we can clarify the reason for the increase in popularity, and determine whether there is public opinion based on the reason for the increase in popularity, thereby improving the accuracy of public opinion judgment.
[0098] For example, the comment data to be analyzed discusses event a, while the content to be determined discusses event b. Therefore, when performing keyword extraction, the keywords of the two are different. Therefore, by comparing the keywords of the two, the reason for the increase in popularity can be quickly judged. At the same time, when it is determined that the increase in popularity is not caused by the content to be determined, the reason for the increase in popularity of the monitored account can be quickly determined by searching the keywords of the first event on the self-media platform, and then the relationship between the keywords of the second event and the content to be determined can be determined. This not only improves the accuracy of the judgment on the possibility of public opinion, but also clarifies the reason for the increase in popularity. Relevant adjustments can be made to the monitored account based on the reason for the increase in popularity, such as drainage and transformation.
[0099] In step S151, event extraction is performed on the comment data to be analyzed to obtain a first event keyword, which includes the following steps:
[0100] S1511, dividing the comment data to be analyzed to obtain direct comment data and reply data;
[0101] S1512, obtaining the comment types of direct comment data and reply data, and marking the reference type comment data according to the comment type to obtain the posting object and marking object of the corresponding comment data; wherein the reference type is the comment content output by netizens when they quote a user or account in the comment area of the published content. For example, if account A mentions account B in the comment area, account A is set as the posting object and account B is set as the marking object.
[0102] S1513, filter the comment data and reply data according to the posting object and the marked object to obtain the first valid comment data and the valid reply data; wherein when the posting object and the marked object exist in the comment data and the reply data, the corresponding comment data and the reply data are marked as invalid comment data and invalid reply data, and when the posting object and the marked object do not exist in the comment data and the reply data, the corresponding comment data and the reply data are marked as the first valid comment data and the valid reply data.
[0103] S1514, re-screening the first valid comment data according to the reply object of the valid reply data to obtain the second valid comment data; wherein, when the first valid comment data has corresponding valid reply data, the first valid comment data with the valid reply data is marked as the second valid comment data, otherwise, if the first valid comment data does not have corresponding valid reply data, it is marked as invalid comment data.
[0104] S1515, performing event keyword priority extraction on the second valid comment data and the corresponding valid reply data according to the number of valid reply data in the second valid comment data, to obtain event keywords corresponding to the valid comment data;
[0105] S1516, based on the event keyword of the second valid comment data, compare the event keywords of each valid comment data to obtain the first event keyword.
[0106] In this embodiment, when extracting keywords from the comment data to be analyzed, although the comment data is divided once according to the time period data, there is still a large amount of data in the divided comment data. The comment data to be analyzed is divided to determine the direct comment data and the reply data of the reply to the direct comment in the comment area within the time period. The direct comment data and the reply data are split again to determine the valid data in the direct comment data and the reply data, so as to further reduce the amount of comment data to be analyzed, thereby improving the analysis efficiency. At the same time, by dividing the valid data of the comment data to be analyzed, the analysis results are more accurate. The priority of the comment data to be analyzed is determined by the number of valid reply data of the direct comment data, so that the hot events corresponding to the comment data can be quickly and effectively determined. By comparing the keywords of multiple valid comment data, the first event keyword obtained can summarize the hot events more accurately.
[0107] By performing the first division of the comment data to be analyzed, direct comment data and reply data are obtained. By determining the comment type of the comment data and reply data, the comment data and reply data are secondly divided by the posting object and the marking object of the comment data of the reference type, thereby screening out valid comments, further reducing the number of comment data to be analyzed. The first valid comment data is then screened through the valid reply data to determine the credibility of the comments in the first valid comment data, which not only further reduces the number of comment data to be analyzed, but also ensures the validity of the first event keywords obtained based on the analysis of the second valid comment data, thereby improving the accuracy of judging the occurrence of public opinion.
[0108] Exemplary, for example, there are comments a, b, c, d, e, f, g, h, i, j, k, m in the comment area, and comments a, b, d, g, j are direct comment data, c, e, f, h, i, k, m are reply data to comments a, b, d, g, j, and the comment type is judged by the comments a, b, c, d, e, f, g, h, i, j, k, m. For example, if comments a, c, e, i are reference types, then the posting accounts A, C, E, I of comments a, c, e, i are marked as posting objects. If comments b, d, f, g, h, j, k, m are normal comment types, c is the reply data of b, e is the reply data of d, f is the reply data of e, h is the reply data of g, i is the reply data of h, k is the reply data of j, and m is the reply data of k. For complex data, the posting account F of comment f is determined as the marked object through the comment data of the reference type. Therefore, the comments in the comment area are screened through the posting object and the marked object, and the valid comments b, d, g, h, j, k, and m are obtained. The filtered direct comment data are re-screened through the reply object of the valid reply data. Since b and d do not have valid reply data, they are filtered out, and the remaining direct comment data are g and j, and the remaining reply data are h, k, and m. Therefore, only g, j, h, k, and m need to be analyzed to obtain the corresponding event keywords. Since the direct comment data j has two reply data k and m, the event integrity corresponding to the direct comment data and the reply data is higher, so event keyword analysis of j, k, and m is given priority to improve analysis efficiency.
[0109] In step S200, if it is determined that the monitored account has public opinion, the nature of the public opinion of the monitored account is judged to determine the nature of the public opinion, including the following steps:
[0110] S210, extracting the emotional content of the second valid comment data and the corresponding valid reply data to obtain emotional data; for example, the emotional data may be positive, negative, sad, angry, etc.
[0111] S220, extracting the emotional content of the content to be determined to obtain emotional output data;
[0112] S230, matching the emotion data with the emotion output data. If the emotion data and the emotion output data are successfully matched, determining the singularity of the emotion data; wherein the singularity means that there is only one emotion data.
[0113] S240, if the sentiment data is singular, the nature of the public opinion is determined to be positive public opinion; for example, if the sentiment data expresses emotion a, and the sentiment output data also expresses emotion a, then the public opinion is helpful in monitoring the spread of the account, and is further determined to be positive public opinion.
[0114] S250, if the sentiment data is not singular, then the sentiment data is judged as being contradictory; wherein the contradiction judgment means that the sentiment data contains attitudes of both approval and opposition to the same thing. For example, one party believes that event a is good, and the other party believes that event a is not good, then the sentiment data between the two parties are contradictory.
[0115] S260, if the sentiment data is antagonistic, then the nature of the public opinion is determined to be conflicting public opinion; for example, the contradiction between men and women is conflicting public opinion.
[0116] S270, if the sentiment data is not contradictory, then the nature of the public opinion is determined to be parallel public opinion; for example, the sentiment data includes a and b, and a and b are not mutually contradictory, so it means that sentiment a and sentiment b are independent of each other, that is, sentiment a and sentiment b are parallel public opinions.
[0117] S280, if the emotion data and the emotion output data fail to match, then performing opposition judgment on the emotion data and the emotion output data;
[0118] S290, if the sentiment data and the sentiment output data are contradictory, then the nature of the public opinion is determined to be reverse public opinion; for example, the sentiment data expresses emotion a, and the sentiment output data also expresses emotion b, and emotion a is resistant to emotion b, so the public opinion has a certain degree of offensiveness to the monitoring account, and thus it is judged that the public opinion is not conducive to the dissemination and disclosure of the monitoring account, and then the public opinion is determined to be reverse public opinion.
[0119] S2100: If the sentiment data and the sentiment output data are not contradictory, the nature of the public opinion is determined to be parallel public opinion.
[0120] In this embodiment, when it is determined that there is public opinion, sentiment extraction is performed on the valid comment data and valid reply data in the comment area, as well as the content to be determined, so as to determine the sentiment data of the corresponding comment area and the sentiment output data of the content to be determined, and the relationship between the sentiment data and the sentiment output data is determined by matching the sentiment data and the sentiment output data with each other, so as to judge whether the sentiment data has a conflicting or approving emotion with respect to the content to be determined, and then determine the impact of public opinion on the monitoring account, so that the judgment result of the public opinion is more accurate.
[0121] The sentiment data is matched with the sentiment output data to determine whether there is sentiment output data in the sentiment data. If so, it indicates that there are some speeches in the sentiment data that agree with the content to be determined. Then, by judging the singularity of the sentiment data, it is determined whether the sentiment data fully agrees with the content to be determined or partially agrees with the content to be determined. When the sentiment data is not singular, it indicates that only part of the sentiment data is the same as the sentiment output data. Therefore, it is necessary to judge the relationship between the remaining sentiment data and the sentiment output data to determine whether the remaining sentiment data is opposite to the sentiment output data. Therefore, the judgment result is more accurate. When there is no sentiment output data in the sentiment data, it indicates that there is no correlation between the sentiment data and the sentiment output data. Then, the influence of public opinion on the content to be determined is determined by judging the opposition between the sentiment data and the sentiment output data, thereby judging the corresponding nature of public opinion. Then, the monitoring account can be processed accordingly according to the different natures of public opinion to reduce the negative impact on the monitoring account.
[0122] By performing sentiment extraction on the second valid comment data, the corresponding valid reply data and the content to be determined, the sentiment data corresponding to the comment area and the sentiment output data corresponding to the content to be determined are determined. By determining the relationship between the sentiment data and the sentiment output data, the impact of the current public opinion on the monitored account is determined, and then the corresponding nature of the public opinion is determined based on the impact, so that decision makers can quickly make correct judgments and operations based on the nature of the public opinion, thereby ensuring the security of the monitored account, increasing the traffic data of the monitored account, and improving online influence and visibility.
[0123] In step S300, corresponding measures are taken according to the nature of the public opinion, including the following steps:
[0124] S310, if the public opinion nature of the content to be determined is positive public opinion or negative public opinion, output a public opinion warning signal for reference by decision makers;
[0125] S320, if the public opinion nature of the content to be determined is conflicting public opinion, heat statistics are performed on the two conflicting sentiment data to obtain first heat data of the sentiment data matching the sentiment output data and second heat data of the sentiment data opposite to the sentiment output data, and the first heat data and the second heat data are output for reference by decision makers;
[0126] S330, if the public opinion nature of the content to be determined is parallel public opinion, then heat statistics are performed on multiple sentiment data of the parallel public opinion to obtain a heat data set;
[0127] S340, matching the sentiment output data with the plurality of sentiment data in the parallel public opinion, if the match is successful, determining the heat data of the sentiment output data in the sentiment data according to the heat data set, and comparing the heat data with the heat data set to determine the heat sequence of the heat data of the sentiment output data in the heat data set, and recording the heat sequence of the sentiment output data as the output heat sequence; the heat sequence is an arrangement order according to the size of the heat data;
[0128] S350, outputting the sentiment data whose heat sequence is greater than the output heat sequence according to the heat data set, for decision-makers to make decisions;
[0129] S360: If the matching fails, the sentiment data with the highest heat data in the heat data set is output for the decision maker to make a decision.
[0130] In this embodiment, when the nature of public opinion is positive public opinion or negative public opinion, a public opinion warning signal is output to the decision maker so that the decision maker can adjust the monitoring account according to the public opinion. If the nature of public opinion is conflicting public opinion, the heat of the conflicting parties is counted and output, so that the decision maker can determine the impact on the monitoring account according to the heat of the emotional data of the conflicting parties, and then make a correct decision on the monitoring account. When the nature of public opinion is parallel public opinion, the heat of each emotional data is counted, and the emotional data that is helpful to the monitoring account is output according to the statistically obtained heat data set, so as to assist decision makers in making emotional output data decisions according to the heat of different emotional data, thereby increasing the influence of the monitoring account.
[0131] For example, if the nature of public opinion is positive public opinion, that is, the emotional data is emotion a, and the emotional output data is emotion a, the decision maker can promote the emotional data to increase the exposure rate of the monitored account and improve the visibility of the account. If the nature of public opinion is negative public opinion, the impact of the negative public opinion on the monitored account is negative, so the decision maker needs to eliminate the negative impact of the monitored account according to the negative public opinion to ensure the security of the monitored account. If the nature of public opinion is conflicting public opinion, the heat of both sides of the public opinion is counted to determine the contradictory position of the monitoring account in the conflicting public opinion. If it occupies an advantageous position, the decision maker can further strengthen the advantageous position, and if it occupies an inferior position, the decision maker needs to modify the inferior position to reduce the impact on the monitoring account; if the nature of public opinion is parallel public opinion, by determining the position of the emotional output data in the parallel public opinion, since the nature of public opinion is parallel public opinion, when the output heat data is higher than the heat data of the emotional output data, the decision maker can adjust the emotional output data of the monitoring account according to the emotional data with higher heat data to achieve the effect of drainage, thereby increasing the influence of the monitoring account. If the parallel emotional data does not include the emotional output data, it means that the emotional output data is blank data, so the emotional output data can be converted into the emotional data with the highest heat data to achieve the guidance of heat and improve the traffic data of the monitoring account.
[0132] In step S600, if the hot list public opinion content matches the account location, corresponding measures are taken for the monitored account according to the hot list public opinion content and the account location, including the following steps:
[0133] S610, judging the content of the hot list public opinion to determine the direction of the public opinion;
[0134] S620, determine the harmfulness of the public opinion orientation and obtain a risk coefficient; the risk coefficient is the degree of harm to the monitored account when the public opinion content is reversed after the same content is released based on the hot list public opinion content. For example, after the hot list public opinion content is diverted, the number of people expected to be diverted is x, and when the public opinion reverses, the number of people expected to lose is y, then the risk coefficient , where A is the traffic data of the current monitoring account. For example, if x=100, y=200, the corresponding risk factor is 2, and if x=100, y=50, the corresponding risk factor is 0.
[0135] S630, if the risk factor is greater than the built-in risk threshold, outputting the corresponding hot list public opinion content, public opinion orientation and risk factor;
[0136] S640, if the risk factor is less than the built-in risk threshold, the hot list public opinion content is matched with the published content, and if the match is successful, the output sentiment data of the corresponding content is matched with the public opinion orientation to determine whether the public opinion orientation is consistent;
[0137] S650: If it is determined that the public opinion orientation is consistent, a positive diversion strategy signal is output; wherein the positive diversion strategy signal is to remind decision makers to conduct traffic diversion operations on the hot list public opinion content to increase the exposure and influence of the monitored account.
[0138] S660, if it is determined that the public opinion orientation is inconsistent, output the hot list public opinion content to the decision maker for reference;
[0139] S670: If the match fails, the hot list public opinion content is output to the decision maker for reference.
[0140] In this embodiment, when it is determined that the hot list public opinion content of the hot list topic data is consistent with the account positioning of the monitoring account, the hot list public opinion content of the hot list topic data is judged by public opinion orientation to determine the risk coefficient corresponding to the public opinion orientation, so as to determine whether the monitoring account performs a diversion operation on the hot list topic, thereby reducing the negative impact on the monitoring account itself when the monitoring account diverts the hot list topic, and ensuring the security of the monitoring account itself. When it is determined that the monitoring account is safe, the hot list public opinion content is matched with the published content to determine the diversion strategy when diverting the hot list topic. If the match is successful, it indicates that there is content related to the hot list topic in the published content. Therefore, it is necessary to judge the consistency of the public opinion orientation, so as to successfully divert the public opinion while ensuring that the account positioning of the monitoring account remains unchanged. If the match fails, it indicates that there is no content related to the hot list topic in the published content. Therefore, the hot list public opinion content can be output to the decision maker for the decision maker to make a diversion decision on the public opinion.
[0141] Based on the description of the above network public opinion detection method embodiment, the embodiment of the present invention also discloses a network public opinion detection system:
[0142] like Figure 2 As shown, a network public opinion detection system, by applying the above network public opinion detection method, includes: a public opinion judgment module 1, a nature judgment module 2, a measure execution module 3 and a public opinion diversion module 4;
[0143] Public opinion judgment module 1 obtains the popularity data of the monitored account and judges whether there is public opinion based on the popularity data;
[0144] Nature judgment module 2, if it is determined that the monitored account has public opinion, then judge the nature of the public opinion of the monitored account and determine the nature of the public opinion;
[0145] Measures execution module 3, taking corresponding measures according to the nature of public opinion;
[0146] Public opinion diversion module 4, if it is determined that there is no public opinion on the monitored account, then obtains the hot list topic data, and performs public opinion analysis on the hot list topic data to determine the public opinion content of the hot list topic and record it as the hot list public opinion content; matches the hot list public opinion content with the account positioning of the monitored account to determine whether the hot list public opinion content matches the account positioning; if the hot list public opinion content matches the account positioning, take corresponding measures for the monitored account according to the hot list public opinion content and the account positioning.
[0147] Compared with the existing network public opinion detection method and system, the present invention improves the security of self-media accounts in public opinion.
[0148] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A method for detecting online public opinion, characterized in that: include: Obtain the popularity data of the monitored account and determine whether there is public opinion based on the popularity data; If it is determined that the monitored account has public opinion, the nature of the public opinion of the monitored account is judged and determined; Take corresponding measures based on the nature of public opinion; If the public opinion of the content to be determined is positive or negative, a public opinion warning signal will be output for reference by decision makers; If the public opinion nature of the content to be determined is conflicting public opinion, then the heat statistics of the two conflicting sentiment data are performed to obtain the first heat data of the sentiment data that matches the sentiment output data and the second heat data of the sentiment data that is opposite to the sentiment output data, and the first heat data and the second heat data are output for reference by decision makers; If the public opinion nature of the content to be determined is parallel public opinion, then heat statistics are performed on multiple sentiment data of the parallel public opinion to obtain a heat data set; Match the sentiment output data with multiple sentiment data in the parallel public opinion. If the match is successful, determine the heat data of the sentiment output data in the sentiment data according to the heat data set, and compare the heat data with the heat data set to determine the heat sequence of the heat data of the sentiment output data in the heat data set. Record the heat sequence of the sentiment output data as the output heat sequence; the heat sequence is the arrangement order according to the size of the heat data; According to the heat data set, the sentiment data with a heat sequence greater than the output heat sequence is output for decision makers to make decisions; If the match fails, the sentiment data with the highest popularity in the popularity data set will be output for decision makers to make; If it is determined that there is no public opinion on the monitored account, then obtain the hot topic data, perform public opinion analysis on the hot topic data, determine the public opinion content of the hot topic, and record it as the hot topic public opinion content; Match the hot list public opinion content with the account positioning of the monitoring account to determine whether the hot list public opinion content matches the account positioning; If the content of the hot list public opinion matches the account positioning, corresponding measures will be taken against the monitored account based on the content of the hot list public opinion and the account positioning; Judge the content of the hot list of public opinions to determine the direction of public opinion; Make a harmful judgment on the direction of public opinion and obtain the risk coefficient; If the risk factor is greater than the built-in risk threshold, the corresponding hot list public opinion content, public opinion orientation and risk factor will be output; If the risk factor is less than the built-in risk threshold, the hot list public opinion content is matched with the published content. If the match is successful, the output sentiment data of the corresponding content is matched with the public opinion orientation to determine whether the public opinion orientation is consistent; If it is determined that the public opinion orientation is consistent, a positive diversion strategy signal is output; If it is determined that the public opinion orientation is inconsistent, the hot list public opinion content will be output to decision makers for reference; If the match fails, the hot list public opinion content will be output to decision makers for reference.
2. A method for detecting online public opinion according to claim 1, characterized in that: The acquisition of the popularity data of the monitored account and the determination of whether there is public opinion based on the popularity data are specifically as follows: Obtain the number of likes, plays, and comments for the published content, and perform statistical analysis on the likes, plays, and comments data based on the corresponding time period to obtain the popularity data for each time period; The popularity data of each time period is judged for changes. If the trend of the popularity data is an increasing trend, the popularity data of each time period is compared with the built-in public opinion analysis threshold. If there is any popularity data greater than the built-in public opinion analysis threshold, the corresponding published content is marked as pending content; Based on the data relationship between the popularity data of each time period and the built-in public opinion analysis threshold, determine the time period data whose popularity data is greater than the built-in public opinion analysis threshold; Based on the time period data, the comment data of the content to be judged is filtered to obtain the comment data within the corresponding time period and recorded as the comment data to be analyzed; Analyze the comment data to be analyzed to determine whether there is public opinion on the content to be judged.
3. A method for detecting online public opinion according to claim 2, characterized in that: The analysis of the comment data to be analyzed to determine whether the content to be determined has public opinion is specifically as follows: Perform event extraction on the comment data to be analyzed to obtain the first event keyword; Obtaining a custom keyword of the content to be determined, and comparing the custom keyword with the first event keyword to determine a relationship between the custom keyword and the first event keyword; If the custom keyword is different from the first event keyword, the first event keyword search is performed on the self-media platform according to the first event keyword to obtain event data; Perform cluster scheduling on the event data to obtain a second event keyword in the event data; Comparing the second event keyword with the custom keyword to determine the relationship between the second event keyword and the custom keyword; If the custom keyword is different from the second event keyword, it is determined that there is no public opinion on the content to be determined; If the custom keyword is the same as the second event keyword, it is determined that the content to be judged has public opinion; If the custom keyword is the same as the first event keyword, it is determined that there is public opinion in the content to be determined.
4. A method for detecting online public opinion according to claim 3, characterized in that: The event extraction is performed on the comment data to be analyzed to obtain the first event keyword, which is specifically: Divide the comment data to be analyzed into direct comment data and reply data; Obtain the comment types of direct comment data and reply data, and mark the reference type comment data according to the comment type to obtain the posting object and marking object of the corresponding comment data; Filter the comment data and reply data according to the posting object and the tagged object to obtain the first valid comment data and valid reply data; Re-screening the first valid comment data according to the reply objects of the valid reply data to obtain second valid comment data; According to the number of valid reply data in the second valid comment data, event keyword priority extraction is performed on the second valid comment data and the corresponding valid reply data to obtain event keywords corresponding to the valid comment data; According to the event keyword of the second valid comment data, the event keywords of each valid comment data are compared with each other to obtain the first event keyword.
5. A method for detecting online public opinion according to claim 4, characterized in that: If it is determined that the monitored account has public opinion, the nature of the public opinion of the monitored account is judged to determine the nature of the public opinion, specifically: Extracting the emotional content of the second valid comment data and the corresponding valid reply data to obtain emotional data; Extracting the emotional content of the content to be judged to obtain emotional output data; Matching the emotion data with the emotion output data, and if the emotion data and the emotion output data are successfully matched, determining the uniqueness of the emotion data; If the sentiment data is singular, the nature of the public opinion is determined to be positive; If the sentiment data is not singular, the sentiment data is judged as being opposite; If the sentiment data is contradictory, the public opinion is judged to be conflicting. If the sentiment data is not contradictory, the public opinion is judged to be parallel; If the emotion data and the emotion output data fail to match, the emotion data and the emotion output data are judged as being opposite; If the sentiment data and the sentiment output data are opposite, the nature of the public opinion is determined to be reverse public opinion; If the sentiment data and the sentiment output data are not contradictory, the nature of the public opinion is determined to be parallel public opinion.
6. A network public opinion detection system, characterized in that: The system is used to implement a network public opinion detection method according to any one of claims 1 to 5, comprising: a public opinion judgment module, a nature judgment module, a measure execution module, and a public opinion diversion module; The public opinion judgment module obtains the popularity data of the monitored account and judges whether there is public opinion based on the popularity data; The nature judgment module judges the nature of the public opinion of the monitored account and determines the nature of the public opinion if it determines that the monitored account has public opinion; The measure execution module takes corresponding measures according to the nature of the public opinion; If the public opinion diversion module determines that there is no public opinion on the monitored account, it obtains the hot list topic data, performs public opinion analysis on the hot list topic data, determines the public opinion content of the hot list topic, and records it as the hot list public opinion content; matches the hot list public opinion content with the account positioning of the monitored account to determine whether the hot list public opinion content matches the account positioning; if the hot list public opinion content matches the account positioning, corresponding measures are taken for the monitored account based on the hot list public opinion content and the account positioning.
Citation Information
Cited By
New media wind control method and system based on artificial intelligence
CN120030393A
A method and system for new media public opinion risk control based on artificial intelligence
CN120030393B
