Public opinion situation awareness and early warning method based on distributed storage and streaming processing

By using distributed storage and streaming processing methods, public opinion events are reconstructed into a propagation tree and three-stage reasoning is performed. This solves the problems of distributed storage processing of public opinion streams and recognition of hidden and deformed text, and improves the accuracy of public opinion situation awareness and early warning.

CN123160152APending Publication Date: 2026-11-24BEIJING ZEYAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611343167.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies struggle to balance distributed storage and processing of public opinion streams with the recognition of hidden and deformed texts. The lack of consensus-based game theory integration in multi-source analysis results leads to insufficient accuracy in public opinion situation perception and early warning in complex network environments.

Method used

By using a distributed storage and streaming processing approach, real-time network information is received and instantaneous popularity values ​​are calculated. Routing and splitting storage are performed to generate hierarchical data streams. The real-time computing engine of the high-speed storage layer is used to reconstruct public opinion events into a propagation tree, and abrupt change inflection point tracking and inflection point backtracking are performed. Combined with deformation pattern analysis, three-stage reasoning is carried out to generate public opinion trend prediction and consensus degree processing, and realize early warning management after context calibration.

Benefits of technology

It realizes distributed processing of public opinion streams and hidden semantic parsing, improving the accuracy of public opinion situation perception and early warning in complex networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160152A_ABST
    Figure CN123160152A_ABST
Patent Text Reader

Abstract

This invention discloses a public opinion situation awareness and early warning method based on distributed storage and streaming processing, belonging to the field of public opinion situation awareness and early warning technology. The method includes: receiving real-time network information and calculating instantaneous heat values ​​to obtain a layered data stream; performing abrupt change inflection point tracking and inflection point backtracking and positioning under the reverse path to generate samples for in-depth understanding; adding a sub-engine, performing adversarial judgment and generation, and determining the deformation recovery result after context calibration; performing public opinion situation prediction and consensus processing, and managing early warnings on the terminal interface. This invention solves the technical problems of existing technologies, such as the difficulty in simultaneously handling distributed storage processing of public opinion streams and the recognition of hidden deformed text, and the lack of consensus game fusion in multi-source judgment results, leading to insufficient accuracy of public opinion situation awareness and early warning in complex network environments. It achieves the technical effect of realizing distributed processing of public opinion streams and the analysis of hidden deformed semantics, thereby improving the accuracy of public opinion situation awareness and early warning in complex network environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of public opinion situation awareness and early warning technology, specifically to a public opinion situation awareness and early warning method based on distributed storage and streaming processing. Background Technology

[0002] Currently, online public opinion information exhibits a massive, streaming burst characteristic. A large amount of malicious content evades detection through various transformation methods such as homophonic substitution, symbol insertion, and semantic migration. Most existing public opinion monitoring technologies adopt a centralized processing architecture, which is difficult to adapt to the high-efficiency throughput and hierarchical storage and migration requirements of massive real-time network data. At the same time, their ability to semantically restore disguised and transformed text is weak. They rely solely on single-dimensional indicators for risk assessment, lacking consensus-building and uncertainty resolution mechanisms for multi-source assessment results. This easily leads to missed or false judgments, and makes it difficult to accurately identify abrupt turning points in the process of public opinion dissemination. Consequently, they fail to meet the practical needs of conducting full-link situational awareness and early warning of public opinion events in complex network environments.

[0003] Existing technologies struggle to simultaneously address the challenges of distributed storage and processing of public opinion streams and the recognition of concealed and deformed texts. Furthermore, the lack of consensus-based game theory fusion in multi-source analysis results leads to technical problems such as insufficient accuracy in public opinion situation perception and early warning in complex network environments. Summary of the Invention

[0004] This application provides a public opinion situation awareness and early warning method based on distributed storage and streaming processing, which is used to address the technical problems of existing technologies that are difficult to balance distributed storage processing of public opinion streams with the recognition of hidden and deformed texts, and the lack of consensus game fusion of multi-source judgment results, resulting in insufficient accuracy of public opinion situation awareness and early warning in complex network environments.

[0005] In view of the above problems, this application provides a public opinion situation awareness and early warning method based on distributed storage and streaming processing.

[0006] This application provides a public opinion situation awareness and early warning method based on distributed storage and streaming processing, the method comprising: Real-time network information is received according to a preset sampling period, and the instantaneous popularity value is calculated based on the topic popularity decay relationship. Distributed storage routing and splitting are performed to obtain a layered data stream, where there is inter-layer storage migration between the high-speed storage layer, online storage layer, and storage archive layer. Through the real-time computing engine associated with the high-speed storage layer, the layered data stream stored within the layer is reconstructed into a propagation tree based on public opinion events. Inflection point tracking is performed on the forward path, and inflection point backtracking is performed on the reverse path, generating samples for in-depth understanding. A sub-engine is added to the real-time computing engine using deformation pattern parsing. The samples for in-depth understanding undergo three-stage reasoning based on cultural knowledge recognition, metaphor carrier recognition, and attack pattern mining. Adversarial judgment and generation are performed to determine the deformation recovery result after context calibration. The deformation recovery result is used for public opinion trend prediction and consensus processing, and early warning management is implemented on the terminal interface.

[0007] One or more technical solutions provided in this application have at least the following technical effects or advantages: Real-time network information is received according to a preset sampling period, and the instantaneous popularity value is calculated based on the topic popularity decay relationship. Distributed storage routing and splitting are performed to obtain a layered data stream. Through a real-time computing engine associated with the high-speed storage layer, the layered data stream stored within the layer is reconstructed into a propagation tree based on public opinion events. This involves tracking abrupt inflection points along the forward path and locating inflection points along the reverse path, generating samples for in-depth understanding. A sub-engine is added to the real-time computing engine using a deformation pattern analysis method. The samples for in-depth understanding undergo a three-stage reasoning process based on cultural knowledge recognition, metaphor carrier recognition, and attack pattern mining. Adversarial judgment and generation are performed to determine the deformation recovery result after context calibration. The deformation recovery result is used for public opinion trend prediction and consensus processing, and early warning management is implemented on the terminal interface. This achieves the technical effect of realizing distributed processing of public opinion streams and hidden deformation semantic analysis, improving the accuracy of public opinion trend perception and early warning in complex networks. Attached Figure Description

