Information filtering method, device and terminal equipment

By using multiple neural networks to process and filter mixed types of data in the information filtering method, the problem that only a single type of data can be filtered in the existing technology is solved, and the effect of information filtering is improved.

CN112199564BActive Publication Date: 2024-09-24TCL TECHNOLOGY GROUP CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910614219.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-08
Publication Date
2024-09-24
Estimated Expiration
2039-07-08

AI Technical Summary

Technical Problem

Existing information filtering methods can only filter a single type of data and cannot effectively handle mixed types of data, resulting in poor filtering results.

Method used

The method of using a variety of neural networks in the neural network group is used to identify and filter the information to be processed. Information of different data types is processed through text, image and video recognition neural networks respectively, and filtered according to preset tags.

Benefits of technology

It achieves comprehensive identification and filtering of multiple data types of information, improves the effect of information filtering, and solves the problem in the existing technology that only a single type of data can be filtered.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112199564B
    Figure CN112199564B
Patent Text Reader

Abstract

The present application is applicable to the field of data processing technology, and provides an information filtering method, device and terminal device, the method comprising: obtaining information to be processed, the information to be processed comprising at least two types of information; identifying the data types included in the information to be processed, inputting the information of different data types in the information to be processed into the corresponding neural network in the neural network group for processing, and obtaining labels of the information of different data types in the information to be processed; filtering the information in the information to be processed whose label is a preset filtering label. The present application can solve the problem that the existing information filtering method can only filter a single type of data and the filtering effect is poor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to an information filtering method, device and terminal equipment. Background Art

[0002] With the development of science and technology, the Internet has entered thousands of households, and people can access and publish a variety of information on the Internet.

[0003] Among the vast amount of information on the Internet, some of it is bad information, which will affect people's online experience and the physical and mental health development of minors. In order to reduce this bad information, IT practitioners hope to filter it.

[0004] Current information filtering methods can often only identify and filter specific types of data, but since most of the information on the Internet is mixed type data, such as a combination of text and images, a combination of text and video, etc. If only specific types of data can be filtered, other types of data in the mixed type data cannot be identified and filtered, and the filtering effect is poor.

[0005] In summary, the existing information filtering methods can only filter a single type of bad data, and the filtering effect is poor. Summary of the invention

[0006] In view of this, the embodiments of the present application provide an information filtering method, apparatus and terminal device to solve the problem that the existing information filtering method can only filter a single type of data and has poor filtering effect.

[0007] A first aspect of an embodiment of the present application provides an information filtering method, including:

[0008] Acquire information to be processed, where the information to be processed includes at least two types of information;

[0009] Identify the data types included in the information to be processed, input information of different data types in the information to be processed into corresponding neural networks in the neural network group for processing, and obtain labels for information of different data types in the information to be processed;

[0010] Filter the information to be processed that has a tag that is a preset filtering tag.

[0011] A second aspect of an embodiment of the present application provides an information filtering device, including:

[0012] An information acquisition module, used to acquire information to be processed, wherein the information to be processed includes at least two types of information;

[0013] a label identification module, used to identify the data type included in the information to be processed, input the information of different data types in the information to be processed into the corresponding neural network in the neural network group for processing, and obtain labels for the information of different data types in the information to be processed;

[0014] The information filtering module is used to filter the information to be processed that has a label that is a preset filtering label.

[0015] A third aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0016] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0017] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0018] In the information filtering method of the present application, when the received information to be processed contains information of at least two data types, the data type included in the information to be processed can be identified, and the information of different data types in the information to be processed can be input into the corresponding neural network in the neural network group for processing. The neural network group contains multiple neural networks, and through the division of labor and cooperation of the multiple neural networks, information of multiple data types can be identified, and the information of various data types in the information to be processed can be comprehensively identified and filtered, which solves the problem that the existing information filtering method can only filter a single type of data and the filtering effect is poor. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 It is a schematic diagram of an implementation flow of an information filtering method provided in an embodiment of the present application;

[0021] Figure 2 is a schematic diagram of an information filtering device provided in an embodiment of the present application;

