Unstructured data modeling method and system

Through the LDA model and image generation model, unstructured data is converted into intuitive image data, which solves the problem of low data intuition in the existing technology and achieves efficient and intuitive retention of data.

CN118378168BActive Publication Date: 2024-09-06UWAYSOFT BEIJING INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410822332.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-06
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

It is difficult for the existing technology to provide an intuitive unified processing solution for unstructured data. Especially when processing audio and image data, the existing recognition technology converts it into text data, resulting in low intuitiveness.

Method used

The LDA model is used to perform topic identification on the sample data, generate a topic library and word library of probability items, and convert the text data to be processed into image data through the image generation model to achieve intuitive retention of data.

Benefits of technology

By converting text data into image data, the intuitiveness of the data is significantly improved, which is in line with the actual proportion of audio-visual data in computer equipment, and provides a reverse data retention architecture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378168B
    Figure CN118378168B
Patent Text Reader

Abstract

The present invention relates to the technical field of unstructured data management, and specifically discloses an unstructured data modeling method and system. The method comprises: performing topic identification on sample text data based on an LDA model, synchronously counting word distribution of each topic, obtaining a topic library containing probability items and a word library containing probability items corresponding to each topic; receiving data to be processed uploaded by a user, performing format identification on data in a cache library in sequence, retaining image data, and converting other data into text data to be processed; converting the text data to be processed into image data based on the topic library containing probability items and the word library containing probability items corresponding to each topic, and counting the image data as retained data; the present invention converts text data into image data with the help of an existing image generation model, such as AI image generation software, and retains the data, and the converted data has excellent intuitiveness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unstructured data management, and in particular to an unstructured data modeling system and method. Background Art

[0002] Unstructured data is data with irregular or incomplete data structure, no predefined data model, and is not convenient to be represented by a two-dimensional database logical table. It includes office documents of all formats, text, pictures, HTML, various reports, images, and audio / video information, etc. In the existing product analysis architecture, media data indexed by a certain tag is almost all unstructured data, because the format cannot be pre-defined. If the format is defined, although the processing convenience is improved, this improvement is based on the premise of a narrow data surface.

[0003] When unstructured data is retained, it needs to be processed in a unified manner. The existing unified processing method is to convert all data into text data. This is because there are many existing recognition technologies. Audio and images can be converted into text. The text data has good orderliness but low intuitiveness. How to provide a more intuitive data unified processing solution under the background of existing technologies is the technical problem that the present invention aims to solve. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for modeling unstructured data to solve the problems raised in the above background technology.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A first aspect of the present invention provides a method for modeling unstructured data, the method comprising:

[0007] Opening a sample acquisition port, acquiring sample data based on the sample acquisition port, and converting the sample data into text data as sample text data;

[0008] Based on the LDA model, the sample text data is subjected to topic identification, and word distribution of each topic is simultaneously counted to obtain a topic library containing probability items and a word library containing probability items corresponding to each topic;

[0009] Receive the data to be processed uploaded by the user, input it into the preset cache library, identify the format of the data in the cache library in sequence, retain the image data, and convert other data into text data to be processed;

[0010] Based on the topic library containing probability items and the word library containing probability items corresponding to each topic, the text data to be processed is converted into image data, and the image data is counted as retained data;

[0011] The data volume in the cache is monitored in real time, and when the data volume reaches a preset threshold, the data in the cache is sent to the sample acquisition port as sample data.

[0012] Furthermore, the steps of opening the sample acquisition port, acquiring sample data based on the sample acquisition port, and converting the sample data into text data as sample text data include:

[0013] Open the sample acquisition port, and acquire sample data based on the sample acquisition port;

[0014] When the sample data is formatted, the sample data is divided into text data, image data, audio data and video data according to the format identification result;

[0015] Convert video data into audio data and image data, extract features from the audio data and image data, and convert them into text data; retain data labels during the conversion process;

[0016] The text data is counted according to the data labels as sample text data.

[0017] Furthermore, the steps of performing topic identification on the sample text data based on the LDA model, and simultaneously counting the word distribution of each topic to obtain a topic library containing probability items and a word library containing probability items corresponding to each topic include:

[0018] Segment each sample text data, and query the topic of each word based on the LDA model;

