Image management method and terminal

By converting image features into hierarchical data and establishing an index database, combined with inverted index and keyword extraction technology, the problem of mismatch between image retrieval results and user intentions is solved, the accuracy and efficiency of image retrieval and classification are improved, and the Intelligent image management.

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

Patent Information

Application Number
CN201910720819.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-06
Publication Date
2024-09-13
Estimated Expiration
2039-08-06

AI Technical Summary

Technical Problem

Content-based image retrieval results in the prior art do not match user intentions, resulting in low retrieval efficiency, mainly due to the gap between image semantics and daily language and the limitations of users' manual annotation of information.

Method used

By obtaining image features, converting them into text description information, and further processing them into hierarchical data, establishing an index database, using inverted index and keyword extraction technology for image retrieval and classification, and combining historical retrieval records for intelligent sorting and classification.

Benefits of technology

It improves the accuracy and classification efficiency of image retrieval, and achieves higher image recognition and intelligent image management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112347289B
    Figure CN112347289B
Patent Text Reader

Abstract

The present invention is applicable to the field of computer technology, and provides an image management method and terminal, including: obtaining an image to be processed, converting the image to be processed into text description information, converting the text description information into hierarchical data, and finally establishing an index database of the hierarchical data to the image to be processed. According to the index database, the image to be processed can be retrieved or classified. This solution uses hierarchical keywords to represent the image to be processed, which improves the image recognition and the accuracy of the user's image retrieval. At the same time, when the user does not actively search, the image to be processed can be intelligently classified according to the index database and historical search records, thereby improving the efficiency and intelligence of image classification management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer technology, and in particular relates to an image management method and a terminal. Background Art

[0002] With the widespread use of smart phones, users have higher and higher requirements for album management systems, especially the hope that the system can quickly retrieve the required images from a large number of photos. Currently, album management systems that support retrieval only provide relatively low-level retrieval functions, and the basis for retrieval is mainly based on the information manually annotated by users. This method requires users to edit image information independently, and it cannot fully represent the image information, which obviously cannot meet user needs.

[0003] In the prior art, there are two types of image retrieval, text-based image retrieval and content-based image retrieval. The former mainly relies on the user's naming information to retrieve the image, but users often only name the image based on local information or a certain theme, which loses a lot of information in the image. Therefore, this method has low retrieval accuracy and increases the user's time cost. The latter mainly uses feature extraction and high-dimensional indexing technology for image retrieval, but due to the gap between image semantics and daily language, it is necessary to use a lot of experience and knowledge accumulated in people's daily life to infer and judge the image semantics. For example, the joy and festive feeling expressed by an image about a festival may be expressed by another image with similar features, which may express the opposite meaning. This will cause the image retrieved by the user through semantics or terms to be inconsistent with the user's original intention. This image management method makes the image retrieval results not match the user's retrieval information when performing content-based image retrieval, resulting in low image management and retrieval efficiency. Summary of the invention

[0004] The purpose of the present invention is to provide an image management method, a terminal and a computer storage medium to solve the problem in the prior art that when performing content-based image retrieval, the image retrieval results do not match the user's retrieval information, resulting in low image management and retrieval efficiency.

[0005] To achieve the above object, a first aspect of an embodiment of the present invention provides an image management method, which specifically includes the following steps:

[0006] Get the image to be processed;

[0007] Converting the image to be processed into text description information;

[0008] Converting the text description information into hierarchical data;

[0009] Establishing an index database of the hierarchical data to the image to be processed;

[0010] The images to be processed are retrieved or classified according to the index database.

[0011] The step of establishing the index database of the hierarchical data to the image to be processed specifically includes:

[0012] Extract the link relationship between different layers of data in the hierarchical data, save the hierarchical data and the link relationship between different layers of data in the hierarchical data in the form of an inverted index, and establish an index database from the hierarchical data to the image to be processed.

[0013] The step of converting the text description information into the hierarchical data of the image to be processed specifically includes:

[0014] Performing keyword extraction or text clustering on the text description information to convert the text description information into subject information of the image to be processed;

[0015] The subject information is converted into the hierarchical data.

[0016] The step of converting the subject information into the hierarchical data of the image to be processed specifically includes:

[0017] The subject information is structured through named entity recognition, relationship extraction and event extraction to obtain the hierarchical data.