[0008] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0009] Figure 1 A schematic diagram of the public opinion situation perception and early warning method based on distributed storage and streaming processing provided in the embodiments of this application; Figure 2 This is a schematic diagram illustrating the process of generating samples for in-depth understanding in the public opinion situation awareness and early warning method based on distributed storage and streaming processing provided in the embodiments of this application. Detailed Implementation

[0010] This application provides a public opinion situation awareness and early warning method based on distributed storage and streaming processing, which is used to address the technical problems of existing technologies that are difficult to balance distributed storage processing of public opinion streams with the recognition of hidden and deformed texts, and the lack of consensus game fusion of multi-source judgment results, resulting in insufficient accuracy of public opinion situation awareness and early warning in complex network environments.

[0011] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0012] Examples, such as Figure 1 As shown, this application provides a public opinion situation awareness and early warning method based on distributed storage and streaming processing, the method including: Step S100: Receive real-time network information according to the preset sampling period and calculate the instantaneous popularity value based on the topic popularity decay relationship. Perform routing and distribution storage on the distributed storage end to obtain a layered data stream, in which there is inter-layer storage migration between the high-speed storage layer, the online storage layer and the storage archive layer.

[0013] Specifically, the system receives real-time network information according to a preset sampling period and calculates the instantaneous popularity value based on the topic popularity decay relationship. It then performs routing and distribution storage on the distributed storage side to obtain a layered data stream, where there is inter-layer storage migration between the high-speed storage layer, the online storage layer, and the storage archive layer. The system continuously receives real-time network information according to a pre-configured sampling period and calls the topic popularity decay relationship calculation formula. Calculate the instantaneous popularity value corresponding to each piece of network information, where... For the rate of publication, For interaction rate, For information dispersion, These are the weighting coefficients. As a constant for the decay rate, after the heat value calculation is completed, routing and distribution processing are performed based on the real-time heat value and sent to the distributed storage end. When the real-time heat value is greater than or equal to the first high threshold, the corresponding real-time network information is routed to the high-speed storage layer. When the real-time heat value is less than the first high threshold but greater than or equal to the second low threshold, the real-time network information is asynchronously written to the online storage layer after being cached by the message queue. When the real-time heat value is less than the second low threshold, the real-time network information is automatically migrated to the storage archive layer. A one-way interaction channel is established between the high-speed storage layer, the online storage layer, and the storage archive layer. When the public opinion heat value changes, inter-layer storage migration is triggered. When the heat value drops to less than the second low threshold, it migrates to the storage archive layer. When the heat value rises to greater than the first high threshold, it migrates to the high-speed storage layer. After the above routing and layered storage processing, a layered data stream is output. Different storage layers correspond to their own independent query paths, providing layered data input for the subsequent real-time computing engine to reconstruct public opinion events.

[0014] Step S200: Through the real-time computing engine associated with the high-speed storage layer, the hierarchical data stream stored in the layer is reconstructed into a propagation tree for public opinion events. The inflection point tracking under the forward path and the inflection point backtracking and positioning under the reverse path are performed to generate samples for in-depth understanding.

[0015] Specifically, the real-time computing engine reads the layered data stream in the high-speed storage layer to reconstruct public opinion events. Using the original post as the root node of the propagation tree, it organizes and constructs the propagation tree by taking the forwarded and replied content arriving in chronological order as child nodes. Each edge of the propagation tree simultaneously carries node-level semantic features, public opinion guidance polarity, and user statistical features composed of account associations, historical credibility, and activity. After completing the propagation tree construction, it performs structural mutation trigger determination on the bidirectional path. On the forward path, it traces the evolution trajectory of public opinion layer by layer from the root node downwards, generating corresponding trajectory curves based on guidance deviation, propagation speed, and credibility distribution. It performs first-order derivative operations on the trajectory curves to identify mutation inflection points in the propagation process and marks them as structurally abnormal nodes. Then, it switches to the reverse path and performs bottom-up backtracking traversal on the identified structurally abnormal nodes to locate the mutation trigger node that caused the mutation. It associates and encapsulates the structurally abnormal nodes and mutation trigger nodes, generating a sample to be deeply understood, including a candidate set of structurally abnormal events, abnormal type labels (guidance deviation, speed mutation, and credibility collapse), and abnormal location paths. This provides input data for the subsequent three-stage inference processing by the sub-engines.

[0016] Step S300: Add a sub-engine to the real-time computing engine using deformation mode parsing, perform three-stage reasoning on the sample to be deeply understood based on cultural knowledge recognition, metaphor carrier recognition and attack mode mining, execute adversarial judgment and generation, and determine the deformation recovery result after context calibration.

[0017] Specifically, the taxonomy system based on multi-class deformation strategies adds a deformation pattern parsing sub-engine within the real-time computing engine. The aforementioned samples to be deeply understood are input into this deformation pattern parsing sub-engine. First, the public opinion-specific knowledge graph is retrieved to perform graph retrieval on the samples to be deeply understood to complete the background semantics of the samples. Then, the encoding process is completed according to the surface form-true meaning-usage scenario to obtain sample triples. Next, a three-stage reasoning process of cultural knowledge recognition, metaphor carrier recognition, and attack pattern mining is carried out on the sample triples to identify the deformation perturbation combinations in the samples. Relying on adversarial judgment and semantic generation mechanisms, the deformation semantics are restored and recovered. The deformation recovery results carrying the probability of aggression and the context calibration confidence label are output to realize the context calibration of the deformation expression and provide effective sample data after semantic restoration for subsequent public opinion trend prediction.

[0018] Step S400: Perform public opinion trend prediction and consensus processing on the deformation recovery results, and perform early warning management on the terminal interface.

