Knowledge base AI original text accurate reading device containing DLF dynamic layout file
By introducing DLF dynamic layout files and multi-module collaborative work technology into the AI original text accurate reading device, the problem of low correlation between interpreted text and input problems during the question and answer process is solved, and the source traceability and multi-source joint reasoning of Internet content are realized, which improves the accuracy and user experience of interpreted text.
Patent Information
- Application Number
- CN202510185915.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2045-02-20
AI Technical Summary
In common big model question and answer process, the answer generation process and the interpreted text generation process are independent of each other, resulting in low correlation between the interpreted text and the input problem, unable to display the original version as it is, and it is impossible to associate multiple original text sources for joint reasoning.
Provides a knowledge base AI original text accurate reading device containing DLF dynamic layout files, including offline data acquisition module, DLF file generation module, content extraction knowledge base storage module, AI reasoning module, traceability explanation module and combination comparison module. Through the collaborative work of these modules, the source traceability and dynamic layout display of content on Internet websites or application systems can be realized.
It realizes the source traceability of Internet content, improves the accuracy and relevance of interpreted text, can display the original version as it is, and can associate multiple original text sources for joint reasoning, improving the reading accuracy and user experience.
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of artificial intelligence technology, and in particular is a knowledge base AI original text accurate reading device containing a DLF dynamic layout file. Background Art
[0002] In the common large-model question-and-answer process, the answer generation process and the explanation text generation process are independent of each other. There may be problems such as low correlation between the explanation text and the input question, and the lack of information in the question in the explanation text, which affects the accuracy of the explanation text. There is no way to refer to and compare the content of the question and answer, and it is impossible to determine whether the content of the answer is accurate. It is impossible to display the original version as it is. When there are multiple sources, there is no way to associate the original sources and jointly perform reasoning and display. Summary of the invention
[0003] The purpose of the present invention is to provide a knowledge base AI original text accurate reading device containing a DLF dynamic layout file to solve the problems raised in the above background technology.
[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solution: a knowledge base AI original text accurate reading device containing a DLF dynamic layout file, including a data offline acquisition module, a DLF file generation module, a content extraction knowledge base storage module, an AI reasoning module, a source tracing interpretation module, and a combination comparison module. The data collection offline module sets the corresponding collection website, analyzes the web page structure, and offline the web page according to the hierarchical relationship of the web page; The DLF file generation module converts each offline web page file into an OFD file, and assembles multiple web pages into a dynamic layout DLF file according to the hierarchical relationship, and then archives the web pages into an OFD file according to national standards. The OFD file is the source of traceability; The content extraction knowledge base storage module is used to extract content information from each individual web page, and generate a corresponding file queue from the extracted content information, and push the generated file queue to the inference model to form a knowledge base containing DLF dynamic layout files; The AI reasoning module performs logical reasoning on the questions inputted in the content extraction knowledge base storage module within the knowledge base, and returns the reasoning results; The source tracing interpretation module matches the associated DLF file based on the data returned by the acquired AI reasoning module and performs combined reading; The combined comparison module can select multiple page areas for simultaneous comparison and viewing according to different DLF files.
[0005] Preferably, the data collection offline module records the jump relationship between different web pages during the offline process.
[0006] Preferably, the DLF file generation module is to obtain the corresponding offline web page files in the data acquisition offline module, convert each web page into an OFD file, and assemble multiple web pages into a dynamic layout DLF file according to the relationship between the levels.
[0007] Preferably, the content extraction knowledge base storage module first stores the offline DLF file in the landing system, and the specific steps of extracting data are as follows: Step S1: first parse the DLF file format and extract the content information of each individual OFD web page archive file; Step S2: for each page, use MD5 to perform HASH operation on it to form a file queue, where the key is the hash value and the value is the content of the page; Step S3: form a self-describing json data for the DLF file; Step S4: push the file queue generated after parsing each page in the DLF file to the AI reasoning model to form a knowledge base containing DLF dynamic layout files, wherein the files in the knowledge base come from a single or multiple combinations or merged readable files in the file system.
[0008] Preferably, the AI reasoning module obtains the data pushed in the content extraction module, and outputs the returned data in a certain format, wherein the returned fileld source is matched to the file array combination of the upper page and the lower page of the file in the file system JSON; and the obtained fileld combination is passed into the AI reasoning model, and the final result is obtained according to the actual situation, and the source of the knowledge is confirmed to be accurate by reverse reasoning confirmation, and finally the data is organized and converted into a structured array.
[0009] Preferably, the returned data includes the HASH value of the OFD web page archive file and the specific source content.
[0010] Preferably, the source tracing interpretation module obtains the data returned by the AI reasoning module, obtains the fileld field information, and matches the associated DLF file. The specific process when performing combined reading is: extract multiple DLF files; combined reading, and parse the default jump and load it onto the file page; load the current page and mark the source, and continue to preload the fileld sub-level surface.
[0011] Preferably, the combined comparison module creates multiple file display areas from top to bottom during the reading and display process for different DLF files. The left menu uses partitions as page numbers, and the right side switches to display files. In the reader window, a file with a hierarchical structure is constructed, and the source is marked on the file. When clicking to switch, different DLFs and specific pages can be switched. When viewing, several page areas can be selected for comparison and simultaneous viewing. The DLF file includes converting files in other formats into DLF files.
[0012] On the other hand, the present invention provides a method for accurately reading original text in a knowledge base AI containing a DLF dynamic layout file, comprising the following steps: Step S1: Set the collection URL and analyze the web page structure, offline the web page according to the hierarchical relationship of the web page, and record the jump relationship between the web pages in real time; Step S2: Obtain the above offline web pages, convert each web page into an OFD file, and assemble them into a dynamic layout DLF file according to the hierarchical relationship; Step S3: extract the content information of each web page in the DLF file, and perform operations on each page to form a file queue, and push the generated file queue after parsing each page in the DLF into the inference model; Step S4: Use the reasoning model to perform logical reasoning within the knowledge base for the input question, and return the reasoning result in a certain format. Step S5: Match the returned data in the file system, match the upper and lower pages of the corresponding content, and continue to pass the matching file combination into the inference model to obtain the inference structure and confirm it through reverse inference; Step S6: Obtain the matching DLF files, read them in combination, and mark the source; Step S7: Use a reader to display and read multiple DLF files, and compare and view multiple page areas at the same time.
[0013] Compared with the prior art, the present invention has the following beneficial effects: (1) The present invention creatively defines the source of the content of a dynamic Internet website or application system. According to the national standard GB / T39677-2020, the source is defined to a specific historical moment, and the DLF dynamic layout technology is used to perfectly display the dynamic moment of the application system or application website at this historical moment, thereby achieving traceability and improving the user experience.
[0014] (2) The present invention is directed to accurate AI original text reading of the knowledge base, not only for DLF files, but also for other files, including various readable files in the knowledge base, which are single or multiple combinations or merges from the file system, thereby achieving accurate AI original text tracing of various types of files.
[0015] (3) The present invention can perform combined reading on DLF files and simultaneously match the sources of multiple question and answer results in the knowledge base for comparison, not only including the source of the file and the location of the file, but also combining the upper and lower files for comparative reading, thereby greatly improving the reading accuracy.
[0016] (4) The present invention may be displayed as is. When there are multiple sources, the sources of the related original texts may be combined for inference and display. DETAILED DESCRIPTION
[0017] The following will be combined with 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 making creative work are within the scope of protection of the present invention. Example
[0018] The present invention provides a knowledge base AI original text accurate reading device containing DLF dynamic layout files, wherein the dynamic layout files are referred to as DLF. DLF exists in the form of a file package, which includes a group of OFD files and the association relationship and display relationship between them to form an assembly to realize the collection of layout files and complex dynamic operations. The device of the present invention includes a data offline acquisition module, a DLF file generation module, a content extraction knowledge base storage module, an AI reasoning module, a source tracing interpretation module, and a combination comparison module. The data collection offline module gathers different web page contents and analyzes the web page structure according to the corresponding collection URL, and offlines the web pages according to the hierarchical relationship of the web pages. During the offline process, the jump relationship between different web pages is recorded. The jump relationship between web pages can be expressed as clicking on a content or a part of the content on web page A, and then jumping to another web page B related to the content, or clicking on a content or a part of the content on web page A, and then jumping to web page C related to the content, or clicking on the same content on web page A will jump to multiple web pages related to it, such as web pages B and C, thereby realizing the jump between web pages.
[0019] After the data collection is completed, the specific process of generating the DLF file in the DLF file generation module is to obtain the offline web pages in the data collection offline module, and then convert each offline web page file into an OFD file, and assemble multiple web pages into a dynamic layout DLF file according to the hierarchical relationship. According to the national standard GB / T39677-2020, the web pages are archived as OFD files. Then the OFD file will be used as the source of tracing when tracing back later.
[0020] The content extraction knowledge base storage module obtains the web pages collected in the data collection module, extracts the content information in each individual web page, and generates a corresponding file queue for the extracted content information, and pushes the generated file queue to the inference model to form a knowledge base containing DLF dynamic layout files. In the process of forming the knowledge base containing DLF dynamic layout files, the content extraction knowledge base storage module first stores the offline DLF files in the landing system, and then the specific steps of extracting data are as follows: Step S1: first parse the DLF file format and extract the content information in each individual OFD web page archive file; Step S2: For each page, use MD5 to perform HASH operation on it to form a file queue, where the key is the hash value and the value is the content of the page; Step S3: For the DLF file, a self-describing json data is formed, where the hierarchical structure between files is reflected in the json data; Step S4: Push the file queue generated after parsing each page in the DLF file to the AI inference model to form a knowledge base containing DLF dynamic layout files, where the files in the knowledge base may come from a single file or a combined file or a merged file in the file system.
[0021] The AI reasoning module performs logical reasoning within the knowledge base for the input questions, obtains the data pushed in the content extraction knowledge base storage module, and outputs the returned data in a certain format. For the returned fileld source, the file array combination of the upper page and lower page of the file is matched in the file system JSON; and the obtained fileld combination is passed into the AI reasoning model. According to the actual situation, the final result is obtained, and the source of the knowledge is confirmed to be accurate by reverse reasoning. Finally, the data is organized and converted into a structured array. The returned data includes the HASH value of the OFD webpage archive file and the specific source content of the source. For example, the returned data format includes: { 'answer':'', 'source': [ {'fileId': 'HASH value of web page file' 'content': 'Source specific source content 'sort': sort number } ] }.
[0022] The traceability interpretation module matches the associated DLF file based on the data returned by the AI reasoning module, among which the OFD file archived in the DLF file generation module is used as the traceability source, and then the matched DLF files are read in combination. The specific process of combined reading is: extract multiple DLF files; read in combination, and parse the default jump and load it on the file page; load the current page and mark the source of the origin. The source of the origin is the OFD file archived in the DLF file generation, and continue to preload the fileld sub-level surface, so that it can be more streamlined when reading multiple levels, greatly improving the reading experience.
[0023] The combined comparison module selects multiple page areas for simultaneous comparison and viewing for different DLF files. During the reading and display process, multiple file display areas are created from top to bottom. The left menu uses partitions as page numbers, and the right side switches to display files. In the reader window, a file with a hierarchical structure is constructed, and the source is marked on the file. When clicking, different DLFs and specific pages can be switched. When viewing, several page areas can be selected for comparison and simultaneous viewing.
[0024] On the other hand, the present invention provides a method for accurately reading original text in a knowledge base AI containing a DLF dynamic layout file, comprising the following steps: Step S1: Set the collection URL and analyze the web page structure, offline the web page according to the hierarchical relationship of the web page, and record the jump relationship between the web pages in real time; Step S2: Obtain the above offline web pages, convert each web page into an OFD file, and assemble them into a dynamic layout DLF file according to the hierarchical relationship; Step S3: extract the content information of each web page in the DLF file, and perform operations on each page to form a file queue, thus forming a knowledge base containing the DLF file, and push the generated file queue after parsing each page in the DLF into the inference model; Step S4: Perform logical reasoning within the knowledge base using the reasoning model for the input question and return the result of the reasoning; Step S5: Matching is performed in the file system according to the returned data, wherein the upper and lower pages of the corresponding content are matched, which means that when matching, not only the currently associated content but also the upper and lower pages of the content are matched, and then the matched file combination is continuously passed into the inference model to obtain the inference structure and confirm it by reverse inference; Step S6: Obtain the matching DLF file, read it in combination, and mark the source, that is, trace the source through the OFD file and mark it in the DLF file; Step S7: Use a reader to display and read multiple DLF files, and compare and view multiple page areas at the same time.
[0025] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments are to be considered exemplary and non-restrictive in all respects, and the scope of the present invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the present invention.
Claims
1. A knowledge base AI original text accurate reading device containing DLF dynamic layout files, characterized by: It includes offline data collection module, DLF file generation module, content extraction knowledge base storage module, AI reasoning module, source tracing explanation module, combination comparison module, The data collection offline module sets the corresponding collection website, analyzes the web page structure, and offline the web page according to the hierarchical relationship of the web page; The DLF file generation module converts each offline web page file into an OFD file, and assembles multiple web pages into a dynamic layout DLF file according to the hierarchical relationship, and then archives the web pages into an OFD file according to national standards. The OFD file is the source of traceability; The content extraction knowledge base storage module is used to extract content information from each individual web page, and generate a corresponding file queue from the extracted content information, and push the generated file queue to the inference model to form a knowledge base containing DLF dynamic layout files; The AI reasoning module performs logical reasoning on the questions inputted in the content extraction knowledge base storage module within the knowledge base, and returns the reasoning results; The source tracing interpretation module matches the associated DLF file based on the data returned by the acquired AI reasoning module and performs combined reading; The combined comparison module can select multiple page areas for simultaneous comparison and viewing according to different DLF files.
2. The AI original text accurate reading device with knowledge base containing DLF dynamic layout files according to claim 1 is characterized in that: In the offline process, the data collection offline module records the jump relationship between different web pages.
3. The AI original text accurate reading device with knowledge base containing DLF dynamic layout files according to claim 1 is characterized in that: The DLF file generation module is to obtain the corresponding offline web page files in the data acquisition offline module, convert each web page into an OFD file, and assemble multiple web pages into a dynamic layout DLF file according to the relationship between the levels.
4. The AI original text accurate reading device with knowledge base containing DLF dynamic layout files according to claim 1 is characterized in that: The content extraction knowledge base storage module first stores the offline DLF file in the landing system, and the specific steps of extracting data are as follows: Step S1: first parse the DLF file format and extract the content information of each individual OFD web page archive file; Step S2: for each page, use MD5 to perform HASH operation on it to form a file queue, where the key is the hash value and the value is the content of the page; Step S3: form a self-describing json data for the DLF file; Step S4: push the file queue generated after parsing each page in the DLF file to the AI reasoning model to form a knowledge base containing DLF dynamic layout files, wherein the files in the knowledge base come from a single or multiple combinations or merged readable files in the file system.
5. The AI original text accurate reading device with knowledge base containing DLF dynamic layout files according to claim 1 is characterized in that: The AI reasoning module obtains the data pushed in the content extraction module, and outputs the returned data in a certain format, wherein the returned fileld source is matched to the file array combination of the upper page and the lower page of the file in the file system JSON; and the obtained fileld combination is passed into the AI reasoning model, and the final result is obtained according to the actual situation, and then confirmed whether the source of the knowledge is accurate by reverse reasoning confirmation, and finally the data is organized and converted into a structured array.
6. The AI original text accurate reading device with knowledge base containing DLF dynamic layout files according to claim 5 is characterized in that: The returned data includes the HASH value of the OFD webpage archive file and the specific source content.
7. The AI original text accurate reading device with knowledge base containing DLF dynamic layout files according to claim 1 is characterized in that: The source tracing interpretation module obtains the data returned by the AI reasoning module, obtains the fileld field information, and matches the associated DLF file. The specific process when performing combined reading is: extract multiple DLF files; combined reading, and parse the default jump and load it onto the file page; load the current page and mark the source, and continue to preload the fileld sub-level surface.
8. The AI original text accurate reading device with knowledge base containing DLF dynamic layout files according to claim 1 is characterized in that: The combined comparison module creates multiple file display areas from top to bottom during the reading and display process for different DLF files. The left menu uses partitions as page numbers, and the right side switches to display files. In the reader window, a file with a hierarchical structure is constructed, and the source is marked on the file. When clicking to switch, different DLFs and specific pages can be switched. When viewing, several page areas can be selected for comparison and simultaneous viewing.
9. The AI original text accurate reading device with knowledge base containing DLF dynamic layout files according to claim 1, characterized in that: The DLF file includes files in other formats converted into a DLF file.
10. The AI original text accurate reading method of the knowledge base containing DLF dynamic layout files according to claim 1 is characterized in that: The following steps are involved: Step S1: Set the collection URL and analyze the web page structure, offline the web page according to the hierarchical relationship of the web page, and record the jump relationship between the web pages in real time; Step S2: Obtain the above offline web pages, convert each web page into an OFD file, and assemble them into a dynamic layout DLF file according to the hierarchical relationship; Step S3: extract the content information of each web page in the DLF file, and perform operations on each page to form a file queue, and push the generated file queue after parsing each page in the DLF into the inference model; Step S4: Use the reasoning model to perform logical reasoning within the knowledge base for the input question, and return the result of the reasoning in a certain format; Step S5: Match the returned data in the file system, match the upper and lower pages of the corresponding content, and continue to pass the matching file combination into the inference model to obtain the inference structure and confirm it through reverse inference; Step S6: Obtain the matching DLF files, read them in combination, and mark the source; Step S7: Use a reader to display and read multiple DLF files, and compare and view multiple page areas at the same time.
Citation Information
Patent Citations
Intelligent switching for secure and reliable voice-over-ip pbx service
CN101288318A
Method for analyzing webpage content of internet
CN101950312A
Webpage data processing method and apparatus, query processing method and question-answering system
CN104516949A
Knowledge processing method and device based on large model, knowledge question and answer method and device based on large model, and medium
CN117743558A
Method for reading DLF dynamic layout file
CN117875263A
Cited By
Device for signing and extracting original text based on large model generation result comparison
CN120216658A
Method for archiving, restoring and reading DLF files generated by record files and videos
CN120631837A
Method for accurately retrieving dynamic files and DLF (Digital Living Format) files archived by full webpage
CN121301666A
DLF-based production system-oriented AI trusted data inquiry device
CN122284973A
Dlf-based ai trusted number inquiry device for production system
CN122284973B