Selecting method for switching target community code resource for TD-SCDMA system

The method includes steps: (1) measuring the receiving sector and vicinity sectors to obtain basic measurement report, and resource load condition, and obtain candidate target sector (CTS); (2) determining whether the switching operation is of cofrequency and same time slot; if yes, then executing step (3); if no, selecting channelized codes (CC) in CTS to implement switching; (3) obtaining scrambling codes, idle CC in same time slot, scrambling codes of former sector, and CC with its time slot being occupied (CCTSO); calculating cross correlation values (CCV) of composite spread spectrum codes (CSSC) composed of scrambling codes of former sector and CCTSO, as well as CCV for each CSSC under different time delays, and calculating degree of interference of CSSC; (4) selecting CC with lowest degree of interference. The invention solves issue that once coincident code occurs in switching procedure in cofrequency and same time slot, the switching step is unable to carry out.