Minute-cadence observations of the LAMOST fields with the TMTS: I. Methodology of detecting short-period variables and results from the first-year survey. Issue 2 (2nd October 2021)