A signal transmission method, comprising: receiving, by a first device , first information sent by a second device , wherein the first information is used to indicate a resource of a reference signal; and determining, by the first device , to perform at least one of interference measurement and channel measurement on the resource, or to transmit the reference signal on the resource, wherein the method further comprises: receiving, by the first device , second information sent by the second device , wherein the second information is used to indicate a transmission direction of the first device on the resource, the transmission direction indicates whether the first device transmits a signal or receives a signal on the resource, or the transmission direction indicates whether configuration of the resource is uplink configuration or downlink configuration; and the determining, by the first device , to perform at least one of interference measurement and channel measurement on the resource, or to transmit the reference signal on the resource comprises: determining, by the first device based on the second information, to perform at least one of interference measurement and channel measurement on the resource, or to transmit the reference signal on the resource. receiving, by a first device , first information sent by a second device , wherein the first information is used to indicate a resource of a reference signal; and determining, by the first device , to perform at least one of interference measurement and channel measurement on the resource, or to transmit the reference signal on the resource, wherein the method further comprises: receiving, by the first device , second information sent by the second device , wherein the second information is used to indicate a transmission direction of the first device on the resource, the transmission direction indicates whether the first device transmits a signal or receives a signal on the resource, or the transmission direction indicates whether configuration of the resource is uplink configuration or downlink configuration; and the determining, by the first device , to perform at least one of interference measurement and channel measurement on the resource, or to transmit the reference signal on the resource comprises: determining, by the first device based on the second information, to perform at least one of interference measurement and channel measurement on the resource, or to transmit the reference signal on the resource. receiving, by the first device , second information sent by the second device , wherein the second information is used to indicate a transmission direction of the first device on the resource, the transmission direction indicates whether the first device transmits a signal or receives a signal on the resource, or the transmission direction indicates whether configuration of the resource is uplink configuration or downlink configuration; and the determining, by the first device , to perform at least one of interference measurement and channel measurement on the resource, or to transmit the reference signal on the resource comprises: determining, by the first device based on the second information, to perform at least one of interference measurement and channel measurement on the resource, or to transmit the reference signal on the resource. <EOS>