Multi-modal data detection method applied to database security

Through multi-modal data detection methods, combined with OCR, speech recognition and NLP technology, the problem of screening confidential information in the database is solved, efficient screening and classification of data in the database is achieved, and database security is enhanced.

CN118585677APending Publication Date: 2024-09-03INFORMATION & COMM BRANCH OF STATE GRID JIANGSU ELECTRIC POWER

Patent Information

Application Number
CN202410625819.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In a huge and complex database, how to efficiently filter and classify security information has become a difficult problem. The existing technology mainly relies on a single text data to obtain feature information, and lacks comprehensive detection capabilities for confidential information.

Method used

Using multi-modal data detection methods, combined with OCR text recognition, speech recognition and NLP natural language processing technology, through multi-layer index tree and feature coding fusion, multi-modal fusion analysis is constructed to achieve comprehensive retrieval and extraction of data in the database. Improve detection efficiency and accuracy.

Benefits of technology

Through the comprehensive collection and detection of multi-modal data sets, the screening and classification capabilities of confidential information are enhanced, and the security of the database and the efficiency of information detection are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585677A
    Figure CN118585677A
Patent Text Reader

Abstract

The invention belongs to the technical field of data detection, and particularly relates to a multi-modal data detection method applied to database security, which comprises the following steps: determining data tendency in a database, and constructing multi-modal fusion analysis data according to the data tendency; acquiring a data resource file of the database, and performing amplification based on the original multi-modal data to obtain a multi-modal data set; encoding the original multi-modal data set to obtain an original data feature code; according to the scheme, the data in the database is screened and detected through the multi-modal data set, the previous method that feature information can only be obtained from single text data is changed, the scheme of integrating OCR text recognition, speech recognition and NLP natural language comprehensive sampling is adopted, all texts, images and languages are comprehensively collected and detected, and the accuracy of the detection result is improved. Important secret-related information is screened and classified; by detecting and screening the information in the database, the capability of classifying common information is improved, and the security of the database is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data detection, and in particular to a multimodal data detection method applied to database security. Background Art

[0002] A database is a "warehouse that organizes, stores, and manages data according to data structures." It is a collection of large amounts of data that is stored in a computer for a long time, organized, shareable, and uniformly managed. Currently, in the use of databases in enterprises, general R&D personnel generally use common database management tools to connect and use them.

[0003] However, the data system in the database is complex and the data volume is huge. Most of the data is ordinary daily data, but these data are often mixed with some specific data with confidential information. How to find and classify security information in the complex database has become a top priority. For this reason, we propose a multimodal data detection method for database security. Summary of the invention

[0004] The purpose of the present invention is to provide a multimodal data detection method for database security to solve the problems raised in the above background technology.

[0005] To achieve the above-mentioned object, the present invention provides the following technical solutions: a multimodal data detection method applied to database security, determining the data tendency in the database, and constructing multimodal fusion analysis data according to the data tendency;

[0006] Obtain the data resource file of the database, and amplify it based on the original multimodal data to obtain a multimodal data set;

[0007] Encode the original multimodal data set to obtain the original data feature encoding;

[0008] Amplifying the retrieval feature to obtain a feature data set; encoding the feature data set to obtain a retrieval feature code;

[0009] The original data feature coding and the retrieval feature coding are integrated to obtain the correlation feature, and the connection between the data is constructed through the correlation feature, and the original data in the database is comprehensively retrieved and extracted;

[0010] The database is provided with a search engine, which extracts features through OCR text recognition, speech recognition and NLP natural language processing technology; the search engine includes a multi-layer index tree, and each layer of the index tree corresponds to a specific search feature code, and the target vector is obtained according to the search feature code;

[0011] Output the target vector into characters that can be recognized by the computer, compare and classify the individual characters with the retrieval feature code, determine the characters that meet the retrieval feature code with the highest probability as a match, merge and export the matching data to obtain the final result data, and export the result data as text information.

[0012] Preferably, the OCR text recognition method is: obtaining image information in a database, extracting image features in the image information using a Swin-Transformer Encoder model and performing sequence modeling to obtain serialized data; and using a Transformer Decoder model to decode and predict the serialized data.

[0013] Preferably, the feature map is divided into slices of multiple sizes, and the self-attention weight matrix of each window is calculated respectively, the features between different windows are fused, and the fused data is continuously iterated. When the fused data reaches the index value of the maximum probability, it is matched with the feature coding used, and the data corresponding to the feature coding is exported, and then the final serialized result data is output.

[0014] Preferably, the speech recognition method: obtains speech information in a database, converts the speech information into a speech signal that can be recognized by a computer, and uses a speech analysis model to identify the speech signal; the speech recognition subject is a speech analysis model, and the speech analysis model is a Swin-Transformer Encoder model. Similarly, the features in the speech information are sequence modeled to obtain serialized data; the Transformer Decoder model is used to decode and predict the serialized data, and the decoding prediction result is converted into recognizable semantic information.

