The invention discloses an optoacoustic effect-based heart rate measuring method and device. The measuring method includes steps that emitting a continuous sine wave near-infrared light source to a living body, receiving sound wave radiated from the living body under the excitation of the near-infrared light, and the like. The device comprises a hollow multi-ring array detection sensor, a signal amplifier, a blocking and filtering device, a programmable gain amplifier, a micro-controller, a near-infrared module, an LCD display screen, an auxiliary sensor module, a Buzzer buzzer and the like. The device is stable in performance, simple in structure, convenient to carry, convenient to operate, capable of realizing the real-time heart rate monitoring, and capable of being broadly used for different heart rate measuring fields.