[0018] Wherein, according to the index database, the step of retrieving or classifying the image to be processed further includes:

[0019] Get the search terms;

[0020] The images to be processed are sorted by relevance according to the index database.

[0021] Wherein, the step of sorting the images to be processed according to the index database specifically includes:

[0022] Calculating the similarity between the image to be processed and the search term according to the hierarchical data stored in the index database;

[0023] Analyzing the importance of the image to be processed according to the link relationship between different layers of data in the hierarchical data stored in the index database;

[0024] The images to be processed are ranked in relevance based on the similarity between the images to be processed and the search terms and the importance of the images to be processed.

[0025] Wherein, the step of retrieving or classifying the image to be processed according to the index database further includes:

[0026] Get historical search records;

[0027] The images to be processed are classified according to the index database and the historical retrieval records.

[0028] The step of classifying the image to be processed according to the index database and the historical search records specifically includes:

[0029] According to the subject information of the image to be processed, the hierarchical data is classified and converted into classified hierarchical data;

[0030] Performing similarity matching and sorting on the historical search records and the classification level data;

[0031] According to the sorting result and the index database, display the corresponding classified image set;

[0032] The historical search record is the most recent search intention record selected from a preset query record database.

[0033] The step of converting the image to be processed into text description information of the image to be processed specifically includes:

[0034] Extracting image features of the image to be processed;

[0035] The image features are converted into the text description information.

[0036] A second aspect of an embodiment of the present invention provides an image management terminal, the image management terminal comprising:

[0037] An image understanding module is used to obtain an image to be processed and convert the image to be processed into text description information;

[0038] An information conversion module, used for converting the text description information into hierarchical data;

[0039] A data indexing module, used for establishing an index database of the hierarchical data to the image to be processed;

[0040] An image retrieval module, used to obtain a search term and retrieve the image to be processed according to the index database;

[0041] The image classification module is used to classify the image to be processed according to the index database.

[0042] A third aspect of an embodiment of the present invention provides another image management terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method provided in the first aspect of the present invention when executing the computer program.

[0043] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and is characterized in that when a processor executes the computer program, the method provided in the first aspect of the present invention can be implemented.

[0044] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: text description information of an image is obtained through a method based on image understanding, and the text description information is further processed to obtain hierarchical data, and on this basis, hierarchical keywords are used to represent the image to be processed, thereby improving the image recognition based on the image content and the accuracy of the user's image retrieval. At the same time, when the user does not actively search, the intelligent classification module will intelligently classify the image to be processed according to the index database and historical retrieval records, thereby improving the efficiency and intelligence of image classification processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0046] Figure 1 is a flowchart of an image management method provided by a first aspect of an embodiment of the present invention;

[0047] Figure 2 is a schematic diagram of an image management terminal provided by a second aspect of an embodiment of the present invention;

[0048] Figure 3 is a flow chart of processing data by an image understanding module provided by the second aspect of an embodiment of the present invention;

[0049] Figure 4 is a flow chart of processing data by the information conversion module provided by the second aspect of the embodiment of the present invention;

[0050] Figure 5 is a flow chart of processing data by an image retrieval module provided by the second aspect of an embodiment of the present invention;

[0051] Figure 6 is a flow chart of processing data by an image classification module provided by the second aspect of an embodiment of the present invention;

[0052] Figure 7 It is a schematic diagram of an image management terminal provided in the third aspect of an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to illustrate the technical solution of the present invention, a detailed description will be given below with reference to the accompanying drawings.

[0054] See also Figure 1 , Figure 1 The flowchart of an image management method provided by an embodiment of the present invention may include the following steps:

[0055] S101: Acquire an image to be processed;

[0056] In this embodiment, the images to be processed are used to represent images to be managed or processed, and the number may be one or more. When two or more images to be processed are obtained, these images to be processed are batch processed.

[0057] S102: Convert the image to be processed into text description information;

[0058] Furthermore, step S102 may specifically include steps S1021 to S1022:

[0059] S1021: extracting image features of the image to be processed;

