An intelligent information interception method based on big data and neural network
Through the intelligent information interception method of big data and neural network, combined with the comprehensive judgment of word vectors and credit records, it solves the problems of missed interception and false interception of network links and third-party platform account information in the existing technology, and improves the accuracy of identification. performance and interception efficiency.
Patent Information
- Application Number
- CN202110103304.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-26
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-01-26
AI Technical Summary
It is difficult for the existing technology to effectively intercept information containing network links and third-party platform accounts, and there are phenomena of missed interception and mistaken interception.
Adopt an intelligent information interception method based on big data and neural networks, by obtaining the word vector of the information to be identified and inputting it into the neural network model for training, combined with big data analysis technology to obtain the probability of illegal keywords and illegal accounts, and combined with the credit record of the sender Make comprehensive judgments to reduce the probability of missed interceptions and false interceptions.
It improves the accuracy of identifying network links and third-party platform account information, reduces the probability of missing interceptions, simplifies the algorithm, speeds up data processing, improves the efficiency of intercepting information, and reduces the occurrence of false interceptions.
Smart Images

Figure CN112905989B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an information intelligent interception method based on big data and neural network. Background Art
[0002] With the continuous penetration of security issues such as network login and user identity authentication, the information industry has ushered in a period of recovery. In 2019, the national information business volume increased by 37.5% over the previous year, and the growth rate increased by 23.5 percentage points. The recovery of the information industry and the joint development of the Internet have led to the content and type of information no longer being a single form. Network links, third-party platform accounts, network terms and other content appear in the information text. Promotional information, Taobao orders, pyramid schemes and other forms are also emerging in an endless stream. Most of the current information interception uses keyword recognition and matching, information center blacklist matching and other technologies. Information containing network links and third-party platform accounts cannot be effectively intercepted, and there is a certain probability of missed interception. At the same time, some non-spam information containing spam-like keywords and some joke information will be mistakenly intercepted using current information interception technology.
[0003] In the prior art, the identity information of the sender of the information to be identified and the information text data are obtained; the keyword set is processed by word vector and input into the keyword model to obtain M labels, the matching degree between the keyword label and the preset label is calculated, and the label of the information is obtained according to the set threshold. The attribute of the information is obtained according to the label. For the information sender, the information is characterization information, such as name, number, address, etc. The information identification method can identify the information to be identified more carefully, that is, it can classify the information to be identified more carefully, and improve the classification accuracy by classifying it more carefully. However, there are still the following defects: information containing network links and third-party platform accounts is not effectively intercepted, only the name, number and address of the sender are obtained, and the number of times the sender sends information and the credit rating are not judged, resulting in the phenomenon of false interception. Summary of the invention
[0004] The present invention provides an intelligent information interception method based on big data and neural network, which aims to solve the problem in the prior art that a third-party platform account cannot effectively intercept the network links contained in the information or mistakenly intercepts the information.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] The present invention provides an intelligent information interception method based on big data and neural network, comprising the following steps:
[0007] Obtaining a first word vector of a first target content in the information to be identified, inputting the first word vector into a neural network model for training, and outputting a first confidence level of the first target content, including:
[0008] Performing semantic analysis on the information to be identified by using a regular expression to obtain a first word vector of a first target content in the information to be identified, where the first target content includes keywords, network links, and third-party platform accounts;
[0009] Presetting a second word vector for the second target content, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts, and inputting the first word vector and the second word vector into a neural network model;
[0010] performing summation and normalization processing on the first and second word vectors according to the neural network model, and outputting a first confidence level of the keyword, network link, and third-party platform account;
[0011] Obtaining a probability that the spam information contains a preset second target content, performing model training according to the probability and the first confidence level, and outputting a second confidence level of the information to be identified, including:
[0012] Using big data analysis technology to obtain the probability that the second target content is included in the spam information, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts;
[0013] Inputting the first confidence level and the probability into a neural network model for training to obtain a second confidence level of the information to be identified, wherein the second confidence level of the information to be identified includes a confidence level of whether the information to be identified is spam;
[0014] Obtain a past credit record of the communication method for sending the information to be identified, and determine whether to intercept the information to be identified based on the second confidence and the past credit record, wherein the past credit record includes the number of times spam information was sent in the past and its credit.
[0015] Regular expressions are used to perform semantic analysis on information texts to obtain semantic features such as keywords, network links, and word vectors of third-party platform accounts. The semantic features are trained through a multi-layer neural network model to quickly detect and determine whether the information is spam, thereby reducing the probability of missed interception. At the same time, big data is used to monitor the number of spam messages and the credibility of the communication method that sends the spam, and a comprehensive judgment is made to reduce the occurrence of false interceptions.
[0016] Preferably, obtaining a past credit record of the communication method for sending the information to be identified, and determining whether to intercept the information to be identified based on the second confidence and the past credit record, comprises:
[0017] Monitoring the communication method for sending the information to be identified according to big data monitoring technology to obtain past credit records of the communication method;
[0018] According to the preset confidence threshold, the number of spam message sending threshold and the credit level, the second confidence, the number of spam message sending and the credit level are compared to determine whether to intercept the information to be identified;
[0019] When the second confidence level of the information to be identified is greater than or equal to a set confidence threshold, the number of times spam information is sent is less than a set sending threshold and the credit level is less than a set level, or when the confidence level of whether the information to be identified is spam information is greater than a threshold and the number of times spam information is sent is greater than a set threshold, the information to be identified is intercepted.
[0020] An information intelligent interception device based on big data and neural network information intelligent interception method, comprising:
[0021] A word vector processing module, used to obtain a first word vector of a first target content in the information to be identified, input the first word vector into a neural network model for parallel training, and output a first confidence level of the first target content;
[0022] A second confidence acquisition module, used to obtain the probability that the spam information contains a preset second target content, perform model training according to the first confidence and the probability output by the word vector processing module, and output a second confidence of the information to be identified;
[0023] The information identification module is used to obtain the past credit record of the communication method for sending the information to be identified, and determine whether to intercept the information to be identified based on the second confidence output by the second confidence acquisition module and the past credit record.
[0024] Preferably, the word vector processing module includes:
[0025] A first word vector acquisition unit is used to perform semantic analysis on the information to be identified by using a regular expression to acquire a first word vector of a first target content in the information to be identified, where the first target content includes keywords, network links, and third-party platform accounts;
[0026] A second word vector acquisition unit is used to preset a second word vector of the second target content, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts, and input the second word vector and the first word vector acquired by the first word vector acquisition unit into a neural network model;
[0027] A model processing unit is used to sum and normalize the first and second word vectors according to the neural network model input by the second word vector acquisition unit, and output the first confidence of the keywords, network links, and third-party platform accounts.
[0028] Preferably, the second confidence acquisition module includes:
[0029] A probability acquisition unit, used to use big data analysis technology to acquire the probability that the second target content is included in the spam information, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts;
[0030] A model training unit is used to input the first confidence and the probability obtained by the probability acquisition unit into a neural network model for training, so as to obtain a second confidence of the information to be identified, wherein the second confidence of the information to be identified includes a confidence of whether the information to be identified is spam.
[0031] Preferably, the information identification module comprises:
[0032] A data monitoring unit, used to monitor the communication method for sending the information to be identified according to the big data monitoring technology, and obtain the number of times the communication method sends spam information within a specified time and its credit level;
[0033] an information judging unit, configured to judge whether the information to be identified is spam information by comparing the preset confidence threshold, the number of spam sending threshold and the credit level with the second confidence, the number of spam sending and the credit obtained by the data monitoring unit;
[0034] An information interception unit is used to intercept the information to be identified when the second confidence of the information to be identified is greater than or equal to a set confidence threshold, the number of times spam information is sent is less than a set sending number threshold and the credit level is less than a set level, or when the confidence of whether the information to be identified is spam information is greater than a threshold and the number of times spam information is sent is greater than a set threshold.
[0035] An electronic device comprises a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement an information intelligent interception method based on big data and neural network as described in any one of claims 1 to 2.
[0036] A computer-readable storage medium storing a computer program, wherein the computer program enables a computer to implement an intelligent information interception method based on big data and a neural network as described in any one of claims 1 to 2 when executed.
[0037] The present invention has the following beneficial effects:
[0038] Compared with information interception based on keyword recognition and information interception based on whitelist and blacklist, the present invention uses neural network to train semantic features such as word vectors in parallel to obtain the confidence of whether unrecognized keywords, network links, and third-party platform accounts are illegal, and uses neural network for secondary training in combination with the probability of big data analysis to obtain the confidence of whether the information is illegal. The overall structure of the multi-level neural network model is presented, which effectively identifies information containing network links and third-party platform accounts, reduces the probability of missed interception, simplifies the algorithm, speeds up data processing, and improves the efficiency of intercepting information. At the same time, big data is used to monitor the number of times the sender sends and the sender's credit, and a secondary judgment is made to reduce the occurrence of erroneous interception of some non-spam information containing spam-like keywords and some joke-like information. At the same time, for data processing using a multi-layer neural network model, multi-input and multi-data parallel processing can be performed, which speeds up data processing and judgment compared with traditional methods, improves interception efficiency, and enhances user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 This is a first flow chart of an intelligent information interception method based on big data and neural network implemented in an embodiment of the present invention;
[0040] Figure 2 This is a second flow chart of an intelligent information interception method based on big data and neural network implemented in an embodiment of the present invention;
[0041] Figure 3 This is a third flow chart of an information intelligent interception method based on big data and neural network implemented in an embodiment of the present invention;
[0042] Figure 4 This is a fourth flow chart of an intelligent information interception method based on big data and neural network implemented in an embodiment of the present invention;
[0043] Figure 5It is a specific implementation flow chart of an information intelligent interception method based on big data and neural network according to an embodiment of the present invention.
[0044] Figure 6 Schematic diagram of an intelligent information interception device for implementing an intelligent information interception method based on big data and neural network according to an embodiment of the present invention;
[0045] Figure 7 Schematic diagram of a word vector processing module of an information intelligent interception device implementing an information intelligent interception method based on big data and neural network according to an embodiment of the present invention;
[0046] Figure 8 It is a schematic diagram of a second confidence acquisition module of an information intelligent interception device for implementing an information intelligent interception method based on big data and neural network in an embodiment of the present invention;
[0047] Fig. 9 It is a schematic diagram of an information identification module of an information intelligent interception device for realizing an information intelligent interception method based on big data and neural network according to an embodiment of the present invention;
[0048] Fig.10 It is a schematic diagram of a specific implementation module of an information intelligent interception device for realizing an information intelligent interception method based on big data and neural network according to an embodiment of the present invention;
[0049] Fig.11 It is a schematic diagram of an electronic device that implements an intelligent information interception method based on big data and neural networks according to an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0051] Example 1
[0052] like Figure 1 As shown, a method for intelligent information interception based on big data and neural network includes the following steps:
[0053] S110. Obtain a first word vector of a first target content in the information to be identified, input the first word vector into a neural network model for parallel training, and output a first confidence level of the first target content;
[0054] S120. Obtaining the probability that the spam information contains a preset second target content, performing model training according to the probability and the first confidence level, and outputting a second confidence level of the information to be identified;
[0055] S130. Obtain the past credit record of the communication method for sending the information to be identified, and determine whether to intercept the information to be identified based on the second confidence level and the past credit record.
[0056] According to Example 1, the present invention uses regular expressions to perform semantic analysis on information texts, obtains semantic features such as keywords, network links, and word vectors of third-party platform accounts, trains the semantic features through a multi-layer neural network, and quickly detects and determines the confidence level of whether the information is spam, thereby reducing the probability of missed interception. At the same time, the communication method that sends the spam is combined with big data to monitor the number of times the spam is sent and the credit level, and a comprehensive judgment is made to reduce the occurrence of false interception.
[0057] Example 2
[0058] like Figure 2 As shown, an information intelligent interception method based on big data and neural network includes:
[0059] S210. Perform semantic analysis on the information to be identified using regular expressions to obtain a first word vector of a first target content in the information to be identified, where the first target content includes keywords, network links, and third-party platform accounts;
[0060] S220. Preset a second word vector for the second target content, where the second target content contains illegal keywords, illegal network links, and illegal third-party platform accounts, and input the first word vector and the second word vector into a neural network model;
[0061] S230. summing and normalizing the first and second word vectors according to the neural network model, and outputting the first confidence of the keyword, network link, and third-party platform account;
[0062] S240. Obtaining the probability that the spam information contains a preset second target content, performing model training according to the probability and the first confidence level, and outputting a second confidence level of the information to be identified;
[0063] S250. Obtain the past credit record of the communication method for sending the information to be identified, and determine whether to intercept the information to be identified based on the second confidence level and the past credit record.
[0064] According to Example 2, regular expressions are used to perform semantic analysis on unrecognized information text to obtain first word vectors of keywords, network links, and third-party platform accounts contained in the unrecognized text. Combined with the second word vectors of preset illegal keywords, illegal network links, and illegal third-party platform accounts, a neural network model is used for training to obtain a first confidence level of whether the keywords, network links, and third-party platform accounts contained in the unrecognized information are illegal, and the first confidence levels are classified and stored in three databases of illegal keywords, illegal network links, and illegal third-party platform accounts, thereby realizing the detection of network links, third-party platform accounts, etc. in the information and reducing the probability of missed interception of information containing network links and third-party platform accounts.
[0065] Example 3
[0066] like Figure 3 As shown, an information intelligent interception method based on big data and neural network includes:
[0067] S310. Obtain a first word vector of a first target content in the information to be identified, input the first word vector into a neural network model for parallel training, and output a first confidence level of the first target content;
[0068] S320. Using big data analysis technology to obtain the probability that the second target content is included in the spam information, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts;
[0069] S330. Input the first confidence level and the probability into a neural network model for training to obtain a second confidence level of the information to be identified, wherein the second confidence level of the information to be identified includes a confidence level of whether the information to be identified is spam;
[0070] S340. Obtain the past credit record of the communication method for sending the information to be identified, and determine whether to intercept the information to be identified based on the second confidence level and the past credit record.
[0071] According to Example 3, the probability of containing preset illegal keywords, illegal network links, and illegal third-party platform accounts in spam information is obtained by using big data analysis, and the confidence of whether the keywords, network links, and third-party platform accounts in the information to be identified are used as feature inputs. The confidence of whether the information is illegal is obtained through training of a neural network model, and the information containing network links and third-party platform accounts is effectively identified, the probability of missed interception is reduced, the algorithm is simplified, the data processing speed is accelerated, and the efficiency of intercepting information is improved.
[0072] Example 4
[0073] like Figure 4As shown, an information intelligent interception method based on big data and neural network includes:
[0074] S410. Obtain a first word vector of a first target content in the information to be identified, input the first word vector into a neural network model for parallel training, and output a first confidence level of the first target content;
[0075] S420. Obtaining the probability that the spam information contains a preset second target content, performing model training according to the probability and the first confidence level, and outputting a second confidence level of the information to be identified;
[0076] S430. Monitor the communication method for sending the information to be identified according to the big data monitoring technology, and obtain the past credit record of the communication method, wherein the past credit record includes the number of spam messages sent in the past and its credit rating;
[0077] S440. According to the preset confidence threshold, the number of spam message sending threshold and the credit level, and the second confidence, the number of spam message sending and the credit level are compared to determine whether to intercept the information to be identified;
[0078] S450. When the second confidence level of the information to be identified is greater than or equal to the set confidence level threshold, the number of times spam information is sent is less than the set sending number threshold and the credit level is less than the set level, or when the confidence level of whether the information to be identified is spam information is greater than the threshold and the number of times spam information is sent is greater than the set threshold, the information to be identified is intercepted.
[0079] According to Example 4, big data is used to monitor the number of times the communication method that sends the spam has sent spam in the past period of time, and at the same time, the credit of the communication method is obtained according to the operator's big data, and thresholds are set for the second confidence of the information and the number of times the spam is sent, and a grade label is set for the credit, and a comprehensive judgment is made according to relevant rules. When the confidence of whether the information is spam is greater than the set threshold and the number of times it is sent is less than the threshold, the credit grade is judged, and if it is less than or equal to the set label, it is intercepted, and if it is greater than the set label, it is not intercepted; when the number of times the spam is sent exceeds the set threshold and the information is spam, the information is directly intercepted; when the confidence of whether the information is spam is less than the set threshold, the number of times the number is sent and the number of credit are not judged, and the information is not intercepted. The number of times the spam is sent, the credit of the communication method and the second confidence of the information are combined to comprehensively judge whether the information is spam, which can avoid the erroneous interception of some spam-like and joke-like information.
[0080] Example 5
[0081] like Figure 5As shown, a specific implementation may be:
[0082] S510. Obtain a first word vector of a first target content in the information to be identified, where the first target content includes keywords, network links, and third-party platform accounts;
[0083] The information to be identified is semantically analyzed using regular expressions, and the specific process includes: segmenting the information text according to symbols, removing special symbols in the text, selecting key words according to part of speech and meaning, marking semantic features such as word vectors, emotional attitudes, and finally marking words and numbers using encoding forms such as heat coding and binary coding to express them as word vectors; if the information contains network links, the links are not segmented and expressed in the form of word vectors, but the word vectors of the network links are obtained by using word combination word vector marking, jump link pages are marked with word vectors according to page text, and the first word vector of the first target content in the information to be identified is obtained, and the first target content includes keywords, network links, and third-party platform accounts.
[0084] S520. Input the first word vector into the neural network model for parallel training;
[0085] Preset second word vectors for illegal keywords, illegal network links, and illegal third-party platform accounts, and input the first word vector and the second word vector into the neural network model together.
[0086] S530. Performing summation and normalization processing on the first and second word vectors according to the neural network model, and outputting a first confidence level of the first target content;
[0087] The first word vectors of the keywords to be identified, network links and third-party platform accounts and the second word vectors of the preset illegal keywords, illegal network links and illegal third-party platforms are used as input values and input into the neural network model. Using the full connection rule, the second word vector of the preset illegal keywords is used as the value of the prior probability, and the first word vector of the keywords to be identified is used as the value of the posterior probability. According to the conditional probability or Markov chain rule, learning and training are performed to obtain the corresponding values and pass them to the output. The summation and normalization processing are performed at the output layer to eliminate the singular data to obtain the final first confidence value. The corresponding rule uses the following formula:
[0088] Markov chain formula:
[0089] Conditional probability formula:
[0090] Normalization formula:
[0091] Output summation formula: .
[0092] S540. Obtain the probability that the spam information contains a preset second target content, input the probability and the first confidence into the confidence training model for processing, and output the second confidence of the information to be identified;
[0093] The probability of containing a preset second target content in spam information is obtained by using big data analysis technology, and the first confidence of whether the obtained keywords, network links, and third-party platform accounts are illegal is combined with the probability of illegal keywords, illegal network links, and illegal third-party platform accounts obtained by big data analysis to form a corresponding matrix vector as the input value of the neural network model. According to the rules described in S530 above, secondary training is performed to obtain the second confidence of whether the information is illegal, which constitutes a multi-level neural network model as a whole. At the same time, the neural network model for training keywords, network links, and third-party platform accounts adopts a parallel processing method, which can process data faster.
[0094] S550. Obtain the number of spam messages sent by the communication method that sends the information to be identified within a specified time and its credit rating;
[0095] Big data is used to monitor the number of times the communication method that sent the spam message has sent spam messages in the past period of time. At the same time, the credibility of the communication method is obtained based on the operator's big data, and the number of times the spam messages are sent and the credibility are stored in the corresponding database.
[0096] S560. Set thresholds for information confidence and spam sending times, set grade labels for credit, comprehensively judge whether the information to be identified is spam, and intercept if the information to be identified is spam.
[0097] The following table 1 describes the specific judgment rules:
[0098] Table 1. Judgment rules
[0099]
[0100] When the confidence level of whether a message is spam is greater than a set threshold and the number of times it is sent is less than the threshold, such as 3 times, the number credit level is judged. If it is less than or equal to the set label, such as level 2, it is intercepted. If it is greater than the set label, such as level 2, it is not intercepted. When the number of times a spam message is sent exceeds the set threshold and the message is spam, the message is directly intercepted. When the confidence level of whether a message is spam is less than the set threshold, the number of times it is sent and the number credit level are not judged, and the message is not intercepted.
[0101] Exemplarily, the method described in this scheme can be applied to the information interception and processing method involving third-party platform accounts. For example, when the information obtained is: [Zhangying Puhui] Verification: 86, see through the main force, grasp the rising wave, unite retail investors, and quit the group immediately if there are no two daily limit boards in a week. Add Q group: 513860219, and unsubscribe and return to T. First, regular expressions are used to segment words and remove special symbols between texts. Therefore, the text can be segmented into rising profits, HP, verification, 86, see through, main force, grasp, rising waves, unity, retail investors, one week, two, daily limit, immediately, can, quit group, add, Q group, 513860219, unsubscribe to T, and the key words are selected according to the part of speech and meaning, and semantic features such as word vectors and emotional attitudes are annotated; select rising profits, verification, 86, main force, rising waves, retail investors, daily limit, quit group, Q group, 513860219 and other words, use hot single coding, binary coding and other coding forms to annotate words and numbers, and express them as word vectors, such as:
[0102] Rising profit = [100000000]
[0103] Retail Investors = [000001000]
[0104] Daily limit = [000000100]
[0105] For the number 513860219, encode the numbers separately, for example, using binary encoding as follows:
[0106] 5=
[0101]
[0107] 1=
[0001]
[0108] 9=
[1001]
[0109] After annotating the text words and numbers with word vectors, a two-dimensional or multi-dimensional feature matrix is formed. The feature matrix composed of the second word vectors of preset illegal keywords and illegal third-party platform accounts is used as the input value for neural network model training. After training, the first confidence level of whether the information is illegal is obtained; then, the probability that the spam information obtained by big data analysis contains preset illegal keywords, illegal network links, and illegal third-party platform accounts is used as the conditional probability, and the confidence level obtained through training is combined with the neural network model for training to obtain the second confidence level of whether the information is illegal; finally, the data obtained through big data monitoring technology is combined to make an overall judgment based on the set rules to decide whether the information should be intercepted.
[0110] Example 6
[0111] like Figure 6 As shown, an information intelligent interception device based on big data and neural network information intelligent interception method comprises:
[0112] A word vector processing module 10 is used to obtain a first word vector of a first target content in the information to be identified, input the first word vector into a neural network model for parallel training, and output a first confidence level of the first target content;
[0113] A second confidence acquisition module 20 is used to obtain the probability that the spam information contains a preset second target content, perform model training according to the first confidence and the probability output by the word vector processing module 10, and output a second confidence of the information to be identified;
[0114] The information identification module 30 is used to obtain the past credit record of the communication method for sending the information to be identified, and determine whether to intercept the information to be identified based on the second confidence output by the second confidence acquisition module 20 and the past credit record.
[0115] One implementation of the above-mentioned device may be: a word vector processing module 10, which obtains a first word vector of a first target content in the information to be identified, inputs the first word vector into a neural network model for parallel training, and outputs a first confidence of the first target content; a second confidence acquisition module 20, which obtains the probability that the spam information contains a preset second target content, performs model training based on the first confidence and the probability output by the word vector processing module 10, and outputs a second confidence of the information to be identified; an information identification module 30, which obtains a past credit record of the communication method for sending the information to be identified, and determines whether to intercept the information to be identified based on the second confidence output by the second confidence acquisition module 20 and the past credit record.
[0116] Example 7
[0117] like Figure 7 As shown, a word vector processing module 10 of an information intelligent interception device of an information intelligent interception method based on big data and neural network includes:
[0118] A first word vector acquisition unit 12 is used to perform semantic analysis on the information to be identified using a regular expression to acquire a first word vector of a first target content in the information to be identified, where the first target content includes keywords, network links, and third-party platform accounts;
[0119] A second word vector acquisition unit 14 is used to preset a second word vector of the second target content, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts, and input the second word vector and the first word vector acquired by the first word vector acquisition unit 12 into a neural network model;
[0120] The model processing unit 16 is used to sum and normalize the first and second word vectors according to the neural network model input by the second word vector acquisition unit, and output the first confidence of the keywords, network links, and third-party platform accounts.
[0121] An implementation manner of the word vector processing module 10 of the above-mentioned device may be: a first word vector acquisition unit 12, which uses a regular expression to perform semantic analysis on the information to be identified, removes special symbols in the information to be identified, and obtains a first word vector of a first target content in the information to be identified, wherein the first target content includes keywords, network links, and third-party platform accounts; a second word vector acquisition unit 14, which presets a second word vector of the second target content, wherein the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts; the second word vector and the first word vector acquired by the first word vector acquisition unit 12 are input into a neural network model; a model processing unit 16, which sums and normalizes the first and second word vectors according to the neural network model input by the second word vector acquisition unit, and outputs a first confidence level of the keywords, network links, and third-party platform accounts.
[0122] Example 8
[0123] like Figure 8 As shown, a second confidence acquisition module 20 of an information intelligent interception device of an information intelligent interception method based on big data and neural network includes:
[0124] The probability acquisition unit 22 is used to use big data analysis technology to obtain the probability that the second target content is included in the spam information, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts;
[0125] The model training unit 24 is used to input the first confidence and the probability obtained by the probability acquisition unit 22 into the neural network model for training to obtain the second confidence of the information to be identified, and the second confidence of the information to be identified includes the confidence of whether the information to be identified is spam.
[0126] An implementation scheme of the second confidence acquisition module 20 of the above-mentioned device may be: a probability acquisition unit 22, which uses big data analysis technology to obtain the probability that the second target content is contained in the spam information, and the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts; a model training unit 24, which inputs the first confidence and the probability obtained by the probability acquisition unit 22 into a neural network model for training to obtain the second confidence of the information to be identified, and the second confidence of the information to be identified includes the confidence of whether the information to be identified is spam information.
[0127] Example 9
[0128] like Fig. 9 As shown, an information identification module 30 of an information intelligent interception device based on a method for intelligent information interception based on big data and neural network includes:
[0129] The data monitoring unit 32 is used to monitor the communication method for sending the information to be identified according to the big data monitoring technology, and obtain the past credit record of the communication method, wherein the past credit record includes the number of spam messages sent in the past and their credit level;
[0130] an information judging unit 34, configured to compare the preset confidence threshold, the number of spam sending threshold and the credit level with the second confidence, the number of spam sending and the credit obtained by the data monitoring unit 32, and judge whether to intercept the information to be identified;
[0131] The information interception unit 36 is used to intercept the information to be identified when the second confidence of the information to be identified is greater than or equal to the set confidence threshold, the number of times the spam information is sent is less than the set sending number threshold and the credit level is less than the set level, or when the confidence of whether the information to be identified is spam information is greater than the threshold and the number of times the spam information is sent is greater than the set threshold.
[0132] An implementation of the information identification module 30 of the above-mentioned device may be: a data monitoring unit 32, which monitors the communication method for sending the information to be identified according to the big data monitoring technology, and obtains the past credit record of the communication method, wherein the past credit record includes the number of times spam messages were sent in the past and its credit level; an information judgment unit 34, which compares the preset confidence threshold, the number of times spam messages were sent and the credit level with the second confidence, the number of times spam messages were sent and the credit level obtained by the data monitoring unit 32, to determine whether to intercept the information to be identified; an information interception unit 36, which intercepts the information to be identified when the second confidence of the information to be identified is greater than or equal to the set confidence threshold, the number of times spam messages are sent is less than the set number of times sending threshold and the credit level is less than the set level, or when the confidence of whether the information to be identified is spam is greater than the threshold and the number of times spam messages are sent is greater than the set threshold.
[0133] Example 10
[0134] like Fig.10 As shown, a specific implementation device may be:
[0135] The word vector acquisition module 1 uses regular expressions to perform semantic analysis on unrecognized information text to obtain the first word vector of the keywords, network links, and third-party platform accounts contained in the unrecognized text, and combines the second word vector of the preset illegal keywords, illegal network links, and illegal third-party platform accounts. The neural network model is used for training to obtain the first confidence of whether the keywords, network links, and third-party platform accounts contained in the unrecognized information are illegal, and the first confidence is stored in three databases of illegal keywords, illegal network links, and illegal third-party platform accounts to realize the detection of network links and third-party platform accounts in the information and reduce the probability of missed interception.
[0136] The word vector input module 2 presets the second word vectors of illegal keywords, illegal network links, and illegal third-party platform accounts, and inputs the first word vector and the second word vector into the neural network model together.
[0137] The first confidence acquisition module 3 takes the word vector of the keyword to be identified, the first word vector of the network link and the third-party platform account and the second word vector of the preset illegal keyword, illegal network link and illegal third-party platform as input values, and inputs them into the neural network model. By using the full connection rule, the second word vector of the preset illegal keyword is used as the value of the prior probability, and the first word vector of the keyword to be identified is used as the value of the posterior probability. According to the conditional probability or Markov chain rule, learning and training are performed to obtain the corresponding value and pass it to the output. The output layer is summed and normalized to eliminate the singular data to obtain the final first confidence value. The corresponding rule uses the following formula:
[0138] Markov chain formula:
[0139] Conditional probability formula:
[0140] Normalization formula:
[0141] Output summation formula:
[0142] The second confidence acquisition module 4 uses big data analysis technology to obtain the probability that the spam contains a preset second target content, and combines the first confidence of whether the keywords, network links, and third-party platform accounts are illegal with the probability of illegal keywords, illegal network connections, and illegal third-party platform accounts obtained by big data analysis to form a corresponding matrix vector as the input value of the neural network model. According to the rules described in the first confidence acquisition module 3 above, secondary training is performed to obtain the second confidence of whether the information is illegal, which constitutes a multi-level neural network model as a whole. At the same time, the neural network model for training keywords, network links, and third-party platform accounts adopts a parallel processing method, which can process data faster.
[0143] The data monitoring module 5 uses big data to monitor the number of times the communication method that sends the spam message has sent spam messages in the past period of time, and obtains the credibility of the communication method based on the operator's big data, and stores the number of times and the credibility in the corresponding database.
[0144] Information identification module 6, when the confidence level of whether the information is spam is greater than a set threshold and the number of times it is sent is less than a threshold such as 3 times, the number credit level is judged, if it is less than or equal to the set label such as level 2, it is intercepted, if it is greater than the set label such as level 2, it is not intercepted; when the number of times spam messages are sent exceeds the set threshold and the information is spam, the information is directly intercepted; when the confidence level of whether the information is spam is less than the set threshold, the number of times it is sent and the number credit level are not judged, and the information is not intercepted.
[0145] Exemplarily, the method described in this solution can be applied to the information interception processing method containing network links, for example, when the acquired information contains links, such as: [VIPSHOP] Thanksgiving Sale Day, you can enjoy a 20 yuan exclusive coupon, 30% off for big brands! JeepSPIPIT men's casual pants ¥99s.vip.com / 4j1Gyy Unsubscribe and return to TD. According to the regular expression, the word segmentation is performed to remove special symbols between the texts, so the text can be segmented into vipshop, gratitude, sale day, you, exclusive, 20, yuan, exclusive, gift certificate, big brand, 30% off, again, coupon, Jeep SPIPIT, men's, casual pants, ¥99, s.vip.com / 4j1Gyy, unsubscribe to TD, and the key words are selected according to the part of speech and word meaning, and the semantic features such as word vector and emotional attitude are annotated; vipshop, sale day, exclusive, yuan, exclusive, gift certificate, 30% off, coupon, ¥99, s.vip.com / 4j1Gyy and other words are selected, and the words and numbers are annotated using encoding forms such as hot unique encoding and binary encoding, which are expressed as word vectors, such as:
[0146] Vipshop = [100000000]
[0147] Sale day = [010000000]
[0148] Coupon = [000000010]
[0149] Because the information text contains long links and short links, the links are not segmented and represented in the form of word vectors. Instead, word combination word vector annotation is used, and jump link pages are represented by word vectors based on page text. For s.vip.com / 4j1Gyy included in the information, it can be divided into 4 word groups and represented by word vectors based on 26 English words using hot single encoding, binary encoding, etc.
[0150] Table 2 below describes the specific expression method of VIP in this link:
[0151] Table 2. Binary encoding of vip
[0152]
[0153] After representing the semantic features of each word group in the link by word vectors and other semantic features, a two-dimensional or multi-dimensional feature matrix composed of text words and a feature matrix composed of a second word vector of preset illegal keywords and illegal third-party platform accounts are used as input values for neural network model training. After training, a first confidence level of whether it is illegal is obtained. If a jump link is used to enter the page, the information text words can be annotated when judging according to the page text, and the relevant word vectors of the link are obtained for the next step of training; then, the probability that the spam information obtained by big data analysis contains preset illegal keywords, illegal network links, and illegal third-party platform accounts is used as the conditional probability, and the confidence level obtained through training is combined with the neural network model for training to obtain a second confidence level of whether the information is illegal, and the second confidence level is obtained, and the information is passed to the next module. Finally, combined with the data from the data monitoring module 5, an overall judgment is made according to the set rules to decide whether the information is intercepted.
[0154] Embodiment 11
[0155] like Fig.11 As shown, an electronic device includes a memory 1101 and a processor 1102, wherein the memory 1101 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 1102 to implement the above-mentioned information intelligent interception method based on big data and neural network.
[0156] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0157] A computer-readable storage medium storing a computer program, wherein the computer program enables a computer to implement the above-mentioned intelligent information interception method based on big data and neural network when executed.
[0158] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 1101, and executed by the processor 1102 to complete the present invention. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in a computer device.
[0159] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may include, but is not limited to, a memory 1101 and a processor 1102. Those skilled in the art will appreciate that this embodiment is merely an example of a computer device and does not constitute a limitation on the computer device, and may include more or fewer components, or a combination of certain components, or different components. For example, the computer device may also include an input / output device, a network access device, a bus, etc.
[0160] The processor 1102 may be a central processing unit (CPU), or other general-purpose processors 1102, digital signal processors 1102 (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor 1102 may be a microprocessor 1102 or the processor 1102 may be any conventional processor 1102, etc.
[0161] The memory 1101 may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. The memory 1101 may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the computer device. Further, the memory 1101 may also include both an internal storage unit of the computer device and an external storage device. The memory 1101 is used to store computer programs and other programs and data required by the computer device. The memory 1101 may also be used to temporarily store data that has been output or is to be output.
[0162] The above description is only a specific embodiment of the present invention, but the technical features of the present invention are not limited thereto. Any changes or modifications made by any technician in the field of the present invention are included in the patent scope of the present invention.
Claims
1. An intelligent information interception method based on big data and neural network, characterized in that: The steps include: Obtaining a first word vector of a first target content in the information to be identified, inputting the first word vector into a neural network model for training, and outputting a first confidence level of the first target content, including: Performing semantic analysis on the information to be identified by using a regular expression to obtain a first word vector of a first target content in the information to be identified, where the first target content includes keywords, network links, and third-party platform accounts; Presetting a second word vector for the second target content, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts, and inputting the first word vector and the second word vector into a neural network model; performing summation and normalization processing on the first and second word vectors according to the neural network model, and outputting a first confidence level of the keyword, network link, and third-party platform account; Obtaining a probability that the spam information contains a preset second target content, performing model training according to the probability and the first confidence level, and outputting a second confidence level of the information to be identified, including: Using big data analysis technology to obtain the probability that the spam contains the preset second target content, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts; Inputting the first confidence level and the probability into a neural network model for training to obtain a second confidence level of the information to be identified, wherein the second confidence level of the information to be identified includes a confidence level of whether the information to be identified is spam; Obtain a past credit record of the communication method for sending the information to be identified, and determine whether to intercept the information to be identified based on the second confidence and the past credit record, wherein the past credit record includes the number of times spam information was sent in the past and its credit.
2. According to claim 1, the method for intelligent information interception based on big data and neural network is characterized in that: Acquiring a past credit record of the communication method for sending the information to be identified, and determining whether to intercept the information to be identified based on the second confidence level and the past credit record, including: Monitoring the communication method for sending the information to be identified according to big data monitoring technology to obtain past credit records of the communication method; According to the preset confidence threshold, the number of spam message sending threshold and the credit level, the second confidence, the number of spam message sending and the credit level are compared to determine whether to intercept the information to be identified; When the second confidence of the information to be identified is greater than or equal to the set confidence threshold, the number of times spam is sent is less than the set sending threshold and the credit level is less than the set level, or when the second confidence of the information to be identified is greater than the threshold and the number of times spam is sent is greater than the set threshold, the information to be identified is intercepted.
3. An intelligent information interception device based on big data and neural network intelligent information interception method, characterized in that: include: A word vector processing module, used to obtain a first word vector of a first target content in the information to be identified, input the first word vector into a neural network model for training, and output a first confidence level of the first target content; A second confidence acquisition module, used to obtain the probability that the spam information contains a preset second target content, perform model training according to the first confidence and the probability output by the word vector processing module, and output a second confidence of the information to be identified; The information identification module is used to obtain the past credit record of the communication method for sending the information to be identified, and determine whether to intercept the information to be identified based on the second confidence output by the second confidence acquisition module and the past credit record.
4. According to claim 3, the intelligent information interception device of the intelligent information interception method based on big data and neural network is characterized in that: The word vector processing module includes: A first word vector acquisition unit is used to perform semantic analysis on the information to be identified by using a regular expression to acquire a first word vector of a first target content in the information to be identified, where the first target content includes keywords, network links, and third-party platform accounts; A second word vector acquisition unit is used to preset a second word vector of the second target content, where the second target content includes illegal keywords, illegal network links, and illegal third-party platform accounts, and input the second word vector and the first word vector acquired by the first word vector acquisition unit into a neural network model; A model processing unit is used to sum and normalize the first and second word vectors according to the neural network model input by the second word vector acquisition unit, and output the first confidence of the keywords, network links, and third-party platform accounts.
5. According to claim 3, the intelligent information interception device of the intelligent information interception method based on big data and neural network is characterized in that: The second confidence acquisition module includes: A probability acquisition unit, used for acquiring the probability of the junk information containing the preset second target content by using big data analysis technology, wherein the second target content contains illegal keywords, illegal network links, and illegal third-party platform accounts; A model training unit is used to input the first confidence and the probability obtained by the probability acquisition unit into a neural network model for training, so as to obtain a second confidence of the information to be identified, wherein the second confidence of the information to be identified includes a confidence of whether the information to be identified is spam.
6. The intelligent information interception device according to claim 3, characterized in that: The information identification module comprises: A data monitoring unit, used to monitor the communication method for sending the information to be identified according to the big data monitoring technology, and obtain the past credit record of the communication method, wherein the past credit record includes the number of times the spam information was sent in the past and its credit level; an information judging unit, judging whether to intercept the information to be identified according to a preset confidence threshold, a threshold of the number of spam messages sent, and a credit level, and comparing the second confidence, the number of spam messages sent, and the credit level obtained by the data monitoring unit; An information interception unit is used to intercept the information to be identified when the second confidence of the information to be identified is greater than or equal to a set confidence threshold, the number of times spam information is sent is less than a set sending number threshold and the credit level is less than a set level, or when the confidence of whether the information to be identified is spam information is greater than a threshold and the number of times spam information is sent is greater than a set threshold.
7. An electronic device, characterized in that: It includes a memory and a processor, the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement an information intelligent interception method based on big data and neural network as described in any one of claims 1 to 2.
8. A computer-readable storage medium storing a computer program, characterized in that: The computer program enables the computer to implement an intelligent information interception method based on big data and neural network as described in any one of claims 1 to 2 when executed.
Citation Information
Patent Citations
Method and device for classifying short messages, communication terminal and server
CN105516499A
Method and system for detecting harassment short messages, mobile terminal and server
CN107135314A
Identification method, device and server for spam short messages
CN107835496A
A junk short message discrimination method based on an improved CNN-LSTM
CN109743732A
Method, device and equipment for recognizing keywords in interview video and storage medium
CN110619035A
