The invention relates to the technical field of
resource scheduling, in particular to a
cloud computing resource optimization method and
system, and the method comprises the following steps: building a
virtual machine scheduling model based on real-
time data center
resource use and network state, collecting the use data of a
server and a storage device, dynamically updating the state data of nodes and edges, and generating a
virtual machine scheduling graph. According to the invention, through the dynamically updated
virtual machine scheduling graph, instant
visualization and control of
resource distribution are realized, high efficiency of
resource management is enhanced, a data flow concentration area is analyzed by adopting an intermediary centrality
algorithm, key nodes and high-load areas in a network are accurately identified, resource optimization is allowed to be adjusted more accurately according to requirements, and resource optimization efficiency is improved. By optimizing a data flow path through the maximum flow and
minimum cut theorem, avoiding resource congestion, balancing the overall network load and reinforcing introduction of a learning technology, a
resource allocation strategy can be adaptively matched with
resource use changes, flow and
resource allocation are optimized, and
system operation efficiency and response speed are improved.