[0060] Optionally, the image features in this embodiment may include color features, texture features, shape features, and spatial relationship features of the image, which are not limited here. The image features of the image to be processed can be extracted using a convolutional neural network trained based on historical images. The convolutional neural network includes a feedforward neural network with a deep structure that includes convolution calculations. It is constructed by imitating the visual perception mechanism of organisms and can perform supervised learning and unsupervised learning. The convolution kernel parameter sharing in the hidden layer and the sparsity of the inter-layer connection enable the convolutional neural network to grid features with a smaller amount of computation.

[0061] The hidden layers of convolutional neural networks include three common structures: convolutional layers, pooling layers, and fully connected layers. In some more modern algorithms, there may be complex structures such as starting modules and residual blocks. In common structures, convolutional layers and pooling layers are unique to convolutional neural networks. The convolution kernel in the convolutional layer contains weight coefficients, while the pooling layer does not contain weight coefficients. Therefore, in the literature, the pooling layer may not be considered an independent layer. Taking the five-layer structure as an example, the order of the three common structures in the hidden layer is usually: input-convolutional layer-pooling layer-convolutional layer-pooling layer-fully connected layer-output.

[0062] S1022: Convert image features into text description information.

[0063] Optionally, the image features may be converted into the text description information using a long short-term memory network trained based on historical image features. When training the long short-term memory network, in order to minimize the training error, the weight of each time may be modified based on the error by applying a temporal back propagation algorithm. When the long short-term memory network training block is set, the error is also calculated back, from the data output to each checkpoint of the data input stage, until the value is filtered out. Therefore, normal back propagation neural networks are an effective method for training long short-term memory network blocks to retain long-term values.

[0064] The obtained text description information includes text data representing the image to be processed.

[0065] Furthermore, a suitable attention mechanism can be added between steps S1021 and S1022. The neural attention mechanism can enable the neural network to focus on its input subset: select specific inputs. Attention can be applied to any type of input regardless of its shape. In the case of limited computing power, the attention mechanism is a resource allocation solution that is the main means to solve the problem of information overload, allocating computing resources to more important tasks.

[0066] Optionally, there are two ways to implement hard attention. One is to select the input information with the highest probability. Another hard attention can be implemented by randomly sampling the attention distribution. One disadvantage of hard attention is that it selects information based on maximum sampling or random sampling. Therefore, the functional relationship between the final loss function and the attention distribution is not differentiable, so it cannot be used for training in the back-propagation algorithm. In order to use the back-propagation algorithm, soft attention is generally used instead of hard attention.

[0067] S103: Convert the text description information into hierarchical data;

[0068] Furthermore, step S103 may specifically include steps S1031 to S1032:

[0069] S1031: extract keywords or perform text clustering on the text description information to convert the text description information into subject information of the image to be processed;

[0070] Optionally, in this embodiment, the text description information is converted into the subject information of the image to be processed by using a keyword extraction technology or a text clustering algorithm.

[0071] The keyword extraction technology can adopt the method based on unsupervised learning, such as TFIDF, TextRank, left and right information entropy, etc. The processing process is as follows: first pre-process the text description information, including sentence segmentation, word segmentation and part-of-speech tagging, and filter out stop words. Then construct the candidate keyword graph G = (V, E), where V is the node set. According to the formula, the weight of each node is iteratively propagated until convergence. Finally, the node weights are sorted in reverse order, and several keywords are selected according to the confidence of the keywords. If adjacent phrases are formed, they are combined into multi-word keywords, which are used as the theme information of the image to be processed.

[0072] Among them, preprocessing the text description information may include: dividing the text data in the text description information into separate sentences, and identifying the words in these sentences, as well as the part of speech of each word. After determining the words in the text description information and the part of speech of each word, the words corresponding to the stop part of speech can be deleted according to the preset stop part of speech. The stop part of speech in this embodiment is used to indicate the part of speech of the preset words that do not participate in the calculation. After identifying the part of speech of the word, the words corresponding to the preposition and pronoun are deleted to reduce the workload of keyword calculation and improve the calculation efficiency.

[0073] The text clustering algorithm can include the following steps: 1) Segment the text into Chinese words to obtain meaningful words, because in natural language processing, words are considered to be the smallest unit of semantic expression; 2) Document feature representation, by extracting document features to express the document in mathematical form, commonly used feature representation methods include word vectors, TFIDF, text chi-square value, etc.; 3) Model training: Commonly used text clustering models include LDA, K-Means, etc. After text clustering, a label set will be generated as the topic information.