[0015] Preferably, the speech analysis model includes a speech analysis unit, an information extraction unit and a speech feature comparison unit. The speech analysis unit is used to parse semantic information into text information; the text information is split into multiple phrases in the speech analysis unit, and then the confidence of the multiple phrases is evaluated respectively and useless phrases are filtered out, and then the attribute information of the speech file corresponding to the retrieval feature code is called out; the information extraction unit is used to extract the feature word information in the attribute information; the speech feature comparison unit is used to compare the speech features with the retrieval feature code.

[0016] Preferably, the NLP natural language processing method: obtains natural text information in a database, processes it using optical character recognition technology to generate natural language data, iteratively trains the natural language data, and obtains target natural language data.

[0017] Preferably, during iterative training, the correlation between text information and text information intention recognition are extracted, and the neural network is imported for training, and then exported as a BERT model, and each lexical semantic word vector extracted from the original data based on the BERT model is used as the first natural language data; the first natural language data is then subjected to dimensionality reduction processing to obtain the second natural language data after dimensionality reduction; the two natural language data are clustered using the K-means algorithm to obtain text topic classification data; the text subject classification data is used as the target vector;

[0018] Preferably, the jieba toolkit is used to perform word segmentation operations on the remaining text content to obtain the text results to be recognized, and the text data to be recognized is re-imported into the BERT model, and target training is performed again after dimensionality reduction.

[0019] Compared with the prior art, the present invention has the following beneficial effects:

[0020] This solution uses multimodal data sets to screen and detect data in the database, changing the previous method of only obtaining feature information from single text data. It adopts a comprehensive OCR text recognition, speech recognition and NLP natural language comprehensive sampling solution to comprehensively collect and detect all texts, images and languages, and screen and classify important confidential information; continuously integrate relevant data through training models to improve the efficiency and accuracy of subsequent data detection; and increase the classification ability of ordinary information and enhance the security of the database by detecting and screening information in the database. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a logic block diagram of the present invention. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] In the description of the present invention, it is necessary to understand that the terms "upper", "lower", "front", "back", "left", "right", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0024] Example:

[0025] See also Figure 1 ,The present invention provides a technical solution of a multimodal data detection method applied to database security: determining the data tendency in the database, and constructing multimodal fusion analysis data according to the data tendency;

[0026] Obtain the data resource file of the database, and amplify it based on the original multimodal data to obtain a multimodal data set;

[0027] Encode the original multimodal data set to obtain the original data feature encoding;

[0028] Amplifying the retrieval feature to obtain a feature data set; encoding the feature data set to obtain a retrieval feature code;

[0029] The original data feature coding and the retrieval feature coding are integrated to obtain the correlation feature, and the connection between the data is constructed through the correlation feature, and the original data in the database is comprehensively retrieved and extracted;

[0030] The database is equipped with a search engine that extracts features through OCR text recognition, speech recognition and NLP natural language processing technology; the search engine includes a multi-layer index tree, and each layer of the index tree corresponds to a specific search feature code;

[0031] The OCR text recognition method is as follows: obtaining image information from a database, extracting image features from the image information using the Swin-Transformer Encoder model and performing sequence modeling to obtain serialized data; and using the TransformerDecoder model to decode and predict the serialized data.

[0032] The feature map is divided into slices of multiple sizes, and the self-attention weight matrix of each window is calculated respectively. The features between different windows are fused, and the fused data is continuously iterated. When the fused data reaches the index value of the maximum probability, it is matched with the feature code used, and the data corresponding to the feature code is exported, and then the final serialized result data is output;

[0033] Speech recognition method: obtain speech information in the database, convert the speech information into speech signals that can be recognized by the computer, and use the speech analysis model to identify the speech signals; the speech recognition subject is the speech analysis model, and the speech analysis model is the Swin-Transformer Encoder model. Similarly, the features in the speech information are sequence modeled to obtain serialized data; the Transformer Decoder model is used to decode and predict the serialized data, and the decoding prediction results are converted into recognizable semantic information;

[0034] The speech analysis model includes a speech analysis unit, an information extraction unit and a speech feature comparison unit. The speech analysis unit is used to analyze semantic information into text information; the text information is divided into multiple phrases in the speech analysis unit, and then the confidence of the multiple phrases is evaluated respectively and useless phrases are filtered out, and then the attribute information of the speech file corresponding to the retrieval feature code is retrieved; the information extraction unit is used to extract the feature word information in the attribute information; the speech feature comparison unit is used to compare the speech feature with the retrieval feature code;

[0035] NLP natural language processing method: obtain natural text information in the database, process it using optical character recognition technology, generate natural language data, iteratively train the natural language data, and obtain target natural language data;

[0036] During iterative training, the correlation between text information and text information intention recognition are extracted, and the neural network is imported for training, and then exported as a BERT model. The word vectors of each lexical semantic extracted from the original data based on the BERT model are used as the first natural language data; the first natural language data is then subjected to dimensionality reduction processing to obtain the second natural language data after dimensionality reduction; the two natural language data are clustered using the K-means algorithm to obtain text topic classification data; the text subject classification data is used as the target vector;

[0037] Use the jieba toolkit to perform word segmentation on the remaining text content to obtain the text results to be recognized, re-import the text data to be recognized into the BERT model, and perform target training again after dimensionality reduction;

