A method for generating a Hybrid Automatic Repeat reQuest, HARQ, codebook, comprising: receiving Physical Downlink Shared Channels, PDSCHs, each of which comprises at least one Transport Block, TB; and to serving cells which are configured with Code Block Group CBG-based HARQ feedback, generating a HARQ codebook corresponding to the PDSCHs using N bits per PDSCH, wherein N is a maximum value of numbers of CBGs corresponding to the PDSCHs, wherein if the number of the serving cells which are configured with CBG-based HARQ feedback is more than one, and the HARQ codebook is configured as a dynamic HARQ codebook, N is max{ N i}, where i is an identifier of one of the serving cells which are configured with CBG-based HARQ feedback, N i is the maximum value of numbers of CBGs corresponding to the PDSCHs for the corresponding serving cell i, and max{} represents taking the maximum value, wherein the method further comprises: receiving a signaling from a base station, wherein the signaling comprises the number of TBs in each of the PDSCHs in the serving cell i; if the number of TBs in each of the PDSCHs in the serving cell i is two, N i = 2 × N i TB; and if the number of TBs in each of the PDSCHs in the serving cell i is one, N i = N i TB, where i is an identifier of one of the serving cells which are configured with CBG-based HARQ feedback, and N i TB is a maximum value of numbers of CBGs corresponding to the TBs for the corresponding serving cell I, characterized in that if a Downlink Control Information DCI format corresponding to the PDSCHs is DCI format 1_0, generating the HARQ codebook corresponding to the PDSCHs using N bits per PDSCH comprises: generating the HARQ codebook corresponding to the TB using a first bit; and setting remaining (N-1) bits to NACK. receiving Physical Downlink Shared Channels, PDSCHs, each of which comprises at least one Transport Block, TB; and to serving cells which are configured with Code Block Group CBG-based HARQ feedback, generating a HARQ codebook corresponding to the PDSCHs using N bits per PDSCH, wherein N is a maximum value of numbers of CBGs corresponding to the PDSCHs, wherein if the number of the serving cells which are configured with CBG-based HARQ feedback is more than one, and the HARQ codebook is configured as a dynamic HARQ codebook, N is max{ N i}, where i is an identifier of one of the serving cells which are configured with CBG-based HARQ feedback, N i is the maximum value of numbers of CBGs corresponding to the PDSCHs for the corresponding serving cell i, and max{} represents taking the maximum value, wherein the method further comprises: receiving a signaling from a base station, wherein the signaling comprises the number of TBs in each of the PDSCHs in the serving cell i; if the number of TBs in each of the PDSCHs in the serving cell i is two, N i = 2 × N i TB; and if the number of TBs in each of the PDSCHs in the serving cell i is one, N i = N i TB, where i is an identifier of one of the serving cells which are configured with CBG-based HARQ feedback, and N i TB is a maximum value of numbers of CBGs corresponding to the TBs for the corresponding serving cell I, characterized in that if a Downlink Control Information DCI format corresponding to the PDSCHs is DCI format 1_0, generating the HARQ codebook corresponding to the PDSCHs using N bits per PDSCH comprises: generating the HARQ codebook corresponding to the TB using a first bit; and setting remaining (N-1) bits to NACK.