The invention discloses a method for constructing a universal embedding framework of a multi-semantic heterogeneous graph, which comprises the following steps of: 1, constructing a neighborhood exploration strategy alpha-exploration, and smoothly splicing two exploration strategies, namely, DFS and BFS, so as to adapt to different heterogeneous network structures; 2, based on alpha-exploration, constructing an HNSE model, wherein the HNSE model comprises an alpha-exploration neighborhood exploration layer, a multi-semantic learning layer and a node classification layer; and learning low-dimensional embedding of the nodes while heterogeneous information and semantic information of the nodes are reserved; 3, realizing a multi-layer HNSE model in a residual form, and connecting a full-connection output layer behind the multi-layer HNSE model; and 4, constructing three expansion strategies of the HNSE. According to the method, each vertex of the multi-semantic heterogeneous graph is embedded by aggregating adjacent/meta-path neighbor nodes of different types, and a node aggregation sampling strategy combining meta-path neighbors and direct neighbors is designed for the HNSE, so that a multi-head attention mechanism in the HNSE is guided, and capture of node multi-semantic information is improved by utilizing meta-paths.