The invention discloses a
data interface synchronization method for a supply
chain system, which relates to the technical field of
data processing and comprises the following steps: acquiring an interface
list and a call log, establishing an interface dependency relationship, forming an interface
topology table and generating a
unique identifier; in the
data synchronization process, incremental data are collected from a
source system, and a to-be-synchronized
data set is generated; before the data are written into a target
system, a double-water-level causal
label is added to each piece of data; writing the data with the additional
label into a shadow calculation account book, performing pre-checking according to consistency constraint, and submitting the data to a target
system when the checking is passed; and when the check is not passed or the account and object
list consistency fails, calculating a
minimum cut set based on the interface
topology table and the causal
label, and only executing
rollback on the interface nodes in the
minimum cut set and generating a
rollback record. According to the method, high-reliability synchronization of cross-
system data interfaces can be realized in a complex supply chain scene, account, object and order consistency is improved, and large-scale
rollback risks are reduced.