A method for resource allocation, comprising: transmitting, by a first terminal device, a request message to a network device, wherein the request message comprises mixed carrier request information, the mixed carrier request information is used for requesting the network device to allocate multiple carriers to the first terminal device, the multiple carriers have at least two types and the multiple carriers comprise a mixed carrier and a dedicated carrier, the mixed carrier being configured for an Uplink, "UL", a Downlink, "DL", and a Sidelink, "SL", the dedicated carrier being configured for an SL only, and the SL representing data transmission between different terminal devices; receiving, by the first terminal device, resource configuration information transmitted by the network device according to the request message, wherein the resource configuration information is used for indicating a first transmission resource allocated to the first terminal device by the network device and the first transmission resource comprises a resource on the mixed carrier; determining, by the first terminal device, a second transmission resource based on the first transmission resource; and transmitting, by the first terminal device, data to a second terminal device through the second transmission resource; characterized in that a time-domain resource of the second transmission resource is determined by the first terminal device according to transmission power of the first terminal device, wherein, when the transmission power of the first terminal device is larger than or equal to preset power, multiple carriers in the second transmission resource overlap in a time domain, and/or when the transmission power of the first terminal device is lower than the preset power, multiple carriers in the second transmission resource do not overlap in a time domain. transmitting, by a first terminal device, a request message to a network device, wherein the request message comprises mixed carrier request information, the mixed carrier request information is used for requesting the network device to allocate multiple carriers to the first terminal device, the multiple carriers have at least two types and the multiple carriers comprise a mixed carrier and a dedicated carrier, the mixed carrier being configured for an Uplink, "UL", a Downlink, "DL", and a Sidelink, "SL", the dedicated carrier being configured for an SL only, and the SL representing data transmission between different terminal devices; the mixed carrier request information is used for requesting the network device to allocate multiple carriers to the first terminal device, the multiple carriers have at least two types and the multiple carriers comprise a mixed carrier and a dedicated carrier, the mixed carrier being configured for an Uplink, "UL", a Downlink, "DL", and a Sidelink, "SL", the dedicated carrier being configured for an SL only, and the SL representing data transmission between different terminal devices; receiving, by the first terminal device, resource configuration information transmitted by the network device according to the request message, wherein the resource configuration information is used for indicating a first transmission resource allocated to the first terminal device by the network device and the first transmission resource comprises a resource on the mixed carrier; determining, by the first terminal device, a second transmission resource based on the first transmission resource; and transmitting, by the first terminal device, data to a second terminal device through the second transmission resource; characterized in that a time-domain resource of the second transmission resource is determined by the first terminal device according to transmission power of the first terminal device, wherein, when the transmission power of the first terminal device is larger than or equal to preset power, multiple carriers in the second transmission resource overlap in a time domain, and/or when the transmission power of the first terminal device is lower than the preset power, multiple carriers in the second transmission resource do not overlap in a time domain.