[0019] Count the topics of each word in all sample text data, record the number of occurrences of each topic, and calculate the frequency as the probability of each topic;

[0020] Count each topic and its probability to obtain a topic library containing probability items;

[0021] Using the topic as the index, count all the corresponding words, calculate the number of occurrences of each word, and calculate the frequency as the probability of each word;

[0022] Count each word and its probability to obtain a word library containing probability items corresponding to each topic.

[0023] Furthermore, the steps of receiving the data to be processed uploaded by the user, inputting it into a preset cache library, sequentially identifying the format of the data in the cache library, retaining the image data, and converting other data into text data to be processed include:

[0024] Receive the data to be processed uploaded by the user, input it into the preset cache library, and retain the order in which the data is received as the data arrangement order of the cache library;

[0025] Read the data in the cache according to the data arrangement order, identify the format of the read data, and divide the read data into text data, image data, audio data and video data;

[0026] Keep image data and video data, and convert audio data into text data;

[0027] All text data are regarded as text data to be processed.

[0028] Furthermore, the steps of converting the text data to be processed into image data based on the subject library containing probability items and the word library containing probability items corresponding to each subject, and counting the image data as retained data include:

[0029] Randomly generate a reference text library of a preset size based on a topic library containing probability items and a word library containing probability items corresponding to each topic; wherein the preset size includes the text library size and the text size;

[0030] Construct image data of each reference text in the reference text library;

[0031] The text data to be processed is traversed through the reference text library to calculate the matching degree of the text data to be processed, and when the matching degree reaches a preset threshold, the image data of the corresponding reference text is read as the image data of the text data to be processed;

[0032] When the matching degree is less than a preset threshold, image data is constructed according to the text data to be processed;

[0033] The calculation process of the matching degree is as follows:

[0034] ; In the formula, A is the text data to be processed, For the Reference texts; is the matching degree of the text data to be processed, Pick the function for the maximum value, Choose the function for Minimum.

[0035] Furthermore, the contents of constructing image data according to text data include:

[0036] Segment the text data and query the topic of each word based on the LDA model;

[0037] Record the number of words corresponding to each topic, and select topics with a word count greater than a preset threshold as keywords;

[0038] Input keywords into the trained image generation model to obtain image data;

[0039] Regularly package text data and image data, send them to the evaluation end, and receive the correct and incorrect label update quantity threshold and image generation model feedback from the evaluation end.

[0040] The technical solution of the present invention also provides an unstructured data modeling system, the system comprising:

[0041] A sample data acquisition module, used for opening a sample acquisition port, acquiring sample data based on the sample acquisition port, and converting the sample data into text data as sample text data;

[0042] A library construction module is used to perform topic identification on the sample text data based on the LDA model, and simultaneously count the word distribution of each topic to obtain a topic library containing probability items and a word library containing probability items corresponding to each topic;

[0043] The text conversion module is used to receive the data to be processed uploaded by the user, input it into a preset cache library, identify the format of the data in the cache library in sequence, retain the image data, and convert other data into text data to be processed;

[0044] An image conversion module is used to convert the text data to be processed into image data based on a topic library containing probability items and a word library containing probability items corresponding to each topic, and to count the image data as retained data;

[0045] The cache monitoring module is used to monitor the amount of data in the cache library in real time. When the amount of data reaches a preset threshold, the data in the cache library is sent to the sample acquisition port as sample data.

[0046] Furthermore, the sample data acquisition module includes:

[0047] A port application unit, used for opening a sample acquisition port and acquiring sample data based on the sample acquisition port;

[0048] The second classification unit is used to perform format recognition on the sample data and classify the sample data into text data, image data, audio data and video data according to the format recognition result;

[0049] A feature extraction unit is used to convert the video data into audio data and image data, extract features from the audio data and image data, and convert them into text data; data labels are retained during the conversion process;

[0050] The data statistics unit is used to count the text data according to the data labels as sample text data.

[0051] Furthermore, the library construction module includes:

[0052] The topic query unit is used to segment each sample text data and query the topic of each word based on the LDA model;

[0053] The first probability calculation unit is used to count the topics of each word in all sample text data, record the number of occurrences of each topic, and calculate the frequency as the probability of each topic;

