The invention discloses an optimization method,
system and device of a model language architecture and a medium, and belongs to the technical field of
software development, the method comprises the steps that operation nodes in a model under the model language architecture are virtualized, and a node topology architecture graph of the model is extracted according to the number of C instructions generated by all modules in the model; in a node topology architecture graph of the model, tracing back from each output interface to an input interface to obtain a unit topology architecture of each output interface, and calculating the
coupling degree of the unit topology architecture; setting a
coupling degree threshold value T, if the
coupling degree of the unit topology architecture is lt; if T is greater than T, combining the unit topology architecture with other unit topology architectures of which the coupling degrees are lower than T to obtain a coupling degree gt; a subsystem of T; if the coupling degree of the unit topology architecture is gt; if T, directly setting the sub-
system as an independent sub-
system; and obtaining an optimized
model architecture. According to the method, the
static analysis quality of the model can be improved, the unit
test case design is simplified, the
readability and quality of the generated code are improved, and the problem of complex
model architecture optimization is effectively solved.