The invention provides an industrial chain
knowledge graph dynamic updating method and
system based on multi-
source data, and relates to the technical field of
data processing.The method comprises the steps that information of industrial classification nodes is obtained through a
database query interface, multi-level sorting
processing is conducted on an industrial classification
list composed of the nodes, and an analysis template is initialized; when a user side selects a node, triggering a sub-tree acquisition request, querying a direct sub-industry classification
list based on an industry classification
list, searching a sub-industry classification node in a recursive
lazy loading mode, and constructing a classification sub-
tree structure; constructing a multi-level cache architecture, storing the analysis template and the classification sub-
tree structure of the high-frequency access to a local memory cache, and storing the industry classification list and the classification sub-
tree structure to a
distributed cache; and querying and calling the template in the multi-level cache architecture, and outputting industrial classification template data, so that closed-loop synchronization from
data source change to cache update to front-end interface display is realized,
data consistency is guaranteed, and smooth and non-perceptual user experience is provided.