The invention discloses a supermarket cash
register data real-
time processing and
privacy protection method based on
edge computing. According to the invention, through
edge node localization training and a gradient parameter sharing mechanism, the
data transmission pressure of a
central node is obviously reduced, the convergence speed of a
global model is effectively improved through a dynamic weighted aggregation
algorithm, the iteration period of a transaction
risk control model is greatly shortened, and the
response delay of a
system to abnormal transactions is controlled at an extremely low level; a high-
concurrency transaction scene can be efficiently processed, the real-time detection capability and the
system stability are enhanced, a differential
encryption strategy is implemented for data with different sensitivities by a hierarchical
privacy protection architecture, the unpredictability of a core data key is ensured by
quantum random number
encryption, a dynamic
differential privacy algorithm automatically adapts to data distribution characteristics when
noise is added, and the real-time detection capability and the
system stability are improved. A
hardware security module is combined with a threshold
secret sharing mechanism, and a multi-layer
protection system is constructed from a
physical layer to a protocol layer, so that the risk of data leakage is effectively reduced, and meanwhile, the compliance requirements of related laws and regulations are met.