[0022] Figure 3 is a schematic diagram of a terminal device provided in an embodiment of the present application;

[0023] Figure 4 This is an application example diagram of the LSTM-Jump network provided in an embodiment of the present application;

[0024] Figure 5 is an example diagram of an application of a convolutional neural network provided in an embodiment of the present application;

[0025] Figure 6 This is an application example diagram of the 3D convolutional neural network provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0027] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0028] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0029] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0030] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0031] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0032] Embodiment 1:

[0033] The following is a description of an information filtering method provided in Example 1 of the present application. Figure 1 , the information filtering method in the first embodiment of the present application includes:

[0034] Step S101, obtaining information to be processed, wherein the information to be processed includes at least two types of information;

[0035] Obtain information to be processed. Since most of the information on the current network is mixed information, the information to be processed may include information of two or more data types. For example, the information to be processed may include information of two or more data types of text type, image type, and video type.

[0036] Step S102, identifying the data types included in the information to be processed, inputting information of different data types in the information to be processed into corresponding neural networks in the neural network group for processing, and obtaining labels for information of different data types in the information to be processed;

[0037] After the information to be processed is obtained, the data type contained in the information to be processed may be identified. For example, the data type may be identified based on the file suffix.

[0038] The information in the information to be processed is classified according to the data type, and the information of different data types in the information to be processed is input into the corresponding neural network in the neural network group for processing, and each neural network outputs the label of the information of the corresponding data type.

[0039] Step S103: Filter the information to be processed that is tagged with a preset filtering tag.

[0040] The label of the information to be processed may include non-preset filtering labels and preset filtering labels, and the information labeled with the preset filtering labels in the information to be processed is filtered. For example, the information to be processed includes text type information and image type information. If the label of the image type information is the preset filtering label, the image type information in the information to be processed is filtered.

[0041] The preset filtering label can be set according to actual needs. For example, the bad information label can be set as a preset filtering label.

[0042] Further, the identifying of the data types included in the information to be processed, inputting the information of different data types in the information to be processed into the corresponding neural network in the neural network group for processing, and obtaining the labels of the information of different data types in the information to be processed specifically includes:

[0043] A1. Identify the data type included in the information to be processed;

[0044] A2. When the information to be processed includes information of text type, inputting the information of text type into a text recognition neural network in the neural network group to obtain a label of the information of text type;

[0045] When the information to be processed contains text type information, the text type information can be input into the text recognition neural network in the neural network group to obtain the label of the text type information. The type of text recognition neural network can be selected according to actual needs. For example, one of the RNN network, LSTM network, and LSTM-Jump network can be selected as the text recognition neural network.

[0046] When the LSTM-Jump network is used as the text recognition neural network, the processing speed of the text recognition neural network on long texts can be improved, and because skipping words can filter a large amount of noise, the recognition accuracy of the LSTM-Jump network can be improved.

[0047] Users can set the hyperparameters of the LSTM-Jump network, such as the number of words R to read between each jump, the maximum number of words K allowed to be skipped, and the total number of jumps allowed N.

[0048] After building the framework of the LSTM-Jump network, the LSTM-Jump network is trained using training samples.

[0049] After training, you can use the LSTM-Jump network to identify text type information, embed the text type information into the LSTM-Jump network in the form of word vectors, and calculate based on the number of words R that need to be read between each jump as the starting value, such as Figure 4 Take the LSTM-Jump network in as an example, set the value of R to 2, then read in two words, "To" and "be", and pass them to the hidden layer, and then to the softmax layer, calculate the step to jump next time, for example, if the step is 3, then jump 3 steps and enter the next loop, continue to read in two words, "not" and "to", and repeat the above steps for propagation until the preset stop condition is met and the propagation ends. The preset stop condition can be that the total number of jumps exceeds the allowed total number of jumps N, or softmax outputs 0, indicating that the text has been read.

[0050] After the propagation is completed, the main trunk of the LSTM-Jump network will output the probability of the preset filter label corresponding to the text type data. The text judgment threshold can be set when judging the label. When the probability of the preset filter label output by the LSTM-Jump network is greater than or equal to the text judgment threshold, the label of the text type information is the preset filter label. The specific value of the text judgment threshold can be set according to the actual situation, for example, it can be set to 0.5, 0.6, 0.7, etc.

