The invention relates to the technical field of
computer engineering, and discloses a method and
system for achieving industrial data distributed multi-level
cache consistency, and the method comprises the steps: receiving a data writing request, and designing a multi-level
cache consistency protocol and a hierarchical cache
elimination strategy; setting a multi-level cache classification and
combination method, storing cache data in a classified manner,
processing different cache write-in operations by using different cache levels, dynamically adjusting the cache levels and strategies according to an access mode and data characteristics monitored in real time, and updating a
database; and sending a cache updating message to all application nodes, and updating the local cache by the nodes after receiving the cache updating message. According to the multi-level cache
system, through flexible cache combination, dynamic adjustment and intelligent preheating, the overall performance and response speed of the
system are effectively improved, and the influence of first access
delay and burst traffic is reduced. The multi-level
cache consistency protocol ensures the
data consistency among different cache levels, and the reliability of the system is enhanced.