[0054] A topic library generation unit is used to count each topic and its probability to obtain a topic library containing probability items;

[0055] The second probability calculation unit is used to count all the words corresponding to the topic with the topic as the index, calculate the number of occurrences of each word, and calculate the frequency as the probability of each word;

[0056] The word library generation unit is used to count each word and its probability to obtain a word library containing probability items corresponding to each topic.

[0057] Furthermore, the text conversion module includes:

[0058] The data cache unit is used to receive the data to be processed uploaded by the user, input it into the preset cache library, and retain the order of data reception as the data arrangement order of the cache library;

[0059] The second classification unit is used to read the data in the cache according to the data arrangement order, perform format recognition on the read data, and classify the read data into text data, image data, audio data and video data;

[0060] An audio recognition unit, for retaining the image data and the video data, and converting the audio data into text data;

[0061] The data storage unit is used to treat all text data as text data to be processed.

[0062] Compared with the prior art, the beneficial effects of the present invention are: the present invention converts text data into image data with the help of existing image generation models, such as AI image generation software, and retains the data, and the converted data is extremely intuitive; in fact, with the development of computer equipment, the proportion of audio-visual data has gradually increased, and in many fields, text data is in the minority. Therefore, a reverse data retention architecture is provided to convert text data into image data and retain it, which is highly consistent with the actual situation. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] 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 in the following description are only some embodiments of the present invention.

[0064] Figure 1 A flowchart of an unstructured data modeling approach.

[0065] Figure 2 A block diagram of a system for modeling unstructured data. DETAILED DESCRIPTION

[0066] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0067] Figure 1 The flowchart of an unstructured data modeling method is shown in FIG. 1 . The embodiment of the present invention provides an unstructured data modeling method, and the method includes:

[0068] Step S100: opening a sample acquisition port, acquiring sample data based on the sample acquisition port, and converting the sample data into text data as sample text data;

[0069] The sample acquisition port is a data interaction port used to acquire sample data. After acquiring the sample data, the sample data is converted into text data. For easy distinction, the text data obtained by converting the sample data is referred to as sample text data in this application.

[0070] It should be noted that the sample data of this application is the unstructured data uploaded by users. When users perform data modeling, they will continuously input various types of unstructured data, which can be used as sample data. The more data is input, the more sample data there is.

[0071] Step S200: performing topic identification on the sample text data based on the LDA model, and simultaneously counting the word distribution of each topic to obtain a topic library containing probability items and a word library containing probability items corresponding to each topic;

[0072] LDA is a very commonly used topic model in natural language processing. Its full name is Latent Dirichlet Allocation, or LDA for short. Its function is to give the topic of each document in the document set in the form of probability distribution, and then extract its actual topic by analyzing the documents classified under the same topic, and perform topic clustering or text classification according to the topic distribution. In this process, the topic identification process is involved, and the technical solution of this application involves the topic identification process in the LDA model.

[0073] By performing topic identification on each sample text data and counting the words corresponding to each topic, a topic library containing probability items and a word library containing probability items corresponding to each topic can be obtained.

[0074] It should be noted that the field targeted by the technical solution of the present invention is generally a single field, such as all media data of a certain product. Since the format is not limited, it is called unstructured data; subject identification is performed on these unstructured data, and the number of subjects is limited. The more samples there are, the more difficult it is to identify new subjects. All subjects are counted to obtain a subject library, and the frequency of occurrence of each subject is used as the probability item of each subject; further, for each subject, the various words that appear under the subject are counted to obtain a word library for each subject, and the frequency of occurrence of each word is used as the probability item of each word.

[0075] Step S300: receiving the data to be processed uploaded by the user, inputting it into a preset cache library, sequentially identifying the format of the data in the cache library, retaining the image data, and converting other data into text data to be processed;

[0076] Step S400: converting the text data to be processed into image data based on the topic library containing probability items and the word library containing probability items corresponding to each topic, and counting the image data as retained data;

