In the transport direction (A), the container (2) is heated by using the equipment (1) continuously provided with a plurality of processing regions (H1 to H4; P1 to P4; C4 to C1). ) A method for sterilizing or pasteurizing a product filled in, wherein the heating region forms a pasteurization range region and a cooling region, and in these regions, each container (2) is a liquid processing medium. As a result, the temperature of the processing medium rises from region to region in the transport direction (A) in the preheating region, the sterilization temperature or pasteurization temperature is reached in the region of the pasteurization range, and the transport direction in the cooling region. In (A), the heat energy of the processing medium, which decreases from region to region and occurs at a low temperature level during processing, is transferred to at least one heat pump (20) for heating the processing medium to a high temperature level. The method used Ri.搬送方向(A)において、容器(2)が、連続して複数の処理領域(H1~H4;P1~P4;C4~C1)を備えた設備(1)を使用して、加熱により容器(2)内に満たされた製品を滅菌あるいは低温殺菌するための方法であって、加熱領域が低温殺菌範囲の領域ならびに冷却領域を形成し、これらの領域において、各容器(2)が液状の処理媒体の作用を受け、この処理媒体の温度が予熱領域において搬送方向(A)で領域から領域へと上昇し、低温殺菌範囲の領域で滅菌温度あるいは低温殺菌温度が達せられ、かつ冷却領域において搬送方向(A)で領域から領域へと低下し、処理の際に、低い温度レベルで生じる処理媒体の熱エネルギーが、高い温度レベルまで処理媒体を加熱するための少なくとも一つのヒートポンプ(20)により使用される方法。