The invention belongs to the technical field of
software in
electricity, and discloses a FIink-based derivative index calculation method, which comprises the following steps of S1, unified configuration and dynamic discovery of derivative indexes, S2, efficient management and triggering of a
timer based on a period, S3, interaction between asynchronous query and an external
system, S4, calculation of the derivative indexes based on the FIink, and S5, calculation of the derivative indexes based on the FIink. Based on state
fault tolerance and just one-time semantic guarantee, a user is supported to create, modify and delete derivative index configuration in real time through WebUI or RESTAPI through a unified configuration center and a customized ConfigFetcher operator, configuration change can be perceived and synchronized by Flink operation within 30 seconds, operation restarting or code modification is not needed, and the operation efficiency is improved. Compared with long processes of configuration modification, service restarting and configuration effectiveness in a traditional static configuration scheme, the method has the advantages that configuration
response delay is greatly shortened, manual operation cost and service interruption risks are reduced, the method is particularly suitable for monitoring and
risk control scenes of frequent adjustment of business indexes, and derivative index calculation can be quickly matched with business demand changes.