[0074] S1032: Convert the subject information into hierarchical data.

[0075] Specifically, step S102 in this embodiment may include: structuring the subject information through named entity recognition, relationship extraction and event extraction to obtain hierarchical data.

[0076] Among them, named entity recognition refers to identifying named referents from text, paving the way for tasks such as relationship extraction. In this embodiment, it can refer to identifying entities with specific meanings in subject information, such as names, place names, organization names, proper nouns, etc. Relation extraction and event extraction events are important subtasks of information extraction technology. Information extraction aims to extract structured information from unstructured information or semi-structured natural language text, which can also be understood as extracting information of interest to users and presenting it to users in a structured manner. The main purpose of relationship extraction is to identify entities from text and extract semantic relationships between entities. The event extraction task can be decomposed into four subtasks: trigger word recognition, event type classification, argument recognition and role classification tasks. Among them, trigger word recognition and event type classification can be combined into event recognition tasks. Event recognition determines the event type to which each word in a sentence belongs, which is a multi-classification task based on words. Argument recognition and role classification can be combined into argument role classification tasks. The role classification task is a multi-classification task based on word pairs, which determines the role relationship between any pair of trigger words and entities in a sentence.

[0077] Optionally, the hierarchical data in this embodiment may include first-level data and second-level data.

[0078] The first level of data includes subject (the main information reflected in the photo, such as scenery, food, group photo, etc.), time (the time when the photo was taken or the time information in the photo content, such as "10:22 am on October 8, 2018", "early morning"), location (the geographical location where the photo was taken or the geographical location information in the photo content, such as "Beijing, China", "Eiffel Tower"), people (people involved in the photo), animals (animals involved in the photo), objects (physical objects involved in the photo), spatial relationships (spatial relationships between entities), etc.

[0079] The second-level data is the attribute description information of the first-level data. The attributes of people include name, gender, clothing, etc., and the attributes of animals and objects include name, color, status, etc.

[0080] S104: Building an index database of hierarchical data to the image to be processed;

[0081] Specifically, step S104 includes: extracting the link relationship between different layers of data in the hierarchical data, saving the hierarchical data and the link relationship between different layers of data in the hierarchical data in the form of an inverted index, and establishing an index database from the hierarchical data to the image to be processed.

[0082] Optionally, before step S104, the process may further include: removing duplicate data in the hierarchical data.

[0083] Among them, after removing duplicate data in the hierarchical data, it is necessary to parse the hierarchical data and extract the link relationship between data at different levels in the hierarchical data, such as inheritance relationship. In order to speed up the response to user queries, the hierarchical data is saved through an efficient query data structure such as an inverted index, and the link relationship between data at different levels is also saved. The reason for saving this link relationship is that this relationship is available in the data relevance sorting stage. Through link analysis, the relative importance of data can be judged to provide users with accurate search results.

[0084] Optionally, in this embodiment, image sets corresponding to different hierarchical data can be set in the index database according to different hierarchical data, and each image set is used to store and manage images corresponding to the same hierarchical data. After the hierarchical data of the image to be processed is determined, it can be queried in the index database whether there is a target atlas corresponding to the hierarchical data according to the hierarchical data.

[0085] Furthermore, if the target atlas exists in the index database, it means that the current hierarchical data has a corresponding target atlas in the index database, and the image to be processed is stored in the target atlas. If the target atlas does not exist in the index database, it means that the current hierarchical data does not have a corresponding target atlas in the index database, in which case a new target atlas is created according to the hierarchical data, and the image to be processed is stored in the newly created target atlas.

[0086] S105: Retrieve or classify the image to be processed according to the index database.

[0087] The step of searching the images to be processed in step S105 may include: obtaining search terms, and sorting the images to be processed by relevance according to the index database.

[0088] Furthermore, according to the index database, the step of sorting the relevance of the images to be processed may include: calculating the similarity between the image to be processed and the search term based on the hierarchical data stored in the index database; analyzing the importance of the image to be processed based on the link relationship between different layers of data in the hierarchical data stored in the index database; and sorting the relevance of the images to be processed based on the similarity between the image to be processed and the search term and the importance of the image to be processed.

