Device for controlling and/or regulating an annealing or heat treatment furnace of a finishing train, which processes a metal material and which comprises the annealing or heat treatment furnace, at least one roll stand downstream thereof in strip material processing direction, and thereafter a straightening stand as well as least two measuring instruments (7, 8, 17), which detect at least one mechanical material characteristic of a strip material, which is present in the finishing train, on-line by continuous performance of monitoring of a measurement value, which represents the at least one mechanical material characteristic of the strip material, and transmit this measurement value as an electrical or data-transferring signal to a regulating and/or control unit, and wherein the annealing or heat treatment furnace and the at least one roll stand and the straightening stand co-operate in a regulating and/or control circuit of an automated process control with the at least two measuring instruments (7, 8, 17), which circuit regulates and/or controls the annealing or heat-treatment furnace within the scope of a furnace control or furnace regulation and the at least one roll stand and the straightening stand within the scope of a control, characterised in that the measurement values continuously detected on-line and representing mechanical material characteristics of the strip material are fed back to the furnace control or furnace regulation of the annealing or heat-treatment furnace within the scope of a learning process of a learning regulation and/or control unit and act on the regulating and/or control circuit and that the control and/or regulating unit on the basis of past behaviour of the annealing or heat treatment furnace learns the reaction of the annealing or heat treatment furnace in the case of changed conditions of the annealing or heat treatment furnace and on the basis of the learnt reaction of the annealing or heat treatment furnace adjusts the conditions of the annealing or heat treatment furnace in such a way that the scatter of measurement values for arriving strips is less, wherein a first measuring instrument is arranged in strip material processing direction directly behind the annealing or heat treatment furnace and a second measuring instrument is arranged in strip material processing direction behind the straightening stand and the first measuring instrument and the second measuring instrument act by means of determined measurement values, which represent mechanical material characteristics of the strip material, in feedback to the furnace control or furnace regulation and the control of the at least one roll stand and of the straightening stand, on the regulating and/or control circuit of the automated process control, or wherein the first measuring instrument is arranged in strip material processing direction directly behind the annealing or heat treatment furnace and a further measuring instrument is arranged in strip material processing direction in front of the annealing or heat treatment furnace and the first measuring instrument and the further measuring instrument act by means of determined measurement values, which represent mechanical material characteristics of the strip material, in feedback to the furnace control or furnace regulation and the control of the at least one roll stand (30 and of the straightening stand, on the regulating and/or control circuit of the automated process control, or wherein the second measuring instrument is arranged in strip material processing direction behind the straightening stand and the further measuring instrument is arranged in strip material processing direction in front of the annealing or heat treatment furnace and the second measuring instrument and the further measuring instrument act by means of determined measurement values, which represent mechanical material characteristics of the strip material, in feedback to the furnace control or furnace regulation and the control of the at least one roll stand and of the straightening stand, on the regulating and/or control circuit of the automated process control.