A wireless communication method, comprising: acquiring, by a terminal device, first system information according to an indication of a detected first synchronization signal block, wherein the first system information indicates a physical random access channel, PRACH, resource or a set of random access preambles corresponding to at least one synchronization signal block transmitted on each of at least one frequency point, and the at least one synchronization signal block comprises the first synchronization signal block; determining, by the terminal device, from the first system information, a first PRACH resource or a first set of random access preambles corresponding to the first synchronization signal block; and performing, by the terminal device, random access through the first PRACH resource or the first set of random access preambles; wherein the first system information comprises an association relationship corresponding to each frequency point, and the association relationship refers to an association relationship between at least one synchronization signal block transmitted on a corresponding frequency point and a PRACH resource or a set of random access preambles; wherein the determining, by the terminal device, from the first system information, a first PRACH resource or a first set of random access preambles corresponding to a frequency point occupied by the first synchronization signal block comprises: determining, by the terminal device, from the first system information, the association relationship corresponding to the frequency point occupied by the first synchronization signal block; and determining, by the terminal device, according to the association relationship corresponding to the frequency point occupied by the first synchronization signal block, the first PRACH resource or the first set of random access preambles. acquiring, by a terminal device, first system information according to an indication of a detected first synchronization signal block, wherein the first system information indicates a physical random access channel, PRACH, resource or a set of random access preambles corresponding to at least one synchronization signal block transmitted on each of at least one frequency point, and the at least one synchronization signal block comprises the first synchronization signal block; determining, by the terminal device, from the first system information, a first PRACH resource or a first set of random access preambles corresponding to the first synchronization signal block; and performing, by the terminal device, random access through the first PRACH resource or the first set of random access preambles; wherein the first system information comprises an association relationship corresponding to each frequency point, and the association relationship refers to an association relationship between at least one synchronization signal block transmitted on a corresponding frequency point and a PRACH resource or a set of random access preambles; wherein the determining, by the terminal device, from the first system information, a first PRACH resource or a first set of random access preambles corresponding to a frequency point occupied by the first synchronization signal block comprises: determining, by the terminal device, from the first system information, the association relationship corresponding to the frequency point occupied by the first synchronization signal block; and determining, by the terminal device, according to the association relationship corresponding to the frequency point occupied by the first synchronization signal block, the first PRACH resource or the first set of random access preambles. determining, by the terminal device, from the first system information, the association relationship corresponding to the frequency point occupied by the first synchronization signal block; and determining, by the terminal device, according to the association relationship corresponding to the frequency point occupied by the first synchronization signal block, the first PRACH resource or the first set of random access preambles.