[0077] Receive the data to be processed uploaded by the user. The data to be processed in this application is a high-level concept, which refers to the data that needs to be modeled, including text, images, audio and video; the application field is generally a single field, such as the media data of a product and the production records of a workshop, etc. When the data to be processed uploaded by the user is obtained, it is input into a preset cache library, and the data is read from the cache library in sequence for processing. The processing method is to retain the image data and convert other data into text data; then, the text data is recognized based on the theme library constructed by the number of samples and the vocabulary library corresponding to each theme. After the recognition is completed, it is converted into image data. Finally, all the data to be processed are converted into image format and stored as retained data; the process of converting all data into images is called data modeling.

[0078] Step S500: monitoring the data volume in the cache in real time, and when the data volume reaches a preset threshold, sending the data in the cache as sample data to the sample acquisition port;

[0079] There are two main purposes for setting up a cache library in this application. One is to provide a cache function to ensure the orderliness of the data. The other is to monitor the amount of data in the cache library in real time. When the amount of data reaches a preset threshold, the data in the cache library is used as sample data and sent to the sample acquisition port, which has the effect of regularly updating the sample data.

[0080] In some examples of the technical solution of the present invention, the steps of opening a sample acquisition port, acquiring sample data based on the sample acquisition port, and converting the sample data into text data as sample text data include:

[0081] Open the sample acquisition port, and acquire sample data based on the sample acquisition port;

[0082] When the sample data is formatted, the sample data is divided into text data, image data, audio data and video data according to the format identification result;

[0083] Convert video data into audio data and image data, extract features from the audio data and image data, and convert them into text data; retain data labels during the conversion process;

[0084] The text data is counted according to the data labels as sample text data.

[0085] The above content specifically describes the generation process of sample text data. After obtaining the sample data, the format of the sample data is identified. For each type of sample data, it can be divided into text data, image data, audio data and video data according to its format; the text data can be retained. If it is audio data, audio recognition is performed on it and converted into text data. If it is image data, image recognition is performed on it and converted into text data. The recognition process can use existing recognition technology. If it is video data, it is first converted into audio and image, and then converted into text.

[0086] It should be noted that during the conversion process, the data label needs to be retained, that is, the result after conversion and the result before conversion share the same data label, and the data label can be a name.

[0087] In some examples of the technical solution of the present invention, the steps of performing topic identification on the sample text data based on the LDA model, and simultaneously counting the word distribution of each topic to obtain a topic library containing probability items and a word library containing probability items corresponding to each topic include:

[0088] Segment each sample text data, and query the topic of each word based on the LDA model;

[0089] Count the topics of each word in all sample text data, record the number of occurrences of each topic, and calculate the frequency as the probability of each topic;

[0090] Count each topic and its probability to obtain a topic library containing probability items;

[0091] Using the topic as the index, count all the corresponding words, calculate the number of occurrences of each word, and calculate the frequency as the probability of each word;

[0092] Count each word and its probability to obtain a word library containing probability items corresponding to each topic.

[0093] For each sample text data, traverse the text content and perform word segmentation. The word segmentation process can use the existing recognition architecture. Many existing text editing software have built-in word detection functions. After the word segmentation is completed, the subject of each word is queried based on the LDA model. Since this application is aimed at unstructured data in the same field, the number of topic types is limited, and when it reaches a certain number, it will hardly change. Based on this, calculate the ratio of the number of occurrences of each topic to the total number of occurrences of all topics, use the ratio as probability, count all topics and their probabilities, and obtain a topic library containing probability items.

[0094] For each topic, a similar scheme is adopted to calculate the probability of each word, and each word and its probability item are counted to obtain a word library containing probability items.

[0095] In some examples of the technical solution of the present invention, the steps of receiving the data to be processed uploaded by the user, inputting it into a preset cache library, sequentially identifying the format of the data in the cache library, retaining the image data, and converting other data into text data to be processed include:

[0096] Receive the data to be processed uploaded by the user, input it into the preset cache library, and retain the order in which the data is received as the data arrangement order of the cache library;

[0097] Read the data in the cache according to the data arrangement order, identify the format of the read data, and divide the read data into text data, image data, audio data and video data;

[0098] Keep image data and video data, and convert audio data into text data;

[0099] All text data are regarded as text data to be processed.

[0100] The above content describes the application stage, which receives the data to be processed (not sample data) uploaded by the user. If the data to be processed is an image or video, no processing is required. If it is text, the text is used as the text data to be processed. If it is audio, the audio is converted into text as the text data to be processed.

