A double-chain application method based on dot matrix technology and vector database

By combining the double-chain application method of lattice technology and vector database, semantically similar content links are automatically established, solving the problems of efficiency and accuracy of traditional double-chain structures in large-scale data processing, and realizing efficient and accurate content links and Relationship display meets the needs of modern data processing.

CN117971829BActive Publication Date: 2024-08-30广州市博雅信息科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410126895.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-30
Publication Date
2024-08-30
Estimated Expiration
2044-01-30

AI Technical Summary

Technical Problem

The traditional double-chain structure cannot meet the demand for efficient and accurate linking when processing large-scale data. Especially for content with similar semantics but inconsistent expressions, it is difficult to establish effective links, and manual link creation is cumbersome and time-consuming.

Method used

Adopting a double-chain application method based on lattice technology and vector database, through data preprocessing, text vectorization, establishment of vector database, construction of double-chain structure and information indexing, the similarity search capability of the vector database is used to automatically establish the relationship between contents. Links, and enhance user understanding through relationship diagram display.

Benefits of technology

It achieves efficient and accurate content linking and relationship display, reduces the dependence on exact matching, improves the efficiency and accuracy of data linking, enables users to understand the relationship between data more intuitively, and meets the needs of modern data processing for efficient and accurate , intuitive needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117971829B
    Figure CN117971829B
Patent Text Reader

Abstract

The present invention discloses a double-chain application method based on lattice technology and vector database, and the key points of the technical solution are: including the following steps: S1, data preprocessing; S2, data annotation: S3, text vectorization: S4, establishment of vector database: S5, construction of double-chain structure: S6, information indexing: S7, relationship diagram display. The double-chain application based on vector database of this patent realizes efficient and accurate content linking and relationship display by combining the similarity search capability of vector database. This innovative double-chain application will bring revolutionary changes to the field of data processing and information retrieval, and meet the needs of modern data processing for efficiency, accuracy and 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 databases, and in particular to a double-chain application method based on dot matrix technology and vector database. Background Art

[0002] In the existing double-chain structure, data links mainly rely on users to create them. This means that users need to actively and accurately describe and mark the content that needs to be linked. However, the limitation of this method is that it over-relies on exact matching, making it difficult to establish effective links for content that is semantically similar but not completely consistent in expression. In addition, the process of manually creating links can be cumbersome and time-consuming, especially when dealing with large amounts of data, which increases the difficulty of using the double-chain structure. Therefore, the traditional double-chain structure is difficult to meet the needs of efficient and accurate links when dealing with large-scale data.

[0003] With the explosive growth of data scale, the traditional double-chain structure faces challenges in efficiency and accuracy when processing these massive data. In order to more effectively meet these challenges, we must not only explore new data processing technologies, but also improve the existing structure. Among them, vector database, as a tool widely used in information retrieval and machine learning, provides new ideas for solving these problems with its efficient similarity search capabilities.

[0004] Based on this, there is an urgent need to develop an innovative dual-chain application. Summary of the invention

[0005] In view of the problems mentioned in the background technology, the purpose of the present invention is to provide a double-chain application method based on lattice technology and vector database to solve the problems mentioned in the background technology.

[0006] The above technical objectives of the present invention are achieved through the following technical solutions:

[0007] A double-chain application method based on lattice technology and vector database comprises the following steps:

[0008] S1, data preprocessing;

[0009] S2, data annotation;

[0010] S3, text vectorization;

[0011] S4, establishing a vector database;

[0012] S5, constructing a double-chain structure;

[0013] S6, information indexing;

[0014] S7, relationship diagram display.

[0015] Preferably, the S1 includes the following sub-steps:

[0016] S11. Format conversion: convert unstructured documents into plain text in TXT format;

[0017] S12. Document splitting: Split long text files according to a certain logical structure, including chapter, paragraph or keyword splitting; use natural language processing technology, including word segmentation and named entity recognition technology, during splitting;

[0018] S13. Data cleaning: In the preprocessing stage, remove irrelevant content from the text, including extra spaces, punctuation, footnotes, and directories; this is done through regular expressions or using a specialized text cleaning library to ensure data consistency and accuracy;

[0019] S14. Data normalization: Normalize text data, including unified coding format, text alignment, and removal of special characters.

[0020] Preferably, S2 includes the following sub-steps:

[0021] S21. Use the Prompt integration method based on LangChain technology to extract key information, use LangChain technology to understand the text semantics, and extract key information points from the text through Prompt technology;

