In the task of multi-person tracking, we have observed that ID switches in applications can lead to confusion in tracking targets, significantly reducing the efficiency of target tracking in actual work and the user experience. Therefore, this paper proposes a new method for multi-person tracking, building upon the BoT-SORT, with a focus on identity switching. The proposed framework integrates spatial location constraint and occlusion awareness into the tracking process. By combining spatial location and occlusion for track initialization, and methods for ID switch verification and rectification, we have enhanced the utilization of low-confidence detections, effectively reduced ID switches in multi-person tracking. The effectiveness of the proposed method has been verified through ablation experiments and validated on the MOT20 benchmark, The HOTA increased by 0.3 to 63.6, the MOTA increased by 0.3 to 78.1, and the IDF1 increased by 0.9 to 78.4. Particularly, the number of ID switches decreased from 1313 before the improvement to 1007, a reduction of 23.3%.