We give an approach to large deviation type asymptotic problems without evident probabilistic representation behind. An example provided by the mean field models of quantum statistical mechanics is considered.