[0022] S22. Based on the prompt technology, key information points in the text are identified, including time, place, person, and event, and this information is stored as metadata using structured storage methods.

[0023] S23. Associate metadata with original text files and establish a complete metadata system so that structured data and original text complement each other.

[0024] Preferably, S3 includes the following sub-steps:

[0025] S31, using a vectorization model to convert the text file content into a vector form, so that a computer can understand and process the text data, wherein the vectorization model includes Word2Vec and BERT;

[0026] S32, storage and indexing: storing the structured data and the corresponding vector data together in a vector database, wherein the contents stored in the database include vector representation of the text, metadata and index information.

[0027] Preferably, S4 includes the following sub-steps:

[0028] S41, creating an index for each text file to quickly retrieve and query key information points and association relationships, wherein the index is based on vector similarity analysis results between files;

[0029] S42. Store the structured metadata and the corresponding vector data in a vector database to form a complete metadata system.

[0030] Preferably, S5 includes the following sub-steps:

[0031] S51. Based on the vector similarity analysis result, select files with a high correlation degree for linking, construct a double-chain structure, and associate the selected files through the links;

[0032] S52, further analyzing the association relationship between the texts based on the similarity calculation results, identifying texts with similar themes and semantics, and establishing a more accurate link relationship;

[0033] S53. Analyze the key points, characters, and events mentioned in the annotation information, integrate the related information into a double-link structure, explain the relationships between linked files according to different types of annotations, identify the hierarchical relationships in the text according to the annotation information, including using parent-child relationships and superior-subordinate relationships to build a hierarchical double-link structure; annotate the entities, concepts, and attributes in the text; annotate the event information in the text and the relationship between events, including event trigger words, participants, and time, to establish the relationship between events in the double-link structure; use sentiment analysis technology to sentimentally annotate the text, identify the sentiment tendency of the text, and establish sentiment-related links in the double-link structure, wherein the sentiment tendency includes positive, negative, or neutral; extract keywords from the text, and use the keywords as link identifiers to link files with similar keywords together; extract the relationships between entities from the text, including character relationships and organizational relationships, and establish corresponding links in the double-link structure.

[0034] Preferably, the S6 includes the following sub-steps:

[0035] S61, indexing the linked files for quick retrieval and query, using the indexing function of the vector database to perform indexing;

[0036] S62. Optimize the index structure and query algorithm to further accelerate the retrieval speed of the file.

[0037] Preferably, the S7 includes the following steps:

[0038] S71, displaying the finally generated double-link structure in a relationship diagram, wherein the relationship diagram is used to display the associated files and the associated words or key information points between them;

[0039] S72. Provide interactive function modules for users to explore and query data.

[0040] Preferably, step S8 is added after the data preprocessing stage and before the data labeling stage, and S8 is an operation of adding, deleting, modifying and checking the data, including the following:

[0041] S81, adding data: when new text data is added, it needs to be pre-processed and vectorized first, and then added to the vector database, and a new double-chain link is established based on the similarity analysis results;

[0042] S82. Delete data: For double-linked links or text files that are no longer needed, delete them from the vector database and update the related index and metadata information to maintain data accuracy and consistency; the data deleted from the text will be removed from the relationship graph to ensure that the relationship graph is updated in real time;

[0043] S83, modify data: For the text file or double-chain link that needs to be modified, perform necessary modification operations, including content update, label modification, and then re-vectorize and update to the vector database. At the same time, recalculate the double-chain link related to the file and update the index information;

[0044] S84. Query operation: The query function module allows the user to quickly locate the required data points and highlight, enlarge or mark the query results in the relationship diagram.

[0045] In summary, the present invention mainly has the following beneficial effects:

[0046] The present invention provides a double-chain application based on a vector database, aiming to solve the link efficiency and accuracy problems existing in the existing double-chain structure. By combining the similarity search capability of the vector database, it is possible to establish links between contents more efficiently and accurately, and add a relationship display function, so that users can understand the relationship between data more intuitively.

[0047] The highlight of the invention of this patent is that it creatively combines the vector database with the double-chain structure, completely getting rid of the traditional double-chain structure's reliance on precise matching. By utilizing the similarity judgment ability of the vector database, it is possible to accurately judge whether two contents can be connected, greatly improving the efficiency and accuracy of data links. This combination is one of the notable features of this patent, which makes the present invention significantly innovative and superior compared to the existing double-chain structure technology. In addition, this patent adds a relationship display function, allowing users to understand the relationship between data more intuitively, further enhancing users' understanding of the data. Finally, this patent brings new development space for the double-chain structure, which can be combined with other advanced technologies to further expand its application in the fields of data processing and information retrieval. This extensibility makes the present invention not only have practical application value, but also have potential market prospects and development space.

