What is claimed is:1. A method of control channel transmission, applied to a terminal device, the method comprising:detecting a physical downlink control channel (PDCCH) according to a first control resource set, wherein the first control resource set is a control resource set on a first bandwidth part (BWP), the first BWP comprises N subbands, the first control resource set is located on K subbands of the N subbands, N and K are positive integers and N≥K≥2;when determining that subbands corresponding to the first control resource set comprise a subband not for communication, not detecting a PDCCH on the subband not for communication; and/ordetecting a PDCCH according to a second control resource set, wherein subbands corresponding to the second control resource set comprises P subbands for communication in the K subbands, P is a positive integer and 1≤P<K, and the second control resource set comprises a resource of the first control resource set located on the P subbands.2. The method according to claim 1, wherein the determining that subbands corresponding to the first control resource set comprise a subband not for communication comprises:determining a subband for communication in the first BWP according to a first downlink control channel transmitted by a network device;determining that the subbands corresponding to the first control resource set comprise a subband not comprised in the subband for communication in the first BWP.3. The method according to claim 2, wherein the first downlink control channel is configured for transmitting slot format information, and the slot format information comprises indication information of the subband for communication in the first BWP.4. The method according to claim 1, wherein the determining that subbands corresponding to the first control resource set comprise a subband not for communication comprises:receiving first indication information transmitted by a network device, the first indication information being configured to instruct the terminal device to receive a PDCCH according to the second control resource set.5. A terminal device, comprising:a processor, a memory, and a transceiver, wherein the memory is configured to store a computer program, and the processor is configured to call and run the computer program stored in the memory to:detect, through the transceiver, a physical downlink control channel (PDCCH) according to a first control resource set, wherein the first control resource set is a control resource set on a first bandwidth part (BWP), the first BWP comprises N subbands, the first control resource set is located on K subbands of the N subbands, N and K are positive integers and N≥K≥2;when determining, through the processor, that subbands corresponding to the first control resource set comprises a subband not for communication, not detect, through the transceiver, a PDCCH on the subband not for communication; and/ordetect, through the transceiver, a PDCCH according to a second control resource set, wherein subbands corresponding to the second control resource set comprises P subbands for communication in the K subband, P is a positive integer and 1≤P<K, and the second control resource set comprises a resource of the first control resource set located on P subbands.6. The terminal device according to claim 5, wherein the processor is configured to:determine a subband for communication in the first BWP according to a first downlink control channel transmitted by a network device;determine that the subbands corresponding to the first control resource set comprise a subband not comprised in the subband for communication in the first BWP.7. The terminal device according to claim 6, wherein the first downlink control channel is configured for transmitting slot format information, and the slot format information comprises indication information of the subband for communication in the first BWP.8. The terminal device according to claim 5, wherein the processor is configured to receive, through the transceiver, first indication information transmitted by a network device, the first indication information being configured to instruct the terminal device to receive a PDCCH according to the second control resource set.