Method for determining transmission frequency and communication device
A method for determining a transmission frequency includes: obtaining at least one of an environmental factor or channel measurement information; and determining a first transmission frequency resource based on the at least one of the environmental factor or the channel measurement information.
1 . A method for determining a transmission frequency, performed by a first communication device and comprising:
obtaining an environmental factor; and
determining, according to a mapping relationship between frequency resources and environmental factors, a second transmission frequency resource corresponding to the environmental factor;
obtaining a third transmission frequency resource supported by a second communication device, and selecting an overlapped portion between the second transmission frequency resource and the third transmission frequency resource as a first transmission frequency resource; or
selecting, from the second transmission frequency resource according to a current first transmission scheme, the first transmission frequency resource that comprises a carrier corresponding to the first transmission scheme; or
determining a second transmission scheme based on the second transmission frequency resource, and using, as the first transmission frequency resource, a transmission frequency resource that comprises a carrier corresponding to the second transmission scheme; wherein
the first transmission frequency resource is used for transmission.
2 . The method according to claim 1 , wherein the environmental factor comprises at least one of:
a transmission distance;
an air humidity;
an oxygen concentration;
a temperature; or
a barometric pressure.
3 . The method according to claim 1 , wherein the determining a first transmission frequency resource based on the at least one of the environmental factor or the channel measurement information comprises:
determining the first transmission frequency resource based on the second transmission frequency resource.
4 . The method according to claim 3 , wherein the determining the first transmission frequency resource based on the second transmission frequency resource comprises:
using the second transmission frequency resource as the first transmission frequency resource.
5 . The method according to claim 3 , wherein the determining the first transmission frequency resource based on the second transmission frequency resource comprises:
selecting, from the second transmission frequency resource based on the channel measurement information, a first transmission frequency resource that meets a first preset condition; wherein
the first preset condition is that a measurement parameter belongs to a corresponding first value range.
6 . The method according to claim 1 , wherein the determining a first transmission frequency resource based on the channel measurement information comprises:
selecting, based on the channel measurement information, a fourth transmission frequency resource that meets a second preset condition; and
determining the first transmission frequency resource based on the fourth transmission frequency resource; wherein
the second preset condition is that a measurement parameter belongs to a corresponding second value range.
7 . The method according to claim 6 , wherein the determining the first transmission frequency resource based on the fourth transmission frequency resource comprises:
using the fourth transmission frequency resource as the first transmission frequency resource; or
selecting, from the fourth transmission frequency resource according to a current third transmission scheme, a first transmission frequency resource that comprises a carrier corresponding to the third transmission scheme; or
determining a fourth transmission scheme based on the fourth transmission frequency resource, and using, as the first transmission frequency resource, a transmission frequency resource that comprises a carrier corresponding to the fourth transmission scheme.
8 . The method according to claim 1 , after the determining a first transmission frequency resource, further comprising:
sending transmission configuring information, wherein the transmission configuring information comprises at least one of:
information about the first transmission frequency resource; or
monitoring start indication information, wherein the monitoring start indication information is used to indicate that a second communication device starts monitoring on the first transmission frequency resource, and receives information from the first communication device.
9 . The method according to claim 1 , after the determining a first transmission frequency resource, further comprising:
performing transmission based on the first transmission frequency resource.
10 . The method according to claim 1 , wherein the obtaining a third transmission frequency resource supported by a second communication device comprises:
receiving the third transmission frequency resource sent by the second communication device.
11 . The method according to claim 1 , wherein the channel measurement information is obtained from measurement performed by a second communication device based on a measurement signal sent by the first communication device; or
the channel measurement information is obtained from measurement performed by the first communication device based on a measurement signal sent by the second communication device.
12 . A communication device, comprising a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, cause the communication device to perform:
obtaining an environmental factor;
determining, according to a mapping relationship between frequency resources and environmental factors, a second transmission frequency resource corresponding to the environmental factor;
obtaining a third transmission frequency resource supported by a second communication device, and selecting an overlapped portion between the second transmission frequency resource and the third transmission frequency resource as a first transmission frequency resource; or
selecting, from the second transmission frequency resource according to a current first transmission scheme, the first transmission frequency resource that comprises a carrier corresponding to the first transmission scheme; or
determining a second transmission scheme based on the second transmission frequency resource, and using, as the first transmission frequency resource, a transmission frequency resource that comprises a carrier corresponding to the second transmission scheme; wherein
the first transmission frequency resource is used for transmission.
13 . The communication device according to claim 12 , wherein the program or instructions, when executed by the processor, cause the communication device to perform:
determining the first transmission frequency resource based on the second transmission frequency resource.
14 . The communication device according to claim 13 , wherein the program or instructions, when executed by the processor, cause the communication device to perform:
using the second transmission frequency resource as the first transmission frequency resource.
15 . The communication device according to claim 13 , wherein the program or instructions, when executed by the processor, cause the communication device to perform:
selecting, from the second transmission frequency resource based on the channel measurement information, a first transmission frequency resource that meets a first preset condition; wherein
the first preset condition is that a measurement parameter belongs to a corresponding first value range.
16 . The communication device according to claim 12 , wherein the program or instructions, when executed by the processor, cause the communication device to perform:
selecting, based on the channel measurement information, a fourth transmission frequency resource that meets a second preset condition; and
determining the first transmission frequency resource based on the fourth transmission frequency resource; wherein
the second preset condition is that a measurement parameter belongs to a corresponding second value range.
17 . A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a program or instructions, and the program or instructions, when executed by a processor, cause the processor to perform:
obtaining an environmental factor;
determining, according to a mapping relationship between frequency resources and environmental factors, a second transmission frequency resource corresponding to the environmental factor;
obtaining a third transmission frequency resource supported by a second communication device, and selecting an overlapped portion between the second transmission frequency resource and the third transmission frequency resource as a first transmission frequency resource; or
selecting, from the second transmission frequency resource according to a current first transmission scheme, the first transmission frequency resource that comprises a carrier corresponding to the first transmission scheme; or
determining a second transmission scheme based on the second transmission frequency resource, and using, as the first transmission frequency resource, a transmission frequency resource that comprises a carrier corresponding to the second transmission scheme; wherein
the first transmission frequency resource is used for transmission.