[0089] Among them, after the index database is established and the images to be processed are stored in the corresponding image set in the index database, the search terms entered by the user can be obtained at any time. The images to be processed that match the search terms can be found in the index database through the search terms, and the correlation between the search terms and the images to be processed is calculated. According to the size of the correlation, the images to be processed are sorted. There are two important reference factors in image sorting. One is the content similarity factor, that is, which images are closely related to the user query: the other is the image importance factor, that is, which images are of good quality or relatively important, which can often be obtained from the link analysis results in the index database. Combining the above two considerations, the images can be sorted as the search results of the user query.

[0090] Furthermore, after obtaining the search term, you can first search in the cache. The cache system of the search engine stores search results corresponding to different query intents. If you can find information that meets the user's needs in the cache system, you can directly return the search results to the user, which not only saves the consumption of resources for repeated calculations, but also speeds up the response speed. If the information stored in the cache cannot meet the user's needs, the image sorting function is called to calculate which images meet the user's information needs in real time according to the user's query, and sort them and output them as search results.

[0091] The step of classifying the images to be processed in step S105 may include: obtaining historical search records; and classifying the images to be processed according to the index database and the historical search records.

[0092] Specifically, the steps of classifying the image to be processed according to the index database and the historical search records and displaying the classification results may include:

[0093] Classifying the hierarchical data according to subject information of the image to be processed and converting it into classified hierarchical data;

[0094] Performing similarity matching and sorting on the historical search records and the classification level data;

[0095] According to the sorting result and the index database, display the corresponding classified image set;

[0096] The historical search record is the most recent search intention record selected from a preset query record database.

[0097] Furthermore, this embodiment can be used to regularly display a collection of pictures on a certain theme for the user according to the user's search habits. The specific process is as follows: First, the module will classify the hierarchical data set according to the theme information, then take out the user's most recent search intention record from the user's search record database, match the record with the theme information for similarity and sort them, select the theme information with the highest similarity, and display the collection of pictures on the theme to the user regularly through the correspondence between the pictures and the hierarchical data.

[0098] Optionally, in terms of text similarity, the similarity of two strings can be compared only by the literal distance, and the Levenshtein distance, Jaro distance, Hamming distance, etc. can be used; in terms of semantic similarity, the text can be first converted into a word vector model based on a neural network language model, and then the similarity can be calculated based on the word vector model.

[0099] The above scheme obtains text description information of the image through a method based on image understanding, and then further processes the text description information to obtain hierarchical data. On this basis, it realizes representing the image to be processed through hierarchical keywords, thereby improving the image recognition based on the image content, and further improving the accuracy of the user's image retrieval. At the same time, when the user does not actively search, the intelligent classification module combines the index database and the user's search record to intelligently classify the image to be processed, and returns the classification result to the user, thereby improving the efficiency and intelligence of image classification processing.

[0100] See also Figure 2 , Figure 2 2 is a schematic diagram of an image management terminal provided by an embodiment of the present invention. The image management terminal 200 of this embodiment includes modules for executing Figure 1 The image management terminal 200 of this embodiment includes:

[0101] An image understanding module 201 is used to obtain an image to be processed and convert the image to be processed into text description information;

[0102] An information conversion module 202, used to convert text description information into hierarchical data;

[0103] A data indexing module 203, used to establish an index database of hierarchical data to the image to be processed;

[0104] An image retrieval module 204 is used to obtain a search term and retrieve the image to be processed according to the index database;

[0105] The image classification module 205 is used to classify the image to be processed according to the index database.

[0106] Specifically, the image understanding module may include an encoder and a decoder. The specific steps are: inputting the image to be processed into a preset encoder, extracting image features of the image to be processed, and then inputting the image features into a preset decoder to obtain text description information of the image to be processed.

[0107] Furthermore, after acquiring the image, when extracting the text description of the image, the image can be passed through the encoder for convolution feature extraction to obtain the intermediate vectors a1, a2, ..., a L , and then pass the intermediate vector through the decoder and obtain the vectors Z1, Z2, …, Z through the Attention mechanism N Finally, according to the trained long short-term memory network vector Z1, Z2, ..., Z N Perform a convolution operation to obtain a text description of the image.

