The model of an oscillating universe proposed by A. Friedmann in 1922 dominated cosmology for a long time. R. Tolman put forward a thermodynamic argument against the cyclic cosmological model, believing that entropy should accumulate from cycle to cycle. J. Bekenstein and S. Hawking discovered a tremendous amount of entropy associated with black holes. This discovery led to the conclusion that the majority of the Universe's entropy is contained in black holes. N. Poplawski considers a Universe that oscillates within a black hole. This paper analyzes the relationship between the entropy of black holes and the oscillating Universe inside a large black hole. It is demonstrated that the entropy of a black hole can only be defined for an external observer. For an observer inside the black hole, its entropy is zero. This opens up the possibility of constructing a cyclic cosmology in which entropy and the size of the visible part of the Universe change strictly periodically. This does not violate the second law of thermodynamics because the continuous accumulation of entropy from cycle to cycle pertains to the surface of the big black hole, which is invisible to the internal observer.