The invention discloses a storage process calling and
business process decoupling method and
system based on declarative configuration, the
system comprises a CHECK module, a grammar parser, a storage process execution layer and a
business process control layer, the CHECK module outputs configuration information to the grammar parser, the grammar parser transmits a
parsing result to the storage process execution layer, and the
business process control layer controls the storage process execution layer to execute the business process. According to the method, the decoupling capacity is improved, when the storage process is changed, only configuration files of the CHECK module need to be modified, the modification amount of service codes is reduced by 90% or above, hundreds of lines in a traditional method are reduced to several lines, the development efficiency is improved, the
development period is shortened by 30%-40%, and the development cost is reduced by 30%-40%. Different developers can independently modify the storage process and the business process, code conflicts are reduced, the expandability of the
system is enhanced, the scheme supports multiple
database types, such as
SQL Server and MySQL, and can easily adapt to different business processes, and the expandability is improved by more than 50%.