[0108] The above scheme obtains text description information of the image through a method based on image understanding, and then further processes the text description information to obtain hierarchical data. On this basis, it realizes representing the image to be processed through hierarchical keywords, thereby improving the image recognition based on the image content, and further improving the accuracy of the user's image retrieval. At the same time, when the user does not actively search, the intelligent classification module combines the index database and the user's search record to intelligently classify the image to be processed, and returns the classification result to the user, thereby improving the efficiency and intelligence of image classification processing.

[0109] It should be understood that the order of execution of the steps in the above embodiment does not necessarily 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 embodiment of the present invention.

[0110] See also Figure 7 , Figure 7 FIG. 1 is a schematic diagram of another image management terminal provided by an embodiment of the present invention. Figure 7 The terminal 700 for image management in the embodiment shown may include: a processor 701, a memory 702, and a computer program 703 stored in the memory 702 and executable on the processor 701. When the processor 701 executes the computer program 703, the steps in the above-mentioned embodiments of the image management method are implemented. The memory 702 is used to store the computer program, and the computer program includes program instructions. The processor 701 is used to execute the program instructions stored in the memory 702. Among them, the processor 701 is configured to call the program instructions to perform the following operations:

[0111] The processor 701 is used for:

[0112] Get the image to be processed;

[0113] Convert the image to be processed into text description information;

[0114] Convert text description information into hierarchical data;

[0115] Establishing an index database of hierarchical data to the image to be processed;

[0116] According to the index database, the images to be processed are retrieved or classified.

[0117] The above scheme obtains text description information of the image through a method based on image understanding, and then further processes the text description information to obtain hierarchical data. On this basis, it realizes representing the image to be processed through hierarchical keywords, thereby improving the image recognition based on the image content, and further improving the accuracy of the user's image retrieval. At the same time, when the user does not actively search, the intelligent classification module combines the index database and the user's search record to intelligently classify the image to be processed, and returns the classification result to the user, thereby improving the efficiency and intelligence of image classification processing.

[0118] It should be understood that in the embodiment of the present invention, the processor 701 may be a central processing unit (CPU), and the processor may also be 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 the processor may also be any conventional processor, etc.

[0119] The memory 702 may include a read-only memory and a random access memory, and provide instructions and data to the processor 701. A portion of the memory 702 may also include a non-volatile random access memory. For example, the memory 702 may also store information about the device type.

[0120] In a specific implementation, the processor 701, memory 702, and computer program 703 described in the embodiment of the present invention can execute the implementation method described in the image management method provided in the embodiment of the present invention, and can also execute the implementation method of the terminal provided in the embodiment of the present invention, which will not be repeated here.

[0121] The embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when a processor executes the program instructions, the following can be achieved:

[0122] Get the image to be processed;

[0123] Converting the image to be processed into text description information;

[0124] Converting the text description information into hierarchical data;

[0125] Establishing an index database of the hierarchical data to the image to be processed;

[0126] The images to be processed are retrieved or classified according to the index database.

[0127] Furthermore, when the processor executes the computer program, the following can also be achieved:

[0128] Extract the link relationship between different layers of data in the hierarchical data, save the hierarchical data and the link relationship between different layers of data in the hierarchical data in the form of an inverted index, and establish an index database from the hierarchical data to the image to be processed.

[0129] Furthermore, when the processor executes the computer program, the following can also be achieved:

[0130] Performing keyword extraction or text clustering on the text description information to convert the text description information into subject information of the image to be processed;

[0131] The subject information is converted into the hierarchical data.

[0132] Furthermore, when the processor executes the computer program, the following can also be achieved:

[0133] The subject information is structured through named entity recognition, relationship extraction and event extraction to obtain the hierarchical data.

[0134] Furthermore, when the processor executes the computer program, the following can also be achieved:

[0135] Get the search terms;

[0136] The images to be processed are sorted by relevance according to the index database.

[0137] Furthermore, when the processor executes the computer program, the following can also be achieved:

[0138] Calculating the similarity between the image to be processed and the search term according to the hierarchical data stored in the index database;

[0139] Analyzing the importance of the image to be processed according to the link relationship between different layers of data in the hierarchical data stored in the index database;

[0140] The images to be processed are ranked in relevance based on the similarity between the images to be processed and the search terms and the importance of the images to be processed.

[0141] Furthermore, when the processor executes the computer program, the following can also be achieved:

[0142] Get historical search records;