[0048] The patented dual-chain application based on vector database realizes efficient and accurate content linking and relationship display by combining the similarity search capability of vector database. This innovative dual-chain application will bring revolutionary changes to the fields of data processing and information retrieval, and meet the needs of modern data processing for efficiency, accuracy and intuition.

[0049] The dual-chain application based on dot matrix technology and vector database will bring revolutionary changes to the fields of data processing and information retrieval. By combining the natural handwriting input of dot matrix technology and the similarity search capability of vector database, as well as adding relationship display function, the application will achieve efficient and accurate content linking and relationship display, meeting the needs of modern data processing for efficiency, accuracy and intuition. This innovative dual-chain application not only has practical application value, but also has broad market prospects and development space, and will become an important development direction in the fields of data processing and information retrieval.

[0050] The technical effects of the patent are mainly reflected in:

[0051] Natural dot-matrix painting experience: The dot-matrix pen uses a unique pressure-sensing technology that can sense the pressure changes of the user's drawing, thereby simulating the natural use of traditional drawing tools (such as pencils, pens, brushes, etc.). This provides users with a smooth and natural drawing experience.

[0052] Convenient dot matrix editing and correction: Compared with traditional paper and painting media, the dot matrix pen provides rich editing and correction functions, including eraser function and multi-layer drawing support. This allows users to easily change and correct their works and create more efficiently.

[0053] Digital preservation and sharing: Images drawn by dot pens are saved in digital format, and users can edit, store and share them on computers. This provides users with a convenient way to save, backup and transfer works, and promotes the dissemination and cooperation of works.

[0054] Instant upload and secure storage: Through advanced dot matrix technology, students' handwritten notes during class can be captured in real time and quickly uploaded to the cloud for secure storage. This instant upload function ensures the persistence of students' notes and provides access anytime, anywhere. At the same time, advanced encryption technology is used to ensure data security and privacy.

[0055] Data structured management and analysis: The vector database provides a structured storage environment for students' notes. This structured storage not only enables fast retrieval and query, but also supports in-depth data analysis and knowledge mining of the note content. By analyzing the content of students' notes and their classroom performance, the system can provide more accurate data analysis and knowledge mining functions.

[0056] Strengthened application of the double-chain structure: The application of the double-chain structure further enhances the relevance and integration of students' notes. By establishing links between different knowledge points, concepts and information, the double-chain structure helps students build a complete and systematic knowledge network, promoting deep learning and knowledge transfer. This structured linking method enhances students' ability to understand and apply knowledge. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 This is a structural diagram of the dual-chain application of this patent based on lattice technology and vector database;

[0058] Figure 2 This is a schematic diagram of the principle of the double-chain application based on the lattice technology and vector database of this patent;

[0059] Figure 3 This is the final presentation of the dual-chain application of this patent based on dot matrix technology and vector database;

[0060] Figure 4 This is a dot matrix example diagram of the dual-chain application of this patent based on dot matrix technology and vector database. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example 1

[0062] refer to Figure 1-Figure 4 , a double-chain application method based on lattice technology and vector database, the specific implementation method is as follows:

[0063] First, in the data entry process, the application solutions of relevant dot matrix technology are:

[0064] The dot matrix pen with dot matrix technology as its core is mainly based on a special digitization process, which converts handwritten or drawn content into digital format. This implementation process usually involves the following key components:

[0065] Special paper:

[0066] Dot pen technology is usually used with a special paper that has a pattern of tiny, nearly invisible dots printed on it. These dots are unique and arranged in a specific way so that the pen can recognize them to determine its precise location and movement on the paper.

[0067] Sensors inside the pen:

[0068] A dot matrix pen usually has a tiny camera or other optical sensor inside it. As the pen moves across special paper, the camera continuously scans the dot pattern underneath.

[0069] Location tracking and recording:

[0070] The dot matrix information captured by the sensor is used to calculate the position, movement speed and direction of the pen tip. This data is then converted into a digital signal, accurately recording every movement of the pen on the paper.

[0071] Data storage and transmission:

[0072] The recorded data can be stored in the pen's internal memory or transmitted in real time to a connected device such as a smartphone, tablet or computer via Bluetooth or USB.

[0073] Software conversion:

[0074] Once the data is transferred to the digital device, the corresponding software application converts this raw data into a usable format such as text, images or other digital file formats. This allows users to edit, save or share their notes and drawings.

