Measuring the distribution of the fishing effort of trawlers is of great significance for describing marine fishery activities, quantifying fishing systems in terms of marine ecological pressure, and revising the regulations of fishing. The purpose of this paper is to develop an efficient learning algorithm to detect the fishing behavior of trawlers to analyze the distribution of fishing effort. The vessel-monitoring system data of more than 4600 trawlers from September 2019 to April 2023 were used for feature extraction. According to the spatiotemporal information provided by the vessel position data, 11-dimensional features were extracted to form the feature vectors. A Slime Mould Algorithm-optimized Light Gradient-Boosting Machine (SMA-LightGBM) algorithm was proposed to classify the feature vectors to recognize fishing behavior. The presented method showed a remarkable generalization ability and high accuracy, sensitivity, specificity, and Matthews correlation coefficient in the test results, with scores of 98.23%, 98.75%, 97.75%, and 0.9646, respectively. Subsequently, the trained model was used to identify the fishing behavior of trawlers belonging to the coastal provinces of the Bohai Sea and the Yellow Sea in the sea area of 117° E~132° E, 26° N~41° N. The fishing effort was calculated and evaluated according to the fishing behavior recognition results. The mean absolute error was 0.3031 kW·h, and the coefficient of determination score was 0.9772. The thermal map of the fishing effort of the trawler was mapped, and the spatiotemporal characteristics were estimated in the region of interest from 2019 to 2023 with a spatial resolution of 18 degree × 18 degree. This method is an efficient way of analyzing the spatiotemporal characteristics of the fishing effort of trawlers. It provides a quantitative basis for the assessment of fishery resources and can inform fishing policies.