Intelligent filing cabinet with automatic access function and method
Through the semantic analysis technology of intelligent filing cabinets, file categories are automatically determined, solving the problems of low efficiency and high error rate in traditional file management, and achieving efficient and accurate file management.
Patent Information
- Application Number
- CN202410161819.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-02-05
AI Technical Summary
Traditional file management requires manual classification and archiving, which is time-consuming, inefficient, error-prone, and inefficient in processing and analyzing large amounts of text information, resulting in irregular classification.
Using smart filing cabinets based on artificial intelligence, through semantic analysis of scanned documents, OCR text recognition, word-granular semantic coding and bidirectional LSTM models are used to contextually encode archive texts, automatically determine archive categories, and achieve automatic archiving.
It improves the efficiency and accuracy of file management, reduces manual workload and error rate, and realizes automatic classification and archiving of files.
Smart Images

Figure CN118053168B
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent storage and access, and more specifically, to an intelligent filing cabinet and method with automatic storage and access functions. Background Art
[0002] Archives management is an important task, involving various types of archives, such as government documents, legal documents, commercial contracts, scientific research reports, etc. These archives not only have historical value, but are also important materials in various fields.
[0003] However, there are many problems with traditional file management methods. For example, traditional file management requires manual classification and archiving of files, which is a time-consuming, labor-intensive and error-prone process. In addition, in traditional file management, manual processing and analysis of large amounts of text information are inefficient, and also cause problems with irregular file classification.
[0004] Therefore, in order to improve the efficiency and accuracy of file management, an intelligent file cabinet with automatic access function is desired. Summary of the invention
[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides an intelligent filing cabinet and method with automatic access function, which collects scanned files of archives to be archived, and introduces artificial intelligence-based data processing and semantic understanding algorithms at the back end to perform semantic analysis of the scanned files, so as to determine the category of the archives to be archived, thereby realizing corresponding archive archiving processing. In this way, automatic classification and archiving of different archives can be realized, thereby improving the efficiency and accuracy of archive management and reducing the workload and error rate of manual archive archiving.
[0006] According to one aspect of the present application, there is provided an intelligent filing cabinet with automatic access function, comprising:
[0007] Archive scan file collection module, used to obtain scan files of archives to be archived;
[0008] An archive text part recognition module, used for performing text recognition on the scanned document of the archive to be archived using an OCR text recognizer to obtain an archive text part;
[0009] An archive text page segmentation module, used for segmenting the archive text portion into archive pages as units to obtain a sequence of archive text pages;
[0010] An archive text page semantic coding module, used for performing a semantic coding analysis based on word granularity on the sequence of archive text pages to obtain a sequence of archive text page semantic coding feature vectors;
[0011] The archival text full-text semantic coding module is used to perform archival text context coding on the sequence of the archival text page semantic coding feature vectors to obtain the archival text full-text semantic coding features;
[0012] The archive category detection module is used to determine the category label of the archive to be archived based on the semantic coding features of the full-text of the archive text.
[0013] According to another aspect of the present application, a method for using an intelligent filing cabinet with an automatic access function is provided, comprising:
[0014] Obtain scanned documents for archives;
[0015] Using an OCR text recognizer to perform text recognition on the scanned document of the archive to be archived to obtain the archive text part;
[0016] Segmenting the archive text portion in units of archive pages to obtain a sequence of archive text pages;
[0017] Performing word granularity-based semantic coding analysis on the sequence of archive text pages to obtain a sequence of archive text page semantic coding feature vectors;
[0018] Performing archive text context encoding on the sequence of the archive text page semantic encoding feature vectors to obtain the full-text semantic encoding features of the archive text;
[0019] Based on the semantic coding features of the full-text of the archive text, the category label of the archive to be archived is determined.
[0020] Compared with the prior art, the present application provides an intelligent filing cabinet and method with automatic access function, which collects scanned files of the files to be filed, and introduces artificial intelligence-based data processing and semantic understanding algorithms at the back end to perform semantic analysis of the scanned files, so as to determine the category of the files to be filed, thereby realizing the corresponding file filing processing. In this way, it is possible to realize automatic classification and filing of different files, thereby improving the efficiency and accuracy of file management and reducing the workload and error rate of manual file filing. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0022] Figure 1 is a block diagram of an intelligent filing cabinet with automatic access function according to an embodiment of the present application;
[0023] Figure 2 A system architecture diagram of a smart filing cabinet with automatic access function according to an embodiment of the present application;
[0024] Figure 3 is a block diagram of a file category detection module in an intelligent file cabinet with automatic access function according to an embodiment of the present application;
[0025] Figure 4 The figure is a flow chart of a method for using a smart filing cabinet with automatic access function according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0027] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0028] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.
[0029] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. Meanwhile, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.
[0030] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0031] There are many problems with traditional file management methods. For example, traditional file management requires manual classification and archiving of files, which is a time-consuming, labor-intensive and error-prone process. In addition, in traditional file management, manual processing and analysis of large amounts of text information are inefficient, and it also causes problems with irregular file classification. In response to the above technical problems, in the technical solution of the present application, an intelligent file cabinet with automatic access function is proposed. The file cabinet is equipped with multiple file storage compartments, intelligent robots and related intelligent processing equipment, which can realize automatic classification and placement of different files, and can also realize automatic reading through an intelligent system. The entire file cabinet is intelligently integrated, and only the pick-up and receiving ports, as well as the operation panel, need to be left out.
[0032] In the technical solution of the present application, an intelligent filing cabinet with automatic storage and retrieval function is proposed. Figure 1 4 is a block diagram of a smart filing cabinet with automatic access function according to an embodiment of the present application. Figure 2 : is a system architecture diagram of a smart filing cabinet with automatic access function according to an embodiment of the present application. Figure 1 and Figure 2 As shown, according to an embodiment of the present application, the intelligent filing cabinet 300 with automatic access function includes: an archive scan file acquisition module 310, which is used to obtain the scanned file of the archive to be archived; an archive text part recognition module 320, which is used to use an OCR text recognizer to perform text recognition on the scanned file of the archive to be archived to obtain the archive text part; an archive text page division module 330, which is used to divide the archive text part into archive pages to obtain a sequence of archive text pages; an archive text page semantic encoding module 340, which is used to perform semantic encoding analysis on the sequence of archive text pages based on word granularity to obtain a sequence of archive text page semantic encoding feature vectors; an archive text full-text semantic encoding module 350, which is used to perform archive text context encoding on the sequence of archive text page semantic encoding feature vectors to obtain archive text full-text semantic encoding features; an archive category detection module 360, which is used to determine the category label of the archive to be archived based on the archive text full-text semantic encoding features.
[0033] In particular, the archive scanning file acquisition module 310 is used to obtain the scanned files of the archives to be archived. Considering that in the above-mentioned intelligent archive cabinet with automatic access function, in order to be able to automatically and intelligently archive different types of archives, it is necessary to identify and detect the archives to be archived. Therefore, in the technical solution of the present application, first, the scanned files of the archives to be archived are obtained.
[0034] In particular, the archive text part recognition module 320 is used to use an OCR text recognizer to perform text recognition on the scanned file of the archive to be archived to obtain the archive text part. It should be understood that the scanned file of the archive to be archived is usually digital image data. In order to be able to perform semantic analysis and understanding on the archive so as to more accurately classify and archive it, in the technical solution of the present application, it is necessary to use an OCR text recognizer to perform text recognition on the scanned file of the archive to be archived to obtain the archive text part, so as to facilitate subsequent text processing and semantic encoding.
[0035] OCR text recognizer is a technology that converts printed or handwritten text into editable text. It is a technology in the field of computer vision and pattern recognition that aims to automatically recognize and extract text information from images.
[0036] In particular, the archival text page segmentation module 330 is used to segment the archival text portion in units of archival pages to obtain a sequence of archival text pages. Considering that the archival text portion in the scanned file is usually arranged in page number order, each page contains a large amount of semantic and contextual information. Therefore, in order to be able to perform semantic analysis and understanding of the archival text portion in a more fine-grained manner, and to retain the contextual association and full-text semantics between the various text pages in the entire archive, in the technical solution of the present application, the archival text portion is further segmented in units of archival pages to obtain a sequence of archival text pages, so that subsequent semantic encoding and contextual understanding are more accurate and complete.
[0037] In particular, the archive text page semantic encoding module 340 is used to perform semantic encoding analysis based on word granularity on the sequence of the archive text pages to obtain a sequence of archive text page semantic encoding feature vectors. Considering that each of the archive text pages contains semantic information about the archive to be archived, and the smallest semantic unit of the semantic information in each of the archive text pages is a word. Therefore, in order to be able to analyze and understand the semantics of each archive text page in the archive text part more fully and carefully, in the technical solution of the present application, each archive text page in the sequence of the archive text pages is further encoded in an archive text page semantic encoder including a word embedding layer and a text convolutional neural network model to extract the semantic encoding feature information based on word granularity in each archive text page, thereby obtaining a sequence of archive text page semantic encoding feature vectors. By semantically encoding each archive text page, the semantic feature information of each archive text page can be captured, including the relationship and semantic meaning between words, phrases, and sentences. In this way, the semantic content of the archive text page can be better represented, providing a basis for subsequent classification and document archiving.
[0038] The word embedding layer is a commonly used technique in natural language processing to convert discrete word representations into continuous real-valued vector representations. It maps words into a low-dimensional vector space so that semantically similar words are close in distance in the vector space.
[0039] Text convolutional neural network is a deep learning model for processing text data. It borrows the idea of convolutional neural network in image processing and applies convolution operation to feature extraction and representation learning of text data. The concept of text convolutional neural network model can be understood through the following steps: Input representation: First, convert the text data into a vector representation that can be processed by a computer. A common method is to use word embedding technology to map each word into a continuous real-valued vector. In this way, the text data can be represented as a matrix in which each row corresponds to the word embedding vector of a word; Convolution operation: Apply convolution operation to the vector representation of text data. The convolution operation slides on the local window of text data and extracts local features; by applying multiple convolution kernels of different sizes, local features of different sizes can be captured. Each convolution kernel generates a feature map in which each element represents the response value of the corresponding local feature; in order to reduce the dimension of the feature map and retain important features, pooling operation can be applied. The common pooling operation is maximum pooling; the pooled feature map is flattened into a one-dimensional vector and input into the fully connected layer. The fully connected layer can further learn the combination and relationship between features and generate the final output; depending on the specific task, one or more output layers can be added after the fully connected layer, such as the softmax layer for multi-category classification, the sigmoid layer for binary classification, etc.
[0040] Accordingly, in a possible implementation, each archival text page in the sequence of archival text pages can be passed through an archival text page semantic encoder including a word embedding layer and a text convolutional neural network model to obtain a sequence of the archival text page semantic encoding feature vectors, for example: establish a dictionary to map the words in all archival text pages to unique integer identifiers. Each word has a corresponding integer index; initialize a word embedding matrix according to the size of the dictionary and the predefined word embedding dimension. Each row of the word embedding matrix corresponds to the word embedding vector of a word, and the word embedding matrix can be initialized using a pre-trained word embedding model; represent each archival text page as a sequence of word indexes, where each index corresponds to a word in the dictionary; use the word index sequence as input, map each word to a corresponding word embedding vector through the word embedding layer; input the word embedding vector sequence into the text convolutional neural network model for feature extraction and representation learning. The convolution layer in the model will extract local features and reduce the dimension of the features through pooling operations; add a fully connected layer for feature combination and representation learning; and obtain a sequence of the archival text page semantic encoding feature vectors in the last layer of the model.
[0041] In particular, the archival text full-text semantic encoding module 350 is used to perform archival text context encoding on the sequence of the archival text page semantic encoding feature vectors to obtain the archival text full-text semantic encoding features. Considering that there is a certain contextual association relationship between archival text pages, that is, each archival text page does not exist independently, and there is a semantic association relationship of the full text. Therefore, in order to be able to more accurately judge and classify the categories of archives to be archived, it is necessary to encode the sequence of the archival text page semantic encoding feature vectors through an archival text context encoder based on a bidirectional LSTM model to extract the contextual semantic association feature information based on the full text between the semantic encoding features of the various archival text pages, thereby obtaining the archival text full-text semantic encoding feature vector. In this way, the overall semantic meaning of the archival text can be better represented, and the accuracy and expression ability of subsequent classification tasks can be improved.
[0042] Bidirectional Long Short-Term Memory (Bi LSTM) is a variant of Recurrent Neural Network (RNN) for processing sequence data. Unlike traditional unidirectional RNN, Bi LSTM considers both past and future contextual information at each time step to better capture long-term dependencies in the sequence. The concept of BiLSTM model can be understood through the following steps: LSTM unit: LSTM is a special RNN unit with memory unit and gating mechanism, which can effectively handle long sequence dependencies and gradient vanishing problem. LSTM unit accepts input, cell state and hidden state, and controls the flow and storage of information through forget gate, input gate and output gate; Bidirectional structure: Bi LSTM model consists of two LSTM layers, one processes the input sequence in forward order and the other processes the input sequence in reverse order. In this way, the output at each time step is jointly determined by the past and future contextual information; Forward propagation: During the forward propagation, the input sequence is input into the forward LSTM layer in the original order. The forward LSTM layer processes the input sequence step by step in chronological order and generates hidden states and cell states at each time step; Backward propagation: During the backpropagation process, the input sequence is input into the reverse LSTM layer in reverse order. The reverse LSTM layer processes the input sequence step by step in reverse chronological order and generates hidden states and cell states at each time step; Output merging: The hidden states of the forward LSTM layer and the reverse LSTM layer at each time step are merged, usually through concatenation or summation operations. In this way, the output at each time step contains past and future contextual information.
[0043] Accordingly, in a possible implementation, the sequence of the semantic encoding feature vectors of the archive text pages can be passed through the archive text context encoder based on the bidirectional LSTM model to obtain the semantic encoding feature vector of the full-text archive text as the full-text semantic encoding feature of the archive text through the following steps, for example: the sequence of the semantic encoding feature vectors of the archive text pages is used as the input sequence; a archive text context encoder based on the bidirectional LSTM model is constructed. The encoder consists of two LSTM layers, one processes the input sequence in forward order, and the other processes the input sequence in reverse order; the input sequence is input into the forward LSTM layer in the original order. The forward LSTM layer processes the input sequence step by step in time order and generates hidden states and cell states at each time step; the input sequence is input into the reverse LSTM layer in reverse order. The reverse LSTM layer processes the input sequence step by step in reverse time order and generates hidden states and cell states at each time step; the hidden states of the forward LSTM layer and the reverse LSTM layer at each time step are merged, usually by concatenation or summation. In this way, the obtained output sequence contains past and future contextual information; for each input sequence, the output at the last time step is used as the semantic encoding feature vector of the archive text page.
[0044] In particular, the archive category detection module 360 is used to determine the category label of the archive to be archived based on the semantic coding features of the full text of the archive text. In particular, in a specific example of the present application, Figure 3 As shown, the archive category detection module 360 includes: an archive text full-text semantic feature optimization unit 361, which is used to optimize the archive text full-text semantic coding feature vector to obtain an optimized archive text full-text semantic coding feature vector; an archive category classification unit 362, which is used to pass the optimized archive text full-text semantic coding feature vector through a classifier to obtain a classification result, and the classification result is used to represent the category label of the archive to be archived.
[0045] Specifically, the archival text full-text semantic feature optimization unit 361 is used to optimize the archival text full-text semantic coding feature vector to obtain an optimized archival text full-text semantic coding feature vector. In the above technical scheme, each archival text page semantic coding feature vector in the sequence of archival text page semantic coding feature vectors respectively expresses the local semantic space text semantic features of the corresponding archival text page. Therefore, the sequence of archival text page semantic coding feature vectors is passed through an archival text context encoder based on a bidirectional LSTM model, which can further extract the global semantic space text semantic features of the short-range-long-range context association between local semantic spaces. Therefore, the expression effect of the archival text full-text semantic coding feature vector can be improved by further fusing the local semantic space text semantic features of the sequence of archival text page semantic coding feature vectors. However, considering the variability of the text semantic feature calculation dimension caused by the local-global semantic space feature difference between the sequence of the semantic coding feature vectors of the archive text page and the semantic coding feature vectors of the full-text archive text, in order to improve the fusion effect of the sequence of the semantic coding feature vectors of the archive text page and the semantic coding feature vectors of the full-text archive text under the class regression judgment based on the classifier, the applicant of the present application preferably performs fusion optimization on the sequence of the semantic coding feature vectors of the archive text page and the semantic coding feature vectors of the full-text archive text, which is specifically expressed as follows:
[0046]
[0047] Wherein, V1 is the concatenated feature vector of the semantic coding feature vectors of the archive text page, V2 is the semantic coding feature vector of the full text of the archive text, and v 1i and v 2i are the feature values of the concatenated feature vector and the full-text semantic encoding feature vector of the archive text, respectively, and ‖·‖2 1 / 2 They represent the square of the first norm of the feature vector and the square root of the second norm of the feature vector respectively. The concatenated feature vector and the full-text semantic coding feature vector of the archive text have the same feature vector length L, and α is a weight hyperparameter. exp() represents an exponential operation. It means adding by position. Indicates the difference by position. Here, the above-mentioned optimization fusion is based on the correspondence under the feature value granularity to divide the sequence of the semantic coding feature vectors of the archive text page and the serialized fusion representation of the semantic coding feature vector of the full text of the archive text into foreground manifolds and background manifolds based on the vector scale, so as to stack the dynamic feature value channelization association of the sequence of the semantic coding feature vectors of the archive text page and the semantic coding feature vector of the full text of the archive text under the feature corresponding channel supermanifold aggregation mechanism, thereby marking the sequence-to-sequence change feature semantic information between the sequence of the semantic coding feature vectors of the archive text page and the semantic coding feature vector of the full text of the archive text, and realizing the quasi-fully connected stacking fusion according to the variability of the semantic content between the sequence of the semantic coding feature vectors of the archive text page and the semantic coding feature vector of the full text of the archive text under different computing dimensions, so as to improve the semantic fusion effect of the sequence of the semantic coding feature vectors of the archive text page and the semantic coding feature vector of the full text of the archive text, thereby improving the expression effect of the semantic coding feature vector of the full text of the archive text, and improving the accuracy of the classification result obtained by the classifier. In this way, the category of the archive to be archived can be determined through semantic analysis and understanding of the archive, so as to realize the corresponding archive archiving processing, thereby reducing the workload and error rate of manual archive archiving and improving the efficiency and accuracy of archive management.
[0048] Specifically, the archive category classification unit 362 is used to pass the optimized archive text full-text semantic coding feature vector through a classifier to obtain a classification result, and the classification result is used to represent the category label of the archive to be archived. Specifically, the label of the classifier is the category label of the archive to be archived. Therefore, after obtaining the classification result, the category of the archive to be archived can be judged based on the classification result, thereby realizing the corresponding archive archiving processing. In this way, it is possible to realize automatic classification and archiving of different archives, thereby improving the efficiency and accuracy of archive management and reducing the workload and error rate of manual archive archiving. More specifically, the optimized archive text full-text semantic coding feature vector is fully connected encoded using multiple fully connected layers of the classifier to obtain a coding classification feature vector; and the coding classification feature vector is passed through the Softmax classification function of the classifier to obtain the classification result.
[0049] A classifier is a machine learning model or algorithm that is used to classify input data into different categories or labels. Classifiers are part of supervised learning and perform classification tasks by learning the mapping relationship from input data to output categories.
[0050] A fully connected layer is a common type of layer in neural networks. In a fully connected layer, each neuron is connected to all neurons in the previous layer, and each connection has a weight. This means that each neuron in the fully connected layer receives inputs from all neurons in the previous layer, and performs a weighted sum of these inputs through the weights, and then passes the result to the next layer.
[0051] The Softmax classification function is a commonly used activation function for multi-classification problems. It converts each element of the input vector into a probability value between 0 and 1, and the sum of these probability values is equal to 1. The Softmax function is often used in the output layer of a neural network, especially for multi-classification problems, because it can map the network output to the probability distribution of each category. During the training process, the output of the Softmax function can be used to calculate the loss function and update the network parameters through the back propagation algorithm. It is worth noting that the output of the Softmax function does not change the relative size relationship between the elements, but only normalizes them. Therefore, the Softmax function does not change the characteristics of the input vector, but only converts it into a probability distribution form.
[0052] It is worth mentioning that in other specific examples of the present application, the category label of the archive to be archived can also be determined based on the semantic coding features of the full text of the archive text in other ways, for example: input the archive text data marked with the category label, where each archive text is associated with a category; semantically encode each archive text to obtain the semantic coding feature vector of the full text of the archive text; use the labeled data and the corresponding semantic coding feature vector as a training set to train a classification model, such as a support vector machine, a decision tree or a neural network. The input of the model is the semantic coding feature vector, and the output is the category label; the same feature extraction steps as the training set are performed on the archive text to be archived to obtain the semantic coding feature vector of the archive to be archived; the trained classification model is used to predict the semantic coding feature vector of the archive to be archived to obtain a category label.
[0053] As described above, the intelligent filing cabinet 300 with automatic access function according to the embodiment of the present application can be implemented in various wireless terminals, such as a server with an automatic access algorithm. In a possible implementation, the intelligent filing cabinet 300 with automatic access function according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the intelligent filing cabinet 300 with automatic access function can be a software module in the operating system of the wireless terminal, or can be an application developed for the wireless terminal; of course, the intelligent filing cabinet 300 with automatic access function can also be one of the many hardware modules of the wireless terminal.
[0054] Alternatively, in another example, the smart filing cabinet 300 with automatic access function and the wireless terminal may be separate devices, and the smart filing cabinet 300 with automatic access function may be connected to the wireless terminal via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0055] Furthermore, a method for using an intelligent filing cabinet with an automatic access function is provided.
[0056] Figure 4 Flow chart of the method for using the intelligent filing cabinet with automatic access function according to the embodiment of the present application. Figure 4 As shown, according to the method for using the smart filing cabinet with automatic access function of the embodiment of the present application, the method includes the following steps: S1, obtaining a scanned file of the archive to be archived; S2, using an OCR text recognizer to perform text recognition on the scanned file of the archive to be archived to obtain an archive text part; S3, segmenting the archive text part in units of archive pages to obtain a sequence of archive text pages; S4, performing semantic coding analysis based on word granularity on the sequence of archive text pages to obtain a sequence of semantic coding feature vectors of archive text pages; S5, performing archive text context coding on the sequence of semantic coding feature vectors of archive text pages to obtain full-text semantic coding features of archive text; S6, determining the category label of the archive to be archived based on the full-text semantic coding features of the archive text.
[0057] In summary, the method for using the smart filing cabinet with automatic access function according to the embodiment of the present application is explained, which collects scanned files of the files to be filed, and introduces artificial intelligence-based data processing and semantic understanding algorithms at the back end to perform semantic analysis of the scanned files, so as to determine the category of the files to be filed, thereby realizing the corresponding file filing processing. In this way, it is possible to realize automatic classification and filing of different files, thereby improving the efficiency and accuracy of file management and reducing the workload and error rate of manual file filing.
[0058] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. An intelligent filing cabinet with automatic access function, characterized in that: include: Archive scan file collection module, used to obtain scan files of archives to be archived; An archive text part recognition module, used for performing text recognition on the scanned document of the archive to be archived using an OCR text recognizer to obtain an archive text part; An archive text page segmentation module, used for segmenting the archive text portion into archive pages as units to obtain a sequence of archive text pages; An archive text page semantic coding module, used for performing a semantic coding analysis based on word granularity on the sequence of archive text pages to obtain a sequence of archive text page semantic coding feature vectors; The archival text full-text semantic coding module is used to perform archival text context coding on the sequence of the archival text page semantic coding feature vectors to obtain the archival text full-text semantic coding features; An archive category detection module, used to determine the category label of the archive to be archived based on the semantic coding features of the full text of the archive text; Wherein, the file category detection module includes: The archive text full-text semantic feature optimization unit is used to optimize the archive text full-text semantic coding feature vector to obtain an optimized archive text full-text semantic coding feature vector; An archive classification unit, used for passing the optimized archive text full-text semantic coding feature vector through a classifier to obtain a classification result, wherein the classification result is used to represent a category label of the archive to be archived; The archival text full-text semantic feature optimization unit is used to: fuse and optimize the sequence of the archival text page semantic coding feature vectors with the archival text full-text semantic coding feature vectors to obtain the optimized archival text full-text semantic coding feature vectors; The sequence of the semantic coding feature vectors of the archive text pages and the semantic coding feature vectors of the full-text archive text are fused and optimized, which is specifically expressed as follows: Wherein, V1 is the concatenated feature vector of the semantic coding feature vectors of the archive text pages, V2 is the semantic coding feature vector of the full text of the archive text, and v 1i and v 2i are the feature values of the concatenated feature vector and the full-text semantic encoding feature vector of the archive text, respectively, and ‖·‖2 1 / 2 They represent the square of the first norm of the feature vector and the square root of the second norm of the feature vector respectively. The concatenated feature vector and the full-text semantic coding feature vector of the archive text have the same feature vector length L, and α is a weight hyperparameter. exp() represents an exponential operation. It means adding by position. Indicates difference by position.
2. The intelligent filing cabinet with automatic access function according to claim 1 is characterized in that: The archive text page semantic encoding module is used to: pass each archive text page in the sequence of archive text pages through an archive text page semantic encoder including a word embedding layer and a text convolutional neural network model to obtain a sequence of the archive text page semantic encoding feature vectors.
3. The intelligent filing cabinet with automatic access function according to claim 2 is characterized in that: The archival text full-text semantic encoding module is used to: pass the sequence of the archival text page semantic encoding feature vectors through an archival text context encoder based on a bidirectional LSTM model to obtain the archival text full-text semantic encoding feature vector as the archival text full-text semantic encoding feature.
4. The intelligent filing cabinet with automatic access function according to claim 3 is characterized in that: The archive category classification unit includes: A fully connected encoding subunit, used for performing fully connected encoding on the full-text semantic encoding feature vector of the optimized archive text using multiple fully connected layers of the classifier to obtain an encoding classification feature vector; and The classification result generating subunit is used to pass the encoded classification feature vector through the Softmax classification function of the classifier to obtain the classification result.
5. A method for using an intelligent filing cabinet with automatic access function, characterized in that: include: Obtain scanned documents for archives; Using an OCR text recognizer to perform text recognition on the scanned document of the archive to be archived to obtain the archive text part; Segmenting the archive text portion into archive pages to obtain a sequence of archive text pages; Performing word granularity-based semantic coding analysis on the sequence of archive text pages to obtain a sequence of archive text page semantic coding feature vectors; Performing archive text context encoding on the sequence of the archive text page semantic encoding feature vectors to obtain the full-text semantic encoding features of the archive text; Determine the category label of the archive to be archived based on the semantic coding features of the full-text of the archive text; Wherein, based on the semantic coding features of the full text of the archive text, determining the category label of the archive to be archived includes: Optimizing the full-text semantic coding feature vector of the archive text to obtain an optimized full-text semantic coding feature vector of the archive text; Passing the optimized full-text semantic coding feature vector of the archive text through a classifier to obtain a classification result, wherein the classification result is used to represent the category label of the archive to be archived; The step of optimizing the full-text semantic coding feature vector of the archive text to obtain the optimized full-text semantic coding feature vector of the archive text comprises: optimizing the sequence of the semantic coding feature vectors of the archive text pages with the full-text semantic coding feature vector of the archive text to obtain the optimized full-text semantic coding feature vector of the archive text; The sequence of the semantic coding feature vectors of the archive text pages and the semantic coding feature vectors of the full-text archive text are fused and optimized, which is specifically expressed as follows: Wherein, V1 is the concatenated feature vector of the semantic coding feature vectors of the archive text pages, V2 is the semantic coding feature vector of the full text of the archive text, and v 1i and v 2i are the feature values of the concatenated feature vector and the full-text semantic encoding feature vector of the archive text, respectively, and ‖·‖2 1 / 2 They represent the square of the first norm of the feature vector and the square root of the second norm of the feature vector respectively. The concatenated feature vector and the full-text semantic coding feature vector of the archive text have the same feature vector length L, and α is a weight hyperparameter. exp() represents an exponential operation. It means adding by position. Indicates difference by position.
