The invention discloses an MBD model-oriented cross-enterprise collaborative
data exchange and interface generation method and
system, and belongs to the technical field of
computer aided design, and the method comprises the steps: analyzing a source end MBD model, extracting PMI
annotation items, and calculating a
semantic annotation coverage rate; analyzing a target
system API, identifying MBD related function points and calculating an API function coverage rate; calculating a fidelity coefficient based on the double coverage rates and judging an interface generation strategy; constructing a
dynamic mapping matrix, calculating an adaptive mapping
score of each PMI item and generating an adaptive interface code; and after the interface trial operation, calculating the actual
data exchange success rate and comparing the actual
data exchange success rate with the fidelity coefficient, and if the deviation exceeds the tolerance, triggering a feedback mechanism to adjust parameters. According to the method, the problems of
data loss and interface failure caused by data semantic loss or API (Application Program Interface) function insufficiency in cross-enterprise
collaboration are effectively solved, and the fidelity of data exchange and the robustness of interface generation are improved.