[0051] A3. When the information to be processed includes information of image type, inputting the information of image type into the image recognition neural network in the neural network group to obtain a label of the information of image type;

[0052] When the information to be processed contains information of image type, the information of image type can be input into the image recognition neural network in the neural network group to obtain a label of the information of image type.

[0053] The type of image recognition neural network can be selected according to actual needs. For example, a conventional convolutional neural network can be selected as the image recognition neural network.

[0054] When a conventional convolutional neural network is used as an image recognition neural network, image features can be extracted through convolutional layers, pooling layers, etc., and the classifier in the fully connected layer can be used to classify and output the probability of each label.

[0055] An image determination threshold can be set during label determination. When the probability of the label of bad information output by the conventional convolutional neural network is greater than or equal to the image determination threshold, the label of the information of this image type is bad information. The specific value of the image determination threshold can be set according to actual conditions, for example, it can be set to 0.5, 0.6, 0.7, etc.

[0056] When the image type information includes multiple images, the label of each image is identified separately.

[0057] A4. When the information to be processed includes information about the type of video, the information about the type of video is input into a video recognition neural network in the neural network group to obtain a label for the information about the type of video.

[0058] When the information to be processed includes information about the type of video, the information about the type of video can be input into the video recognition neural network in the neural network group to obtain a label for the information about the type of video. The type of the video recognition neural network can be selected according to actual needs.

[0059] Furthermore, when the information to be processed includes information of text type, inputting the information of text type into the text recognition neural network in the neural network group, and obtaining the label of the information of text type specifically includes:

[0060] B1. When the information to be processed includes text-type information, performing sentence segmentation and word segmentation processing on the text-type information;

[0061] When the information to be processed contains text-type information, the text-type information can be segmented to facilitate input of the text-type information into the text recognition neural network.

[0062] At the same time, if each recognition is performed on the entire text type of information, there may be over-filtering when filtering bad information. For example, there are only a few sensitive words in the article, but the entire article is directly filtered as bad information. Therefore, the text type information can be processed by sentence segmentation. For example, the article can be divided into multiple text sentences according to the period, and the information can be filtered in units of text sentences to reduce the occurrence of over-filtering.

[0063] B2. Input the text sentences after word segmentation processing into the text recognition neural network in the neural network group to obtain the labels of each text sentence in the information of the text type.

[0064] Thereafter, the text sentences after word segmentation processing can be input into the text recognition neural network in the neural network group to obtain the labels of each text sentence in the text type information, and the text sentences determined to be preset filter labels are filtered according to the labels.

[0065] The method of filtering text sentences can be selected according to actual conditions. For example, when displaying information of this text type, text sentences determined to be preset filtering tags can be replaced with masking characters.

[0066] Furthermore, when the information to be processed includes information of image type, inputting the information of image type into the image recognition neural network in the neural network group, and obtaining the label of the information of image type specifically includes:

[0067] C1. When the information to be processed includes information of an image type, inputting the information of the image type into a convolutional layer of a convolutional neural network in the neural network group to perform a first feature extraction process to obtain first feature information;

[0068] In some embodiments, a convolutional neural network may be used as an image recognition neural network, and the convolutional neural network may include a convolution layer, a pooling layer, a fully connected layer, a Softmax layer, and an output layer.

[0069] by Figure 5 Taking the convolutional neural network in as an example, when the information to be processed contains image type information, the image type information can be input into the convolutional layer of the convolutional neural network to perform first feature extraction to obtain first feature information.

[0070] C2. Inputting the first feature information into the pooling layer of the convolutional neural network for second feature extraction processing to obtain second feature information;

[0071] Then the first feature information is input into the pooling layer to extract the second feature to obtain the second feature information.

[0072] C3. Inputting the second feature information into the first fully connected layer of the convolutional neural network for first classification processing to obtain a first classification result;

[0073] The second feature information is input into the first fully connected layer to perform a first classification process to obtain a first classification result.

