The present invention relates to the field of
resource scheduling technology, specifically to a
cloud computing resource optimization method and
system, comprising the following steps: based on real-
time data center resource usage and network status, constructing a
virtual machine scheduling model, collecting
usage data of servers and storage devices, dynamically updating node and edge status data, and generating a
virtual machine scheduling graph. In the present invention, through the dynamically updated
virtual machine scheduling graph, instant
visualization and control of
resource distribution are achieved, the efficiency of
resource management is enhanced, the betweenness centrality
algorithm is used to analyze data flow concentration areas and accurately identify key nodes and high-load areas in the network, allowing resource optimization to be more accurately adjusted to demand, optimizing data flow paths through the maximum flow
minimum cut theorem, avoiding resource congestion, balancing the overall network load, and introducing
reinforcement learning technology, so that
resource allocation strategies can adaptively match resource usage changes, optimize traffic and
resource allocation, and improve
system operation efficiency and response speed.