1. A method of determining earthquake parameters for an earthquake, said method comprising: inputting a seismogram of the earthquake, the seismogram including earthquake waveforms; searching concurrently in pre-established historical seismogram database and theoretical seismogram database by use of an approximate nearest neighbor search method with waveform matching, to find a set of seismograms similar to the input seismogram according to a preset similarity condition, wherein the historical seismogram database stores seismograms of real earthquakes, and the theoretical seismogram database stores seismograms theoretically calculated; and determining from the set of similar seismograms one or more seismograms matched with the input seismogram, and determining the earthquake parameters from the matched seismograms.