A random access method, comprising: receiving, by a terminal device, supplementary uplink, SUL, configuration information, wherein the SUL configuration information comprises at least one first SUL resource and at least one SUL selection threshold that are corresponding to a first SSB; determining, by the terminal device, based on a downlink measurement value of the first SSB and the at least one SUL selection threshold, a carrier resource used for random access, wherein the carrier resource comprises one of the at least one first SUL resource or comprises a non-SUL resource corresponding to the first SSB; and performing, by the terminal device, random access on the determined carrier resource, characterised by if the SUL configuration information comprises N2 first SUL resources corresponding to the first SSB and N3 SUL selection thresholds corresponding to the first SSB, wherein N2 and N3 are integers greater than or equal to 2, and one of the N2 first SUL resources is corresponding to one of the N3 SUL selection thresholds, the determining, by the terminal device, based on a downlink measurement value of the first SSB and the at least one SUL selection threshold, a carrier resource used for random access comprises: determining, by the terminal device, a third SUL resource from the N2 first SUL resources based on access priority information, wherein the access priority information is used to indicate an access priority order of the N2 first SUL resources, and an access priority of the third SUL resource is higher than a priority of an SUL resource of the N2 first SUL resources other than the third SUL resource; and determining, by the terminal device, based on the downlink measurement value of the first SSB and an SUL selection threshold corresponding to the third SUL resource, the carrier resource used for random access, wherein the carrier resource comprises the third SUL resource or comprises the non-SUL resource corresponding to the first SSB. receiving, by a terminal device, supplementary uplink, SUL, configuration information, wherein the SUL configuration information comprises at least one first SUL resource and at least one SUL selection threshold that are corresponding to a first SSB; determining, by the terminal device, based on a downlink measurement value of the first SSB and the at least one SUL selection threshold, a carrier resource used for random access, wherein the carrier resource comprises one of the at least one first SUL resource or comprises a non-SUL resource corresponding to the first SSB; and performing, by the terminal device, random access on the determined carrier resource, characterised by if the SUL configuration information comprises N2 first SUL resources corresponding to the first SSB and N3 SUL selection thresholds corresponding to the first SSB, wherein N2 and N3 are integers greater than or equal to 2, and one of the N2 first SUL resources is corresponding to one of the N3 SUL selection thresholds, the determining, by the terminal device, based on a downlink measurement value of the first SSB and the at least one SUL selection threshold, a carrier resource used for random access comprises: determining, by the terminal device, a third SUL resource from the N2 first SUL resources based on access priority information, wherein the access priority information is used to indicate an access priority order of the N2 first SUL resources, and an access priority of the third SUL resource is higher than a priority of an SUL resource of the N2 first SUL resources other than the third SUL resource; and determining, by the terminal device, based on the downlink measurement value of the first SSB and an SUL selection threshold corresponding to the third SUL resource, the carrier resource used for random access, wherein the carrier resource comprises the third SUL resource or comprises the non-SUL resource corresponding to the first SSB. determining, by the terminal device, a third SUL resource from the N2 first SUL resources based on access priority information, wherein the access priority information is used to indicate an access priority order of the N2 first SUL resources, and an access priority of the third SUL resource is higher than a priority of an SUL resource of the N2 first SUL resources other than the third SUL resource; and determining, by the terminal device, based on the downlink measurement value of the first SSB and an SUL selection threshold corresponding to the third SUL resource, the carrier resource used for random access, wherein the carrier resource comprises the third SUL resource or comprises the non-SUL resource corresponding to the first SSB.