The invention relates to the field of graph calculation, in particular to a data use method and device in a graph calculation
hybrid calculation mode. The method mainly comprises the following steps: partitioning vertexes according to weights of the vertexes and edges, and dividing the vertexes in each partition to corresponding computational nodes; each computing node stores the divided vertexes, a row and column sparse compression matrix is used for storing the
adjacency relation of the vertexes and the edges, and the vertexes and the edges stored in each computing node are segmented and reconstructed according to the
adjacency relation, so that the reconstructed vertexes and the reconstructed edges can adapt to all computing
modes; and obtaining a current calculation mode according to the number of the currently active vertexes and the number of the currently active edges, and performing
data processing in the current calculation mode by using the reconstructed vertexes and the reconstructed edges. According to the method, the storage representation mode of the graph data can be flexibly and efficiently converted in a mixed graph calculation mode
system, and the calculation preposition requirements of different graph calculation
modes are met.