The invention discloses a method for model conversion and
data migration of Neo4j to a
relational database. The method comprises the steps that at the step S1, a
conceptual model of the Neo4j is extracted; at the step S2, a user screens
label entities and relation entities to be converted; at the step S3, all the relation entities containing attributes are sought, and all the relation entities containing the attributes are converted into a table in the
conceptual model of the
relational database; at the step S4, all the
label entities to be converted are converted into a table in the
conceptual model of the
relational database; at the step S5, relation attributes which can express relations among each table in the conceptual model of the relational
database are established; at the step S6, a complete conceptual model of the relational
database is established; and at the step S7, the
data migration is carried out. According to the invention, the model
conversion method is adopted to solve problems in the
data migration of the Neo4j to the relational
database; and the data migration becomes more accurate and can be operated more easily.