A wireless communication method performed by a user equipment, UE, the method comprising: • determining a length of a Zadoff-Chu sequence based on a resource block quantity corresponding to a system bandwidth, wherein the determining the length of the Zadoff-Chu sequence based on the resource block quantity corresponding to the system bandwidth comprises: ∘ determining the length of the Zadoff-Chu sequence based on the resource block quantity corresponding to the system bandwidth and a comb value, wherein the determining the length of the Zadoff-Chu sequence based on the resource block quantity corresponding to the system bandwidth and the comb value comprises: ▪ when the resource block quantity corresponding to the system bandwidth is greater than a resource block threshold, and the comb value is a first value, determining that the length of the Zadoff-Chu sequence is a first length; ▪ when the resource block quantity corresponding to the system bandwidth is less than or equal to the resource block threshold, and the comb value is the first value, determining that the length of the Zadoff-Chu sequence is a second length; and • determining a reference signal sequence based on the length of the Zadoff-Chu sequence and a resource block quantity corresponding to an allocated user equipment bandwidth, wherein the reference signal sequence is comprised in an uplink reference signal, and the allocated user equipment bandwidth is a part of the system bandwidth; • sending the uplink reference signal to a base station on the allocated user equipment bandwidth. • determining a length of a Zadoff-Chu sequence based on a resource block quantity corresponding to a system bandwidth, wherein the determining the length of the Zadoff-Chu sequence based on the resource block quantity corresponding to the system bandwidth comprises: ∘ determining the length of the Zadoff-Chu sequence based on the resource block quantity corresponding to the system bandwidth and a comb value, wherein the determining the length of the Zadoff-Chu sequence based on the resource block quantity corresponding to the system bandwidth and the comb value comprises: ▪ when the resource block quantity corresponding to the system bandwidth is greater than a resource block threshold, and the comb value is a first value, determining that the length of the Zadoff-Chu sequence is a first length; ▪ when the resource block quantity corresponding to the system bandwidth is less than or equal to the resource block threshold, and the comb value is the first value, determining that the length of the Zadoff-Chu sequence is a second length; and ▪ when the resource block quantity corresponding to the system bandwidth is greater than a resource block threshold, and the comb value is a first value, determining that the length of the Zadoff-Chu sequence is a first length; ▪ when the resource block quantity corresponding to the system bandwidth is less than or equal to the resource block threshold, and the comb value is the first value, determining that the length of the Zadoff-Chu sequence is a second length; and • determining a reference signal sequence based on the length of the Zadoff-Chu sequence and a resource block quantity corresponding to an allocated user equipment bandwidth, wherein the reference signal sequence is comprised in an uplink reference signal, and the allocated user equipment bandwidth is a part of the system bandwidth; • sending the uplink reference signal to a base station on the allocated user equipment bandwidth.