Data import method, device, electronic equipment and medium of a graph database
A data import and database technology, applied in the field of data processing, can solve problems affecting the speed of data import, and achieve the effect of improving data import speed and data processing performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0050] figure 1 It is a flow chart of a graph database data import method provided according to the first embodiment of the present application. This embodiment is based on MapReudce logic and is used to solve the problem of how to quickly import data into a graph database. The method can be executed by a data importing device of a graph database, which can be implemented in the form of software and / or hardware, and can be integrated into an electronic device carrying a data importing function. Such asfigure 1 As shown, the data import method of the graph database provided in this embodiment may include:
[0051] S110. Determine the first tuple data of edges in the graph data.
[0052] It can be understood that a graph is a map, which is composed of endpoints and edges; where endpoints represent entities such as people, things, objects, and places, and edges represent the relationship between two endpoints. In this embodiment, the graph data is the data to be imported into t...
no. 2 example
[0070] Figure 2A It is a flow chart of a graph database data import method provided according to the second embodiment of the present application. On the basis of the above embodiments, this embodiment further analyzes the mapping relationship in at least two slice files and the edge For the first multi-group data, determine the combined data for interpretation. Such as Figure 2A As shown, the data import method of the graph database provided in this embodiment may include:
[0071] S210. Determine first tuple data of edges in the graph data.
[0072] S220. According to the original id of the endpoint in the graph data, write the mapping relationship between the original id of the endpoint and the unique id of the endpoint, and the first tuple data of the edge into at least two shard files.
[0073] S230. Determine the second tuple data of the edge according to the mapping relationship in at least two shard files and the first tuple data of the edge.
[0074] In this emb...
no. 3 example
[0089] Figure 3A It is a flow chart of a graph database data import method provided according to the third embodiment of the present application. On the basis of the above embodiments, this embodiment further analyzes the mapping relationship in at least two slice files and the edge The first multi-group data, determine the combined data to be interpreted. Such as Figure 3A As shown, the data import method of the graph database provided in this embodiment may include:
[0090] S310. Determine first tuple data of edges in the graph data.
[0091] S320. According to the original id of the endpoint in the graph data, write the mapping relationship between the original id of the endpoint and the unique id of the endpoint, and the first tuple data of the edge into at least two shard files.
[0092] S330. Determine the second tuple data of the edge according to the mapping relationship in at least two shard files and the first tuple data of the edge.
[0093] S340. Write the s...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com