[0019] Specifically, statistical predictions are made based on structural anomaly features such as mutation magnitude, anomaly level depth, and propagation speed extracted from samples to be deeply understood, to obtain the probability of public opinion outbreak. Simultaneously, semantic predictions are performed using the probability of aggression carried by the deformation recovery results and the confidence level of context calibration to obtain the probability of malice. Then, risk prior probabilities are obtained by matching and retrieving data from a historical public opinion case database. The public opinion outbreak probability, malice probability, and risk prior probabilities are input into the model to perform consensus game theory operations to obtain the public opinion situation prediction results. Subsequently, the public opinion situation prediction results are identified. If a game divergence is detected and the game equilibrium is less than a preset threshold, an uncertain query strategy is generated. This uncertain query strategy is implemented in the propagation tree structure to complete targeted verification, obtain incremental information to resolve uncertainty, and obtain the target public opinion situation. Finally, alarm mode matching is completed by combining the public opinion type and situation level. Based on the matching results, the corresponding level of public opinion early warning management output is completed on the terminal interface.

[0020] In one possible implementation, step S100 further includes: Step S110: Receive real-time network information and maintain instantaneous popularity value at the data access layer. The instantaneous popularity value is calculated using a topic popularity decay relationship, and the formula for calculating this relationship is: Where V(t) is the posting rate, I(t) is the interaction rate, E(t) is the information dispersion, α, β, and γ are weighting coefficients, and λ and μ are decay rate constants.

[0021] Step S120: Based on the real-time popularity value, perform routing and traffic splitting processing, transmit to the distributed storage terminal, and determine the hierarchical data flow, wherein each storage terminal corresponds to a query path.

[0022] Specifically, the data access layer receives real-time network information and maintains an instantaneous popularity value. This instantaneous popularity value is calculated using a topic popularity decay relationship, the formula for which is: ,in, For the rate of publication, For interaction rate, For information dispersion, These are the weighting coefficients. The decay rate constant is used; the data access layer continuously captures and receives real-time network information from the network platform according to a preset sampling period, and calculates the posting rate by counting the number of posts under the corresponding topic per unit time. The interaction rate is obtained by tracking comments, reposts, and likes. Information dispersion is calculated based on the information release source and the degree of content differentiation. Read the pre-configured weight coefficients of the system. and decay rate constant Substituting the above parameters into the formula for calculating the topic popularity decay relationship, and performing exponential decay operations on the posting rate and interaction rate respectively, the results are weighted and summed with the information dispersion term to calculate the real-time popularity value of the corresponding topic. The data access layer maintains the real-time popularity value of each topic in memory and updates it continuously with the sampling period, providing a basis for popularity judgment for subsequent routing, distribution and storage stages.

[0023] The system reads the real-time popularity value of a topic from the data access layer and compares it with preset first high threshold and second low threshold to execute routing and distribution logic. When the real-time popularity value is greater than or equal to the first high threshold, the corresponding real-time network information is directly routed and forwarded to the high-speed storage layer. When the real-time popularity value is less than the first high threshold but greater than or equal to the second low threshold, the real-time network information is sent to a message queue for caching and then asynchronously written to the online storage layer. When the real-time popularity value is less than the second low threshold, the real-time network information is directly migrated to the storage archive layer. A one-way interaction channel is configured between the high-speed storage layer, the online storage layer, and the storage archive layer. When the popularity of a topic changes dynamically, inter-layer data migration is triggered. When the popularity drops below the second low threshold, it migrates to the storage archive layer; when the popularity rises above the first high threshold, it migrates to the high-speed storage layer. After routing and distribution and layered storage processing, a layered data stream is formed. The high-speed storage layer, the online storage layer, and the storage archive layer are each configured with independent query paths. The upper-layer computing component can select the corresponding query path to read the layered data stream according to business needs, providing data support for subsequent reconstruction of public opinion events.

[0024] In one possible implementation, step S110 further includes: Step S111: If the instantaneous heat value is greater than or equal to the first high threshold, the real-time network information is routed to the high-speed storage layer, wherein the high-speed storage layer is associated with a real-time computing engine.

[0025] Step S112: If the instantaneous popularity value is less than the first high threshold and greater than or equal to the second low threshold, the real-time network information is asynchronously written to the online storage layer after being cached by the message queue.

[0026] Step S113: If the instantaneous heat value is less than the second low threshold, the real-time network information is automatically migrated to the storage and archiving layer.

[0027] Specifically, the calculated real-time popularity value of a topic is compared with a pre-configured first high threshold. When the real-time popularity value is greater than or equal to the first high threshold, it indicates that the topic belongs to high-popularity public opinion. The routing component directly distributes the corresponding real-time network information to the high-speed storage layer for storage, without going through the message queue asynchronous caching link, ensuring low latency in writing high-popularity public opinion data. The high-speed storage layer establishes a data association channel with the real-time computing engine. The real-time network information stored in the high-speed storage layer can be directly read and called by the real-time computing engine, thereby providing low-latency data input for subsequent streaming real-time computing tasks such as public opinion event reconstruction and propagation tree construction.

[0028] The instantaneous popularity value of a topic is compared with a preset first high threshold and a second low threshold. When the instantaneous popularity value is less than the first high threshold and greater than or equal to the second low threshold, it indicates that the topic belongs to medium-popularity public opinion. The routing component pushes this part of the real-time network information to a message queue for temporary caching. The message queue is used to achieve traffic peak shaping and avoid the impact of instantaneous data volume fluctuations on the storage end. Then, the real-time network information cached in the message queue is written to the online storage layer in batches in an asynchronous and non-blocking manner without occupying real-time computing link resources. The online storage layer saves this type of medium-popularity public opinion data for subsequent query and retrieval.

[0029] The instantaneous popularity value of a topic is compared with a preset second low threshold. When the instantaneous popularity value is determined to be less than the second low threshold, it indicates that the topic has low public opinion popularity. The routing component triggers the automatic migration logic, which directly distributes the corresponding real-time network information to the storage and archiving layer for archiving and preservation. The storage and archiving layer mainly performs persistent archiving of low-popularity public opinion data and does not participate in high-real-time streaming computing tasks. It is only used for historical public opinion data backtracking and querying, thereby realizing the layered processing of hot and cold data and saving the storage resource overhead of the high-speed storage layer and the online storage layer.

