News current political phrase discovery method and system based on block chain
By building a news and current affairs phrase discovery model on the blockchain network node, combining multi-modal data and user feedback, and using blockchain technology to ensure data reliability, it solves the problem of unclear new word discovery features and data credibility in the existing technology. Sexual issues, achieving efficient identification of political phrases and ensuring data authenticity.
Patent Information
- Application Number
- CN202410739357.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-08-30
AI Technical Summary
Existing news and political phrase discovery technology relies on single text content analysis, the new word discovery features are not obvious, there is a risk of malicious manipulation of data, and there is a lack of effective credibility and traceability mechanisms.
Adopting a blockchain-based news and current affairs phrase discovery method, by constructing a news and current affairs phrase discovery model and deploying it to a network node built by the blockchain consensus mechanism, combined with multi-modal data (text, image, audio) using long short-term memory network and convolutional neural network to extract features, use the DQN algorithm for model training and optimization, combine user feedback, and use blockchain technology to ensure the authenticity and reliability of the data.
It improves the ability to discover new words and phrases, enhances the learning and recognition capabilities of the model, ensures the non-tamperability and transparency of data, improves the security and credibility of the system, and effectively extracts data from multi-modal data. Discover and identify political phrases.
Smart Images

Figure CN118568418A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of news text data mining, and in particular to a method and system for discovering news and current affairs phrases based on blockchain. Background Art
[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.
[0003] With the explosive growth of Internet news data, it is becoming increasingly important to identify current real-time news hotspots and present them to users. For this purpose, the detection technology of news hot topics has been developed. However, the amount of news detected in the same hot topic may still be too large for users to be presented directly. How to briefly and accurately summarize the hot topics based on the news in the topic has become a key issue. Users only need to read the summarized topic description to quickly understand the current hot events happening in real time. Therefore, the discovery of news and current affairs phrases has become a key research direction.
[0004] At present, the discovery of news and political phrases mainly relies on single text content analysis. This method is not very effective in discovering new words and there is a risk of malicious data manipulation. At the same time, there are problems with existing model node management and data consistency, and there is a lack of effective credibility and traceability mechanisms. Summary of the invention
[0005] In response to the above-mentioned defects, the present invention proposes a blockchain-based news and current affairs phrase discovery method and system, which can effectively discover and identify current affairs phrases from multimodal data and ensure the authenticity and reliability of the data through blockchain technology.
[0006] In order to achieve the above objectives, the present disclosure adopts the following technical solutions:
[0007] The first aspect of the present disclosure provides a method for discovering news and current affairs phrases based on blockchain, comprising the following steps:
[0008] Build a news and political phrase discovery model and deploy it to network nodes built using the blockchain consensus mechanism;
[0009] Input the multimodal training data into the news and current affairs phrase discovery model to extract vector features, use the long short-term memory network to extract the sequence features of the vector features, obtain multimodal high-level vector features, splice the multimodal high-level vector features to obtain a multidimensional feature vector, input the multidimensional feature vector into the classification layer, output the category probability, and optimize the model parameters in combination with user feedback until the loss function converges;
[0010] According to the network node enumeration algorithm, the common current affairs phrases discovered by the network nodes are screened out.
[0011] As a further implementation method, before inputting the multimodal training data into the news and current affairs phrase discovery model to extract vector features, the multimodal training data needs to be preprocessed, specifically:
[0012] Use TF-IDF algorithm to extract features from news text;
[0013] Use convolutional neural networks to extract features from news pictures;
[0014] The Mel-frequency cepstral coefficient method is used to extract features from news audio.
[0015] As a further implementation method, noise reduction processing is performed on the acquired multimodal feature information.
[0016] As a further implementation method, the network node enumeration algorithm adopts the enumeration algorithm of Sharding technology.
[0017] As a further implementation method, the blockchain proof-of-stake consensus mechanism is used to build news and current affairs phrase discovery network nodes.
[0018] As a further implementation method, before the multi-dimensional feature vector is input into the classification layer, it is necessary to perform dimensionality reduction processing on the multi-dimensional feature vector.
[0019] As a further implementation method, perplexity is used as the model loss function to evaluate the iterative training results. Through continuous iterative training, the model parameters are optimized to ensure that the loss rate is no higher than the set value.
[0020] The second aspect of the present disclosure provides a news and current affairs phrase discovery system based on blockchain, comprising:
[0021] The model building and deployment module is configured to: build a news and political phrase discovery model and deploy it to network nodes built using a blockchain consensus mechanism;
[0022] The model training module is configured to: input the multimodal training data into the news and current affairs phrase discovery model to extract vector features, use the long short-term memory network to extract the sequence features of the vector features, obtain multimodal high-level vector features, splice the multimodal high-level vector features to obtain a multidimensional feature vector, input the multidimensional feature vector into the classification layer, output the probability of the category, and optimize the model parameters in combination with user feedback until the loss function converges;
[0023] The output module is configured to: filter out common current affairs phrases discovered by network nodes according to a network node enumeration algorithm.
[0024] The third aspect of the present disclosure provides a medium on which a program is stored. When the program is executed by a processor, the steps in the blockchain-based news and current affairs phrase discovery method described in the first aspect of the present disclosure are implemented.
[0025] The fourth aspect of the present disclosure provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in the blockchain-based news and political phrase discovery method described in the first aspect of the present disclosure are implemented.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] The present invention discloses a blockchain-based news and current affairs phrase discovery method and system, which improves the ability to discover new words and phrases by combining multimodal features such as text, images, and audio. The DQN algorithm is used for model training to improve the model's ability to learn and recognize new words and phrases. Blockchain technology is used to record all operations and modifications to ensure traceability. The immutability and transparency of blockchain technology can ensure that all operations and modifications are recorded, thereby improving the security and credibility of the system. It can effectively discover and identify current affairs phrases from multimodal data, and ensure the authenticity and reliability of the data through blockchain technology.
[0028] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings constituting a part of the present disclosure are used to provide a further understanding of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure.
[0030] Figure 1 This is a framework flow chart of the blockchain-based news and current affairs phrase discovery method disclosed in the present invention. DETAILED DESCRIPTION
[0031] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.
[0032] It should be noted that the following detailed descriptions are all illustrative and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.
[0033] In the absence of conflict, the embodiments in the present disclosure and the features in the embodiments may be combined with each other.
[0034] Embodiment 1
[0035] like Figure 1 As shown, the first embodiment of the present disclosure provides a method for discovering news and current affairs phrases based on blockchain, comprising the following steps:
[0036] S1 builds a news and political phrase discovery model and deploys it to network nodes built using the blockchain consensus mechanism;
[0037] S2 inputs the multimodal training data into the news and current affairs phrase discovery model to extract vector features, uses the long short-term memory network to extract the sequence features of the vector features, obtains multimodal high-level vector features, concatenates the multimodal high-level vector features to obtain a multidimensional feature vector, inputs the multidimensional feature vector into the classification layer, outputs the probability of the category, and optimizes the model parameters in combination with user feedback until the loss function converges;
[0038] S3 filters out common political phrases discovered by network nodes based on the network node enumeration algorithm.
[0039] First, multimodal feature extraction is performed on the acquired news content. Specifically:
[0040] Text feature extraction: Use the TF-IDF (Term Frequency-Inverse Document Frequency) algorithm to calculate the weight of news text to extract the main features of the text, while removing common words such as "news" and "report" that are considered unimportant, and retaining current affairs words with less frequency.
[0041] Image feature extraction: Use convolutional neural networks (CNNs) to extract features from news images. CNNs can effectively identify local features in images and extract deep features such as political labels related to images through multi-layer convolution and pooling operations, thus completing the record of political and political importance of images.
[0042] Audio feature extraction: The Mel-frequency cepstral coefficient (MFCC) method is used to extract features from news audio. The audio signal is converted into cepstral coefficients on the Mel-frequency scale, the corresponding pitch and volume are extracted, and the emotional weight is recorded.
[0043] Then, the obtained multimodal feature information is subjected to noise reduction processing. Specifically:
[0044] S21 uses a TF-IDF-based part-of-speech analysis algorithm to perform a preliminary screening of parts of speech, obtain part-of-speech descriptions, and perform weighted processing with the corresponding image features and audio features. The weighted processing formula is: Qn = Tn + Pn + Vn (new vocabulary weight = text new word weight + picture current affairs weight + audio weight). The purpose is to filter out some irrelevant information, such as stop words, punctuation marks, etc., retain words that may be useful for discovering news and current affairs phrases, and at the same time, add weights to possible new words based on the weights of pictures and audio to improve accuracy.
[0045] S22 performs part-of-speech analysis on the part-of-speech information obtained in S21, and removes invalid information such as adverbs, prepositions, conjunctions, auxiliary words, interjections, etc. These words usually do not carry important current political information, so they can be removed from the features to reduce noise.
[0046] S23 performs part-of-speech analysis on the part-of-speech information obtained in S22 to obtain valid words such as nouns and verbs. Nouns and verbs are the main parts of speech that constitute news and current affairs phrases, so these words need to be retained as the basis for subsequent analysis.
[0047] The construction and deployment of the news and current affairs phrase discovery model combines the convolutional network and recurrent layer neural network structure to build a news and current affairs phrase discovery model for news and current affairs phrase discovery. The news and current affairs phrase discovery model is divided into convolutional layer, recurrent layer, multimodal fusion layer and current affairs phrase classification layer.
[0048] The vectors of text, audio and video obtained in step S23 are input into the convolution layer, and the data of each modality is convolved to extract vector features. The obtained vector features are sent to the recurrent layer, and the long short-term memory network (LSTM) is used to extract its sequence features to obtain multimodal high-level vector features. The multimodal high-level vector features are multi-dimensionally spliced to obtain a 3D multi-dimensional feature vector, and the dimension is reduced through the fully connected layer to obtain a fused feature vector. The fused feature vector is sent to the classification layer to complete the recognition of news and current affairs phrases. The classification layer uses a softmax activation function to output the probability of each category.
[0049] The DQN (Deep Q-Network) algorithm is used to select the reinforcement learning mode for the news and current affairs phrase discovery model. The DQN algorithm is a value-based reinforcement learning algorithm that guides action selection by learning a value function. In the news and current affairs phrase discovery, the DQN algorithm can help the model learn how to select the best action in multimodal features to discover potential current affairs phrases.
[0050] Perplexity is used as the model loss function to evaluate the iterative training results. Through continuous iterative training, the model parameters are optimized to ensure that the loss rate is no higher than 0.2. Perplexity is an indicator to measure the uncertainty of the model. The lower the value, the smaller the uncertainty of the model, that is, the better the model fits the data. Through iterative training and parameter optimization, the performance and accuracy of the model can be improved.
[0051] The news and political phrase discovery model is deployed to the network nodes built using the blockchain consensus mechanism.
[0052] The blockchain equity proof consensus mechanism is used to build a news and current affairs phrase discovery network node, with a total of 3 trusted GPU nodes set up, and real-time news is input into the models of the three nodes respectively. The equity proof mechanism can ensure the honesty of the nodes and the stability of the network, while the computing power of the GPU nodes can ensure the efficient operation of the model.
[0053] The node credibility enumeration algorithm uses the enumeration algorithm of Sharding technology to implement node management and task allocation to ensure node credibility. Sharding technology is a technology that divides a database into multiple parts, each of which is processed by a different node to improve the scalability and efficiency of the system. In the blockchain network, Sharding technology can help implement node sharding management and task allocation to ensure that each node can process data efficiently.
[0054] Combined with user feedback, the model parameters are optimized until the loss function converges. Human-machine feedback reinforcement learning is used to ensure the accuracy of current affairs phrase discovery.
[0055] Design a user feedback interface to collect user feedback on the results of political phrase discovery and recognition. User feedback is an important basis for evaluating model performance. By collecting user feedback, the model's parameters and strategies can be adjusted in a timely manner to improve recognition accuracy. According to user feedback, adjust the reward and penalty mechanism in the DQN algorithm. At the same time, based on user feedback, it can be determined whether the political phrases recognized by the model are accurate and whether the model's behavior is recognized by users. Through reinforcement learning adjustment, the model's correct behavior in identifying political phrases can be enhanced and incorrect behavior can be reduced, thereby improving the accuracy and reliability of the model.
[0056] Based on user feedback, we optimized model parameters and improved phrase recognition accuracy. Through continuous iterative training and optimization, the model can better adapt to the characteristics of news and current affairs phrases and improve recognition accuracy and efficiency.
[0057] According to the network node enumeration algorithm, the common current affairs phrases discovered by the network nodes are screened out.
[0058] According to the three-node enumeration algorithm, the common political phrases found by the three nodes are screened out to ensure that the data is accurate and reliable. By comparing the recognition results of the three model nodes, common political phrases can be found, thereby improving the reliability of recognition. The enumeration algorithm can help systematically compare and screen these results to ensure that the final output political phrases are accurate and credible.
[0059] Embodiment 2
[0060] Embodiment 2 of the present disclosure provides a news and current affairs phrase discovery system based on blockchain, including:
[0061] The model building and deployment module is configured to: build a news and political phrase discovery model and deploy it to network nodes built using a blockchain consensus mechanism;
[0062] The model training module is configured to: input the multimodal training data into the news and current affairs phrase discovery model to extract vector features, use the long short-term memory network to extract the sequence features of the vector features, obtain multimodal high-level vector features, splice the multimodal high-level vector features to obtain a multidimensional feature vector, input the multidimensional feature vector into the classification layer, output the probability of the category, and optimize the model parameters in combination with user feedback until the loss function converges;
[0063] The output module is configured to: filter out common current affairs phrases discovered by network nodes according to a network node enumeration algorithm.
[0064] The more detailed steps are the same as those in the first embodiment and will not be repeated here.
[0065] Embodiment 3
[0066] Embodiment 3 of the present disclosure provides a medium on which a program is stored. When the program is executed by a processor, the steps in the method for discovering news and current affairs phrases based on blockchain as described in Embodiment 1 of the present disclosure are implemented.
[0067] The more detailed steps are the same as those in the first embodiment and will not be repeated here.
[0068] Embodiment 4
[0069] Embodiment 4 of the present disclosure provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in the method for discovering news and current affairs phrases based on blockchain as described in Embodiment 1 of the present disclosure are implemented.
[0070] The more detailed steps are the same as those in the first embodiment and will not be repeated here.
[0071] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A news and political phrase discovery method based on blockchain, characterized in that: The following steps are involved: Build a news and political phrase discovery model and deploy it to network nodes built using the blockchain consensus mechanism; Input the multimodal training data into the news and current affairs phrase discovery model to extract vector features, use the long short-term memory network to extract the sequence features of the vector features, obtain multimodal high-level vector features, splice the multimodal high-level vector features to obtain a multidimensional feature vector, input the multidimensional feature vector into the classification layer, output the category probability, and optimize the model parameters in combination with user feedback until the loss function converges; According to the network node enumeration algorithm, the common current affairs phrases discovered by the network nodes are screened out.
2. The method for discovering news and current affairs phrases based on blockchain as described in claim 1, characterized in that: Before inputting the multimodal training data into the news and current affairs phrase discovery model to extract vector features, the multimodal training data needs to be preprocessed, specifically: Use TF-IDF algorithm to extract features from news text; Use convolutional neural networks to extract features from news pictures; The Mel-frequency cepstral coefficient method is used to extract features from news audio.
3. The method for discovering news and current affairs phrases based on blockchain as described in claim 2, characterized in that: The acquired multimodal feature information is subjected to noise reduction processing.
4. The method for discovering news and current affairs phrases based on blockchain as described in claim 1, characterized in that: The network node enumeration algorithm adopts the enumeration algorithm of Sharding technology.
5. The method for discovering news and current affairs phrases based on blockchain as described in claim 1, characterized in that: The blockchain proof-of-stake consensus mechanism is used to build news and current affairs phrase discovery network nodes.
6. The method for discovering news and current affairs phrases based on blockchain as described in claim 1, characterized in that: Before inputting the multidimensional feature vector into the classification layer, the multidimensional feature vector needs to be reduced in dimensionality.
7. The method for discovering news and current affairs phrases based on blockchain as described in claim 1, characterized in that: Perplexity is used as the model loss function to evaluate the iterative training results. Through continuous iterative training, the model parameters are optimized to ensure that the loss rate is no higher than the set value.
8. The news and current affairs phrase discovery system based on blockchain is characterized by: include: The model building and deployment module is configured to: build a news and political phrase discovery model and deploy it to network nodes built using a blockchain consensus mechanism; The model training module is configured to: input the multimodal training data into the news and current affairs phrase discovery model to extract vector features, use the long short-term memory network to extract the sequence features of the vector features, obtain multimodal high-level vector features, splice the multimodal high-level vector features to obtain a multidimensional feature vector, input the multidimensional feature vector into the classification layer, output the probability of the category, and optimize the model parameters in combination with user feedback until the loss function converges; The output module is configured to: filter out common current affairs phrases discovered by network nodes according to a network node enumeration algorithm.
9. A medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps in the blockchain-based news and political phrase discovery method as described in any one of claims 1 to 7 are implemented.
10. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the blockchain-based news and political phrase discovery method are implemented as described in any one of claims 1-7.
Citation Information
Patent Citations
Short video recommendation method and system based on key frame recognition and audio textualization
CN110688526A
News classification method based on multi-modal feature fusion
CN115588122A
Multi-modal false news detection method and system
CN116340887A
Intelligent cataloging method for all-media news based on multi-modal information fusion understanding
US20220270369A1
Fake news detection method and apparatus, device, and storage medium
WO2023159755A1
