The embodiment of the invention provides an intelligent operation and maintenance method and
system based on a large
language model. According to the method, firstly, at least M multi-
modal original logs generated by a micro-service cluster are collected, compression
processing is conducted on the multi-
modal original logs by means of a large
language model, at least N multi-
modal target logs are obtained, the
log data volume can be greatly reduced, and the effective
information density is improved; synchronously collecting
system operation indexes of timestamps corresponding to the multi-modal target logs and determining an association relationship between the
system operation indexes to reduce invalid diagnosis
workload; a multi-type heterogeneous operation and maintenance
topological graph is constructed based on the incidence relation, a current fault is accurately positioned, the problem that root causes are difficult to quickly position through traditional manual analysis of mesh topology is solved, and the
root cause recognition time is shortened; and finally, a preset historical fault
knowledge base is called, a target repairing script matched with the current fault is generated in combination with the large
language model, repairing of the current fault is achieved, time consumed by manual intervention is shortened, and therefore the fault diagnosis efficiency is remarkably improved.