A method for transmitting a demodulation reference signal, applied to a network device side, the method comprising: determining whether to configure a corresponding demodulation reference signal, DMRS, for a shared channel, according to a mapping type of the shared channel, the number of symbols transmitted on the shared channel, and the number of DMRS symbols; configuring a target number of DMRSs for the shared channel, when determining to configure the corresponding DMRS for the shared channel; and mapping the target number of DMRSs onto a target transmission resource for transmission, wherein in a case that the mapping type of the shared channel is a first mapping type and the number of DMRS symbols is 1, the determining whether to configure the corresponding DMRS for the shared channel, according to the mapping type of the shared channel, the number of symbols transmitted on the shared channel, and the number of DMRS symbols comprises: determining not to configure the corresponding DMRS for the shared channel, when the number of symbols transmitted on the shared channel is a first value, wherein the first value is 1 or 2; or wherein in a case that the mapping type of the shared channel is a first mapping type and the number of DMRS symbols is 2, the determining whether to configure the corresponding DMRS for the shared channel, according to the mapping type of the shared channel, the number of symbols transmitted on the shared channel, and the number of DMRS symbols comprises: determining not to configure the corresponding DMRS for the shared channel, when the number of symbols transmitted on the shared channel is a fourth value, wherein the fourth value is any value from 1 to 5. determining whether to configure a corresponding demodulation reference signal, DMRS, for a shared channel, according to a mapping type of the shared channel, the number of symbols transmitted on the shared channel, and the number of DMRS symbols; configuring a target number of DMRSs for the shared channel, when determining to configure the corresponding DMRS for the shared channel; and mapping the target number of DMRSs onto a target transmission resource for transmission, wherein in a case that the mapping type of the shared channel is a first mapping type and the number of DMRS symbols is 1, the determining whether to configure the corresponding DMRS for the shared channel, according to the mapping type of the shared channel, the number of symbols transmitted on the shared channel, and the number of DMRS symbols comprises: determining not to configure the corresponding DMRS for the shared channel, when the number of symbols transmitted on the shared channel is a first value, wherein the first value is 1 or 2; or wherein in a case that the mapping type of the shared channel is a first mapping type and the number of DMRS symbols is 2, the determining whether to configure the corresponding DMRS for the shared channel, according to the mapping type of the shared channel, the number of symbols transmitted on the shared channel, and the number of DMRS symbols comprises: determining not to configure the corresponding DMRS for the shared channel, when the number of symbols transmitted on the shared channel is a fourth value, wherein the fourth value is any value from 1 to 5. determining not to configure the corresponding DMRS for the shared channel, when the number of symbols transmitted on the shared channel is a first value, wherein the first value is 1 or 2; or wherein in a case that the mapping type of the shared channel is a first mapping type and the number of DMRS symbols is 2, the determining whether to configure the corresponding DMRS for the shared channel, according to the mapping type of the shared channel, the number of symbols transmitted on the shared channel, and the number of DMRS symbols comprises: determining not to configure the corresponding DMRS for the shared channel, when the number of symbols transmitted on the shared channel is a fourth value, wherein the fourth value is any value from 1 to 5.