[0030] In one possible implementation, step S112 further includes: The online storage layer establishes a one-way interactive channel with the high-speed storage layer and the storage archiving layer.

[0031] When the instantaneous heat value drops below the second threshold, it migrates to the storage archive layer.

[0032] When the instantaneous heat value rises above the first high threshold, it migrates to the high-speed storage layer.

[0033] Specifically, the online storage layer establishes one-way interaction channels with the high-speed storage layer and the storage archiving layer, respectively. Data can only migrate between layers in a preset one-way direction and does not support reverse write-back. When the real-time popularity of a public opinion topic originally stored in the high-speed storage layer drops below the second low threshold, the corresponding data in the high-speed storage layer is migrated to the storage archiving layer via the one-way interaction channel. When the real-time popularity of a public opinion topic stored in the online storage layer rises and exceeds the first high threshold, the online storage layer can migrate the corresponding public opinion data to the high-speed storage layer through the one-way interaction channel to meet the low-latency reading requirements in high-popularity scenarios. When the popularity of a public opinion topic in the online storage layer falls back below the second low threshold, the corresponding data is also automatically migrated to the storage archiving layer for persistent archiving via the one-way interaction channel. The one-way interaction channel enables public opinion data to flow dynamically between storage layers according to its popularity, avoiding out-of-order read and write across layers and realizing dynamic hierarchical management of hot and cold data.

[0034] The system periodically recalculates the real-time popularity value of each public opinion topic and continuously monitors and updates the popularity of the corresponding topics for public opinion data stored in the high-speed storage layer and online storage layer. When the real-time popularity value of a topic drops below the preset second low threshold, it is determined that the public opinion topic has cooled down and no longer requires high-efficiency read and write support. This triggers the inter-layer data migration logic, which migrates all real-time network information corresponding to the topic to the storage archiving layer for persistent storage through a pre-established one-way interactive channel. After the migration is completed, the data in the original high-speed storage layer or online storage layer is cleared, releasing the upper-layer storage resources. The archived data only supports historical backtracking queries and no longer participates in real-time streaming public opinion calculations.

[0035] The system periodically recalculates the real-time popularity of each public opinion topic and continuously monitors the popularity changes of each topic in the online storage layer and the storage archive layer. When the real-time popularity of a public opinion topic rises above the preset first high threshold, it is determined that the topic has experienced a public opinion outbreak and entered a high-popularity state, requiring low-latency real-time computing support. The system then calls the established one-way interactive channel to migrate the real-time network information corresponding to the topic to the high-speed storage layer. After the migration is completed, the data in the high-speed storage layer is retained for direct reading by the associated real-time computing engine. Backups can be retained or data cleaned in the original online storage layer or storage archive layer, enabling the high-popularity public opinion data to be connected to the streaming computing link and ensuring the real-time response performance of subsequent tasks such as public opinion event reconstruction and inflection point tracking.

[0036] In one possible implementation, such as Figure 2As shown, step S200 further includes: Step S210: For the high-speed storage layer in the layered data stream, according to the real-time computing engine, each public opinion event is reconstructed into a propagation tree, wherein the root node of the propagation tree is the source post, the child nodes are replies or forwards that arrive in chronological order, and each edge carries node-level semantic features, public opinion guidance polarity and user statistical features. The user statistical features include the number of account associations, historical credibility and activity.

[0037] Step S220: Each propagation tree performs a structural mutation trigger determination under bidirectional path analysis to obtain a sample to be deeply understood. The sample to be deeply understood includes a candidate set of structural anomaly events, anomaly type labels, and anomaly location paths. The anomaly type labels are guided deviation type, velocity mutation type, or credibility collapse type.

[0038] Specifically, the real-time computing engine pulls high-intensity public opinion streaming data from the high-speed storage layer of the hierarchical data stream. Using the original post as the root node of the propagation tree, subsequent forwards and replies are sequentially associated with the corresponding parent node as child nodes according to the data arrival time sequence, thus dynamically constructing the propagation tree for a single public opinion event. For each propagation edge connecting parent and child nodes, a pre-trained semantic model is used to extract node-level semantic features from the post text. A sentiment polarity scoring model is used to calculate the positive, negative, and neutral probabilities of the text, and the weighted output yields the public opinion guidance polarity. In the user statistical feature dimension, account relationship... The system counts the number of accounts followed, followed, and associated with the account. Historical credibility is scored based on the accuracy of fact verification of the account's historical posts. Activity is calculated by normalizing the frequency of the account's posts and interactions within a unit period. Node-level semantic features, public opinion guidance polarity, and the calculated number of associated accounts, historical credibility, and activity are all bound to the corresponding edges of the propagation tree. This system fully preserves the textual semantic content, public opinion guidance, and quantitative indicators of account profiles during the propagation process, providing a quantifiable and structured foundation for subsequent tracking of positive path abrupt change inflection points and tracing back to the location of reverse paths.

[0039] The real-time computing engine performs bidirectional path analysis on each completed public opinion propagation tree. It traverses the evolution trajectory of each child node layer by layer from the root node downwards, generating time-varying trajectory curves based on guidance deviation, propagation speed, and credibility distribution. The first derivative of each trajectory curve is calculated to identify numerical mutation inflection points and mark them as structurally abnormal nodes. Then, a reverse path is executed to backtrack from bottom to top through the structurally abnormal nodes, locating the mutation trigger nodes. All identified abnormal events are aggregated into a structurally abnormal event candidate set. These are then labeled with corresponding abnormality type tags (guidance deviation, speed mutation, or credibility collapse) based on trajectory mutation features. Simultaneously, the link from the mutation trigger node to the structurally abnormal node is recorded as the abnormality localization path. The structurally abnormal event candidate set, abnormality type tags, and abnormality localization path are encapsulated and combined to generate samples for in-depth understanding, providing structured abnormal input samples for the subsequent deformation pattern analysis sub-engine to conduct three-stage metaphorical reasoning.

