The invention discloses a method and
system for generating a
software development scheme, and belongs to the technical field of
software development, and the method comprises the steps: collecting
system resource occupation data and thread operation data during multi-user concurrent operation, segmenting the
system resource occupation data into resource fragments according to time dimensions, positioning resource competition points, and generating conflict mark data; constructing a thread execution
graph based on the conflict mark data, identifying mutually exclusive resource points, constructing a double-layer distributed
queue, setting a resource state monitor to dynamically allocate thread priorities, and generating scheduling
processing codes; monitoring the running state of the scheduling
processing code, and splitting the thread into a plurality of sub-threads for parallel execution when detecting that the thread is blocked; and collecting an execution result, recording the execution path with the shortest
response time and the highest
resource utilization rate as a scheduling template, and generating a
software development scheme. According to the method, the utilization efficiency of system resources is improved through dynamic scheduling and
parallel processing, and the thread blocking probability is reduced.