[0075] Application Integration:

[0076] Many dot pen-related applications support the import of recorded data into common document and image formats, and even text recognition to convert handwritten content into printed text.

[0077] Secondly, for the link of generating double-chain information from the entered data, the relevant application solutions are:

[0078] Data preprocessing:

[0079] Format conversion: Convert the notes in different formats entered by the user into plain text in TXT format for subsequent processing.

[0080] Document splitting: For longer text files, they need to be split according to a certain logical structure, such as by chapter, paragraph, or keyword. This step requires the use of natural language processing techniques, such as word segmentation and named entity recognition, to assist the splitting process. The split parts should remain meaningful and complete.

[0081] Data cleaning: In the preprocessing stage, it is necessary to remove irrelevant content from the text, such as extra spaces, punctuation, footnotes, directories, etc. This is usually done through regular expressions or using specialized text cleaning libraries. The purpose of data cleaning is to ensure the consistency and accuracy of the data.

[0082] Data normalization: Normalize text data, including unified encoding format, text alignment, removal of special characters, etc., to improve the efficiency and accuracy of subsequent processing.

[0083] Data annotation:

[0084] The Prompt integration method based on LangChain technology is used to extract key information. This step mainly uses LangChain technology to understand the text semantics and extract key information points from the text through Prompt technology.

[0085] Based on Prompt technology, key information points in the text are identified, such as time, place, people, events, etc. This information will be structured and stored as metadata for subsequent query and analysis.

[0086] The key information extracted by structured data is stored as metadata and associated with the original text file. In this way, a complete metadata system can be established to make structured data and original text complement each other.

[0087] Text vectorization:

[0088] Convert text file contents into vector form using advanced vectorization models such as Word2Vec, BERT, etc. This will enable computers to understand and process text data.

[0089] Storage and indexing: The structured data and the corresponding vector data are stored together in the vector database. The database not only stores the vector representation of the text, but also stores metadata and index information. This can improve the efficiency and accuracy of subsequent processing.

[0090] Create a vector database:

[0091] Create an index for each text file to quickly retrieve and query key information points and associations. These indexes are based on the results of vector similarity analysis between files.

[0092] The structured metadata and the corresponding vector data are stored in the vector database to form a complete metadata system. At the same time, the query structure and algorithm of the database are optimized to further improve the file retrieval speed and user experience.

[0093] Constructing a double-chain structure:

[0094] Based on the results of vector similarity analysis, files with higher correlation are selected for linking. In this way, a double chain structure can be constructed, that is, the selected files are linked together.

[0095] Based on the similarity calculation results, the association relationship between texts can be further analyzed. Texts with similar themes and semantics can be identified, thereby establishing a more accurate link relationship.

[0096] Analyze the key points, characters, events, etc. mentioned in the annotation information, and integrate these related information into the double-chain structure to make the structure more complete and accurate. Describe the relationship between the linked files according to different types of annotations. For example: identify the hierarchical relationship in the text, such as parent-child relationship, superior-subordinate relationship, etc., based on the annotation information, and build a hierarchical double-chain structure; annotate the entities, concepts and attributes in the text to identify and link files with similar attributes or characteristics in the double-chain structure; annotate the event information in the text and the relationship between events, such as event trigger words, participants, time, etc., to establish the relationship between events in the double-chain structure; use sentiment analysis technology to sentimentally annotate the text, identify the sentiment tendency of the text (positive, negative or neutral), and thus establish sentiment-related links in the double-chain structure; extract keywords from the text, and use these keywords as link identifiers to link files with similar keywords together; extract the relationship between entities from the text, such as character relationship, organizational relationship, etc., and establish corresponding links in the double-chain structure.

[0097] Information indexing:

[0098] Index the linked files for quick retrieval and query. By utilizing the indexing function of the vector database, the query efficiency can be greatly improved.

[0099] By optimizing the index structure and query algorithm, the file retrieval speed is further accelerated and a better user experience is provided. This can provide users with more efficient and accurate query services.

[0100] Relationship diagram shows:

[0101] The resulting double-chain structure is displayed in a relationship diagram, which can clearly show the associated files and the associated words or key information points between them.

[0102] Provides rich interactive functions to enable users to easily explore and query data. For example, users can zoom in or out of the relationship diagram, view detailed information, or perform further search operations. This makes it easier for users to understand and query data.