[0101] In some examples of the technical solution of the present invention, the steps of converting the text data to be processed into image data based on the subject library containing probability items and the word library containing probability items corresponding to each subject, and counting the image data as retained data include:

[0102] Randomly generate a reference text library of a preset size based on a topic library containing probability items and a word library containing probability items corresponding to each topic; wherein the preset size includes the text library size and the text size;

[0103] Construct image data of each reference text in the reference text library;

[0104] The text data to be processed is traversed through the reference text library to calculate the matching degree of the text data to be processed, and when the matching degree reaches a preset threshold, the image data of the corresponding reference text is read as the image data of the text data to be processed;

[0105] When the matching degree is less than a preset threshold, image data is constructed according to the text data to be processed;

[0106] The calculation process of the matching degree is as follows:

[0107] ; In the formula, A is the text data to be processed, For the Reference texts; is the matching degree of the text data to be processed, Pick the function for the maximum value, Choose the function for Minimum.

[0108] For the text data to be processed, a reference text library of preset size is randomly generated based on the topic library containing probability items and the word library containing probability items corresponding to each topic. This process requires the management to pre-set two parameters representing the scale, which are used to indicate how large each reference text is and how many reference texts there are in total. Generally, these two parameters are fixed values ​​and are scalars. In a few cases, variables are used. For example, the size of each reference text is set through Gaussian distribution so that the size of each reference text is different. Then, a fixed value is set for the text library size. At this time, the diversity of the reference texts will be improved.

[0109] After the reference text library is built, the image data of each reference text is generated synchronously. The simplest way to do this is to use AI to generate images from content. Many existing software have similar functions.

[0110] For each text data to be processed, you only need to continuously match the reference text. If the match is successful, read the corresponding image data as the retained data of the text data to be processed. Only when there is no match, generate an image based on the content. This architecture can greatly reduce the number of times images are generated from content (which takes a long time) and improve the response speed.

[0111] It should be noted that the process of generating an image from the reference text belongs to the preprocessing stage. In actual applications, it can be directly read because the response speed is extremely fast.

[0112] Regarding the process of calculating the matching degree, the text involved in this application does not contain order. It is a typical bag-of-words model, regarded as a set of words. When calculating the intersection, due to the existence of function words such as "的" (de) and "了" (le), it is difficult for the matching degree to reach zero, and the maximum value can be selected; it should be noted that the denominator is the smaller value of the text data to be processed and the reference text. Generally, the reference text is larger than the text data to be processed. Therefore, the denominator is mostly 。

[0113] Specifically, the content of constructing image data from text data includes:

[0114] Perform word segmentation on the text data and query the topics of each word based on the LDA model;

[0115] Record the number of words corresponding to each topic, and select the topics with the number of words greater than the preset number threshold as keywords;

[0116] Input the keywords into the trained image generation model to obtain image data;

[0117] Regularly package the text data and image data, send them to the evaluation end, and receive the correct / error labels feedback from the evaluation end to update the number threshold and the image generation model.

[0118] The above content specifically defines the image generation process. The principle is to perform word segmentation on the text data, query the topics of each word based on the LDA model, and select some topics that meet the conditions (the corresponding number of words is sufficient) as keywords from multiple topics, thereby generating image data, which can adapt to most text data.

[0119] Figure 2 As a structural block diagram of an unstructured data modeling system, another object of the embodiments of the present invention is to provide an unstructured data modeling system. The system 10 includes:

[0120] A sample data acquisition module 11, which is used to open a sample acquisition port, acquire sample data based on the sample acquisition port, and convert the sample data into text data as sample text data;

[0121] A library construction module 12, which is used to perform topic recognition on the sample text data based on the LDA model, synchronously count the word distribution of each topic, and obtain a topic library containing probability terms and a word library containing probability terms corresponding to each topic;

[0122] The text conversion module 13 is used to receive the data to be processed uploaded by the user, input it into a preset cache library, identify the format of the data in the cache library in sequence, retain the image data, and convert other data into text data to be processed;

[0123] An image conversion module 14 is used to convert the text data to be processed into image data based on a topic library containing probability items and a word library containing probability items corresponding to each topic, and to count the image data as retained data;

