Method for resource processing, and communication device
A method for resource processing is performed by a base station which sends resource configuration information. The resource configuration information at least includes available duration information which indicates the available duration for the relative positioning resource for relative positioning between UEs. A method for resource processing, performed by a user equipment (UE), includes receiving the resource configuration information indicating an available duration of a relative positioning resource for relative positioning between UEs.
1 . A method for resource processing, performed by a base station, comprising:
receiving a resource request, wherein the resource request at least comprises recommended duration information of a recommended duration for relative positioning between user equipments (UEs), the recommended duration is determined by a UE based on a positioning mode or the recommended duration is determined based on a positioning negotiation with an opposite end UE or the recommended duration is determined by a UE based on a currently detected network environment;
sending resource configuration information, wherein the resource configuration information at least comprises:
available duration information, indicating an available duration of a relative positioning resource for the relative positioning between the UEs, wherein the available duration is determined based on the recommended duration;
reclaiming the relative positioning resource in response to at least one of: a change in a serving cell of the UE, a timeout of the available duration, a completion of the relative positioning between the UEs, a termination of the relative positioning between the UEs or a resource reclamation event.
2 . The method according to claim 1 , wherein the resource reclamation event comprises at least one of:
receiving a release message sent by the UE; wherein the release message indicates releasing the relative positioning resource; or
triggering the UE to perform a cell handover based on a cell measurement report reported by the UE.
3 . A base station, comprising a processor, a transceiver, a memory and an executable program stored on the memory and capable of being run by the processor, wherein when the processor runs the executable program, the method of claim 1 is performed.
4 . A method for resource processing, performed by a user equipment (UE), comprising:
determining a recommended duration, wherein determining the recommended duration comprises at least one of: determining the recommended duration based on a positioning mode, determining the recommended duration based on a positioning negotiation with an opposite end UE or determining the recommended duration based on a currently detected network environment;
sending a resource request, wherein the resource request at least comprises recommended duration information of the recommended duration for relative positioning between UEs;
receiving resource configuration information, wherein the resource configuration information at least comprises:
available duration information, indicating an available duration of a relative positioning resource for the relative positioning between the UEs, wherein the available duration is determined based on the recommended duration;
releasing the relative positioning resource in response to at least one of: a change in a serving cell of the UE, a timeout of the available duration, a completion of the relative positioning between the UEs or a termination of the relative positioning between the UEs.
5 . The method according to claim 4 , further comprising:
transmitting a positioning signal for the relative positioning between the UEs on the relative positioning resources within the available duration, based on the available duration information.
6 . The method according to claim 5 , further comprising:
starting a timer for timing the available duration based on the available duration information, in response to receiving the resource configuration information.
7 . The method according to claim 4 , further comprising:
maintaining an occupied state of the relative positioning resource within the available duration, in response to the UE switching from an RRC connected state to an RRC non-connected state and the UE continuing to reside in a current serving cell.
8 . The method according to claim 4 , further comprising:
reporting a release message of releasing the relative positioning resource, in response to releasing the relative positioning resource within the available duration.
9 . The method according to claim 4 , wherein the change in the serving cell comprises at least one of:
a change in the serving cell caused by cell handover;
a change in the serving cell caused by cell selection; or
a change in the serving cell caused by cell reselection.
10 . A user equipment (UE), comprising:
a processor; and
a memory, configured to store instructions executable by the processor,
wherein the processor is configured to:
determine a recommended duration based on a positioning mode, determine a recommended duration based on a positioning negotiation with an opposite end UE or determine a recommended duration based on a currently detected network environment;
send a resource request, wherein the resource request at least comprises recommended duration information of the recommended duration for relative positioning between UEs;
receive resource configuration information, wherein the resource configuration information at least comprises:
available duration information, indicating an available duration of a relative positioning resource for the relative positioning between the UEs; wherein the available duration is determined based on the recommended duration;
release the relative positioning resource in response to at least one of: a change in a serving cell of the UE, a timeout of the available duration, a completion of the relative positioning between the UEs or a termination of the relative positioning between the UEs.
11 . The UE according to claim 10 , wherein the processor is further configured to:
transmit a positioning signal for the relative positioning between the UEs on the relative positioning resources within the available duration, based on the available duration information.
12 . The UE according to claim 11 , wherein the processor is further configured to:
start a timer for timing the available duration based on the available duration information, in response to receiving the resource configuration information.
13 . The UE according to claim 10 , wherein the processor is further configured to:
maintain an occupied state of the relative positioning resource within the available duration, in response to the UE switching from an RRC connected state to an RRC non-connected state and the UE continuing to reside in a current serving cell.