[0103] In the dual-chain application method based on lattice technology and vector database, adding operations of adding, deleting, modifying and checking data can be performed after the data preprocessing stage and before the data annotation stage. The specific implementation steps are as follows:

[0104] Adding data: When new text data is added, it needs to be preprocessed and vectorized before being added to the vector database. At the same time, a new double-chain link is established based on the similarity analysis results.

[0105] Deleting data: For double-linked links or text files that are no longer needed, they can be deleted from the vector database. At the same time, the relevant index and metadata information needs to be updated to maintain data accuracy and consistency. Data deleted from the text will be removed from the relationship graph to ensure that the relationship graph is updated in real time.

[0106] Modify data: For text files or double-chain links that need to be modified, first perform necessary modification operations (such as content update, label modification, etc.), then re-vectorize and update to the vector database. At the same time, it is necessary to recalculate the double-chain links related to the file and update the index information.

[0107] Query operation: Provides query function, allowing users to quickly locate the required data points. Query results can be highlighted, enlarged or marked in the relationship diagram to improve query efficiency and user experience.

[0108] Through the above steps, the dual-chain application method based on vector database of this patent can realize efficient and accurate processing and linking of text data, and provide a more intuitive display of data relationships.

[0109] Through the above steps, the dual-chain application method based on dot matrix technology and vector database of this patent can realize efficient and accurate processing and linking of text data, and provide a more intuitive display of data relationships.

[0110] The technical effects of this patent are mainly reflected in the following aspects:

[0111] Natural dot-matrix painting experience: The dot-matrix pen uses a unique pressure-sensing technology that can sense the pressure changes of the user's drawing, thereby simulating the natural use of traditional drawing tools (such as pencils, pens, brushes, etc.). This provides users with a smooth and natural drawing experience.

[0112] Convenient dot matrix editing and correction: Compared with traditional paper and painting media, the dot matrix pen provides rich editing and correction functions, including eraser function and multi-layer drawing support. This allows users to easily change and correct their works and create more efficiently.

[0113] Digital preservation and sharing: Images drawn by dot pens are saved in digital format, and users can edit, store and share them on computers. This provides users with a convenient way to save, backup and transfer works, and promotes the dissemination and cooperation of works.

[0114] Instant upload and secure storage: Through advanced dot matrix technology, students' handwritten notes during class can be captured in real time and quickly uploaded to the cloud for secure storage. This instant upload function ensures the persistence of students' notes and provides access anytime, anywhere. At the same time, advanced encryption technology is used to ensure data security and privacy.

[0115] Data structured management and analysis: The vector database provides a structured storage environment for students' notes. This structured storage not only enables fast retrieval and query, but also supports in-depth data analysis and knowledge mining of the note content. By analyzing the content of students' notes and their classroom performance, the system can provide more accurate data analysis and knowledge mining functions.

[0116] Strengthened application of the double-chain structure: The application of the double-chain structure further enhances the relevance and integration of students' notes. By establishing links between different knowledge points, concepts and information, the double-chain structure helps students build a complete and systematic knowledge network, promoting deep learning and knowledge transfer. This structured linking method enhances students' ability to understand and apply knowledge.

[0117] In addition, the present invention provides a dual-chain application based on a vector database, which aims to solve the link efficiency and accuracy problems existing in the existing dual-chain structure. By combining the similarity search capability of the vector database, it is possible to establish links between contents more efficiently and accurately, and add a relationship display function, so that users can understand the relationship between data more intuitively.

[0118] The highlight of the invention of this patent is that it creatively combines the vector database with the double-chain structure, completely getting rid of the traditional double-chain structure's reliance on precise matching. By utilizing the similarity judgment ability of the vector database, it is possible to accurately judge whether two contents can be connected, greatly improving the efficiency and accuracy of data links. This combination is one of the notable features of this patent, which makes the present invention significantly innovative and superior compared to the existing double-chain structure technology. In addition, this patent adds a relationship display function, allowing users to understand the relationship between data more intuitively, further enhancing users' understanding of the data. Finally, this patent brings new development space for the double-chain structure, which can be combined with other advanced technologies to further expand its application in the fields of data processing and information retrieval. This extensibility makes the present invention not only have practical application value, but also have potential market prospects and development space.

[0119] The patented dual-chain application based on vector database realizes efficient and accurate content linking and relationship display by combining the similarity search capability of vector database. This innovative dual-chain application will bring revolutionary changes to the fields of data processing and information retrieval, and meet the needs of modern data processing for efficiency, accuracy and intuition.