[0040] In one possible implementation, step S220 further includes: Step S221: Based on the forward path, perform root node to trace the evolution trajectory layer by layer to guide the distribution of deviation, propagation speed and credibility to generate trajectory curves and perform first derivative of the curves to identify abrupt change inflection points as structural anomalous nodes.

[0041] Step S222: Based on the reverse path, trace back from bottom to top for each structurally abnormal node to locate the mutation trigger node.

[0042] Step S223: Associate the structural anomaly nodes with the mutation trigger nodes to generate the sample to be deeply understood.

[0043] Specifically, the real-time computing engine follows the forward propagation path of the propagation tree, starting from the root node (the source post) and traversing all child nodes layer by layer from top to bottom according to the propagation hierarchy. Propagation process metrics are sampled and calculated in fixed time slices. The guidance deviation is obtained by normalizing the difference between the guidance polarity of each node at the current level and the baseline guidance polarity of the root node. The propagation speed is calculated based on the total number of newly added forwarding and replying child nodes in each time slice. The credibility distribution is calculated by statistically analyzing the historical credibility of all active propagation nodes in the current slice, calculating the mean and variance. Using the slice as the horizontal axis, and the guidance deviation, propagation speed, and credibility distribution calculated for each slice as the vertical axis, three time-series evolution trajectory curves are constructed. Then, the discrete first derivative of each time-series trajectory curve is calculated. The first derivative result represents the change range of the corresponding index in adjacent time slices. When the calculated first derivative result of any curve is greater than the preset derivative mutation threshold, it is determined that an index jump has occurred in that time slice. The propagation tree node corresponding to that time slice is extracted as the mutation inflection point and marked as a structural anomaly node. This completes the detection of anomaly nodes on the forward path, which can be used for backtracking and positioning on the reverse path.

[0044] The real-time computing engine initiates reverse path parsing for each structurally abnormal node identified through the forward path. Using the structurally abnormal node as the starting point for backtracking, it traverses the parent-child node links from bottom to top along the propagation tree, sequentially reading the node-level semantic features, public opinion guidance polarity, and user statistical features carried by the propagation edges. It compares the changes in guidance deviation, propagation speed, and credibility distribution indicators of the nodes before and after in the link segment by segment, and traces back to find the first parent node that caused the above indicators to jump out of bounds. This parent node is the mutation trigger node. At the same time, it records the entire propagation link from the mutation trigger node down to the structurally abnormal node, clarifying the starting source of the abnormal effect and providing mutation source node information for subsequent assembly of samples to be deeply understood.

[0045] The real-time computing engine associates and binds the structural anomaly nodes detected by the forward path with the mutation trigger nodes obtained by the reverse path backtracking, extracts the complete propagation link between the two as the anomaly localization path, and matches and labels the anomaly type as guidance deviation type, speed mutation type, or credibility collapse type according to the mutation characteristics of the guidance deviation degree, propagation speed, and credibility distribution corresponding to the link. The set of mutation trigger nodes, structural anomaly nodes, anomaly localization paths, and anomaly type labels are included in the structural anomaly event candidate set. The structural anomaly event candidate set, anomaly type labels, and anomaly localization paths are encapsulated into a whole data package to generate a sample for in-depth understanding. This sample completely retains the anomaly source, anomaly occurrence location, propagation link, and anomaly category information of public opinion propagation, providing a complete structured input for the subsequent deformation pattern analysis sub-engine to carry out three-stage metaphor reasoning.

[0046] In one possible implementation, step S300 further includes: Step S310: Based on the public opinion-specific knowledge graph, after the sample to be deeply understood is retrieved from the graph and carries background semantics, perform encoding based on surface form-true meaning-use scenario to obtain sample triples.

[0047] Step S320: For the sample triples, perform three-stage metaphorical reasoning to obtain the deformation recovery result, wherein the deformation recovery result is marked with the probability of aggression and the confidence level of context calibration.

[0048] Specifically, the sample to be deeply understood is input into the public opinion-specific knowledge graph module. The text content and propagation node information within the sample are extracted as search terms. Entity retrieval and relation matching are performed in the public opinion-specific knowledge graph. Event background, metaphorical interpretation, internet slang, and contextual association information stored in the graph are retrieved as background semantics and added to the sample to be deeply understood. Subsequently, the sample carrying background semantics undergoes standardized encoding processing. The literal expression of the text is extracted as the surface form. Combined with the background semantic analysis of the graph, the underlying meaning conveyed by the text is obtained as the true meaning. Then, the usage scenario corresponding to the expression is summarized by combining the characteristics of the public opinion occurrence time, propagation group, and propagation link. The surface form, true meaning, and usage scenario are combined and encapsulated to generate sample triples, completing the semantic structural transformation of the original abnormal sample. This provides standardized triple input data for the subsequent transformation pattern analysis sub-engine to carry out three-stage metaphorical reasoning.

[0049] The deformation pattern parsing sub-engine receives sample triples consisting of surface form, true meaning, and usage scenario. It then performs three stages of metaphorical reasoning: cultural knowledge identification, metaphor carrier identification, and attack pattern mining. The first stage relies on a public opinion-specific knowledge graph to match cultural background and identify cultural deformation perturbations in the text based on network subculture characteristics. The second stage locates the metaphor carrier in the surface form of the triples and analyzes the metaphorical referent by combining the true meaning and usage scenario. The third stage mines various attack patterns hidden under the metaphorical expression, identifies combinations of multiple deformation perturbations, and then restores the semantics of the perturbed and deformed text through adversarial judgment and semantic generation mechanisms to complete semantic calibration. Furthermore, it calculates the attack probability of the sample through a classification and scoring model, and calculates the context calibration confidence score by comprehensively considering the knowledge graph matching degree, triple completeness, and perturbation identification accuracy. The attack probability and context calibration confidence score are attached as identifier fields to the restored semantic result, and finally, a deformation recovery result is generated, providing a semantic analysis result with confidence assessment for subsequent public opinion trend prediction and consensus processing.

