A signal transmission method, comprising: receiving, by a first device (600a, 600b), first information sent by a second device (700a, 700b), wherein the first information is used to indicate a resource of a reference signal; and determining, by the first device (600a, 600b), 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 (600a, 600b), second information sent by the second device (700a, 700b), wherein the second information is used to indicate a transmission direction of the first device (600a, 600b) on the resource, the transmission direction indicates whether the first device (600a, 600b) 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 (600a, 600b), 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 (600a, 600b) 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 (600a, 600b), first information sent by a second device (700a, 700b), wherein the first information is used to indicate a resource of a reference signal; and determining, by the first device (600a, 600b), 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 (600a, 600b), second information sent by the second device (700a, 700b), wherein the second information is used to indicate a transmission direction of the first device (600a, 600b) on the resource, the transmission direction indicates whether the first device (600a, 600b) 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 (600a, 600b), 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 (600a, 600b) 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 (600a, 600b), second information sent by the second device (700a, 700b), wherein the second information is used to indicate a transmission direction of the first device (600a, 600b) on the resource, the transmission direction indicates whether the first device (600a, 600b) 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 (600a, 600b), 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 (600a, 600b) 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.