[0124] The cache monitoring module 15 is used to monitor the data volume in the cache in real time. When the data volume reaches a preset threshold, the data in the cache is sent as sample data to the sample acquisition port.

[0125] Furthermore, the sample data acquisition module 11 includes:

[0126] A port application unit, used for opening a sample acquisition port and acquiring sample data based on the sample acquisition port;

[0127] The second classification unit is used to perform format recognition on the sample data and classify the sample data into text data, image data, audio data and video data according to the format recognition result;

[0128] A feature extraction unit is used to convert the video data into audio data and image data, extract features from the audio data and image data, and convert them into text data; data labels are retained during the conversion process;

[0129] The data statistics unit is used to count the text data according to the data labels as sample text data.

[0130] Specifically, the library construction module 12 includes:

[0131] The topic query unit is used to segment each sample text data and query the topic of each word based on the LDA model;

[0132] The first probability calculation unit is used to count the topics of each word in all sample text data, record the number of occurrences of each topic, and calculate the frequency as the probability of each topic;

[0133] A topic library generation unit is used to count each topic and its probability to obtain a topic library containing probability items;

[0134] The second probability calculation unit is used to count all the words corresponding to the topic with the topic as the index, calculate the number of occurrences of each word, and calculate the frequency as the probability of each word;

[0135] The word library generation unit is used to count each word and its probability to obtain a word library containing probability items corresponding to each topic.

[0136] Furthermore, the text conversion module 13 includes:

[0137] The data cache unit is used to receive the data to be processed uploaded by the user, input it into the preset cache library, and retain the order of data reception as the data arrangement order of the cache library;

[0138] The second classification unit is used to read the data in the cache according to the data arrangement order, perform format recognition on the read data, and classify the read data into text data, image data, audio data and video data;

[0139] An audio recognition unit, for retaining the image data and the video data, and converting the audio data into text data;

[0140] The data storage unit is used to treat all text data as text data to be processed.

[0141] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for modeling unstructured data, characterized in that: The method comprises: Opening a sample acquisition port, acquiring sample data based on the sample acquisition port, and converting the sample data into text data as sample text data; Based on the LDA model, the sample text data is subjected to topic identification, and word distribution of each topic is simultaneously counted to obtain a topic library containing probability items and a word library containing probability items corresponding to each topic; Receive the data to be processed uploaded by the user, input it into the preset cache library, identify the format of the data in the cache library in sequence, retain the image data, and convert other data into text data to be processed; Based on a topic library containing probability items and a word library containing probability items corresponding to each topic, the text data to be processed is converted into image data, and the image data is counted as retained data; Monitor the amount of data in the cache in real time, and when the amount of data reaches a preset threshold, send the data in the cache as sample data to the sample acquisition port; The steps of converting the text data to be processed into image data based on the subject library containing probability items and the word library containing probability items corresponding to each subject, and counting the image data as retained data include: Randomly generate a reference text library of a preset size based on a topic library containing probability items and a word library containing probability items corresponding to each topic; wherein the preset size includes the text library size and the text size; Construct image data of each reference text in the reference text library; The text data to be processed is traversed through the reference text library to calculate the matching degree of the text data to be processed, and when the matching degree reaches a preset threshold, the image data of the corresponding reference text is read as the image data of the text data to be processed; When the matching degree is less than a preset threshold, image data is constructed according to the text data to be processed; The calculation process of the matching degree is as follows: ; In the formula, A is the text data to be processed, For the Reference texts; is the matching degree of the text data to be processed, Pick the function for the maximum value, Select function for minimum value; The contents of constructing image data based on text data include: Segment the text data and query the topic of each word based on the LDA model; Record the number of words corresponding to each topic, and select topics with a word count greater than a preset threshold as keywords; Input keywords into the trained image generation model to obtain image data; Regularly package text data and image data, send them to the evaluation end, and receive the correct and incorrect label update quantity threshold and image generation model feedback from the evaluation end.