[0074] C4. Input the first classification result into the Softmax layer of the convolutional neural network for second classification processing to obtain the probability of the image type information corresponding to each label, and use the label with the largest probability as the label of the image type information.

[0075] The first classification result is input into the Softmax layer for the second classification processing. In some embodiments, only two labels can be set, label 0 represents a non-preset filtering label, and label 1 represents a preset filtering label. At this time, the Softmax layer is equivalent to performing a binary classification, and the probabilities of label 0 and label 1 are obtained and output to the outside of the convolutional neural network through the output layer. At this time, the label with the highest probability can be used as the label of the image type information. For example, the probability of label 1 is 0.6, which is greater than the probability of label 0 0.4. In this case, label 1 is used as the label of the image type information. At this time, the image type information is the information that needs to be filtered.

[0076] It should be understood that Figure 5 The convolutional neural network structure in the figure is only a schematic example. In actual application, other types of neural networks or convolutional neural networks with other structures can be selected as image recognition neural networks. The specific setting method can be selected according to actual needs.

[0077] The method of filtering the information of the image type may be selected according to the actual situation. For example, when displaying the information of the image type, the image determined to be a preset filtering label may be replaced by a blank image.

[0078] Furthermore, when the information to be processed includes information of video type, inputting the information of video type into the video recognition neural network in the neural network group, and obtaining the label of the information of video type specifically includes:

[0079] D1. When the information to be processed includes information of a video type, segment the information of the video type according to a preset frame number threshold to obtain at least one video segment;

[0080] When the information to be processed includes video-type information, in order to avoid the video being too large, the video-type information can be segmented according to a preset frame number threshold to obtain at least one video segment. For example, the preset frame number threshold can be set to 7 frames to divide the video-type information into multiple video segments of 7 frames or less.

[0081] D2. Input the video segment into the video recognition neural network in the neural network group to obtain the label of each video segment in the video type information.

[0082] The video segments are input into the video recognition neural network in the neural network group, labels of each video segment in the video type information are obtained, and video segments determined to be preset filtering labels are filtered according to the labels.

[0083] The method of filtering the video segments can be selected according to the actual situation. For example, when displaying the information of the video type, the video frame determined to be a preset filtering label can be replaced by a blank frame.

[0084] Furthermore, the video recognition neural network is specifically a 3D convolutional neural network, and when the information to be processed includes information about the video type, the video type information is input into the video recognition neural network in the neural network group, and the label of the video type information is obtained specifically including:

[0085] E1. When the information to be processed includes information of a video type, the video type information is input into a hard-wired layer of a 3D convolutional neural network in the neural network group for multi-channel feature extraction processing to obtain third feature information;

[0086] In some embodiments, a 3D convolutional neural network (3D CNN network) can be selected as a video recognition neural network. When a 3D CNN network is used as a video recognition neural network, the 3D CNN network adds the dimension of time to the network, giving the neural network the function of behavior recognition. Therefore, the 3D CNN network can be used to recognize behaviors in the video, for example, it can be used to recognize whether there is fighting in the video, thereby determining whether the video type information should be filtered.

[0087] by Figure 6 Taking the 3D CNN network in as an example, the 3D CNN network can include hard-wired layers, convolutional layers, downsampling layers and fully connected layers, where the number of convolutional layers and downsampling layers can be set according to actual needs. Figure 6 Three convolutional layers and two downsampling layers are set in the 3D CNN network.

[0088] Inputting the video type information into the hardwired layer, in some embodiments, the hardwired layer divides the video type information into five channels for parallel processing to obtain feature information of each channel, and combines the information output by all channels to obtain third feature information;

[0089] E2. Inputting the third feature information into the first 3D convolution layer of the 3D convolutional neural network to perform first 3D feature extraction processing to obtain fourth feature information, wherein the convolution kernel in the first 3D convolution layer is a 3D convolution kernel;

[0090] The third feature information output by the hard-wired layer is used as the input of the first 3D convolutional layer. The first 3D convolutional layer can use the 3D convolution kernel to perform the first 3D feature extraction process to obtain the fourth feature information. In order to increase the amount of feature information obtained by convolution, the first convolutional layer can use two different 3D convolution kernels for feature extraction.