[0050] In one possible implementation, step S320 further includes: Step S321: Using a taxonomy system based on multi-class deformation strategies, add a deformation mode parsing sub-engine to the real-time computing engine.

[0051] Step S322: Each sample triple flows through the deformation pattern parsing sub-engine, and uses reasoning based on cultural knowledge recognition, metaphor carrier recognition and attack pattern mining to identify deformation perturbation combinations and perform adversarial semantic generation and recovery to obtain the deformation recovery result.

[0052] Specifically, a taxonomy system for various transformation strategies, including homophonic substitution, mixed pinyin writing, symbol insertion, character splitting, visual confusion, and semantic transfer, is pre-built. The text perturbation features, recognition rules, and judgment thresholds corresponding to each transformation strategy are clearly defined, and a transformation rule base is constructed. While maintaining the original business logic of propagation tree construction and bidirectional path analysis in the real-time computing engine, a transformation pattern parsing sub-engine is added using a modular integration approach. This completes the data interaction interface and task scheduling interface integration and adaptation between the sub-engine and the real-time computing engine. Corresponding recognition algorithms are deployed for each transformation strategy in the taxonomy system. Phonetic similarity algorithms are used to identify homophonic substitution, character pattern matching algorithms to identify mixed pinyin writing, interference symbol filtering algorithms to identify symbol insertion, character structure analysis algorithms to identify character splitting, character similarity comparison algorithms to identify visual confusion, and context shift discrimination algorithms to identify semantic transfer. This enables the transformation pattern parsing sub-engine to independently receive samples for in-depth understanding and specifically complete the parsing and processing of hidden transformation text, providing algorithmic and computational support for subsequent three-stage metaphorical reasoning.

[0053] After the sample triples are input into the deformation pattern parsing sub-engine, the three-stage inference operation of cultural knowledge recognition, metaphor carrier recognition, and attack pattern mining is completed in sequence. Relying on the public opinion-specific knowledge graph to match subculture and event background information, it locates deformation perturbation combinations formed by the superposition of various methods such as homophone substitution and symbol insertion in the text. The semantic recovery module is implemented by splicing together two sets of components trained by generative adversarial training. The first set is trained adversarially for the deformation perturbation recognition task, discarding the original generator and retaining only the discriminator in the generation-decision architecture to detect various deformation perturbation types and locations. The second set is trained adversarially separately for the text recovery generation target, discarding the original discriminator and retaining only the generator in the generation-decision architecture for the semantic recovery of distorted text. The perturbation recognition discriminator and the text recovery generator are spliced ​​together to form a complete inference link. The discriminator outputs the perturbation location and perturbation type and sends them to the generator. The generator combines the real meaning of the sample triples and the usage scenario to complete the adversarial semantic generation and recovery. At the same time, it calculates the attack probability and context calibration confidence, and finally outputs the deformation recovery result carrying the identification information.

[0054] In one possible implementation, step S400 further includes: Step S410: For the sample to be understood in depth, perform statistical prediction based on structural anomalies to obtain the probability of public opinion outbreak, wherein the structural anomalies include the magnitude of mutation, the depth of anomaly level and the speed of propagation.

[0055] Step S420: Based on the deformation recovery result, perform semantic prediction according to the aggression probability and context calibration confidence to obtain the malice probability.

[0056] Step S430: Obtain the prior probability of risk by matching historical cases.

[0057] Step S440: Perform consensus game on the probability of public opinion outbreak, the probability of malice, and the prior risk probability to obtain the prediction result of public opinion situation.

[0058] Specifically, three types of structural anomaly features are extracted from the abnormal location path of the sample to be deeply understood, under the propagation tree dimension. The mutation amplitude is the maximum change in the guidance deviation, propagation speed, and credibility distribution obtained by taking the first derivative of the positive path trajectory curve. The anomaly level depth is calculated by the level difference between the mutation trigger node and the root node of the propagation tree. The propagation speed is calculated by the number of newly added child nodes in the abnormal link within a fixed time slice. First, the three types of features are normalized by min-max to map each feature to the 0-1 value range. Then, a logistic regression statistical prediction model pre-trained based on historical public opinion samples is used. The normalized mutation amplitude, anomaly level depth, and propagation speed are used as the model input features. The weights and bias parameters of each feature determined in the training stage are called to complete the weighted summation operation. Then, the sigmoid activation function is used for mapping calculation. Finally, the probability of public opinion outbreak in the 0-1 range is output to characterize the possibility of the abnormal public opinion event spreading on a large scale. This provides a quantifiable predictive basis for the subsequent public opinion risk classification and disposal.

[0059] Two quantitative features, the calculated probability of aggression and the context-calibrated confidence score, are extracted from the deformation recovery results. First, the value range of these two features is validated to ensure that both fall within the 0-1 range. These two features are then input into a semantic prediction model pre-trained using labeled historical public opinion samples. The model reads the feature weights and bias constants fixed during training, performs a weighted summation of the probability of aggression and the context-calibrated confidence score, and then maps the summation result to the 0-1 output range using a sigmoid activation function to obtain the malicious probability. The context-calibrated confidence score is used to correct the credibility of the probability of aggression; a lower context-calibrated confidence score will correspondingly attenuate the probability of aggression, reducing the confidence level of the malicious judgment. The final output malicious probability represents the likelihood that the public opinion content is malicious, providing a semantic-level quantitative indicator for subsequent comprehensive risk assessment.

[0060] The system retrieves a massive, pre-stored database of annotated historical public opinion cases. Each historical case in the database is bound to the event propagation structure features, text deformation types, attack attributes, final risk level, and corresponding prior risk value. First, the core features of the current public opinion sample to be detected are extracted, including key dimensions such as structural anomaly type, propagation mutation features, text deformation combination methods, and attack features. Then, a multi-dimensional feature similarity matching algorithm is used to calculate the feature Euclidean distance between the current sample and each case in the historical case database. Similar historical case sets with similarity higher than a preset matching threshold are selected. Next, a weighted average calculation is performed on the historical risk probabilities corresponding to the matched similar historical cases, assigning higher weights to historical cases with higher similarity. Finally, the weighted normalization calculation yields the prior risk probability of this public opinion event, which serves as the prior risk quantification basis for the historical experience dimension and is used for subsequent fusion modeling to achieve accurate risk assessment.