[0143] The images to be processed are classified according to the index database and the historical retrieval records.

[0144] Furthermore, when the processor executes the computer program, the following can also be achieved:

[0145] According to the subject information of the image to be processed, the hierarchical data is classified and converted into classified hierarchical data;

[0146] Performing similarity matching and sorting on the historical search records and the classification level data;

[0147] According to the sorting result and the index database, display the corresponding classified image set;

[0148] The historical search record is the most recent search intention record selected from a preset query record database.

[0149] Furthermore, when the processor executes the computer program, the following can also be achieved:

[0150] Extracting image features of the image to be processed;

[0151] The image features are converted into the text description information.

[0152] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. An image management method, characterized in that: The steps include: Get the image to be processed; Converting the image to be processed into text description information; Converting the text description information into hierarchical data; Establishing an index database of the hierarchical data to the image to be processed; Retrieving or classifying the image to be processed according to the index database; The step of establishing the index database of the hierarchical data to the image to be processed specifically includes: Extracting the link relationship between different layers of data in the hierarchical data, saving the hierarchical data and the link relationship between different layers of data in the hierarchical data in an inverted index format, and establishing an index database from the hierarchical data to the image to be processed; According to the index database, the step of retrieving or classifying the image to be processed also includes: Get the search terms; According to the index database, the images to be processed are sorted by relevance; According to the index database, the step of relevance sorting the images to be processed specifically includes: Calculating the similarity between the image to be processed and the search term according to the hierarchical data stored in the index database; Analyzing the importance of the image to be processed according to the link relationship between different layers of data in the hierarchical data stored in the index database; The images to be processed are ranked in relevance based on the similarity between the images to be processed and the search terms and the importance of the images to be processed.

2. The image management method according to claim 1, characterized in that: The step of converting the text description information into the hierarchical data of the image to be processed specifically includes: Performing keyword extraction or text clustering on the text description information to convert the text description information into subject information of the image to be processed; The subject information is converted into the hierarchical data.

3. The image management method according to claim 2, characterized in that: The step of converting the subject information into the hierarchical data of the image to be processed specifically includes: The subject information is structured through named entity recognition, relationship extraction and event extraction to obtain the hierarchical data.

4. The image management method according to claim 2, wherein: The step of retrieving or classifying the image to be processed according to the index database further includes: Get historical search records; The images to be processed are classified according to the index database and the historical retrieval records.

5. The image management method according to claim 1, wherein: The step of classifying the image to be processed according to the index database and the historical retrieval records specifically includes: According to the subject information of the image to be processed, the hierarchical data is classified and converted into classified hierarchical data; Performing similarity matching and sorting on the historical search records and the classification level data; According to the sorting result and the index database, display the corresponding classified image set; The historical search record is the most recent search intention record selected from a preset query record database.

6. The image management method according to any one of claims 1 to 5, characterized in that: The step of converting the image to be processed into text description information of the image to be processed specifically includes: Extracting image features of the image to be processed; The image features are converted into the text description information.

7. An image management terminal, characterized in that: The image management terminal comprises: An image understanding module is used to obtain an image to be processed and convert the image to be processed into text description information; An information conversion module, used for converting the text description information into hierarchical data; A data indexing module, used for establishing an index database of the hierarchical data to the image to be processed; An image retrieval module, used to obtain a search term and retrieve the image to be processed according to the index database; An image classification module, used for classifying the image to be processed according to the index database; The step of establishing the index database of the hierarchical data to the image to be processed specifically includes: Extracting the link relationship between different layers of data in the hierarchical data, saving the hierarchical data and the link relationship between different layers of data in the hierarchical data in an inverted index format, and establishing an index database from the hierarchical data to the image to be processed; According to the index database, the step of retrieving or classifying the image to be processed also includes: Get the search terms; According to the index database, the images to be processed are sorted by relevance; According to the index database, the step of relevance sorting the images to be processed specifically includes: Calculating the similarity between the image to be processed and the search term according to the hierarchical data stored in the index database; Analyzing the importance of the image to be processed according to the link relationship between different layers of data in the hierarchical data stored in the index database; The images to be processed are ranked in relevance based on the similarity between the images to be processed and the search terms and the importance of the images to be processed.

8. An image management terminal, 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 can be implemented.

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