[0091] E3. Input the fourth feature information into the first downsampling layer of the 3D convolutional neural network for first downsampling processing to obtain fifth feature information;

[0092] The fourth feature information output by the first 3D convolutional layer is used as the input of the first downsampling layer. The downsampling method of the first downsampling layer can be set according to actual needs. For example, the maximum pooling method can be selected for downsampling, and the first downsampling process is performed on the fourth feature information to obtain the fifth feature information.

[0093] E4. Input the fifth feature information into the second 3D convolution layer of the 3D convolutional neural network to perform second 3D feature extraction processing to obtain sixth feature information, wherein the convolution kernel in the second 3D convolution layer is a 3D convolution kernel;

[0094] The fifth feature information output by the first downsampling layer is used as the input of the second 3D convolution layer. The second 3D convolution layer can use three different 3D convolution kernels to perform a second 3D feature extraction process to obtain the sixth feature information, thereby further increasing the amount of feature information obtained by convolution.

[0095] E5. Input the sixth feature information into the second downsampling layer of the 3D convolutional neural network for second downsampling processing to obtain seventh feature information;

[0096] The sixth feature information output by the second 3D convolution layer is used as the input of the second down-sampling layer, and the second down-sampling layer performs a second down-sampling process on the sixth feature information output by the second 3D convolution layer to obtain the seventh feature information.

[0097] E6. Inputting the seventh feature information into the 2D convolution layer of the 3D convolutional neural network for 2D feature extraction processing to obtain eighth feature information, wherein the convolution kernel in the 2D convolution layer is a 2D convolution kernel;

[0098] The seventh feature information output by the second downsampling layer is used as the input of the 2D convolution layer. The 2D convolution layer can use a 2D convolution kernel to perform 2D feature extraction processing, and the seventh feature information output by the second downsampling layer is converted into a 1*1*N form, where N is the length of the feature information, to obtain the eighth feature information.

[0099] E7. Input the eighth feature information into the second fully connected layer of the 3D convolutional neural network for third classification processing to obtain the probability of the video type information corresponding to each label, and use the label with the highest probability as the label of the video type information.

[0100] The eighth feature information of the output of the 2D convolutional layer is used as the input of the second fully connected layer. The second fully connected layer fully connects all the feature information output by the 2D convolutional layer to obtain the feature information of the fully connected layer. The feature information of the fully connected layer is classified by a linear classifier to obtain the probability of each label corresponding to the video type information.

[0101] After the 3D CNN network outputs the probabilities of each label, the label with the highest probability is used as the label of the video type information.

[0102] Furthermore, the method further comprises:

[0103] F1. Save the information to be processed with the label of the preset filtering label into the sample information library;

[0104] In addition, after the label of the information to be processed is identified, the information to be processed with the label of the preset filtering label can be saved in the sample information library to enrich the training samples in the sample information library.

[0105] F2. When the preset training conditions are met, the neural network in the neural network group is retrained using the information in the sample information library.

[0106] When the preset training conditions are met, the neural networks in the neural network group can be retrained using the information in the sample information library.

[0107] The preset training condition can be set according to the actual situation, for example, it can be set to filtering bad information after a preset number of times, or it can be set to a preset time and other conditions. When the preset training condition is set to filtering bad information after a preset number of times, the preset number of times can be set according to the actual situation, for example, the preset number of times is set to 1, then the neural network is retrained after each filtering of information with a preset filter label.

[0108] By saving the to-be-processed information labeled with preset filter labels as training samples and a retraining mechanism of the neural network, the recognition accuracy and processing speed of the neural network can be improved.

[0109] In the information filtering method provided in the first embodiment of the present invention, when the received information to be processed contains information of at least two data types, the data types included in the information to be processed can be identified, and the information of different data types in the information to be processed can be input into the corresponding neural network in the neural network group for processing. The neural network group includes multiple neural networks, and through the division of labor and cooperation of the multiple neural networks, information of multiple data types can be identified, and the information of various data types that need to be filtered in the information to be processed can be comprehensively identified and filtered, thereby solving the problem that the existing information filtering method can only filter a single type of data and the filtering effect is poor.

