Method and apparatus for determining transmission resource, and communication device and storage medium
A method for determining a transmission resource of a relative positioning signal includes: sending, by a base station, resource configuration information, wherein the resource configuration information is used for a terminal to determine a transmission resource used for transmitting a relative positioning signal.
1 . A method for determining a transmission resource of a relative positioning signal, comprising:
sending, by a base station, resource configuration information;
wherein the resource configuration information is used for a terminal to determine the transmission resource for transmitting the relative positioning signal and used for enabling the terminal to:
transmit the relative positioning signal on the transmission resource indicated by the resource configuration information, wherein the terminal is in an RRC disconnected state, the RRC disconnected state comprises an RRC idle state and an RRC inactive state; and
establish, in response to being unable to determine the transmission resource based on a received system message, an RRC connection between the terminal and a base station.
2 . The method according to claim 1 , wherein the resource configuration information comprises at least one of following:
first configuration information indicating the transmission resource;
second configuration information indicating a manner of acquiring the transmission resource.
3 . The method according to claim 2 , wherein the first configuration information indicates a time-frequency domain resource location of the transmission resource.
4 . The method according to claim 2 , wherein the second configuration information indicates the terminal to multiplex transmission resources in a resource pool, and the resource pool comprises the transmission resources for the terminal to perform a sidelink communication.
5 . The method according to claim 2 , wherein the transmission resource is associated with a quality identifier of a relative positioning service, and the quality identifier indicates a quality indicator of the relative positioning service.
6 . The method according to claim 1 , wherein sending, by the base station, the resource configuration information comprises:
sending, by the base station, a system message carrying the resource configuration information.
7 . The method according to claim 1 , wherein the method further comprises:
receiving, by the base station, an acquisition request for acquiring the resource configuration information sent by the terminal;
wherein sending, by the base station, the resource configuration information comprises:
sending, by the base station, the resource configuration information to the terminal according to the acquisition request.
8 . A method for determining a transmission resource of a relative positioning signal, comprising:
receiving, by a terminal, resource configuration information;
wherein the resource configuration information is used for the terminal to determine the transmission resource for transmitting the relative positioning signal;
transmitting, by the terminal, the relative positioning signal on the transmission resource indicated by the resource configuration information;
wherein the terminal is in an RRC disconnected state, the RRC disconnected state comprises an RRC idle state and an RRC inactive state, and the method further comprises:
establishing, by the terminal, in response to being unable to determine the transmission resource based on a received system message, an RRC connection between the terminal and a base station.
9 . The method according to claim 8 , wherein the resource configuration information comprises at least one of following:
first configuration information indicating the transmission resource;
second configuration information indicating a manner of acquiring the transmission resource.
10 . The method according to claim 9 , wherein the transmission resource is associated with a quality identifier of a relative positioning service, and the quality identifier indicates a quality indicator of the relative positioning service.
11 . The method according to claim 10 , further comprising:
determining, by the terminal, according to a quality identifier of a relative positioning service to be initiated, a transmission resource associated with the quality identifier of the relative positioning service to be initiated from the transmission resource indicated by the first configuration information;
wherein transmitting, by the terminal, the relative positioning signal on the transmission resource indicated by the resource configuration information comprises:
transmitting, by the terminal, the relative positioning signal on the transmission resource associated with the quality identifier of the relative positioning service to be initiated.
12 . The method according to claim 9 , wherein the method further comprises:
sending, by the terminal, an acquisition request for acquiring the resource configuration information to the base station;
wherein receiving, by the terminal, the resource configuration information comprises:
receiving the resource configuration information sent by the base station according to the acquisition request.
13 . The method according to claim 12 , wherein the acquisition request comprises at least one piece of request information, and each piece of the request information is used for requesting to acquire the transmission resource for one type of relative positioning signal.
14 . The method according to claim 13 , wherein the request information comprises information on at least one of following: a relative positioning indication, an identity of a peer terminal used for positioning of the terminal, a quality identifier of a relative positioning service, and a transmission cycle of the relative positioning signal.
15 . The method according to claim 8 , wherein receiving, by the terminal, the resource configuration information comprises:
receiving, by the terminal, a system message carrying the resource configuration information.
16 . The method according to claim 8 , wherein transmitting, by the terminal, the relative positioning signal on the transmission resource indicated by the resource configuration information comprises:
transmitting, by the terminal, the relative positioning signal on the transmission resource indicated based on the resource configuration information contained in the received system message.
17 . The method according to claim 8 , wherein being unable to determine the transmission resource based on the received system message comprises:
the received system message not comprising the resource configuration information;
or,
the received system message comprising the resource configuration information and a quality indicator of the transmission resource indicated by the resource configuration information not meeting a quality indicator of a relative positioning service to be initiated.
18 . A terminal, comprising:
an antenna;
a memory; and
a processor, connected to the antenna and the memory, respectively, and configured to control transmission and reception of the antenna by executing computer-executable instructions stored on the memory, thereby implementing a method comprising:
receiving resource configuration information;
wherein the resource configuration information is used for the terminal to determine a transmission resource for transmitting a relative positioning signal;
the processor is further configured to transmit the relative positioning signal on the transmission resource indicated by the resource configuration information;
wherein the terminal is in an RRC disconnected state, the RRC disconnected state comprises an RRC idle state and an RRC inactive state, and the processor is further configured to:
establish, in response to being unable to determine the transmission resource based on a received system message, an RRC connection between the terminal and a base station.