The invention relates to a
system architecture automatic design method based on
a domain-specific language (DSL). The method comprises the following steps: S1, constructing a DSL file definition
system; s2, carrying out service DSL (
Digital Subscriber Line) modeling; s3, judging whether expansion is needed or not, if so, turning to S4 after expansion, otherwise, directly turning to S4; s4, after the participants are determined, performing logic writing on the process and the process steps; s5, carrying out
system architecture DSL (
Digital Subscriber Line) modeling; s6, judging whether the
integration point needs to be expanded or defined, if so, turning to S7 after expansion or definition, and otherwise, directly turning to S7; s7, compiling components, interfaces and constraints in detail; s8, binding and mapping business and system architecture field elements; and S9, carrying out automatic analysis,
verification and reasoning by adopting a DSL analysis engine, generating a framework
blueprint, if abnormity exists in the
verification process or
business requirements change, turning to S3, and otherwise, directly outputting the framework
blueprint and an interface document. Compared with the prior art, the method has the advantages of high design efficiency, high expandability, high accuracy and the like.