[0110] When the information to be processed contains text-type information, the text-type information can be processed by sentence segmentation and word segmentation, and information filtering can be performed in units of text sentences to reduce the occurrence of over-filtering.

[0111] When the information to be processed contains video-type information, the video-type information can be segmented according to a preset frame number threshold, and information recognition is performed in units of video segments, which can improve processing speed and reduce the occurrence of over-filtering.

[0112] The information to be processed that is labeled as bad information can be saved in the sample information library as a training sample. When it meets the preset training conditions, the neural network can be retrained to improve the recognition accuracy and processing speed of the neural network.

[0113] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0114] Embodiment 2:

[0115] Embodiment 2 of the present application provides an information filtering device. For ease of description, only the parts related to the present application are shown. Figure 2 As shown, the information filtering device includes:

[0116] An information acquisition module 201 is used to acquire information to be processed, where the information to be processed includes at least two types of information;

[0117] A label identification module 202 is used to identify the data types included in the information to be processed, input the information of different data types in the information to be processed into the corresponding neural network in the neural network group for processing, and obtain labels for the information of different data types in the information to be processed;

[0118] The information filtering module 203 is used to filter the information to be processed that has a tag that is a preset filtering tag.

[0119] Furthermore, the tag identification module specifically includes:

[0120] A type submodule, used to identify the data type included in the information to be processed;

[0121] A text submodule, for inputting the information of the text type into a text recognition neural network in the neural network group to obtain a label of the information of the text type when the information to be processed includes information of the text type;

[0122] A picture submodule, for inputting the information of the image type into the image recognition neural network in the neural network group to obtain a label of the information of the image type when the information to be processed includes information of the image type;

[0123] The video submodule is used to input the video type information into the video recognition neural network in the neural network group when the information to be processed includes the video type information, so as to obtain the label of the video type information.

[0124] Furthermore, the text submodule specifically includes:

[0125] A processing submodule, for performing sentence segmentation and word segmentation on the information of text type when the information to be processed includes information of text type;

[0126] The recognition submodule is used to input the text sentences after word segmentation processing into the text recognition neural network in the neural network group to obtain the labels of each text sentence in the information of the text type.

[0127] Furthermore, the picture submodule specifically includes:

[0128] A first feature submodule is used for, when the information to be processed includes information of an image type, inputting the information of the image type into a convolutional layer of a convolutional neural network in the neural network group to perform a first feature extraction process to obtain first feature information;

[0129] A second feature submodule is used to input the first feature information into the pooling layer of the convolutional neural network for second feature extraction processing to obtain second feature information;

[0130] A first classification submodule, used for inputting the second feature information into the fully connected layer of the convolutional neural network to perform a first classification process to obtain a first classification result;

[0131] The second classification submodule is used to input the first classification result into the Softmax layer of the convolutional neural network for second classification processing, obtain the probability of the image type information corresponding to each label, and use the label with the largest probability as the label of the image type information.

[0132] Furthermore, the video submodule specifically includes:

[0133] A segmentation submodule, configured to, when the information to be processed includes information of a video type, segment the information of the video type according to a preset frame number threshold to obtain at least one video segment;

[0134] The label submodule is used to input the video segment into the video recognition neural network in the neural network group to obtain the label of each video segment in the video type information.

[0135] Furthermore, the video recognition neural network is specifically a 3D convolutional neural network, and the video submodule specifically includes:

[0136] a hardwired layer submodule, for inputting the video type information into the hardwired layer of the 3D convolutional neural network in the neural network group for multi-channel feature extraction processing to obtain third feature information when the information to be processed includes video type information;

[0137] A first convolution submodule, used for inputting the third feature information into the first 3D convolution layer of the 3D convolutional neural network to perform first 3D feature extraction processing to obtain fourth feature information, wherein the convolution kernel in the first 3D convolution layer is a 3D convolution kernel;

