The application provides an index generation method, an execution method and a program product based on a building
block model. Through a multi-dimensional model division mechanism, indexes originally coupled together are divided into different types of building block models, including index models, data models and
algorithm models, from the dimensions of control scheduling,
data acquisition and
data processing. Furthermore, based on different business and index requirements, the arrangement and low code configuration of the related index models, data models and
algorithm models can be completed based on a more flexible configuration
granularity within the index, to form corresponding multi-dimensional data implementation strategies and multi-dimensional
algorithm implementation strategies, and then generate a DAG
route corresponding to the index model, thereby improving the flexibility and
reusability of the index generation method. In the actual business execution process, the target DAG
route can be quickly constructed based on the index calculation request, and then each node in the target DAG
route is executed layer by layer to obtain the index result of the index calculation request, thereby improving the efficiency of obtaining the index result.