Data transmission method and apparatus, and computer storage medium
View Patent ↗Disclosed are a data transmission method and apparatus, and a computer storage medium. The method comprises: a first terminal selects a target channel from N channels based on a first reference signal received on the N channels; the first terminal transmits data or signaling to a second terminal on the target channel.
1. A method for transmitting data, comprising:
receiving, by a first terminal through N channels, a first reference signal sent by a second terminal, where the N is a positive integer, wherein transmission resources among different channels are time division;
selecting, by the first terminal based on the first reference signal received on the N channels, a target channel from the N channels; and
transmitting, by the first terminal, data or signaling to the second terminal on the target channel.
2. The method according to claim 1 , wherein the method further comprises:
receiving, by the first terminal, a control channel sent by the second terminal, wherein a resource of the control channel of the second terminal and a resource of the first reference signal of the second terminal are time division.
3. The method according to claim 1 , wherein a control channel of the second terminal comprises first indication information, wherein the first indication information is used for determining that a data channel associated to the control channel of the second terminal comprises the first reference signal.
4. The method according to claim 1 , wherein a transmission resource of the first reference signal of the second terminal is determined by a control channel of the second terminal.
5. The method according to claim 4 , wherein the transmission resource of the first reference signal of the second terminal is determined by the control channel of the second terminal, comprising:
the transmission resource of the first reference signal of the second terminal is determined by a transmission resource of the control channel of the second terminal.
6. The method according to claim 1 , wherein a control channel of the second terminal comprises third indication information, wherein the third indication information is used for determining whether the first reference signal is used for the first terminal to perform selection of a target channel or for the second terminal to perform selection of a target channel.
7. The method according to claim 1 , wherein a control channel of the second terminal comprises fourth indication information, wherein the fourth indication information is used for determining a value of the N.
8. The method according to claim 1 , wherein a value of the N is configured by a network or pre-configured.
9. The method according to claim 1 , wherein selecting, by the first terminal based on the first reference signal received on the N channels, the target channel from the N channels, comprises:
measuring, by the first terminal, signal quality of the first reference signal on the N channels, and selecting the target channel from the N channels based on the signal quality corresponding to the N channels.
10. An apparatus for transmitting data, comprising:
a first receiving circuit, configured to receive, through N channels, a first reference signal sent by a second terminal, where the N is a positive integer, wherein transmission resources among different channels are time division;
a selecting circuit, configured to select a target channel from the N channels based on the first reference signal received on the N channels; and
a transmitting circuit, configured to transmit data or signaling to the second terminal on the target channel.
11. The apparatus according to claim 10 , wherein the apparatus further comprises:
a second receiving circuit, configured to receive a control channel sent by the second terminal, wherein a resource of the control channel of the second terminal and a resource of the first reference signal of the second terminal are time division.
12. The apparatus according to claim 10 , wherein a control channel of the second terminal comprises first indication information, wherein the first indication information is used for determining that a data channel associated to the control channel of the second terminal comprises the first reference signal.
13. The apparatus according to claim 10 , wherein a transmission resource of the first reference signal of the second terminal is determined by a control channel of the second terminal.
14. The apparatus according to claim 13 , wherein the transmission resource of the first reference signal of the second terminal is determined by the control channel of the second terminal, comprising:
the transmission resource of the first reference signal of the second terminal is determined by a transmission resource of the control channel of the second terminal.
15. The apparatus according to claim 10 , wherein a control channel of the second terminal comprises third indication information, wherein the third indication information is used for determining whether the first reference signal is used for the apparatus to perform selection of a target channel or for the second terminal to perform selection of a target channel.
16. The apparatus according to claim 10 , wherein a control channel of the second terminal comprises fourth indication information, wherein the fourth indication information is used for determining a value of the N.
17. The apparatus according to claim 10 , wherein a value of the N is configured by a network or pre-configured.
18. The apparatus according to claim 10 , wherein the apparatus further comprises:
a measuring circuit, configured to measure signal quality of the first reference signal on the N channels;
wherein the selecting circuit is configured to select the target channel from the N channels based on the signal quality corresponding to the N channels.
19. A non-transitory computer storage medium, which has computer-executable instructions stored thereon, wherein the computer-executable instructions implement, when executed by a processor, acts of the method according to claim 1 .
20. The non-transitory computer storage medium of claim 19 , wherein the method further comprises:
receiving, by the first terminal, a control channel sent by the second terminal, wherein a resource of the control channel of the second terminal and a resource of the first reference signal of the second terminal are time division.