Method and system for generating work alarm

The invention relates to a method and a system for generating work alarm. According to the embodiments, the method comprises: before a target work is processed, through analyzing historical work, determining input and output characteristics of a target work in at least a stage, and based on the input and output characteristics, calculating resource cost related to processing of the target work, and then responding to the resource cost exceeding a preset threshold, generating an alarm aimed at the target work. Using the method, an alarm aimed at the target work can be given in a forward looking manner before a resource cost problem occurs, so an administrator or a developer can find faults in advance and take active replying measures, thereby preventing loss and damages of intermediate results or output data when the target work is processed.