Tracking and tracing method based on network information
Through the construction of LSTM model and public opinion corpus, guiding remarks and accounts in network events are identified, which solves the problem of difficulty in tracking changes in network events with existing technology, enables accurate early warning and analysis of network events, and reduces the amount of analysis data. Improved analysis accuracy.
Patent Information
- Application Number
- CN202410708980.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-03
AI Technical Summary
Existing technology is difficult to effectively track and warn against changes in guiding speech in network incidents, especially cyber trolls and organized public opinion propaganda, making it difficult to respond promptly to the harm caused by network incidents to social life.
Using a method based on the LSTM model, by building a public opinion corpus, extracting keywords, labeling and training models, classifying discussion content, calculating public opinion direction vectors, identifying guiding accounts, and constructing directional angle change curves, matching similarities higher than the threshold Account information, issue early warning.
It can accurately determine the turning point of network events, screen out key remarks and accounts that have a guiding role, provide a data basis, reduce the amount of analysis data, improve analysis accuracy, and provide timely warning of potential harm.
Smart Images

Figure CN118733765A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of basic network and information security, and in particular to a tracking and tracing method based on network information. Background Art
[0002] With the development of the Internet, online speech has increasingly affected people's lives, and even cyber violence has occurred. Moreover, some activities are accompanied by the participation of online trolls.
[0003] At present, the research on online events is mainly focused on the rationality of the speech itself, and the main means used are blocking certain specific keywords and restricting sensitive words. However, the update iteration of online vocabulary is extremely rapid, and the update of blocked sensitive words is often not as fast as the development of online vocabulary.
[0004] The applicant noted in the study that the fermentation of network events often has two characteristics: one is the change of the object of network content discussion, and the other is the change of the direction of network discussion. In order to better prevent network events from causing unnecessary harm to social life, it is of great significance to track the development of network events in a timely manner and quickly judge the change of the subject of network discussion. However, there is no relevant report on the current network tracking technology. Summary of the invention
[0005] In view of the above problems existing in the prior art, the present invention proposes a method for tracing the source of guiding speech in network events. The present invention can quickly determine the occurrence of the turning point of the event, screen out the account or account cluster that initiated the key speech that has a certain guiding effect on the public opinion, and issue an early warning for the occurrence of public opinion events, and provide a data basis for finding network water army or organized public opinion propaganda.
[0006] During the research, the applicant found that guiding speech often does not exist in isolation, and that it is often not simply insulting or negative language that plays a decisive role in guiding public opinion, but speech that often has a certain directional change process. Therefore, the applicant studied the directional change process of public opinion from this perspective and found that the directional changes of public opinion of some accounts have certain similarities. Such directional guidance of public opinion is very unfavorable, and it is of great significance to find such directional guidance accounts.
[0007] Specifically, the present invention provides a tracking and tracing method based on network information, the method comprising:
[0008] (3.1) Identify key sections related to specific public opinion events, capture discussion content of relevant topics in any key section, and obtain the corresponding relationship between the account information of the subject of public opinion expression and the content and time of public opinion expression in the corresponding section;
[0009] (3.2) Extract the discussion content within each topic, extract the keywords in the discussion content of each post, and build an event corpus;
[0010] (3.3) Extract the words that express the intrinsic object of public opinion and the words that express the derived object of public opinion in the corpus, and construct the corpus sub-database of the intrinsic object of public opinion and the corpus sub-database of the derived object of public opinion;
[0011] (3.4) Construct an LSTM model, select discussion content about public opinion objects and mark them as public opinion intrinsic objects and several public opinion derived objects, and use the marked text to train the LSTM model;
[0012] (3.5) Use the LSTM model to classify each discussion content into discussions on the intrinsic objects of public opinion and discussions on the derived objects of public opinion;
[0013] (3.6) Determine the total length of discussion time of the public opinion event, divide the time periods based on the total length of discussion time, divide all discussion contents according to multiple time nodes, and divide them into several public opinion stages. For each public opinion stage, perform weighted summation on the directions of the public opinion discussion objects in the stage to obtain the public opinion direction vector of the stage. In the public opinion direction vector, for each public opinion object, take it as a dimension and assign a dimension modulus value. The dimension modulus value is proportional to the frequency of the object being discussed. For the directionality of the statement of the discussion of the object, assign it based on the lexicon of directional expressions. Take the ratio of the difference between positive discussion and negative discussion to the total discussion as the discussion direction angle of the object. Determine the target public opinion object according to the order of the dimension modulus value of the public opinion object.
[0014] For the target public opinion object, the time when the public opinion direction passes through zero is taken as the turning point, and the accounts and speech content participating in the discussion of this section within a predetermined time range before and after the turning point are intercepted;
[0015] (3.7) For the speech content within the inflection point area, extract all speech content about the relevant object within the inflection point range of the same account in chronological order, determine the directional angle value of each speech content, and construct the directional angle change curve of the account with time as the horizontal axis;
[0016] (3.8) Capture the discussion content of the current public opinion platform on the public opinion event and related topics in other key sections, repeat the above steps (3.1)-(3.8), and construct the directional angle change curve of all inflection point related accounts in the corresponding section;
[0017] (3.9) Perform similarity matching on the directional angle change curves of all the accounts obtained, and extract account information whose directional angle change curve similarity is higher than a set threshold.
[0018] In a preferred implementation, all contents whose discussion content is not explicitly determined to be a derived object are deemed to be a discussion of the subject and object in the discussion item.
[0019] In a preferred implementation, the step (3.2) includes: using the Word2vec model to convert the obtained corpus, and vectorizing the words in the corpus in a one-hot encoding form.
[0020] In another preferred implementation, the discussion direction of the object includes positive, negative, and neutral, and different scores are assigned to different corpora.
[0021] In another preferred implementation, in step (3.6), the discussion direction angle value of the object is calculated based on the following formula:
[0022] n represents the number of subjects participating in the discussion of the object, i∈[1,n], P i is the value assigned to the object based on the positive discussion content, N i is the assignment of the object based on the negative discussion content, B i is the value assigned to the object based on negative discussion content, and σ represents the discount coefficient for neutral discussion content.
[0023] In another preferred implementation, the method further includes: (1) acquiring a public opinion platform highly related to the specific public opinion event based on keywords related to the specific public opinion event;
[0024] (2) Calculate the weighted coefficients of the frequency of occurrence of the core keywords of the specific public opinion event on each public opinion platform, and rank the weighted coefficients of the core keywords on each public opinion platform;
[0025] (3) Select the target analysis platform according to the ranking of various public opinion platforms.
[0026] In another preferred implementation, for each account, the directional angle value in step (3.7) is calculated using φ j =P j +σB j -Nj Calculate, where P j N is the value assigned to the account based on the positive discussion content in a single speech. j B is the value assigned to the negative discussion content in a single speech of the account, j is the value assigned based on negative discussion content in a single statement of the account, σ represents the discount coefficient for neutral discussion content, and this formula is used to calculate the directional angle values of multiple statements of the account, and then calculate the directional angle change curve of the account.
[0027] The method also includes calculating the proportion of accounts whose similarity of directional angle change curves is higher than a set threshold to the total discussion accounts, and issuing an early warning when the proportion is higher than 3-5%.
[0028] In the present invention, although three directions are given for the directionality of speech, those skilled in the art can further expand the directionality and classify more directional categories.
[0029] It should be noted that the assignment of positive, negative, and neutral discussion content in steps (3.6) and (3.7) is obtained by summing the assignments of keywords in the speech, with P j For example, it is equal to K is the number of keywords contained in the speech, p k Assign the value of the kth keyword, and so on, the negative and neutral directionality are calculated in this way.
[0030] By adopting the method of the present invention, it is possible to effectively determine the directional changes in the discussion of the object and derived objects of the public opinion discussion, and timely determine the speeches and corresponding accounts that are guiding the public opinion discussion based on the direction of the public opinion discussion, thereby more accurately determining whether there are guiding groups that are controlling and guiding the direction of the discussion, reducing the amount of data required for analysis, and improving the accuracy of the analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 is a schematic flow chart of the method of the present invention.
[0032] Figure 2 This is a screenshot of some comments before the turning point of public opinion in event A;
[0033] Figure 3 These are screenshots of some comments after the turning point of public opinion in Event A.
[0034] Figure 4 is an exemplary architecture diagram of the LSTM model;
[0035] Figure 5 It is a curve chart of the public opinion direction of the intrinsic object of the example event in the present invention. DETAILED DESCRIPTION
[0036] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments thereof, but the protection scope of the present invention is not limited to the scope of the embodiments described herein.
[0037] The method of the present invention comprises the steps of:
[0038] (1) Based on keywords related to a specific public opinion event, obtain public opinion platforms that are highly relevant to the specific public opinion event;
[0039] (2) Calculate the weighted coefficients of the frequency of occurrence of the core keywords of the specific public opinion event on each public opinion platform, and rank the weighted coefficients of the core keywords on each public opinion platform;
[0040] (3) Select the target analysis platform according to the ranking of various public opinion platforms.
[0041] The steps for analyzing the target platform include:
[0042] (3.1) Identify key sections related to specific public opinion events, capture discussion content of relevant topics in any key section, and establish a mapping relationship between the account information of the subject of public opinion expression and the content and time of public opinion expression in the corresponding section;
[0043] (3.2) Extract the discussion content within each topic, extract the keywords in the discussion content of each post, build an event corpus, use the Word2vec model to transform the obtained corpus, and use the one-hot encoding form to vectorize the words in the corpus;
[0044] (3.3) Extract the words that express the intrinsic object of public opinion and the words that express the derived object of public opinion in the corpus, and construct the corpus sub-database of the intrinsic object of public opinion and the corpus sub-database of the derived object of public opinion;
[0045] (3.4) Construct an LSTM model, select some discussion content and mark them as public opinion intrinsic objects and several public opinion derived objects (the number of derived objects can be determined based on the specific circumstances of the derived objects to be studied). Train the LSTM model.
[0046] The structure of an exemplary LSTM model of the present invention is as follows Figure 2 As shown in the figure, t represents the current moment, W f represents the forget gate, W i represents the input gate, W o Represents the output gate, tanh and σ represent nonlinear activation functions, c represents the long-term memory state at time t in the network structure, and h represents the short-term memory state and output at time t.
[0047] Those skilled in the art should understand that the classification of objects and derived objects may also be implemented using other classification models, which are not limited here.
[0048] Taking event A as an example, the intrinsic object event of public opinion is event A itself, and the derived objects of public opinion can be various derived discussion targets, etc. In order to simplify the description, an example including two derived objects of public opinion is used for description.
[0049] (3.5) The LSTM model is used to classify each discussion content into discussions on the intrinsic object of public opinion, discussions on the first-level derivative object (in this case, discussions on public opinion derivative object one), and discussions on the secondary derivative object (discussion on public opinion derivative object two).
[0050] (3.6) Determine the total discussion time of the public opinion event, divide the time periods based on the total discussion time, divide all discussion contents into several public opinion stages according to multiple time nodes (for example, every 5-10 minutes), and for each public opinion stage, perform weighted summation on the direction of the public opinion discussion object in the stage to obtain the public opinion direction vector of the stage. In the public opinion direction vector, for each public opinion subject, take it as a dimension and assign a dimension modulus value. The dimension modulus value reflects the frequency of the subject being discussed. For the directionality of the statement of the discussion of the object, assign it based on the lexicon of directional expressions. Based on the ratio of the difference between positive discussion and negative discussion to the total discussion as the discussion direction angle of the object, a public opinion direction curve is constructed for each public opinion object, and the target public opinion object is determined in the order of the dimension modulus value of the public opinion object (from large to small).
[0051] In a preferred implementation, the discussion direction angle value of the object is calculated based on the following formula: n represents the number of subjects participating in the discussion of the object, i∈[1,n], P i is the assignment based on the positive discussion content, N i It is an assignment based on negative discussion content. It should be noted that the attenuation coefficient for neutral discussions can be set to 0. Each positive, negative and neutral assignment is based on the sum of keyword assignments. The assignment of each positive discussion is determined based on the number of positive keywords and the assignment weight of each positive keyword. An assignment weight is assigned to each positive keyword in the corpus, and for words that do not appear in the corpus, they are assigned based on the assignment of the closest keyword.
[0052] The area passing through the vertical coordinate 0 in the public opinion direction change data or direction curve is taken as the inflection point area, and the accounts and speech content participating in the discussion in this section within a predetermined time range before and after the inflection point are intercepted. If the number of participating accounts or participating discussion posts within this time point range is too large and exceeds a certain number, the inflection point range is gradually reduced until the number of discussion posts near the public opinion inflection point can be controlled below a predetermined number (for example, 5,000).
[0053] Taking event A as an example, all speeches during the discussion of the event are divided into 15 time series (public opinion stages). Taking the discussion of the intrinsic object as an example, the normalized discussion direction angle curve of the intrinsic object (event A itself) is as follows: Figure 5 shown.
[0054] As can be seen from the figure, the early discussions were mainly positive discussions. However, as time went on, the trend began to turn from time sequence 4, and between time sequences 6 and 8, the discussion had turned from positive to negative. Therefore, it is easier to find guiding remarks by studying the remarks within the inflection point range.
[0055] (3.7) For the speech content within the inflection point area, extract all speech content about the relevant object within the inflection point range of the same account in chronological order or sentence order. For each speech content, determine the directional angle value of the speech content, and construct the directional angle change curve of the account with time as the horizontal axis.
[0056] Directivity angle value using φ j =P j +σB j -N j For calculation, it can be normalized according to the interval [0,1] or [0,2π], where P j N is the value assigned to the account based on the positive discussion content in a single speech. j B is the value assigned to the negative discussion content in a single speech of the account, j is the value assigned to the negative discussion content in a single speech of the account, and σ represents the discount coefficient for neutral discussion content. The value assigned to positive, negative, and neutral discussion content is obtained by summing the values assigned to the keywords in the speech, with P j For example, it is equal to K is the number of keywords contained in the speech, p k The value of the kth keyword is assigned, and so on. The negative and neutral directionality is calculated in this way. This calculation method can more clearly calculate the directionality of speech. For example, the language with obvious positive energy is assigned 1, the neutral language is assigned 0.3, and the negative energy language is assigned -1.
[0057] More preferably, for a single comment that exceeds a certain length, the comment is split, and the directional angle value and the angle curve are calculated based on the split comments. In this case, the horizontal coordinate of the curve is the number of split comments.
[0058] The present invention uses the change of directional angle value to extract guiding speech, which has obvious advantages over the extraction of guiding speech based on the directionality itself. If the directionality of speech is used alone, a large number of inappropriate speeches will be extracted. Such speeches are often issued by a specific group, and their speeches will not attract people to follow them. Such speeches are relatively less harmful. Guiding speech is speech with a certain clear logic and context, and such speech is speech with social harm.
[0059] (3.8) Capture the discussion content of the current public opinion platform on the public opinion event and related topics in other key sections, repeat the above steps (3.1)-(3.8), and construct the directional angle change curve of all inflection point related accounts in the corresponding section;
[0060] (3.9), similarity matching is performed on the directional angle change curves of all the accounts obtained, and account information whose similarity of directional angle change curves is higher than a set threshold is extracted.
[0061] This method can be used to find accounts with obvious semantic differences but similar directions. In some cases, the statements of two accounts have low similarity in expression, but have similar directional changes. Such guiding statements need to be closely monitored and warned. However, existing methods are basically based on the study of semantic similarity, and do not pay attention to the guiding role of the direction of speech.
[0062] Preferably, the total difference between the individuals with the largest angle value and the smallest angle value is selected, and for each speech subject (the angle value of the account at each speech is normalized with the radian of a circle as the basic unit), the obtained result is projected into the angular coordinate system. Different quadrants in the angular coordinate system correspond to different directional strengths. The subjects in the first and fourth quadrants are eliminated, and extreme speeches are filtered out.
[0063] like Figure 2 The following is the information extracted from some online discussion content before the turning point of public opinion occurred when event A occurred. Figure 2 It can be seen that in the early stage of the incident, people's focus was mainly on event A itself, the object of discussion was more about event A itself, and the direction of discussion was also positive and neutral.
[0064] Figure 3The figure shows the information content extracted from some online discussions after the turning point of public opinion occurred when event A occurred.
[0065] When switching the research subject to the derived object for the speech near the turning point, we found that when the turning point of speech direction occurred, the discussion on the object also changed. Figure 3 After the middle turning point, the object of public opinion discussion gradually shifts to the derivative object, and the direction of the discussion also changes. From the comparison of speeches in the attached figure, it can be seen that the direction of public opinion discussion has shifted from the most basic A event itself to the discussion of other derivative objects. Such gradual speeches are likely to cause changes in the direction of discussion and are more likely to cause corresponding consequences. The method of the present invention can effectively monitor this change in the object of public opinion and the relevance of the corresponding discussion accounts. Therefore, the method of the present invention can determine the changes in people's emotions one by one. By studying people with similar thinking evolution processes, it is possible to better determine the process of the evolution of people's thinking, better find the occurrence of guiding speeches, and provide early warnings.
[0066] Although the principles of the present invention are described in detail above in conjunction with the preferred embodiments of the present invention, those skilled in the art should understand that the above embodiments are merely explanations of the exemplary implementations of the present invention, and are not intended to limit the scope of the present invention. The details in the embodiments do not constitute limitations on the scope of the present invention, and any obvious changes such as equivalent transformations, simple replacements, etc. based on the technical solution of the present invention, without departing from the spirit and scope of the present invention, fall within the protection scope of the present invention.
Claims
1. A tracking and tracing method based on network information, characterized in that: The method comprises: (3.1) Identify key sections related to specific public opinion events, capture discussion content of relevant topics in any key section, and obtain the corresponding relationship between the account information of the subject of public opinion expression and the content and time of public opinion expression in the corresponding section; (3.2) Extract the discussion content within each topic, extract the keywords in the discussion content of each post, and build an event corpus; (3.3) Extract the words that express the intrinsic object of public opinion and the words that express the derived object of public opinion in the corpus, and construct the corpus sub-database of the intrinsic object of public opinion and the corpus sub-database of the derived object of public opinion; (3.4) Construct an LSTM model, select discussion content about public opinion objects and mark them as public opinion intrinsic objects and several public opinion derived objects, and use the marked text to train the LSTM model; (3.5) Use the LSTM model to classify each discussion content into discussions on the intrinsic objects of public opinion and discussions on the derived objects of public opinion; (3.6) Determine the total length of discussion time of the public opinion event, divide the time periods based on the total length of discussion time, divide all discussion contents according to multiple time nodes, and divide them into several public opinion stages. For each public opinion stage, perform weighted summation on the directions of the public opinion discussion objects in the stage to obtain the public opinion direction vector of the stage. In the public opinion direction vector, for each public opinion object, take it as a dimension and assign a dimension modulus value. The dimension modulus value is proportional to the frequency of the object being discussed. For the directionality of the statement of the discussion of the object, assign it based on the lexicon of directional expressions. Take the ratio of the difference between positive discussion and negative discussion to the total discussion as the discussion direction angle of the object. Determine the target public opinion object according to the order of the dimension modulus value of the public opinion object. For the target public opinion object, the time when the public opinion direction passes through zero is taken as the turning point, and the accounts and speech content participating in the discussion of this section within a predetermined time range before and after the turning point are intercepted; (3.7) For the speech content within the inflection point area, extract all speech content about the target public opinion object in the inflection point range of the same account in chronological order. For each speech content, determine the directional angle value of the speech content, and construct the directional angle change curve of the account with time or number of sentences as the horizontal axis; (3.8) Capture the discussion content of the current public opinion platform on the public opinion event and related topics in other key sections, repeat the above steps (3.6)-(3.8), and construct the directional angle change curve of all inflection point related accounts in the corresponding section; (3.9) Perform similarity matching on the directional angle change curves of all the accounts obtained, and extract account information whose directional angle change curve similarity is higher than a set threshold.
2. The tracking and tracing method based on network information according to claim 1 is characterized in that: The step (3.2) includes: using the Word2vec model to convert the obtained corpus, and vectorizing the words in the corpus in a one-hot encoding form.
3. The tracking and tracing method based on network information according to claim 1 is characterized in that: The discussion directions of the object include positive, negative, and neutral, and different scores are assigned to different corpora.
4. The tracking and tracing method based on network information according to claim 1 is characterized in that: In step (3.6), the angle value of the discussion direction of the object is calculated based on the following formula: n represents the number of subjects participating in the discussion of the object, i∈[1,n], P i is the assignment based on the positive discussion content, N i is the assignment based on negative discussion content, B i is the value assigned based on negative discussion content, and σ represents the discount coefficient for neutral discussion content.
5. The tracking and tracing method based on network information according to claim 1 is characterized in that: The method further includes: (1) based on keywords related to a specific public opinion event, obtaining a public opinion platform that is highly related to the specific public opinion event; (2) Calculate the weighted coefficients of the frequency of occurrence of the core keywords of the specific public opinion event on each public opinion platform, and rank the weighted coefficients of the core keywords on each public opinion platform; (3) Select the target analysis platform according to the ranking of various public opinion platforms.
6. The tracking and tracing method based on network information according to claim 1 is characterized in that: For each account, the directional angle value in step (3.7) is calculated using φ j =P j +σB j -N j Calculate, where P i N is the value assigned to the account based on the positive discussion content in a single speech. i B is the value assigned to the negative discussion content in a single speech of the account, i is the value assigned based on negative discussion content in a single statement of the account, σ represents the discount coefficient for neutral discussion content, and this formula is used to calculate the directional angle values of multiple statements of the account, and then calculate the directional angle change curve of the account.
7. The tracking and tracing method based on network information according to claim 1 is characterized in that: The method also includes calculating the proportion of accounts whose similarity of directional angle change curves is higher than a set threshold to the total discussion accounts, and issuing an early warning when the proportion is higher than 3-5%.
Citation Information
Patent Citations
Dynamic recognizing and tracking method of internet public opinion topics
CN104298765A
Online public opinion topic discovery and trend prediction method for specific social group
CN112364164A
Event chain-based Network public opinion association deduction prediction analysis method
CN113449508A
Social network derived topic propagation prediction method based on transfer learning
CN115470984A
Internet-based multipath public opinion topic traceability tracking system
CN117150104A
Cited By
Large language model system based on keyword tracing
CN119090664A
A large language model system based on keyword tracing
CN119090664B
Network information traceability analysis system based on multi-source data fusion
CN120075074A
A network information traceability analysis system for multi-source data fusion
CN120075074B
