Method and system for extracting data in document type database into relational database
A data extraction and database technology, applied in the database field, can solve the problems of inconsistent document domain sets, data extraction errors, and inability to batch extraction, and achieve the effect of ensuring data accuracy, accuracy, and extraction accuracy and efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] For the management of large amounts of data, databases are usually used for management. Currently, commonly used databases include document databases and relational databases. Document-type databases are established based on the idea of shared documents, which can easily access data through the file system, but cannot conveniently use SQL language to operate data. Therefore, in some application scenarios, if the main database of the system is a relational database but the database of the auxiliary system is a document database, it is necessary to extract the data in the document database of the auxiliary system into the relational database as the main database for integration.
[0041] In a document-type database, the basic unit of storage is a document, and data of different attributes in a document are stored in different domains. In a relational database, the basic unit of storage is a table, and the data of different attributes in the table are stored in different...
Embodiment 2
[0062] In the process of extracting data from the document database, on the basis of the data extraction method in Embodiment 1, each step needs to be adjusted according to different situations.
[0063] In some specific application scenarios, there are multiple domains with the same name in the same document, and the data stored in these domains with the same name are different, but because the domain names are the same, they all need to be placed in the same field when extracting data, so they need to be connected. Ensure that all data is extracted into relational database tables, such as Figure 4 As shown, the extraction connection steps are as follows:
[0064] Step 201: Extract data in the domain with the same name.
[0065] Step 202: Perform data type conversion.
[0066] Step 203: Connect the converted data using a preset connector.
[0067] Step 204: Insert the connected data into corresponding fields of corresponding rows.
[0068] Specifically, the preset connec...
Embodiment 3
[0099] On the basis of the method for extracting data from a document-type database to a relational database provided in Embodiment 1 and Embodiment 2 above, the present invention also provides a system for extracting data from a document-type database that can be used to implement the above method, such as Figure 8 Shown is a schematic diagram of the system architecture of the embodiment of the present invention.
[0100] Such as Figure 8 As shown in A, the data extraction system in the document database of this embodiment includes at least one server 1 and at least one client 2, a relational database can be deployed in the server 1, a document database can be deployed in the client 2, the server 1 and the client 2 can exchange database data and files. The data in the document database deployed on client 2 is transmitted to the relational database deployed on server 1 for storage through data exchange; the attachments in the document database deployed on client 2 are trans...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com