Provided is a microwave-signal generating method and device based on the excited brillouin scattering effect and the optical frequency comb in high nonlinear fibers. The invention belongs to the technical field of microwave photonics. The device comprises a tunable laser, a first coupler, a second coupler, a first circulator, a second circulator, a first high nonlinear fiber, an attenuator, a fourth coupler, a first photoelectric detector, a power divider, an intensity modulator, a fourth DC voltage regulator, a first double parallel mach-zehnder modulator, a fifth DC voltage regulator, a sixth DC voltage regulator, a seventh DC voltage regulator, a third circulator, a second high nonlinear fiber, a third coupler, a second photoelectric detector, a microwave amplifier, a second double parallel mach-zehnder modulator, a first DC voltage regulator, a second DC voltage regulator, a third DC voltage regulator, an isolator, a fifth coupler, a third photoelectric detector and a frequency analyzer. Due to the advantages of mode selection and positive feedback of a photoelectric oscillator, the microwave signals which are output by the device have the advantages of good spectrum purity and low noises.