2. The unstructured data modeling method according to claim 1, characterized in that: The steps of opening a sample acquisition port, acquiring sample data based on the sample acquisition port, and converting the sample data into text data as sample text data include: Open the sample acquisition port, and acquire sample data based on the sample acquisition port; When the sample data is formatted, the sample data is divided into text data, image data, audio data and video data according to the format identification result; Convert video data into audio data and image data, extract features from the audio data and image data, and convert them into text data; retain data labels during the conversion process; The text data is counted according to the data labels as sample text data.

3. The unstructured data modeling method according to claim 2, characterized in that: The steps of performing topic identification on the sample text data based on the LDA model, and simultaneously counting the word distribution of each topic to obtain a topic library containing probability items and a word library containing probability items corresponding to each topic include: Segment each sample text data, and query the topic of each word based on the LDA model; Count the topics of each word in all sample text data, record the number of occurrences of each topic, and calculate the frequency as the probability of each topic; Count each topic and its probability to obtain a topic library containing probability items; Using the topic as the index, count all the corresponding words, calculate the number of occurrences of each word, and calculate the frequency as the probability of each word; Count each word and its probability to obtain a word library containing probability items corresponding to each topic.

4. The unstructured data modeling method according to claim 3, characterized in that: The steps of receiving the data to be processed uploaded by the user, inputting the data into a preset cache library, sequentially identifying the format of the data in the cache library, retaining the image data, and converting other data into text data to be processed include: Receive the data to be processed uploaded by the user, input it into the preset cache library, and retain the order in which the data is received as the data arrangement order of the cache library; Read the data in the cache according to the data arrangement order, identify the format of the read data, and divide the read data into text data, image data, audio data and video data; Keep image data and video data, and convert audio data into text data; All text data are regarded as text data to be processed.

5. An unstructured data modeling system, characterized in that: The system is used to implement the unstructured data modeling method according to any one of claims 1 to 4, and the system includes: A sample data acquisition module, used for opening a sample acquisition port, acquiring sample data based on the sample acquisition port, and converting the sample data into text data as sample text data; A library construction module is used to perform topic identification on the sample text data based on the LDA model, and simultaneously count the word distribution of each topic to obtain a topic library containing probability items and a word library containing probability items corresponding to each topic; The text conversion module is used to receive the data to be processed uploaded by the user, input it into a preset cache library, identify the format of the data in the cache library in sequence, retain the image data, and convert other data into text data to be processed; An image conversion module is used to convert the text data to be processed into image data based on a topic library containing probability items and a word library containing probability items corresponding to each topic, and to count the image data as retained data; The cache monitoring module is used to monitor the amount of data in the cache library in real time. When the amount of data reaches a preset threshold, the data in the cache library is sent to the sample acquisition port as sample data.

6. The unstructured data modeling system according to claim 5, characterized in that: The sample data acquisition module comprises: A port application unit, used for opening a sample acquisition port and acquiring sample data based on the sample acquisition port; The second classification unit is used to perform format recognition on the sample data and classify the sample data into text data, image data, audio data and video data according to the format recognition result; A feature extraction unit is used to convert the video data into audio data and image data, extract features from the audio data and image data, and convert them into text data; data labels are retained during the conversion process; The data statistics unit is used to count the text data according to the data labels as sample text data.

7. The unstructured data modeling system according to claim 6, characterized in that: The library building blocks include: The topic query unit is used to segment each sample text data and query the topic of each word based on the LDA model; The first probability calculation unit is used to count the topics of each word in all sample text data, record the number of occurrences of each topic, and calculate the frequency as the probability of each topic; A topic library generation unit is used to count each topic and its probability to obtain a topic library containing probability items; The second probability calculation unit is used to count all the words corresponding to the topic with the topic as the index, calculate the number of occurrences of each word, and calculate the frequency as the probability of each word; The word library generation unit is used to count each word and its probability to obtain a word library containing probability items corresponding to each topic.

8. The unstructured data modeling system according to claim 6, characterized in that: The text conversion module comprises: The data cache unit is used to receive the data to be processed uploaded by the user, input it into the preset cache library, and retain the order of data reception as the data arrangement order of the cache library; The second classification unit is used to read the data in the cache according to the data arrangement order, perform format recognition on the read data, and classify the read data into text data, image data, audio data and video data; An audio recognition unit, for retaining the image data and the video data, and converting the audio data into text data; The data storage unit is used to treat all text data as text data to be processed.