The invention discloses a real-time
health risk prediction method and
system based on a dynamic
knowledge graph, and relates to the technical field of
medical information. The method comprises the following steps: carrying out multi-
modal fusion and
privacy protection preprocessing on medical and
nursing heterogeneous data, and realizing
semantic consistency of cross-mechanism data based on an entity alignment method of a cross-
modal graph neural network; based on a hierarchical
federated learning framework, local
model parameters are subjected to hierarchical
encryption and aggregation through a secure multi-party computing protocol to generate an initial
global model, and prediction distribution of the
global model is optimized in combination with knowledge
distillation of
differential privacy constraints; designing a gradient difference dynamic updating trigger mechanism of
noise robustness,
smoothing noise interference through a sliding window mean value, and realizing adaptive threshold calibration through linkage model performance
verification; and light-weight deployment real-time reasoning is realized based on redundant edge
pruning of confidence and 8-bit symmetric quantization. On the premise of protecting data privacy, the real-time performance and accuracy of
health risk prediction are remarkably improved, and the method is suitable for a cross-institution
medical care collaborative decision-making scene.