A method for mapping a positioning reference signal, performed by a terminal and comprising: obtaining mapping information of a positioning reference signal, wherein the mapping information indicates relative resource element offsets of at least some symbols in a positioning reference signal resource; determining, based on the mapping information, a relative resource element offset of each symbol in the positioning reference signal resource; determining, based on the relative resource element offset of each symbol, a resource element location of the positioning reference signal; and transmitting the positioning reference signal through the resource element location; wherein the obtaining mapping information of a positioning reference signal comprises: obtaining a table corresponding to a comb structure of the positioning reference signal, wherein the table comprises at least one set of configuration information of relative resource element offsets; wherein the at least one set of the configuration information comprises N length Array values indicating relative resource element offsets of the first N length Array symbols in the positioning reference signal resource, respectively, and the relative resource element offset is an offset relative to a resource element offset of the first symbol; and wherein, if a value of N length Array is less than the number of symbols N symbol PRS in the positioning reference signal resource, the l'-th symbol in the positioning reference signal resource has a same relative resource element offset as the ( l ′ − N length Array)-th symbol, wherein l' is greater than or equal to N length Array, and the 0-th symbol represents a start symbol of the positioning reference signal resource. obtaining mapping information of a positioning reference signal, wherein the mapping information indicates relative resource element offsets of at least some symbols in a positioning reference signal resource; determining, based on the mapping information, a relative resource element offset of each symbol in the positioning reference signal resource; determining, based on the relative resource element offset of each symbol, a resource element location of the positioning reference signal; and transmitting the positioning reference signal through the resource element location; wherein the obtaining mapping information of a positioning reference signal comprises: obtaining a table corresponding to a comb structure of the positioning reference signal, wherein the table comprises at least one set of configuration information of relative resource element offsets; wherein the at least one set of the configuration information comprises N length Array values indicating relative resource element offsets of the first N length Array symbols in the positioning reference signal resource, respectively, and the relative resource element offset is an offset relative to a resource element offset of the first symbol; and wherein, if a value of N length Array is less than the number of symbols N symbol PRS in the positioning reference signal resource, the l'-th symbol in the positioning reference signal resource has a same relative resource element offset as the ( l ′ − N length Array)-th symbol, wherein l' is greater than or equal to N length Array, and the 0-th symbol represents a start symbol of the positioning reference signal resource. obtaining a table corresponding to a comb structure of the positioning reference signal, wherein the table comprises at least one set of configuration information of relative resource element offsets; wherein the at least one set of the configuration information comprises N length Array values indicating relative resource element offsets of the first N length Array symbols in the positioning reference signal resource, respectively, and the relative resource element offset is an offset relative to a resource element offset of the first symbol; and wherein, if a value of N length Array is less than the number of symbols N symbol PRS in the positioning reference signal resource, the l'-th symbol in the positioning reference signal resource has a same relative resource element offset as the ( l ′ − N length Array)-th symbol, wherein l' is greater than or equal to N length Array, and the 0-th symbol represents a start symbol of the positioning reference signal resource.