On the basis of the design idea of DDD
software, a four-layer architecture serves as a
software design framework, a
Modelica modeling tool serves as a professional universal language basis, and the
software design method and
system for achieving field drive design based on
Modelica are provided. The core of the method is that software service items are classified according to domain functions and layered according to a DDD architecture, corresponding function modules and units are arranged in
a domain layer and an
application layer respectively, a
Modelica language is applied to establish
a domain model and an application model, and finally the models are converted into C / C + + application codes. The method can be used for reconstruction of an existing three-layer architecture-based
software system and can also be used for design and development of a brand-new
software system, so that basic codes or modules in a field layer can be adapted to wider reuse of an
application layer, complex and changeable field requirements can be met, and the
application layer can be widely applied to the field layer. The problems that a
software system is bloated and inflexible to use due to repeated configuration are solved, and the operation efficiency of software and the efficiency of
software design work can be improved.