[0138] A first sampling submodule, used for inputting the fourth feature information into the first downsampling layer of the 3D convolutional neural network for first downsampling processing to obtain fifth feature information;

[0139] A second convolution submodule, used for inputting the fifth feature information into a second 3D convolution layer of the 3D convolutional neural network for second 3D feature extraction processing to obtain sixth feature information, wherein the convolution kernel in the second 3D convolution layer is a 3D convolution kernel;

[0140] A second sampling submodule, used for inputting the sixth feature information into the second downsampling layer of the 3D convolutional neural network for second downsampling processing to obtain seventh feature information;

[0141] A third convolution submodule, used for inputting the seventh feature information into the 2D convolution layer of the 3D convolutional neural network for 2D feature extraction processing to obtain eighth feature information, wherein the convolution kernel in the 2D convolution layer is a 2D convolution kernel;

[0142] The classification output submodule is used to input the eighth feature information into the second fully connected layer of the 3D convolutional neural network for third classification processing, obtain the probability of the video type information corresponding to each label, and use the label with the highest probability as the label of the video type information.

[0143] Furthermore, the device also includes:

[0144] A saving module, used for saving the to-be-processed information tagged with a preset filtering tag into a sample information library;

[0145] A retraining module is used to retrain the neural network in the neural network group using the information in the sample information library when a preset training condition is met.

[0146] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0147] Embodiment three:

[0148] Figure 3 Schematic diagram of the terminal device provided in the third embodiment of the present application. Figure 3 As shown, the terminal device 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30. When the processor 30 executes the computer program 32, the steps in the above-mentioned information filtering method embodiment are implemented, for example Figure 1 Alternatively, when the processor 30 executes the computer program 32, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 2 Functions of modules 201 to 203 are shown.

[0149] Exemplarily, the computer program 32 may be divided into one or more modules / units, which are stored in the memory 31 and executed by the processor 30 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into an information acquisition module, a tag identification module, and an information filtering module, and the specific functions of each module are as follows:

[0150] An information acquisition module, used to acquire information to be processed, wherein the information to be processed includes at least two types of information;

[0151] a label identification module, used to identify the data type included in the information to be processed, input the information of different data types in the information to be processed into the corresponding neural network in the neural network group for processing, and obtain labels for the information of different data types in the information to be processed;

[0152] The information filtering module is used to filter the information to be processed that has a label that is a preset filtering label.

[0153] The terminal device 3 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor 30 and a memory 31. Those skilled in the art will appreciate that Figure 3 It is only an example of the terminal device 3 and does not constitute a limitation on the terminal device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0154] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (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. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0155] The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used to store the computer program and other programs and data required by the terminal device. The memory 31 may also be used to temporarily store data that has been output or is to be output.

[0156] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0157] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0158] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0159] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0160] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0161] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0162] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0163] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. An information filtering method, characterized in that: include: Acquire information to be processed, where the information to be processed includes at least two types of information; Identify the data types included in the information to be processed, input information of different data types in the information to be processed into corresponding neural networks in the neural network group for processing, and obtain labels for information of different data types in the information to be processed; Filter the information to be processed that is tagged with a preset filtering tag; The identifying of the data types included in the information to be processed, inputting the information of different data types in the information to be processed into the corresponding neural network in the neural network group for processing, and obtaining labels of the information of different data types in the information to be processed, specifically includes: Identify the data type included in the information to be processed; When the information to be processed includes text-type information, performing sentence segmentation and word segmentation processing on the text-type information; The text sentences after word segmentation processing are input into the text recognition neural network in the neural network group to obtain the labels of each text sentence in the information of the text type; correspondingly, filtering the information labeled as a preset filtering label in the information to be processed includes: filtering the text sentences determined to be the preset filtering labels according to the labels of the each text sentence.

2. The information filtering method according to claim 1, characterized in that: The step of identifying the data type included in the information to be processed, inputting the information of different data types in the information to be processed into the corresponding neural network in the neural network group for processing, and obtaining the labels of the information of different data types in the information to be processed further specifically includes: Identify the data type included in the information to be processed; When the information to be processed includes information of an image type, inputting the information of the image type into an image recognition neural network in the neural network group to obtain a label of the information of the image type; When the information to be processed includes information about the type of video, the information about the type of video is input into a video recognition neural network in the neural network group to obtain a label for the information about the type of video.