[0061] Let the probability of a public opinion outbreak be... The probability of malice is The prior probability of risk is All three values ​​are in the range of 0-1. The initial confidence weights for the three are determined based on their historical test accuracy, satisfying... First, calculate the absolute difference between each pair of factors. When the difference between any two pairs of values ​​is greater than the preset conflict threshold When a factor conflict is detected, the factor that deviates the most from the other two means is subject to weight decay, with a decay coefficient of 1. The updated weights are corrected. After correction, the weights are normalized again to make the sum of the weights equal to 1, and a consensus game fusion calculation formula is constructed. , calculate As a comprehensive risk value, the comprehensive risk value is then converted into the corresponding risk level and situation evolution prediction label according to the segmented threshold mapping rule. The comprehensive risk value, risk level, and situation evolution prediction label are assembled together to form the public opinion situation prediction result, thereby completing the consensus game fusion analysis of multi-source probabilities in the dimensions of dissemination structure, semantic content, and historical case prior dimensions.

[0062] In one possible implementation, step S440 further includes: Step S441: Identify the predicted public opinion situation. If there is a game disagreement and the game equilibrium is less than a preset value, generate an uncertain inquiry strategy.

[0063] Step S442: Perform targeted verification of the uncertain query strategy in the propagation tree, obtain incremental information to resolve uncertainty, and obtain the target public opinion situation.

[0064] Step S443: Based on the type and level of public opinion, perform public opinion early warning management under alarm mode matching on the terminal interface for the target public opinion situation.

[0065] Specifically, firstly, based on the probability of public opinion outbreaks before game theory integration. Probability of malice Prior probability of risk To calculate the game equilibrium, we need to find the variance of the three sets of probabilities. (in The variance (the average of three probabilities) quantifies the degree of disagreement in the game; a larger variance indicates a more significant disagreement in the assessment results across different dimensions. The calculated equilibrium index... With the system's preset equalization threshold Comparison, when When a system determines that there are significant game-theoretic disagreements in the multi-dimensional probabilities and that the reliability of the model's autonomous judgment is insufficient, it triggers an uncertain inquiry strategy generation mechanism. The system automatically traces the source of the disagreement, verifies the quantification accuracy of abnormal features in the propagation structure, the confidence level of semantic deformation recovery, and the similarity of historical case matching, identifies the weak dimensions that lead to the judgment bias, and generates standardized uncertain inquiry strategies that include explanations of the reasons for the disagreement, fields to be verified, key points for manual review, and supplementary judgment dimensions. Specifically, these include secondary verification inquiries on structural features such as the magnitude of mutation and the speed of propagation, manual verification inquiries on the results of semantic deformation recovery, and re-matching verification inquiries on similar historical cases. This guides human intervention for review and correction, compensates for the uncertainty of machine game-theoretic judgment, and improves the accuracy of the final public opinion situation judgment.

[0066] Based on the uncertain inquiry strategy generated in the previous step, a precise verification and validation of the original public opinion propagation tree structure is carried out. For the weak dimensions of disagreement marked by the strategy, the structural features such as the mutation amplitude, abnormal level depth, and propagation speed of the abnormal path of the propagation tree are recalculated for the second time. The aggressive probability and context calibration confidence of the deformed restored semantics are reviewed and corrected. At the same time, the historical case library is re-searched and matched to optimize the accuracy of the risk prior probability. The corrected incremental calibration information is obtained through multi-dimensional targeted verification. The incremental information is used to iteratively update the public opinion outbreak probability, malicious probability, and risk prior probability of the original game input. The consensus game weighted fusion formula is substituted again to complete a new round of equilibrium calculation, eliminating the game disagreement between multi-dimensional factors and improving the overall game equilibrium. Finally, the convergent, stable, and accurate comprehensive risk value after uncertainty resolution is output, and the corresponding risk level and trend conclusion are matched to complete the correction and solidification of the trend result, and the final target public opinion trend is obtained.

[0067] The system analyzes the final output of the target public opinion situation, extracts standardized public opinion event types, namely, guidance deviation type, speed change type, credibility collapse type, and quantitative situation risk level. It performs precise matching according to the preset hierarchical alarm mode library. The alarm mode library is pre-bound with the warning level, warning text, push target, display style and handling process corresponding to different public opinion types and situation levels. The system completes the visual hierarchical display on the warning terminal interface according to the matching results. High-risk situations are displayed with a red highlighted pop-up window, emergency audio and visual prompts and a one-click source tracing link. Medium-risk situations are displayed with orange labels scrolling and abnormal propagation nodes are marked. Low-risk situations are recorded and archived in green. At the same time, it automatically generates a standardized warning report containing the cause of public opinion anomalies, propagation path, distorted semantic risks, and situation evolution trend. It is pushed to the corresponding control terminal according to the permission policy, realizing differentiated warning display, hierarchical alarm, record archiving and pre-handling guidance based on public opinion type and situation level, and completing the whole process of public opinion warning management.

[0068] It should be noted that the order of the embodiments described above is for descriptive purposes only and does not represent the superiority or inferiority of the embodiments. Specific embodiments of this specification have been described above. Furthermore, the processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0069] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

[0070] This specification and accompanying drawings are merely illustrative examples of this application and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from its scope. Therefore, if such modifications and variations fall within the scope of this application and its equivalents, this application intends to include such modifications and variations.

Claims