[0038] Output the target vector into characters that can be recognized by the computer, compare and classify the individual characters with the search feature code, determine the characters that match the search feature code with the highest probability as matching, merge and export the matching data to obtain the final result data, and export the result data as text information;

[0039] The result data corresponds to specific security information in the database, and the result information is classified into levels, such as "secret", "top secret", and "not public";

[0040] A separate shielding area is constructed in the database, and the shielding area is divided into several levels, and the shielding area level corresponds to the result data security level one by one, and is encrypted by a separate login key; the result data can be stored in the shielding area.

[0041] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention; therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is limited by the attached claims rather than the above description. Therefore, it is intended to include all changes within the meaning and scope of the equivalent elements of the claims in the present invention, and any figure marks in the claims should not be regarded as limiting the claims involved.

[0042] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A multimodal data detection method for database security, characterized in that: Determine the data tendency in the database and construct multimodal fusion analysis data based on the data tendency; Obtain the data resource file of the database, and amplify it based on the original multimodal data to obtain a multimodal data set; Encode the original multimodal data set to obtain the original data feature encoding; Amplify the retrieval features to obtain a feature data set; Encode the feature data set to obtain the retrieval feature code; The original data feature coding and the retrieval feature coding are integrated to obtain the correlation feature, and the connection between the data is constructed through the correlation feature, and the original data in the database is comprehensively retrieved and extracted; The database is provided with a search engine, which extracts features through OCR text recognition, speech recognition and NLP natural language processing technology; the search engine includes a multi-layer index tree, and each layer of the index tree corresponds to a specific search feature code, and the target vector is obtained according to the search feature code; Output the target vector into characters that can be recognized by the computer, compare and classify the individual characters with the retrieval feature code, determine the characters that meet the retrieval feature code with the highest probability as a match, merge and export the matching data to obtain the final result data, and export the result data as text information.

2. A multimodal data detection method for database security according to claim 1, characterized in that: The OCR text recognition method is as follows: obtain the image information in the database, use the Swin-Transformer Encoder model to extract the image features in the image information and perform sequence modeling to obtain serialized data; and use the Transformer Decoder model to decode and predict the serialized data.

3. A multimodal data detection method for database security according to claim 2, characterized in that: The feature map is divided into slices of multiple sizes, and the self-attention weight matrix of each window is calculated respectively. The features between different windows are fused, and the fused data is continuously iterated. When the fused data reaches the index value of the maximum probability, it is matched with the used feature coding, and the data corresponding to the feature coding is exported, and then the final serialized result data is output.

4. The multimodal data detection method for database security according to claim 1, characterized in that: Speech recognition method: obtain the speech information in the database, convert the speech information into speech signals that can be recognized by the computer, and use the speech analysis model to identify the speech signals; the speech recognition body is the speech analysis model, and the speech analysis model is the Swin-Transformer Encoder model. Similarly, the features in the speech information are sequence modeled to obtain serialized data; the Transformer Decoder model is used to decode and predict the serialized data, and the decoding prediction results are converted into recognizable semantic information.

5. The multimodal data detection method for database security according to claim 4, characterized in that: The speech analysis model includes a speech analysis unit, an information extraction unit and a speech feature comparison unit. The speech analysis unit is used to analyze semantic information into text information; the text information is divided into multiple phrases in the speech analysis unit, and then the confidence of the multiple phrases is evaluated respectively and useless phrases are filtered out, and then the attribute information of the speech file corresponding to the search feature code is retrieved; the information extraction unit is used to extract the feature word information in the attribute information; The speech feature comparison unit is used to compare the speech feature with the retrieval feature code.

6. The multimodal data detection method for database security according to claim 1, characterized in that: NLP natural language processing method: obtain natural text information from the database, process it using optical character recognition technology, generate natural language data, iteratively train the natural language data, and obtain target natural language data.

7. The multimodal data detection method for database security according to claim 6, characterized in that: During iterative training, the correlation between text information and text information intention recognition are extracted, and the neural network is imported for training, and then exported as a BERT model. The semantic word vectors of each vocabulary extracted from the original data based on the BERT model are used as the first natural language data; the first natural language data is then subjected to dimensionality reduction processing to obtain the second natural language data after dimensionality reduction; the two natural language data are clustered using the K-means algorithm to obtain text topic classification data; Take the text body classification data as the target vector.

8. The multimodal data detection method for database security according to claim 7, characterized in that: The jieba toolkit is used to perform word segmentation on the remaining text content to obtain the text to be recognized. The text to be recognized data is re-imported into the BERT model, and target training is performed again after dimensionality reduction.

Citation Information

Patent Citations

  • Multi-modal emotion recognition method based on attention enhancing mechanism

    CN112489635A

  • Multi-mode privacy sensitive data detection and encryption method

    CN114817951A

  • OCR text recognition method

    CN115240180A

  • Cross-modal retrieval method and system based on feature fusion, terminal and storage medium

    CN116108147A

  • Multimodal customer service method and system based on voice and image recognition

    CN117010907A

Cited By

  • Instant secret-related information detection method and system based on IM software multi-modal feature fusion

    CN120180435A