[0120] The dual-chain application based on dot matrix technology and vector database will bring revolutionary changes to the fields of data processing and information retrieval. By combining the natural handwriting input of dot matrix technology and the similarity search capability of vector database, as well as adding relationship display function, the application will achieve efficient and accurate content linking and relationship display, meeting the needs of modern data processing for efficiency, accuracy and intuition. This innovative dual-chain application not only has practical application value, but also has broad market prospects and development space, and will become an important development direction in the fields of data processing and information retrieval.

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

Claims

1. A double-chain application method based on a vector database, characterized in that: The following steps are involved: S1, data preprocessing; S2, data annotation; S3, text vectorization; S4, establishing a vector database; S5, constructing a double-chain structure; S6, information indexing; S7, relationship diagram display; The S2 includes the following sub-steps: S21. Use the Prompt integration method based on LangChain technology to extract key information, use LangChain technology to understand the text semantics, and extract key information points from the text through Prompt technology; S22. Based on the prompt technology, identify key information points in the text, including time, place, person, and event, and store this information as metadata using structured storage methods; S23, associate metadata with original text files and establish a complete metadata system so that structured data and original text complement each other; The S5 includes the following sub-steps: S51. Based on the vector similarity analysis result, select files with a high correlation degree for linking, construct a double-chain structure, and associate the selected files through the links; S52, further analyzing the association relationship between the texts based on the similarity calculation results, identifying texts with similar themes and semantics, and establishing a more accurate link relationship; S53, analyzing the key points, characters, and events mentioned in the annotation information, integrating the related information into a double-link structure, providing relationship descriptions for linked files according to different types of annotations, identifying hierarchical relationships in the text according to the annotation information, including building a hierarchical double-link structure using parent-child relationships and superior-subordinate relationships; annotating entities, concepts, and attributes in the text; annotating event information in the text and the relationship between events, including event trigger words, participants, and time, to establish associations between events in the double-link structure; Use sentiment analysis technology to emotionally annotate text, identify the sentiment tendency of the text, and establish sentiment-related links in the double-link structure. The sentiment tendency includes positive, negative or neutral; extract keywords from the text, and use the keywords as link identifiers to link files with similar keywords together; extract the relationships between entities from the text, including character relationships and organizational relationships, and establish corresponding links in the double-link structure.

2. A double-chain application method based on a vector database according to claim 1, characterized in that: The S3 includes the following sub-steps: S31, using a vectorization model to convert the text file content into a vector form, so that a computer can understand and process the text data, wherein the vectorization model includes Word2Vec and BERT; S32, storage and indexing: storing the structured data and the corresponding vector data together in a vector database, wherein the contents stored in the database include vector representation of the text, metadata and index information.

3. The double-chain application method based on vector database according to claim 1, characterized in that: The S4 includes the following sub-steps: S41, creating an index for each text file to quickly retrieve and query key information points and association relationships, wherein the index is based on vector similarity analysis results between files; S42. Store the structured metadata and the corresponding vector data in a vector database to form a complete metadata system.

4. The double-chain application method based on vector database according to claim 1, characterized in that: The S6 includes the following sub-steps: S61, indexing the linked files for quick retrieval and query, using the indexing function of the vector database to perform indexing; S62. Optimize the index structure and query algorithm to further accelerate the retrieval speed of the file.

5. The double-chain application method based on vector database according to claim 1, characterized in that: The S7 includes the following steps: S71, displaying the finally generated double-link structure in a relationship diagram, wherein the relationship diagram is used to display the associated files and the associated words or key information points between them; S72. Provide interactive function modules for users to explore and query data.

6. The double-chain application method based on vector database according to claim 1, characterized in that: After the data preprocessing stage and before the data labeling stage, step S8 is added, which is the operation of adding, deleting, modifying and checking the data, including the following: S81, adding data: when new text data is added, it needs to be pre-processed and vectorized first, and then added to the vector database, and a new double-chain link is established based on the similarity analysis results; S82. Delete data: For double-linked links or text files that are no longer needed, delete them from the vector database and update the related index and metadata information to maintain data accuracy and consistency; data deleted from the text will be removed from the relationship graph to ensure that the relationship graph is updated in real time; S83, modify data: for the text file or double-chain link that needs to be modified, perform necessary modification operations, including content update, label modification, and then re-vectorize and update to the vector database, and recalculate the double-chain link related to the file and update the index information; S84. Query operation: The query function module allows the user to quickly locate the required data points and highlight, enlarge or mark the query results in the relationship diagram.

Citation Information

Patent Citations

  • KR20200117542A