1. A public opinion situation awareness and early warning method based on distributed storage and streaming processing, characterized in that, The method includes: Real-time network information is received according to the preset sampling period and the instantaneous popularity value is calculated based on the topic popularity decay relationship. The distributed storage terminal performs routing and distribution storage to obtain a layered data stream, in which there is inter-layer storage migration between the high-speed storage layer, the online storage layer and the storage archive layer. Through the real-time computing engine associated with the high-speed storage layer, the hierarchical data stream stored in the layer is reconstructed into a propagation tree for public opinion events. The inflection point tracking of mutations in the forward path and the inflection point backtracking and positioning in the reverse path are performed to generate samples for in-depth understanding. The real-time computing engine is modified by adding a sub-engine based on the deformation pattern analysis. The sample to be deeply understood is subjected to three-stage reasoning based on cultural knowledge recognition, metaphor carrier recognition and attack pattern mining. Adversarial judgment and generation are performed to determine the deformation recovery result after context calibration. The deformation recovery results are used for public opinion trend prediction and consensus processing, and early warning management is performed on the terminal interface.

2. The public opinion situation awareness and early warning method based on distributed storage and streaming processing as described in claim 1, characterized in that, The resulting hierarchical data stream includes: The data access layer receives real-time network information and maintains an instantaneous popularity value, wherein the instantaneous popularity value is calculated based on the topic popularity decay relationship, and the calculation formula for the topic popularity decay relationship is as follows: Where V(t) is the posting rate, I(t) is the interaction rate, E(t) is the information dispersion, α, β, and γ are weighting coefficients, and λ and μ are decay rate constants; Based on the real-time popularity value, routing and distribution processing is performed, and the data is transmitted to the distributed storage terminal to determine the hierarchical data flow, wherein each storage terminal corresponds to a query path.

3. The public opinion situation awareness and early warning method based on distributed storage and streaming processing as described in claim 2, characterized in that, If the instantaneous popularity value is greater than or equal to the first high threshold, the real-time network information is routed to the high-speed storage layer, wherein the high-speed storage layer is associated with a real-time computing engine. If the instantaneous popularity value is less than the first high threshold and greater than or equal to the second low threshold, the real-time network information is asynchronously written to the online storage layer after being cached by the message queue. If the instantaneous popularity value is less than the second low threshold, the real-time network information is automatically migrated to the storage and archiving layer.

4. The public opinion situation awareness and early warning method based on distributed storage and streaming processing as described in claim 3, characterized in that, The online storage layer establishes a one-way interactive channel with the high-speed storage layer and the storage archiving layer; When the instantaneous heat value drops below the second threshold, it migrates to the storage archive layer; When the instantaneous heat value rises above the first high threshold, it migrates to the high-speed storage layer.

5. The public opinion situation awareness and early warning method based on distributed storage and streaming processing as described in claim 1, characterized in that, Generate samples for in-depth understanding, including: For the high-speed storage layer in the hierarchical data stream, each public opinion event is reconstructed into a propagation tree according to the real-time computing engine. The root node of the propagation tree is the source post, and the child nodes are replies or forwards that arrive in chronological order. Each edge carries node-level semantic features, public opinion guidance polarity, and user statistical features. The user statistical features include the number of account associations, historical credibility, and activity level. Each propagation tree performs a structural mutation trigger determination under bidirectional path analysis to obtain samples to be understood in depth. These samples include a candidate set of structural anomaly events, anomaly type labels, and anomaly location paths. The anomaly type labels are guided deviation type, velocity mutation type, or credibility collapse type.

6. The public opinion situation awareness and early warning method based on distributed storage and streaming processing as described in claim 5, characterized in that, Each propagation tree undergoes bidirectional path analysis to determine structural mutation triggers, resulting in samples for in-depth understanding, including: Based on the forward path, the root node is used to trace the evolution trajectory layer by layer downwards to guide the distribution of deviation, propagation speed and credibility to generate trajectory curves and perform the first derivative of the curves to identify abrupt inflection points as structurally abnormal nodes. Based on the reverse path, trace back from bottom to top for each structurally abnormal node to locate the node that triggered the mutation; By associating the structurally abnormal nodes with the mutation triggering nodes, the sample to be deeply understood is generated.

7. The public opinion situation awareness and early warning method based on distributed storage and streaming processing as described in claim 1, characterized in that, Determine the deformation recovery results after context calibration, including: Based on the public opinion-specific knowledge graph, the sample to be deeply understood is retrieved from the graph and carries background semantics. Encoding based on surface form - true meaning - usage scenario is then performed to obtain sample triples. For the sample triples, a three-stage metaphorical reasoning is performed to obtain the deformation recovery result, wherein the deformation recovery result is labeled with the probability of aggression and the confidence level of context calibration.

8. The public opinion situation awareness and early warning method based on distributed storage and streaming processing as described in claim 7, characterized in that, Performing three-stage metaphorical reasoning yields the deformed restoration result, including: A deformation pattern parsing sub-engine is added to the real-time computing engine based on a taxonomy system of multi-class deformation strategies. Each sample triple flows through the deformation pattern parsing sub-engine, and uses reasoning based on cultural knowledge recognition, metaphor carrier recognition and attack pattern mining to identify deformation perturbation combinations and perform adversarial semantic generation and recovery to obtain the deformation recovery result.

9. The public opinion situation awareness and early warning method based on distributed storage and streaming processing as described in claim 7, characterized in that, The deformation recovery results are used for public opinion trend prediction and consensus processing, including: For the sample to be understood in depth, statistical prediction is performed based on structural anomalies to obtain the probability of public opinion outbreak. The structural anomalies include the magnitude of mutation, the depth of anomaly level, and the speed of propagation. Based on the deformation recovery result, semantic prediction is performed according to the aggression probability and context-calibrated confidence to obtain the malice probability; By matching historical cases, the prior probability of risk is obtained; A consensus game is performed on the probability of public opinion outbreak, the probability of malice, and the prior probability of risk to obtain the prediction result of public opinion situation.

10. The public opinion situation awareness and early warning method based on distributed storage and streaming processing as described in claim 9, characterized in that, After obtaining the public opinion trend prediction results, the following are included: If the predicted public opinion trend is identified, and if there is a game disagreement and the game equilibrium is less than a preset value, an uncertain inquiry strategy is generated. Perform targeted checks on uncertain query strategies in the propagation tree, obtain incremental information to resolve uncertainties, and obtain the target public opinion situation; Based on the type and severity of public opinion, the target public opinion situation is managed under alarm mode matching on the terminal interface.