The invention provides a method and a module for enhancing a periodic one-dimensional bar code
signal. The method comprises the steps of a, determining a frame period T of a
signal acquired by an
analog front end, and acquiring Y frames with T as a period; B, sampling the Y frames to obtain Y sampling sequences, wherein each sequence is expressed as x[i][0], x[i][1], x[i][2]......x[i][m-1], wherein Fs=N*(1 / w); c, carrying out weighting
processing by use of a weighted sliding window, wherein a window sequence is w[0], w[1],......, w[m-1], carrying out weighting
processing on the sampling sequence x[i] in each period, obtaining Y sequences h after weighting, wherein each sequence is expressed as h[i][0], h[i][1], h[i][2],......,h[i][m-1], i=0, 1, ..., (Y-1), h[i][j]=w[j]*x[i][j], and j=0, 1, 2, ...(m-1); d, sliding the weighted Y sequences h in step c with the period T in step a, accumulating
signal sequences h in
time domain to obtain a repetition-frequency accumulated signal sequence y[0], y[1], y[2],......y[m-1], wherein the formula is as shown in the description, j=0,1,......m-1; e, carrying out extraction on the sequence y in step d with the frequency of Fs / N in step b; and f, selecting a threshold G, and carrying out 1 / 0 judgment on the sequence b.