3. The information filtering method according to claim 2, characterized in that: When the information to be processed includes information of image type, inputting the information of image type into the image recognition neural network in the neural network group, and obtaining the label of the information of image type specifically includes: When the information to be processed includes information of an image type, inputting the information of the image type into a convolutional layer of a convolutional neural network in the neural network group to perform a first feature extraction process to obtain first feature information; Inputting the first feature information into the pooling layer of the convolutional neural network to perform second feature extraction processing to obtain second feature information; Inputting the second feature information into the first fully connected layer of the convolutional neural network to perform a first classification process to obtain a first classification result; The first classification result is input into the Softmax layer of the convolutional neural network for second classification processing to obtain the probability of the image type information corresponding to each label, and the label with the largest probability is used as the label of the image type information.

4. The information filtering method according to claim 2, characterized in that: When the information to be processed includes information of video type, inputting the information of video type into the video recognition neural network in the neural network group, and obtaining the label of the information of video type specifically includes: When the information to be processed includes information of a video type, segmenting the information of the video type according to a preset frame number threshold to obtain at least one video segment; The video segments are input into the video recognition neural network in the neural network group to obtain labels of each video segment in the video type information.

5. The information filtering method according to claim 2, characterized in that: The video recognition neural network is specifically a 3D convolutional neural network. When the information to be processed includes information about the video type, inputting the information about the video type into the video recognition neural network in the neural network group, and obtaining a label for the information about the video type specifically includes: When the information to be processed includes information of a video type, the information of the video type is input into a hard-wired layer of a 3D convolutional neural network in the neural network group for multi-channel feature extraction processing to obtain third feature information; Inputting the third feature information into the first 3D convolution layer of the 3D convolutional neural network to perform first 3D feature extraction processing to obtain fourth feature information, wherein the convolution kernel in the first 3D convolution layer is a 3D convolution kernel; Inputting the fourth feature information into the first downsampling layer of the 3D convolutional neural network for first downsampling processing to obtain fifth feature information; Inputting the fifth feature information into the second 3D convolution layer of the 3D convolutional neural network for second 3D feature extraction processing to obtain sixth feature information, wherein the convolution kernel in the second 3D convolution layer is a 3D convolution kernel; Inputting the sixth feature information into the second downsampling layer of the 3D convolutional neural network for second downsampling processing to obtain seventh feature information; Inputting the seventh feature information into the 2D convolution layer of the 3D convolutional neural network for 2D feature extraction processing to obtain eighth feature information, wherein the convolution kernel in the 2D convolution layer is a 2D convolution kernel; The eighth feature information is input into the second fully connected layer of the 3D convolutional neural network for third classification processing to obtain the probability of the video type information corresponding to each label, and the label with the largest probability is used as the label of the video type information.

6. The information filtering method according to any one of claims 1 to 5, characterized in that: The method further comprises: The information to be processed, which is labeled as a preset filtering label, is saved in a sample information library; When the preset training conditions are met, the neural networks in the neural network group are retrained using the information in the sample information library.

7. An information filtering device, characterized in that: include: An information acquisition module, used to acquire information to be processed, wherein the information to be processed includes at least two types of information; a label identification module, used to identify the data type included in the information to be processed, input the information of different data types in the information to be processed into the corresponding neural network in the neural network group for processing, and obtain labels for the information of different data types in the information to be processed; An information filtering module, used to filter information tagged with a preset filtering tag in the information to be processed; The tag identification module specifically includes: A type submodule, used to identify the data type included in the information to be processed; A text submodule, used for performing sentence segmentation and word segmentation on the information of text type when the information to be processed includes information of text type; The recognition submodule is used to input the text sentences after word segmentation processing into the text recognition neural network in the neural network group to obtain the labels of each text sentence in the information of the text type; correspondingly, the information filtering module is used to filter the text sentences determined to be preset filter labels according to the labels of the each text sentence.

8. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.