The invention discloses an ethnic code capture method and an ethnic code capture device. The ethnic code capture method comprises the following steps: extracting
baseband signals to obtain to-be-processed
baseband data, and storing by child segments; respectively performing partial matched filtering (PMF) on all the child segments by taking a local
pseudo code as a tap coefficient to obtain accumulation results to complete code phase search; caching the PMF processed results, respectively performing
fast Fourier transform (FFT) on the results, and performing
spectral analysis to complete frequency search; respectively performing parallel delivery on FFT processed output results, and then, accumulating by points to obtain M-point incoherent accumulation results, and looking up capture results, wherein the capture results can include but are not limited to a maximum correlation value, a secondary correlation value, frequency, a phase, the number of segments, and the like. According to the ethnic code capture method and the ethnic code capture device disclosed by the invention, by adopting a mode of PMF and FFT combination, the sensitivity of ethnic code capture is improved, and the rapid capture of an ethnic code is completed in an FPGA (
field programmable gate array)
chip, and moreover, the ethnic code capture device can be bound with a
receiver channel, and under the condition that high sensitivity is met, the capture speed is remarkably improved, and therefore, the requirement of practical application is met.