Resource allocation method and apparatus, and device and storage medium

By allocating side link authorization resources based on the priority of SL-PRS in the terminal device, the problem that terminal devices and network devices cannot effectively determine the transmission of SL-PRS is solved, and the rationality and positioning effect of resource allocation are improved.

WO2025065430A1PCT designated stage expired Publication Date: 2025-04-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/122336
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2025-04-03

AI Technical Summary

Technical Problem

The terminal equipment and network equipment participating in the lateral link SL positioning cannot effectively determine the side link authorization resources used to transmit the side link positioning reference signal SL-PRS, which affects the positioning effect.

Method used

Based on the priority of the side link positioning reference signal SL-PRS, the side link authorization resources acquired by the terminal device are allocated to the target SL-PRS of the target destination.

Benefits of technology

By prioritizing the allocation of resources, the rationality and reliability of resource allocation are improved, and the positioning effect of side link SL is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023122336_03042025_PF_FP_ABST
    Figure CN2023122336_03042025_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to a resource allocation method and apparatus, and a device and a storage medium. The method comprises: on the basis of the priority of a sidelink positioning reference signal (SL-PRS), allocating, to a target SL-PRS at a target destination, sidelink grant resources acquired by a terminal device. This facilitates an improvement in the rationality and reliability of resource allocation, without affecting the positioning effect of a sidelink (SL).
Need to check novelty before this filing date? Find Prior Art

Description

Resource allocation method, device, equipment and storage medium Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a resource allocation method, apparatus, device, and storage medium. Background Art

[0002] To support direct communication between terminal devices, a sidelink communication method was introduced. The link between terminal devices is called a sidelink (SL). In sidelink SL positioning, a terminal device can obtain a sidelink grant (SL grant) through scheduling by a network device, or select a sidelink grant from a configured SL resource pool. The terminal device then transmits a sidelink positioning reference signal (SL-PRS) based on the sidelink grant to achieve sidelink SL positioning.

[0003] However, the terminal devices participating in the sidelink SL positioning and the network devices responsible for resource allocation in the sidelink positioning (such as base stations or location management functions (LMF)) cannot effectively determine the sidelink authorized resources for transmitting the sidelink positioning reference signal SL-PRS, which will affect the sidelink positioning effect.

[0004] Summary of the Invention

[0005] Embodiments of the present disclosure provide a resource allocation method, device, apparatus, system, and storage medium.

[0006] According to a first aspect of an embodiment of the present disclosure, a resource allocation method is provided, the method comprising:

[0007] Based on the priority of the sidelink positioning reference signal SL-PRS, the sidelink granted resources obtained by the terminal device are allocated to the target SL-PRS of the target destination.

[0008] According to a second aspect of an embodiment of the present disclosure, there is provided a resource allocation device, including:

[0009] The processing module is configured to allocate the sidelink granted resources obtained by the terminal device to the target SL-PRS of the target destination based on the priority of the sidelink positioning reference signal SL-PRS.

[0010] According to a third aspect of an embodiment of the present disclosure, a terminal device is provided, including:

[0011] processor;

[0012] a memory for storing processor-executable instructions;

[0013] The processor is configured to execute the steps of the resource allocation method provided in the first aspect of the present disclosure.

[0014] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the resource allocation method provided in the first aspect of the present disclosure are implemented.

[0015] The technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: the terminal device allocates the sidelink authorization resources obtained by the terminal device to the target SL-PRS of the target destination based on the priority of the sidelink positioning reference signal SL-PRS. It can be seen that the terminal device can allocate resources for the target SL-PRS of the target destination based on the priority of the SL-PRS, so that the subsequent terminal device can use the allocated sidelink authorization resources to send the target SL-PRS to the target destination, thereby realizing the sidelink SL positioning between the terminal device and the target destination (or the device corresponding to the target destination). In this way, the resource allocation of the sidelink authorization resources to the SL-PRS is realized, which is conducive to improving the rationality and reliability of resource allocation without affecting the positioning effect of the sidelink SL.

[0016] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0018] Fig. 1 is a schematic diagram showing a positioning scenario according to an exemplary embodiment.

[0019] Fig. 2 is a schematic structural diagram of a communication system according to an exemplary embodiment.

[0020] Fig. 3 is a schematic structural diagram of a terminal device according to an exemplary embodiment.

[0021] Fig. 4 is a schematic flow chart showing a resource allocation method according to an exemplary embodiment.

[0022] Fig. 5 is a schematic flow chart showing another resource allocation method according to an exemplary embodiment.

[0023] Fig. 6 is a schematic structural diagram showing a resource allocation device according to an exemplary embodiment.

[0024] Fig. 7 is a schematic structural diagram showing another resource allocation device according to an exemplary embodiment.

[0025] Fig. 8 is a schematic structural diagram of a terminal device according to an exemplary embodiment.

[0026] FIG9 is a schematic structural diagram of a chip according to an exemplary embodiment. DETAILED DESCRIPTION

[0027] Embodiments of the present disclosure provide a resource allocation method, apparatus, device, and storage medium.

[0028] According to a first aspect of an embodiment of the present disclosure, a resource allocation method is provided, the method comprising: allocating a sidelink authorization resource acquired by a terminal device to a target SL-PRS of a target destination based on the priority of a sidelink positioning reference signal SL-PRS.

[0029] In the above embodiment, the terminal device can allocate resources for the target SL-PRS of the target destination based on the priority of the SL-PRS, so that the subsequent terminal device can use the allocated side link authorization resources to send the target SL-PRS to the target destination, thereby realizing the side link SL positioning between the terminal device and the target destination (or the device corresponding to the target destination); this not only realizes the resource allocation of the side link authorization resources to the SL-PRS, but also helps to improve the rationality and reliability of resource allocation without affecting the positioning effect of the side link SL.

[0030] In some embodiments, the allocating the sidelink authorization resources obtained by the terminal device to the target SL-PRS of the target destination based on the priority of the sidelink positioning reference signal SL-PRS includes: obtaining the priority of the transmission object to be sent to m destinations, the transmission object including the sidelink media access control element SL MAC CE, the data in the SL logical channel and the SL-PRS, where m is a positive integer; determining the target destination based on the priority of the transmission object to be sent to the m destinations, the target destination being one of the m destinations; and allocating the sidelink authorization resources obtained by the terminal device to the target SL-PRS of the target destination.

[0031] In the above embodiment, the terminal device first selects a target destination from the m destinations based on the priorities of the SL MAC CE, the data in the SL logical channel, and the SL-PRS in the m destinations, and then allocates resources for the target SL-PRS in the target destination. This allows resource allocation to be made taking into account the priorities of all transmission targets, further ensuring the rationality and reliability of resource allocation.

[0032] In some embodiments, determining the target destination based on the priorities of the transmission objects to be sent to the m destinations includes:

[0033] The destination corresponding to the transmission object with the highest priority is selected from the m destinations as the target destination.

[0034] In the above embodiment, the terminal device can select the destination corresponding to the transmission object with the highest priority from among the m destinations as the final target destination. Accordingly, during subsequent resource allocation, resources are allocated to the target destination with the highest priority, thus ensuring both service transmission requirements and the rationality and reliability of resource allocation.

[0035] In some embodiments, the SL-PRS in the transmission objects of the m destinations needs to meet a preset first condition, and the preset first condition includes that the sidelink authorized resources meet the transmission requirements of the SL-PRS.

[0036] In the above embodiment, the SL-PRS in the transmission objects of the m destinations must meet a preset first condition before they can be considered for target destination selection. This preset first condition indicates that the sidelink granted resources can be used for SL-PRS transmission. This not only reduces the resource and time costs associated with target destination selection, but also improves the efficiency of subsequent resource allocation.

[0037] In some embodiments, allocating the sidelink granted resource acquired by the terminal device to the target SL-PRS of the target destination includes:

[0038] determining the target SL-PRS based on at least one SL-PRS in the target destination;

[0039] Resource allocation is performed based on the sidelink authorized resources obtained by the terminal device and the target SL-PRS to obtain the SL-PRS resources occupied by the target SL-PRS, and the sidelink authorized resources include the SL-PRS resources.

[0040] In the above embodiment, the terminal device determines a target SL-PRS to be allocated resources from at least one SL-PRS included in the target destination, and then allocates resources to the target SL-PRS based on the sidelink granted resources, thereby obtaining the SL-PRS resources occupied by the target SL-PRS. This allows for accurate and efficient allocation of sidelink granted resources in the shared resource pool, thereby improving the rationality and reliability of resource allocation.

[0041] In some embodiments, the target SL-PRS is the SL-PRS among the at least one SL-PRS that meets a preset second condition, and the preset second condition includes: the sidelink authorization resources meet the transmission requirements of the SL-PRS, and / or the priority of the SL-PRS is greater than or equal to the preset priority.

[0042] In the above embodiment, the terminal device can select / determine the target SL-PRS from at least one SL-PRS included in the target destination based on the preset second condition, thereby further ensuring the rationality and reliability of resource allocation.

[0043] In some embodiments, performing resource allocation based on the sidelink granted resources obtained by the terminal device and the target SL-PRS to obtain the SL-PRS resources occupied by the target SL-PRS includes:

[0044] When it is determined that the target SL-PRS needs to be transmitted, allocating the SL-PRS resource occupied by the target SL-PRS to the target SL-PRS;

[0045] Among them, the determination that the target SL-PRS needs to be transmitted includes at least one of the following: the sidelink authorization resource meets the transmission requirements of the target SL-PRS; the sidelink authorization resource is determined to support the transmission of the target SL-PRS based on the priority and size of the transmission object of the target destination; when the sidelink authorization resource is an authorization resource allocated by the network device, the sidelink authorization resource indicates support for transmission of SL-PRS; when the sidelink authorization resource is an authorization resource selected by the terminal device, the sidelink authorization resource supports transmission of the target SL-PRS.

[0046] In the above embodiment, the terminal device allocates corresponding SL-PRS resources to the target SL-PRS only when it determines that the target SL-PRS needs to be transmitted. This avoids unnecessary and wasteful resource allocation when resource allocation is performed even when the target SL-PRS does not need to be transmitted. This helps improve the rationality and reliability of resource allocation.

[0047] In some embodiments, the method further comprises:

[0048] Based on the sidelink authorized resources and the SL-PRS resources, the remaining transmission resources are determined, where the remaining transmission resources are the remaining resources in the sidelink authorized resources excluding the SL-PRS resources, and the remaining transmission resources are used to transmit data in the SL MAC CE and / or SL logical channel.

[0049] In the above embodiment, the terminal device can determine the remaining transmission resources based on the side link authorization resources and the allocated SL-PRS resources, so as to facilitate the use of the remaining transmission resources for the transmission of data such as SL MAC CE and / or data in the SL logical channel, which is further beneficial to improve the rationality of resource allocation and utilization.

[0050] In some embodiments, the remaining transmission resources are determined by the MAC layer or PHY layer of the terminal device; wherein, when the remaining transmission resources are determined by the PHY layer of the terminal device, the MAC layer of the terminal device indicates the SL-PRS resources to the PHY layer of the terminal device, and the PHY layer of the terminal device indicates the remaining transmission resources to the MAC layer of the terminal device.

[0051] In the above embodiment, the above remaining transmission resources can be determined by the MAC layer or the physical PHY layer of the terminal device, so that the diversity and flexibility of the determination of the remaining transmission resources can be achieved.

[0052] In some embodiments, the method further comprises:

[0053] The MAC layer of the terminal device instructs the PHY layer of the terminal device to use the SL-PRS resource to send the target SL-PRS to the target destination.

[0054] In the above embodiment, the MAC layer of the terminal device can send indication information to the PHY layer to instruct the PHY layer to use the above SL-PRS resources to send the target SL-PRS to the target destination, thereby realizing side link SL positioning between the terminal device and the target destination.

[0055] In some embodiments, the method further comprises:

[0056] When the terminal device performs resource allocation, the objects to be transmitted between the terminal device and the target destination are maximized, and the objects to be transmitted include data in the SL-PRS and / or SL logical channel.

[0057] In the above embodiment, the terminal device can maximize the objects to be transmitted when allocating resources, which is conducive to improving the utilization rate of resource allocation.

[0058] In some embodiments, the SL-PRS and data in a direct link traffic channel STCH have the same priority, and the direct link traffic channel is a channel in the SL logical channel.

[0059] In the above embodiment, the terminal device needs to ensure that the data in the SL-PRS and the straight-through link service channel STCH have the same priority when allocating resources, which is conducive to enhancing the rationality and reliability of resource allocation.

[0060] In some embodiments, the method further comprises:

[0061] When there is no data to be transmitted in the terminal device, prohibiting the generation of a MAC protocol data unit MAC PDU, wherein the data to be transmitted includes a MAC CE, a MAC service data unit MAC SDU and a SL-PRS; or,

[0062] When there is SL-PRS that needs to be transmitted in the terminal device, a MAC PDU is generated, and the SL-PRS that needs to be transmitted and the MAC PDU are multiplexed and transmitted in the same time slot.

[0063] In the above embodiment, when there is no data waiting to be transmitted, such as a MAC CE, a MAC service data unit (MAC SDU), or an SL-PRS, the terminal device does not need to generate a MAC PDU for data transmission. When there is at least an SL-PRS to be transmitted, a MAC PDU can be generated and multiplexed with the SL-PRS to be transmitted in the same time slot using TMD, thereby saving transmission resource overhead and ensuring data transmission reliability.

[0064] In some embodiments, the sidelink granted resource is a resource in a shared resource pool.

[0065] In some embodiments, the sidelink granted resources satisfying the transmission requirements of the SL-PRS include at least one of the following:

[0066] The channel bandwidth of the sidelink granted resource meets the bandwidth transmission requirement of the SL-PRS;

[0067] The sidelink granted resources meet the remaining delay budget requirement of the SL-PRS;

[0068] The sidelink granted resources meet the transmission duration requirement of the SL-PRS;

[0069] The sidelink granted resources meet the comb structure size requirement of the SL-PRS;

[0070] There is at least one set of resource parameters for the sidelink granted resources located in the resource parameter requirement set of the SL-PRS, and the resource parameters include the number of symbols and the comb structure size.

[0071] In the above embodiment, several detailed schemes are cited for the sidelink authorized resources to meet the transmission requirements of SL-PRS. In this way, corresponding resource allocation can be performed under the condition that the sidelink authorized resources can be used to transmit SL-PRS, which is conducive to ensuring the rationality and reliability of resource allocation.

[0072] In some embodiments, allocating the SL-PRS resources occupied by the target SL-PRS to the target SL-PRS includes:

[0073] Acquire SL-PRS transmission parameters, where the SL-PRS transmission parameters are used to transmit the target SL-PRS;

[0074] Based on the SL-PRS transmission parameters, the SL-PRS resources corresponding to the SL-PRS transmission parameters are determined.

[0075] In some embodiments, the SL-PRS transmission parameter is determined based on at least one of the following:

[0076] Provided by the SLPP layer of the terminal device;

[0077] Determined based on preset positioning service quality QoS requirements;

[0078] Determined based on the channel condition between the terminal device and the target destination.

[0079] In the above embodiment, the terminal device can determine the SL-PRS transmission parameters according to at least one of the above three implementation modes, and then determine the SL-PRS resources corresponding to sending the target SL-PRS, thereby ensuring the reliability and practicality of resource allocation.

[0080] According to a second aspect of an embodiment of the present disclosure, there is provided a resource allocation device, including:

[0081] The processing module is configured to allocate the sidelink granted resources obtained by the terminal device to the target SL-PRS of the target destination based on the priority of the sidelink positioning reference signal SL-PRS.

[0082] According to a third aspect of an embodiment of the present disclosure, a terminal device is provided, including:

[0083] processor;

[0084] a memory for storing processor-executable instructions;

[0085] The processor is configured to execute the steps of the resource allocation method provided in the first aspect of the present disclosure.

[0086] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the resource allocation method provided in the first aspect of the present disclosure are implemented.

[0087] According to a fifth aspect of the embodiments of the present disclosure, a chip or a chip system is provided, which includes a processing circuit configured to execute part or all of the content of the method described according to the first aspect.

[0088] It is understandable that the above-mentioned resource allocation device, terminal device, storage medium, program product, computer program, chip or chip system are all used to execute the method proposed in the embodiment of the present disclosure. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding method and will not be repeated here.

[0089] The embodiments of the present disclosure propose a resource allocation method, apparatus, device and storage medium. In some embodiments, the terms such as resource allocation method, information processing method, and communication method can be replaced with each other, the terms such as resource allocation apparatus, information processing apparatus, and communication apparatus can be replaced with each other, and the terms such as information processing system and communication system can be replaced with each other. The present disclosure will now describe the exemplary embodiments in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0090] The embodiments of the present disclosure are not exhaustive and are merely illustrative of some embodiments, and are not intended to be a specific limitation on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain embodiment can also be implemented as an independent embodiment, and the order of the steps in a certain embodiment can be arbitrarily exchanged. In addition, the optional implementation methods in a certain embodiment can be arbitrarily combined; in addition, the embodiments can be arbitrarily combined. For example, some or all steps of different embodiments can be arbitrarily combined, and a certain embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.

[0091] In each embodiment of the present disclosure, unless otherwise specified or provided for by logic, the terms and / or descriptions between the embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form a new embodiment based on their inherent logical relationships.

[0092] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0093] In the embodiments of the present disclosure, unless otherwise specified, elements expressed in the singular, such as "a", "an", "the", "above", "said", "the", "the", etc., may mean "one and only one", or "one or more", "at least one", etc. For example, when using articles such as "a", "an", "the" in English in translation, the noun following the article may be understood as a singular expression or a plural expression.

[0094] In the embodiments of the present disclosure, “plurality” refers to two or more.

[0095] In some embodiments, the terms "at least one," "one or more," "a plurality of," "multiple," and the like can be used interchangeably.

[0096] In some embodiments, descriptions such as "at least one of A and B," "A and / or B," "A in one case, B in another case," or "in response to one case A, in response to another case B" may include the following technical solutions depending on the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed); and in some embodiments, A and B (both A and B are executed). The above is also applicable when there are more branches such as A, B, and C.

[0097] In some embodiments, "A or B" and other descriptions may include the following technical solutions depending on the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed). The above is also applicable when there are more branches such as A, B, C, etc.

[0098] The prefixes such as "first" and "second" in the embodiments of the present disclosure are only used to distinguish different description objects and do not constitute any restriction on the position, order, priority, quantity or content of the description objects. For the statement of the description object, please refer to the description in the context of the claims or embodiments, and no unnecessary restriction should be constituted due to the use of prefixes. For example, if the description object is a "field", the ordinal number before the "field" in the "first field" and the "second field" does not limit the position or order between the "fields". "First" and "second" do not limit whether the "fields" they modify are in the same message, nor do they limit the order of the "first field" and the "second field". For another example, if the description object is a "level", the ordinal number before the "level" in the "first level" and the "second level" does not limit the priority between the "levels". For another example, the number of description objects is not limited by the ordinal number and can be one or more. Taking "first device" as an example, the number of "devices" can be one or more. In addition, the objects modified by different prefixes can be the same or different. For example, if the description object is "device", then the "first device" and the "second device" can be the same device or different devices, and their types can be the same or different; for another example, if the description object is "information", then the "first information" and the "second information" can be the same information or different information, and their contents can be the same or different.

[0099] In some embodiments, “including A,” “comprising A,” “used to indicate A,” and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.

[0100] In some embodiments, terms such as "in response to...", "in response to determining...", "in the case of...", "at the time of...", "when...", "if...", "if...", etc. can be used interchangeably.

[0101] In some embodiments, terms such as "greater than", "greater than or equal to", "not less than", "more than", "more than or equal to", "not less than", "higher than", "higher than or equal to", "not less than", and "above" can be replaced with each other, and terms such as "less than", "less than or equal to", "not greater than", "less than", "less than or equal to", "not more than", "lower than", "lower than or equal to", "not higher than", and "below" can be replaced with each other.

[0102] In some embodiments, devices, etc. can be interpreted as physical or virtual, and their names are not limited to the names recorded in the embodiments. Terms such as "device", "equipment", "device", "circuit", "network element", "node", "function", "unit", "section", "system", "network", "chip", "chip system", "entity", and "subject" can be used interchangeably.

[0103] In some embodiments, "network" can be interpreted as devices included in the network (eg, access network equipment, core network equipment, etc.).

[0104] In some embodiments, the terms "access network device (AN device)", "radio access network device (RAN device)", "base station (BS)", "radio base station" "fixed station", "node", "access point", "transmission point (TP)", "reception point (RP)", "transmission / reception point (TRP)", "panel", "antenna panel", "antenna array", "cell", "macro cell", "small cell", "femto cell", "pico cell", "sector", "cell group", "serving cell", "carrier", "component carrier", "bandwidth part (BWP)" and the like may be used interchangeably.

[0105] In some embodiments, the terms “terminal,” “terminal device,” “user equipment (UE),” “user terminal,” “mobile station (MS),” “mobile terminal (MT),” “subscriber station,” “mobile unit,” “subscriber unit,” “wireless unit,” “remote unit,” “mobile device,” “wireless device,” “wireless communication device,” “remote device,” “mobile subscriber station,” “access terminal,” “mobile terminal,” “wireless terminal,” “remote terminal,” “handset,” “user agent,” “mobile client,” “client,” and the like may be used interchangeably.

[0106] In some embodiments, the access network device, the core network device, or the network device can be replaced by a terminal. For example, the various embodiments of the present disclosure can also be applied to a structure in which the communication between the access network device, the core network device, or the network device and the terminal is replaced by communication between multiple terminals (for example, device-to-device (D2D), vehicle-to-everything (V2X), etc.). In this case, it is also possible to set the structure in which the terminal has all or part of the functions of the access network device. In addition, terms such as "uplink" and "downlink" can also be replaced by terms corresponding to communication between terminals (for example, "side"). For example, uplink channels, downlink channels, etc. can be replaced by side channels, and uplinks, downlinks, etc. can be replaced by side links.

[0107] First, some embodiments to which the present disclosure is applicable are introduced.

[0108] Positioning based on the sidelink SL between terminal devices is called sidelink SL positioning. Sidelink SL positioning generally includes: sidelink SL absolute positioning, sidelink SL relative positioning and ranging. Among them, sidelink SL absolute positioning refers to determining the absolute coordinates of the terminal device, sidelink SL relative positioning refers to determining the coordinates of the terminal device relative to a reference point, and ranging refers to determining the distance and / or angle of the terminal device relative to a reference point. Among them, ranging generally involves ranging between two terminal devices, and sidelink SL absolute positioning and sidelink SL relative positioning can involve multiple terminal devices for reference positioning.

[0109] The sidelink SL positioning method may include, but is not limited to, for example, the downlink time difference of arrival (DL-TDOA), uplink time difference of arrival (UL-TDOA), round trip time (RTT), angle of arrival (AOA), SL carrier phase, etc. of the sidelink. For example, please refer to Figure 1, which is a schematic diagram of a positioning scenario based on DL-TDOA according to an exemplary embodiment. In the scenario schematic diagram shown in Figure 1, the terminal device can measure the positioning reference signals sent by multiple road side units (RSU) through the side link to determine the position of the terminal device relative to the RSU. The number of RSUs in the figure can generally be greater than or equal to 3, and the figure shows 3 RSUs as an example. It can be determined according to actual conditions, and this disclosure does not constitute a limitation on this. The terminal device being located can be called a target terminal (target UE), and the terminal device that locates the target UE can be called an anchor terminal (anchor UE) or a destination. If positioning involves two terminal devices, they can both be each other's anchor terminals.

[0110] The present disclosure does not limit the type of the above-mentioned anchor terminal. For example, it can be an infrastructure device, such as a roadside unit RSU, which can cooperate with other RSUs to provide positioning services, etc.; or it can be an ordinary terminal device, such as user equipment (UE), which is difficult to cooperate with other UEs to provide positioning services; or it can be other devices with positioning functions such as the Global Positioning System (GPS), which can assist the terminal device in absolute positioning; or it can be a device that does not have positioning functions such as GPS, etc. The present disclosure does not make too many restrictions or details on this.

[0111] The Sidelink Positioning Protocol (SLPP) can be used between terminal devices to transmit sidelink positioning information (such as SL-PRS, etc.). For sidelink SL positioning, the positioning information exchanged between the terminal device and the network device (such as a base station or a location management function (LMF)) can also be referred to as SLPP information. For SL positioning combined with the Uu interface (referring to the wireless interface between the terminal device and the network device), the positioning information exchanged between the terminal device and the network device can be referred to as LPP information.

[0112] Currently, there are the following resource allocation results for the sidelink authorized resources used to transmit SL-PRS: SL-PRS can be sent on a dedicated resource pool or on a shared resource pool. The above-mentioned dedicated resource pool and shared resource pool are both pre-configured SL resource pools. Among them, the shared resource pool is a resource pool shared by the transmission of SL-PRS and sidelink data (SL data). The resource allocation of SL-PRS (i.e., the allocation of the above-mentioned sidelink authorized resources) can be based on the scheduling of network equipment; it can also be that the terminal device independently selects resources. For the shared resource pool, the terminal device can use time division multiplexing (TDM) in a time slot to send the above-mentioned SL-PRS and sidelink data (SL data). For example, the SL data can be carried in the physical sidelink shared channel (PSSCH) for transmission.

[0113] In the related art, for a sidelink grant resource (SL grant), the terminal device can use the logical channel prioritization (LCP) mechanism to allocate the sidelink grant resource (SL grant) to the SL data in each logical channel and the media access control element (MAC CE) for multiplexing and assembly to generate a corresponding MAC protocol data unit (PDU). Among them, MAC CE is important control information, which may include but is not limited to, for example, a buffer status report (BSR), a power headroom report (PHR) and other information with high real-time reliability requirements, etc. This disclosure does not make too many restrictions and details on this.

[0114] In the above resource allocation process, the terminal device can determine the priority order of MAC CE and SL data in the logical channel based on existing rules. The above existing rules are shown in Table 1 below:

[0115] Table 1

[0116] During implementation, the terminal device first determines a destination UE (also known as a destination address) with the highest priority to which data needs to be transmitted, based on the priority order specified in the above rules. It then selects a logical channel based on this destination address. The terminal device allocates resources based on information such as the logical channel in the selected destination address, the size of the SL data to be transmitted on the logical channel, the priority of the logical channel, and the size and priority of the MAC CE.

[0117] However, for the sidelink grant resources (SL grant) in the shared resource pool, since SL-PRS and SL data can be sent via TMD in one time slot, when allocating resources for the sidelink grant resources (SL grant), it is necessary to consider how to allocate resources to SL-PRS, which is an important issue that needs to be solved urgently.

[0118] In order to solve the above problems, the present disclosure provides a resource allocation method, apparatus, device and storage medium. Please refer to Figure 2, which is a structural diagram of a communication system according to an exemplary embodiment. The communication system shown in Figure 2 includes: a network device 100 and a terminal device 200. Among them, the present disclosure does not limit the number of networks 100 and terminal devices 200. The figure shows one network device 100 and two terminal devices 200 as an example, but it does not constitute a limitation. Any two terminal devices 200 of the present disclosure can communicate with each other through the network, and the network device 100 and the terminal device 200 can also communicate with each other through the network, which is not limited by the present disclosure. Among them, the communication link from the network device 100 to the terminal device 200 can be called a downlink, the communication link from the terminal device 200 to the network device 100 can be called an uplink, and the communication link between the terminal devices 200 can be called a side link SL.

[0119] The system of the present disclosure can be applied to various communication systems, such as Long Term Evolution (LTE), LTE-Advanced (LTE-A), LTE-Beyond (LTE-B), SUPER 3G, IMT-Advanced, 4th generation mobile communication system (4G), 5th generation mobile communication system (5G), 5G new radio (NR), future radio access (FRA), new radio access technology (RAT), new radio (NR), new radio access (NX), future generation radio access (FX), Global System for Mobile Communications (GSM (registered trademark)), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX (registered trademark)), IEEE 802.17 (WiMAX (registered trademark)), IEEE 802.18 (WiMAX (registered trademark)), IEEE 802.19 (WiMAX (registered trademark)), IEEE 802.20 (WiMAX (registered trademark)), IEEE 802.21 (WiMAX (registered trademark)), IEEE 802.22 (WiMAX (registered trademark)), IEEE 802.23 (WiMAX (registered trademark)), IEEE 802.24 (WiMAX (registered trademark)), IEEE 802.25 (WiMAX (registered trademark)), IEEE 802.26 (WiMAX (registered trademark)), IEEE 802.27 (WiMAX (registered trademark)), IEEE 802.28 (WiMAX (registered trademark)), IEEE 802.29 (WiMAX (registered trademark)), IEEE 802.30 (WiMAX (registered trademark)), IEEE 802.31 (WiMAX (registered trademark)), IEEE 802.32 (WiMAX (registered trademark)), IEEE 802.33 (WiMAX (register 802.20, Ultra-WideBand (UWB), Bluetooth (registered trademark), Public Land Mobile Network (PLMN) networks, Device-to-Device (D2D) systems, Machine-to-Machine (M2M) systems, Internet of Things (IoT) systems, Vehicle-to-Everything (V2X), systems utilizing other communication methods, and next-generation systems based on and extending these methods. Furthermore, multiple systems may be combined (for example, LTE or LTE-A combined with 5G) for application.

[0120] The network device 100 disclosed herein may be a base station, an evolved node B (eNB), a home base station, an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a transmission point (TP), or a transmission and reception point (TRP), etc.; it may also be a gNB in ​​an NR system; or it may be a component or part of a base station, such as a central unit (CU), a distributed unit (DU), or a baseband unit (BBU), etc.

[0121] The terminal device 200 of the present disclosure can be fixed or mobile. Figure 2 is merely a schematic diagram. The system may also include other network devices, such as wireless relay devices and wireless backhaul devices, which are not shown in Figure 2. The embodiments of the present disclosure do not limit the type and number of network devices and terminal devices included in the system.

[0122] The terminal device 200 may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc.

[0123] The terminal device 200 in the embodiment of the present disclosure may include, but is not limited to, for example, a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a laptop computer, a mobile Internet device (MID), a wearable device (such as a smart watch, a smart bracelet, etc.), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, and a wireless terminal device in a smart home, but is not limited thereto. In the present disclosure, the aforementioned terminal devices and chips applicable to the aforementioned terminal devices are collectively referred to as terminal devices. It should be understood that the embodiment of the present disclosure does not limit the specific technology and specific device form adopted by the terminal device 200.

[0124] It can be understood that the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution proposed in the embodiment of the present disclosure. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution proposed in the embodiment of the present disclosure is also applicable to similar technical problems.

[0125] The following embodiments of the present disclosure may be applied to the communication system shown in FIG2 , or a portion of the entities, but are not limited thereto. The entities shown in FIG2 are illustrative only. The communication system may include all or part of the entities shown in FIG2 , or may include other entities outside of FIG2 . The number and form of the entities are arbitrary. The entities may be physical or virtual. The connection relationship between the entities is illustrative only. The entities may be connected or disconnected, and the connection may be in any manner, directly or indirectly, and wired or wireless.

[0126] Please also refer to FIG3 , which is a schematic diagram of the structure of a terminal device according to an exemplary embodiment. The terminal device 200 shown in FIG3 may include components such as a radio frequency (RF) circuit 210, a memory 220, an input unit 230, a display unit 240, a sensor 250, an audio circuit 260, a wireless fidelity (WiFi) module 270, a processor 280, and a power supply 290. Those skilled in the art will appreciate that the device structure shown in FIG3 does not limit the terminal device and may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0127] The following is a detailed introduction to the various components of the terminal device 200 in conjunction with FIG3 :

[0128] The RF circuit 210 can be used to receive and send signals during information transmission or calls. In particular, after receiving the downlink information from the base station, it is sent to the processor 280 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 210 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 210 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0129] The memory 220 can be used to store software programs and modules. The processor 280 executes the various functional applications and data processing of the terminal device by running the software programs and modules stored in the memory 220. The memory 220 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area may store data created based on the use of the terminal device (such as audio data, a phone book, etc.). In addition, the memory 220 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0130] The input unit 230 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the terminal device. Specifically, the input unit 230 may include a touch panel 231 and other input devices 232. The touch panel 231, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel 231) and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 231 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 280, and can receive commands sent by the processor 280 and execute them. In addition, the touch panel 231 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 231, the input unit 230 may further include other input devices 232. Specifically, the other input devices 232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick.

[0131] The display unit 240 can be used to display information input by the user or information provided to the user and various menus of the terminal device. The display unit 240 may include a display panel 241. Optionally, the display panel 241 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 231 may cover the display panel 241. When the touch panel 231 detects a touch operation on or near it, it is transmitted to the processor 280 to determine the type of touch event, and then the processor 280 provides a corresponding visual output on the display panel 241 according to the type of touch event. Although in Figure 4, the touch panel 231 and the display panel 241 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 231 and the display panel 241 can be integrated to implement the input and output functions of the terminal device.

[0132] The terminal device may also include at least one sensor 250, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 241 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 241 and / or the backlight when the terminal device is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the terminal device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that the terminal device can also be configured with, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be described here.

[0133] Audio circuit 260, speaker 261, and microphone 262 provide an audio interface between the user and the terminal device. Audio circuit 260 converts received audio data into electrical signals and transmits them to speaker 261, which then converts them into sound signals for output. Microphone 262, on the other hand, converts collected sound signals into electrical signals, which are then received by audio circuit 260 and converted into audio data. The audio data is then processed by processor 280 and transmitted to, for example, another terminal device via RF circuit 210, or the audio data is output to memory 220 for further processing.

[0134] WiFi is a short-range wireless transmission technology. Terminal devices, through WiFi module 270, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband Internet access. Although FIG3 shows WiFi module 270, it is understood that it is not a required component of the terminal device and can be omitted as needed without changing the essence of the invention.

[0135] Processor 280 is the control center of the terminal device. It connects all components of the terminal device using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 220 and accessing data stored in memory 220, it performs various terminal device functions and processes data, thereby providing overall monitoring of the terminal device. Optionally, processor 280 may include one or more processing units. Preferably, processor 280 integrates an application processor and a modem processor. The application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 280.

[0136] The terminal device 200 also includes a power supply 290 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 280 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. Although not shown, the terminal device 200 may also include components such as a camera and a Bluetooth module, which will not be described in detail here.

[0137] Based on the above embodiments, the following describes a method embodiment of the present disclosure. FIG4 is a flow chart illustrating a resource allocation method according to an exemplary embodiment. The method shown in FIG4 is applied to a terminal device 200 and may include the following implementation steps:

[0138] S401. Allocate the sidelink granted resources acquired by the terminal device to a target SL-PRS of a target destination based on the priority of the sidelink positioning reference signal SL-PRS.

[0139] The sidelink authorized resources described in this disclosure may be resources allocated by network device 100 to terminal device 200, or resources independently selected by terminal device 200 based on actual needs. These resources may be determined based on actual circumstances and are not limited in this disclosure. The sidelink authorized resources described in this disclosure may be resources in a dedicated resource pool or a shared resource pool. These resources may be determined based on actual circumstances and are not limited or detailed in this disclosure.

[0140] The target destination may refer to a destination for SL-PRS transmission with the terminal device 200 in sidelink SL positioning. The destination may include, but is not limited to, another terminal device or a network address of another terminal device, etc. This disclosure does not limit or elaborate on this. The target SL-PRS may be one or more SL-PRSs included in the target destination. This disclosure does not limit the number of the target SL-PRSs, which may be determined according to actual conditions.

[0141] The present disclosure does not limit the specific implementation of the above-mentioned sidelink grant resource allocation. For example, please refer to Figure 5, which is a flowchart of another resource allocation method according to an exemplary embodiment. The method shown in Figure 5 can be applied to the terminal device 200 and may include the following implementation steps:

[0142] S501. Obtain priorities of transmission objects to be sent to m destinations, where the transmission objects include SL MAC CE, data in the SL logical channel, and SL-PRS, and m is a positive integer.

[0143] In the present disclosure, the destination to be sent to refers to the destination (destination) used together with the terminal device 200 to achieve SL positioning in the sidelink SL positioning. The relevant description of the destination can refer to the relevant introduction of the target destination in the aforementioned S401, which will not be repeated here. For example, when the above-mentioned destination is the network address of another terminal device, the other terminal device corresponding to the destination and the above-mentioned terminal device 200 can transmit SL-PRS, which is used to achieve the positioning of the sidelink SL between the two devices. For example, the transmitted SL-PRS can be specifically used to assist the above-mentioned terminal device 200 in achieving positioning, or can be specifically used to instruct the above-mentioned terminal device 200 to perform positioning measurement and return corresponding positioning measurement information, thereby achieving the positioning of the other terminal device itself, etc. It can be determined according to actual conditions, and this disclosure does not make too many restrictions and details on this. The terminal device corresponding to the above-mentioned destination may include but is not limited to the above-mentioned RSU, ordinary SL device or other device, etc., which can refer to the relevant introduction of the terminal device 200 mentioned above, which will not be repeated here. This disclosure does not limit the number of the above-mentioned destinations, which can be determined according to actual conditions, that is, m is a positive integer determined according to actual conditions.

[0144] The present disclosure does not limit the implementation method for obtaining the priority of the transmission object of the above-mentioned destination. For example, the terminal device 200 can obtain it through the upper layer (such as the SLPP layer), or can obtain it from other devices (such as the destination) through the network, etc. The present disclosure does not limit this. For each destination, the transmission object in the destination may include but is not limited to, for example, any one or more combinations of the following: sidelink media access control element (SL MAC CE), data in the SL logical channel, and SL-PRS. In actual applications, the above-mentioned transmission objects can usually include all three, that is, the above-mentioned SL MAC CE, data in the SL logical channel, and SL-PRS. Among them, the priority of SL-PRS can be provided by the upper layer of the terminal device 200, or provided by the corresponding destination. The priority of the data in the above-mentioned SL logical channel is usually provided by the logical channel configuration. The priority of the above-mentioned SL MAC CE can be pre-defined by the protocol, which is usually fixed to 1, etc., and the present disclosure does not make too many restrictions and details on this.

[0145] The MAC CE involved in the present disclosure may include, but is not limited to, for example, any one or more of the following: Sidelink CSI Reporting MAC CE, Sidelink DRX Command MAC CE, Sidelink Inter-UE Coordination Request MAC CE, and Sidelink Inter-UE Coordination Information MAC CE. MAC CE is important control information, which may include, but is not limited to, for example, Buffer Status Report (BSR), Power Headroom Report (PHR), and other information with high real-time reliability requirements. This disclosure does not make too many restrictions or details on this. The SL-PRS involved in the present disclosure is used for sidelink SL positioning between the terminal device 200 and the destination (or the device corresponding to the destination). It is a wireless signal used for positioning, which can be called a positioning reference signal.

[0146] S502: Determine the target destination based on the priorities of the transmission objects to be sent to the m destinations, where the target destination is one of the m destinations.

[0147] The present disclosure can determine the target destination based on the priority of each transmission object in the m destinations. The present disclosure does not limit the implementation method for determining the above-mentioned target destination. For example, in an example implementation, the present disclosure can select the destination corresponding to the transmission object with the highest priority from the m destinations as the above-mentioned target destination. In a specific implementation, the terminal device 200 can send at least one transmission object to each of the m destinations, and each transmission object has a corresponding priority; the terminal device 200 will compare the priorities of all transmission objects corresponding to these destinations, and select the destination corresponding to the transmission object with the highest priority as the above-mentioned target destination. That is, the above-mentioned target destination is the destination of the transmission object with the highest priority among the m destinations.

[0148] In some embodiments, to ensure the rationality of resource allocation and the reliability of subsequent target SL-PRS transmission, the present disclosure, when determining the target destination, needs to consider whether the SL-PRS of the destination to be transmitted meets a preset first condition. Destinations to be transmitted and their SL-PRS that do not meet the preset first condition are not considered, that is, they cannot be used as the target destination. In other words, the SL-PRS in the transmission objects of the m destinations must meet the preset first condition. The preset first condition is used to indicate that the sidelink granted resources can be used to transmit the SL-PRS in the corresponding destination. The preset first condition can be a condition customized by the terminal device 200 or the user according to actual needs. For example, it can include that the sidelink granted resources meet the transmission requirements of the SL-PRS.

[0149] The transmission requirement of the SL-PRS may be determined based on the actual transmission of the SL-PRS, or may be customized by the destination to be transmitted or the network device 100 according to actual needs, and may include but is not limited to any one or more of the following: bandwidth transmission requirement of the SL-PRS (e.g., bandwidth size required for transmitting the SL-PRS), residual delay budget requirement of the SL-PRS (e.g., residual delay time for transmitting the SL-PRS, which refers to the difference between the delay budget time pre-configured for the SL-PRS and the above-mentioned waiting time when the SL-PRS is triggered to wait for transmission but is not transmitted), transmission duration requirement of the SL-PRS (wherein, factors affecting the transmission duration of the SL-PRS may include but are not limited to parameters such as the number of symbols; taking the number of symbols as an example, the transmission duration requirement of the SL-PRS may include symbol number requirement (e.g., number of symbols required for transmitting the SL-PRS), comb size requirement of the SL-PRS (e.g., comb size used for transmitting the SL-PRS), and the number of symbols required for transmitting the SL-PRS. size, etc.) or other custom transmission requirements.

[0150] Similarly, the sidelink granted resources satisfying the SL-PRS transmission requirements may correspond to, but are not limited to, any one or more of the following combinations: the channel bandwidth of the sidelink granted resources (e.g., PSSCH bandwidth) satisfies the bandwidth transmission requirements of the SL-PRS (i.e., the channel bandwidth of the SL grant satisfies the transmission bandwidth of the SL-PRS, for example, the channel bandwidth of the SL grant is greater than or equal to the transmission bandwidth of the SL-PRS, etc.); the sidelink granted resources satisfy the residual delay budget requirements of the SL-PRS (e.g., the transmission delay of the SL grant may be less than or equal to the residual delay time of the SL-PRS, etc.); the sidelink granted resources satisfy the transmission duration requirements of the SL-PRS, specifically, for example, the sidelink granted resources satisfy the symbol number requirements of the SL-PRS (e.g., the number of symbols included in the SL grant may be greater than or equal to the number of symbols required for SL-PRS transmission, etc.); the sidelink granted resources satisfy the comb size requirements of the SL-PRS (e.g., the number of combs required for SL-PRS transmission included in the SL grant). size, etc.); at least one set of resource parameters in the above-mentioned sidelink granted resources is located in the resource parameter requirement set of SL-PRS, or the above-mentioned sidelink granted resources meet other SL-PRS transmission requirements, etc. The above-mentioned resource parameter requirement set may include one or more sets of resource parameters required for SL-PRS transmission, and each set of resource parameters may include, but is not limited to, the above-mentioned symbol number, comb size, or other resource parameters used for transmitting SL-PRS. Taking the example that each set of resource parameters includes the symbol number and comb size, the above-mentioned sidelink granted resources of the present disclosure must contain at least one set of resource parameters (symbol number, comb size) located in the resource parameter set (symbol number, comb size) required for SL-PRS transmission.

[0151] It should be noted that the above determination of the target destination is based on a transmission / broadcast type. In other words, the data transmission between the terminal device 200 and each destination is limited to a transmission type, such as a unicast type, a multicast type, or a broadcast type, etc. This disclosure does not make too many restrictions or details on this.

[0152] S503: Allocate the sidelink granted resources obtained by the terminal device to the target SL-PRS of the target destination.

[0153] During implementation, after determining the target destination, the present disclosure may determine a target SL-PRS in the target destination based on at least one SL-PRS in the target destination. The present disclosure does not limit the specific implementation method for determining the target SL-PRS. For example, the present disclosure may select an SL-PRS that satisfies a preset second condition from at least one SL-PRS in the target destination as the target SL-PRS. That is, the target SL-PRS may be an SL-PRS that satisfies the preset second condition among the at least one SL-PRS. The present disclosure does not limit the number of target SL-PRSs, which may be determined based on actual circumstances. The preset second condition is a condition for selecting the target SL-PRS that is customized by a terminal device or user. For example, it may include, but is not limited to, any one or more of the following: the sidelink granted resources meet the transmission requirements of the SL-PRS, the priority of the SL-PRS is greater than or equal to the preset priority, or other customized SL-PRS selection conditions. The preset priority is a threshold priority customized by the terminal device or user based on actual needs. For example, when the above-mentioned preset second condition is that the priority of the SL-PRS is greater than or equal to the preset priority, the present disclosure can select an SL-PRS with a priority greater than or equal to the preset priority (that is, a higher priority, for example, the highest priority) from at least one SL-PRS in the above-mentioned destination as the above-mentioned target SL-PRS, etc. Regarding the transmission requirements of the above-mentioned SL-PRS and the sidelink authorized resources meeting the transmission requirements of the SL-PRS, please refer to the relevant description in the aforementioned embodiments, and will not be repeated here.

[0154] In some embodiments, after determining the above-mentioned target destination, the present disclosure may further select the SL logical channel (specifically, the data in the SL logical channel) and / or SL MAC CE to be transmitted from the above-mentioned target destination, and then allocate resources for the selected SL logical channel and / or SL MAC CE. Regarding how to allocate resources for the above-mentioned selected SL logical channel and / or SL MAC CE, it can refer to the resource allocation based on the LCP mechanism of the aforementioned terminal device or the relevant description in the existing communication protocol. The present disclosure does not make too many restrictions and details here.

[0155] In some optional embodiments, when the present disclosure performs resource allocation (for example, resource allocation based on the LCP mechanism), the data in the SL-PRS and the straight link traffic channel (Sidelink Traffic Channel, STCH) have the same priority, and the straight link traffic channel is a channel in the SL logical channel. Among them, the SL logical channel may include, but is not limited to, logical channels such as the straight link traffic channel STCH and the straight link control channel (Sidelink Control Channel, SCCH), and the present disclosure does not make too many restrictions and details on this. In a specific implementation, when the terminal device 200 performs resource allocation based on the LCP mechanism, priority processing can be performed according to the rules shown in Table 2 below.

[0156] Table 2

[0157] After determining the target SL-PRS, the present disclosure may allocate resources based on the sidelink granted resources obtained by the terminal device and the target SL-PRS to obtain the SL-PRS resources occupied by the target SL-PRS. The SL-PRS resources may include, but are not limited to, an identifier (ID) of the SL-PRS resource, a transport block size (TB size) corresponding to the SL-PRS resource, resource elements (REs) occupied / included by the transport block, or other resource description information.

[0158] The present disclosure does not limit the specific implementation of the above-mentioned resource allocation. For example, in a specific implementation, the terminal device 200 may first determine whether the above-mentioned target SL-PRS needs to be transmitted. Specifically, for example, the MAC layer of the terminal device 200 may determine whether the above-mentioned target SL-PRS needs to be transmitted. The present disclosure does not limit the implementation method for determining whether the above-mentioned target SL-PRS needs to be transmitted. For example, it may include but is not limited to any one or more combinations of the following implementations, or other custom implementations, etc.:

[0159] In the first embodiment, whether the above-mentioned sidelink authorization resources support the transmission / sending of the above-mentioned target SL-PRS. In a specific implementation, the present disclosure can determine whether the above-mentioned sidelink authorization resources support the sending of the above-mentioned target SL-PRS by judging whether the above-mentioned sidelink authorization resources meet the transmission requirements of the above-mentioned target SL-PRS. Regarding whether the above-mentioned sidelink authorization resources meet the transmission requirements of the above-mentioned target SL-PRS, please refer to the relevant introduction in the above-mentioned embodiment, which will not be repeated here. When the above-mentioned sidelink authorization resources meet the transmission requirements of the above-mentioned target SL-PRS, it can be determined that the above-mentioned target SL-PRS needs to be transmitted. Otherwise, it can be determined that the above-mentioned target SL-PRS does not need to be transmitted.

[0160] In a second embodiment, whether the sidelink granted resource supports the transmission / sending of the target SL-PRS is determined based on the priority and size of the transmission object of the target destination. The transmission object may include the SL-PRS to be transmitted at the target destination, the SLMAC CE, and the data in the SL logical channel. In a specific implementation, the present disclosure may determine whether the sidelink granted resource can be used to send the target SL-PRS based on the priority and size of all the SL-PRS to be transmitted, the SLMAC CE, and the data in the SL logical channel at the target destination. When the sidelink granted resource can be used to send the target SL-PRS, it can be determined that the target SL-PRS needs to be transmitted; otherwise, it can be determined that the target SL-PRS does not need to be transmitted.

[0161] In a third embodiment, when the sidelink granted resource is an granted resource allocated by the network device 100, whether the sidelink granted resource indicates support for SL-PRS transmission is determined. Specifically, in this case, the present disclosure may determine whether the sidelink granted resource explicitly indicates support for SL-PRS transmission. When the sidelink granted resource explicitly indicates support for SL-PRS transmission, it may be determined that the target SL-PRS needs to be transmitted; otherwise, it may be determined that the target SL-PRS does not need to be transmitted.

[0162] In a fourth embodiment, when the sidelink granted resource is an authorized resource autonomously selected by the terminal device 200, whether the sidelink granted resource supports transmission of the target SL-PRS. In a specific implementation, in this case, the present disclosure can determine whether the sidelink granted resource can be used to send the target SL-PRS. For the specific determination implementation, please refer to the relevant description in the above two embodiments, which will not be repeated here.

[0163] When determining that the target SL-PRS needs to be transmitted, the present disclosure may further allocate the SL-PRS resources occupied by the target SL-PRS. The present disclosure does not limit the specific implementation of the SL-PRS resource allocation. For example, in one specific implementation, the SL-PRS resource or its resource identifier (ID) may be provided by an upper layer (e.g., an SLPP layer) of the terminal device 200.

[0164] In another specific embodiment, the present disclosure may obtain SL-PRS transmission parameters for transmitting the target SL-PRS, including but not limited to the number of symbols, comb size, SL-PRS bandwidth, or other customized parameters for transmitting the target SL-PRS. Based on the SL-PRS transmission parameters, the terminal device 200 may determine the SL-PRS resources corresponding to / matching the SL-PRS transmission parameters.

[0165] The present disclosure does not limit the implementation method for obtaining the above-mentioned SL-PRS transmission parameters. For example, it may include but is not limited to any one or more combinations of the following example implementations, which can be determined according to actual conditions. The present disclosure does not make too many restrictions or details on this:

[0166] In an example embodiment, the SL-PRS transmission parameters may be provided by an upper layer (e.g., an SLPP layer) of the terminal device 200, or may be SL-PRS transmission parameters selected from a set of transmission parameters provided by an upper layer (e.g., an SLPP layer) of the terminal device 200 for transmitting the target SL-PRS. When the SLPP layer of the terminal device 200 provides a set of transmission parameters, the MAC layer of the terminal device 200 may select the SL-PRS transmission parameters for transmitting the target SL-PRS from the set of transmission parameters according to actual needs; and further, based on the SL-PRS transmission parameters, determine the corresponding / matching SL-PRS resources.

[0167] In another example embodiment, the upper layer (such as the SLPP layer) of the terminal device 200 does not provide the above-mentioned SL-PRS transmission parameters, and the above-mentioned SL-PRS transmission parameters can be determined by the terminal device 200 itself. Specifically, the MAC layer of the terminal device 200 can determine the SL-PRS transmission parameters corresponding to the positioning QoS requirements based on the preset positioning service quality Qos requirements. Among them, the positioning service quality Qos requirements refer to the service quality requirements related to positioning, which can be customized according to actual needs. For example, taking the positioning QoS requirements including positioning accuracy as an example, if the positioning accuracy requirement is higher, the MAC layer can select the transmission parameters with a larger number of symbols and a smaller comb size as the SL-PRS transmission parameters for transmitting the above-mentioned target SL-PRS, etc. This disclosure does not make too many restrictions and details on this.

[0168] In another example embodiment, the upper layer (such as the SLPP layer) of the terminal device 200 does not provide the above-mentioned SL-PRS transmission parameters. The above-mentioned SL-PRS transmission parameters can be determined by the terminal device 200 itself. Specifically, the MAC layer of the terminal device 200 can determine the SL-PRS transmission parameters that match / comply with the channel conditions based on the channel conditions between the terminal device 200 and the target destination. The channel conditions include, but are not limited to, information such as channel quality (i.e., the quality of the sidelink SL between the terminal device 200 and the target destination), channel bandwidth, or other channel parameters that affect channel transmission. Taking the example where the channel condition includes the quality of the sidelink SL, the MAC layer of the terminal device 200 can determine, based on the current quality of the sidelink SL between the terminal device 200 and the target destination, transmission parameters such as the number of symbols that match the current quality.

[0169] It should be noted that when the above-mentioned SL-PRS transmission parameters include multiple transmission parameters, some of the parameters in the SL-PRS transmission parameters may be provided by the SLPP layer of the terminal device 200, and some parameters may be determined by the MAC layer of the terminal device 200 itself (which may be determined based on preset positioning QoS requirements and / or channel conditions between the terminal device 200 and the target destination). For example, the comb size in the above-mentioned SL-PRS transmission parameters may be provided by the SLPP layer of the terminal device 200, and the number of symbols in the above-mentioned SL-PRS transmission parameters may be determined by the MAC layer of the terminal device 200 itself. The relevant information provided by the above-mentioned SLPP layer (e.g., the identifier of the SL-PRS resource, transmission parameters such as the number of symbols, comb size, etc.) may be obtained through its upper layer configuration, or may be sent by the receiving network device 200 (e.g., a base station or LMF) or a service terminal (server UE). The service terminal refers to a terminal device capable of providing positioning services. It may be a device corresponding to the above-mentioned m terminal devices to be sent to the destination, or it may be another terminal device capable of providing positioning services, etc., and this disclosure is not limited thereto. When a symbol is used by SL-PRS transmission, regardless of the comb size it includes, the entire symbol is considered to be occupied by SL-PRS transmission.

[0170] In some optional embodiments, after completing the above-mentioned resource allocation, the present disclosure can send the above-mentioned target SL-PRS to the target destination based on the above-mentioned side link authorization resources. Specifically, the terminal device 200 can use the above-mentioned SL-PRS resources to send the above-mentioned target SL-PRS to the target destination to achieve side link SL positioning between the terminal device 200 and the target destination.

[0171] In some optional embodiments, when determining that the target SL-PRS needs to be transmitted, the present disclosure may determine the remaining transmission resources based on the sidelink granted resources and the SL-PRS resources. The remaining transmission resources are other remaining resources in the sidelink granted resources excluding the SL-PRS resources. The remaining transmission resources can be used to transmit data in the SL MAC CE and / or SL logical channel. The remaining transmission resources may be determined by the MAC layer of the terminal device 200 or the physical (Physical, PHY) layer of the terminal device 200.

[0172] In a specific implementation, when the remaining transmission resources are determined by the MAC layer of the terminal device 200, the MAC layer of the terminal device 200 may, when determining that the target SL-PRS needs to be transmitted, subtract / remove the resource elements (REs) occupied by the SL-PRS resources from the transport block size (TB size) corresponding to the sidelink granted resources, thereby obtaining the remaining transmission resources, i.e., the transport block size (TB size) after removing the SL-PRS resources. Conversely, when the MAC layer of the terminal device 200 determines that the target SL-PRS does not need to be transmitted, it may not perform RE subtraction processing on the transport block size (TB size) corresponding to the sidelink granted resources.

[0173] When the remaining transmission resources are determined by the PHY layer of the terminal device 200, the MAC layer of the terminal device 200 may indicate the SL-PRS resource or the identifier of the SL-PRS resource to the PHY layer when determining that the target SL-PRS needs to be transmitted, that is, the MAC layer indicates the SL-PRS resource or its identifier occupied by the target SL-PRS to the PHY layer. Accordingly, after receiving the SL-PRS resource or its identifier, the PHY layer may subtract / remove the resource elements RE occupied by the SL-PRS resource from the transport block size (TB size) corresponding to the sidelink granted resource, thereby obtaining the remaining transmission resources, that is, the transport block size (TB size) after removing the SL-PRS resource, etc. The PHY layer then indicates the remaining transmission resources, that is, the transport block size (TB size) after removing the SL-PRS resource, etc. to the MAC layer. The indication between the MAC layer and the PHY layer may be specifically transmitted using corresponding indication information. For example, the MAC layer may send first indication information to the PHY layer, where the first indication information is used to indicate the SL-PRS resource or an identifier of the SL-PRS resource. For another example, the PHY layer may send second indication information to the MAC layer, where the second indication information is used to indicate the remaining transmission resources, that is, the transport block size (TB size) after removing the SL-PRS resource.

[0174] In some optional embodiments, when the present disclosure determines that the above-mentioned target SL-PRS needs to be transmitted, the MAC layer of the terminal device 200 may instruct the PHY layer to use the above-mentioned SL-PRS resources to send the above-mentioned target SL-PRS. Specifically, for example, the MAC layer may send a third indication information to the PHY layer, and the third indication information is used to instruct the PHY layer to use the above-mentioned SL-PRS resources to send the above-mentioned target SL-PRS to the above-mentioned target destination.

[0175] In some optional embodiments, when allocating resources, the terminal device may maximize the objects to be transmitted between the terminal device 200 and the target destination, and the objects to be transmitted include the data in the SL-PRS and / or SL logical channel. For example, when the terminal device allocates resources based on the LCP mechanism, the data in the SL-PRS and / or SL logical channel to be sent may be maximized, that is, if the above-mentioned side link authorization resources allow, more data in the above-mentioned SL-PRS and / or SL logical channel may be sent. For example, in a specific implementation, when the MAC layer of the terminal device 200 allocates resources, it must ensure that the data in the above-mentioned SL-PRS and / or SL logical channel is greater than or equal to the corresponding preset threshold value. The preset threshold value may be affected by factors such as the above-mentioned side link authorization resources, and it may be customized according to actual conditions, etc. This disclosure does not limit this.

[0176] In some optional embodiments, when there is no data to be transmitted in the terminal device 200, a MAC protocol data unit (PDU) may not be generated, that is, the generation of a MAC PDU may be prohibited. The data to be transmitted may include a MAC CE, a MAC service data unit (SDU), and an SL-PRS.

[0177] In another optional embodiment, when there is SL-PRS that needs to be transmitted in the terminal device 200, the terminal device 200 can generate a MAC PDU, and multiplex the generated MAC PDU and the SL-PRS that needs to be transmitted in the same time slot using TDM.

[0178] In a specific implementation, when only SL-PRS needs to be transmitted in the terminal device 200 and no other data, such as MAC CE and / or MAC SDU, needs to be transmitted, the MAC layer of the terminal device 200 can pad to generate a MAC PDU, which can be called a padding PDU; then the padding PDU and the SL-PRS to be transmitted are multiplexed in the same time slot using a TDM method for transmission. When SL-PRS needs to be transmitted in the terminal device and there are also data, such as MAC CE and / or MAC SDU, that need to be transmitted, the MAC layer of the terminal device 200 can generate a MAC PDU for the MAC CE and / or MAC SDU data; then the padding PDU and the SL-PRS to be transmitted are multiplexed in the same time slot using a TDM method for transmission. It should be noted that the above-mentioned optional embodiments can be implemented separately or in combination with any one or more of the embodiments, which can be determined according to actual needs and is not limited by this disclosure.

[0179] By implementing the embodiments of the present disclosure, the terminal device can allocate the sidelink authorization resources obtained by the terminal device to the target SL-PRS of the target destination based on the priority of the sidelink positioning reference signal SL-PRS. It can be seen that the terminal device can allocate resources for the target SL-PRS of the target destination based on the priority of the SL-PRS, so that the subsequent terminal device can use the allocated sidelink authorization resources to send the target SL-PRS to the target destination, thereby realizing the sidelink SL positioning between the terminal device and the target destination (or the device corresponding to the target destination). In this way, the resource allocation of the sidelink authorization resources to the SL-PRS is realized, which is conducive to improving the rationality and reliability of resource allocation without affecting the positioning effect of the sidelink SL.

[0180] Based on the above embodiment, FIG6 is a schematic diagram of a resource allocation device according to an exemplary embodiment. The device shown in FIG6 can be applied to a terminal device 200, and the device can include a processing module 601, wherein:

[0181] The processing module 601 is configured to allocate the sidelink granted resources obtained by the terminal device to the target SL-PRS of the target destination based on the priority of the sidelink positioning reference signal SL-PRS.

[0182] In some embodiments, the processing module 601 is configured to:

[0183] Obtaining priorities of transmission objects to be sent to m destinations, the transmission objects including sidelink medium access control elements (SL MAC CEs), data in SL logical channels, and SL-PRSs, where m is a positive integer;

[0184] determining the target destination based on the priorities of the transmission objects to be sent to the m destinations, the target destination being one of the m destinations;

[0185] Allocate the sidelink granted resources acquired by the terminal device to the target SL-PRS of the target destination.

[0186] In some embodiments, determining the target destination based on the priorities of the transmission objects to be sent to the m destinations includes:

[0187] The destination corresponding to the transmission object with the highest priority is selected from the m destinations as the target destination.

[0188] In some embodiments, the SL-PRS in the transmission objects of the m destinations needs to meet a preset first condition, and the preset first condition includes that the sidelink authorized resources meet the transmission requirements of the SL-PRS.

[0189] In some embodiments, the processing module 601 is configured to:

[0190] determining the target SL-PRS based on at least one SL-PRS in the target destination;

[0191] Resource allocation is performed based on the sidelink authorized resources obtained by the terminal device and the target SL-PRS to obtain the SL-PRS resources occupied by the target SL-PRS, and the sidelink authorized resources include the SL-PRS resources.

[0192] In some embodiments, the target SL-PRS is the SL-PRS among the at least one SL-PRS that meets a preset second condition, and the preset second condition includes: the sidelink authorization resources meet the transmission requirements of the SL-PRS, and / or the priority of the SL-PRS is greater than or equal to the preset priority.

[0193] In some embodiments, the processing module 601 is configured to:

[0194] When it is determined that the target SL-PRS needs to be transmitted, allocating the SL-PRS resource occupied by the target SL-PRS to the target SL-PRS;

[0195] Among them, the determination that the target SL-PRS needs to be transmitted includes at least one of the following: the sidelink authorization resource meets the transmission requirements of the target SL-PRS; the sidelink authorization resource is determined to support the transmission of the target SL-PRS based on the priority and size of the transmission object of the target destination; when the sidelink authorization resource is an authorization resource allocated by the network device, the sidelink authorization resource indicates support for transmission of SL-PRS; when the sidelink authorization resource is an authorization resource selected by the terminal device, the sidelink authorization resource supports transmission of the target SL-PRS.

[0196] In some embodiments, the processing module 601 is further configured to:

[0197] Based on the sidelink authorized resources and the SL-PRS resources, the remaining transmission resources are determined, where the remaining transmission resources are the remaining resources in the sidelink authorized resources excluding the SL-PRS resources, and the remaining transmission resources are used to transmit data in the SL MAC CE and / or SL logical channel.

[0198] In some embodiments, the remaining transmission resources are determined by the MAC layer or PHY layer of the terminal device; wherein, when the remaining transmission resources are determined by the PHY layer of the terminal device, the MAC layer of the terminal device indicates the SL-PRS resources to the PHY layer of the terminal device, and the PHY layer of the terminal device indicates the remaining transmission resources to the MAC layer of the terminal device.

[0199] In some embodiments, please refer to FIG7 , which is a schematic diagram of the structure of another resource allocation device according to an exemplary embodiment. The device shown in FIG7 can be applied to the terminal device 200. The device may include the processing module 601 and the communication module 602, wherein:

[0200] The communication module 602 is configured to enable the MAC layer of the terminal device to instruct the PHY layer of the terminal device to use the SL-PRS resource to send the target SL-PRS to the target destination.

[0201] In some embodiments, the processing module 601 is further configured to maximize the objects to be transmitted between the terminal device and the target destination when the terminal device performs resource allocation, and the objects to be transmitted include data in the SL-PRS and / or SL logical channel.

[0202] In some embodiments, the SL-PRS and data in a direct link traffic channel STCH have the same priority, and the direct link traffic channel is a channel in the SL logical channel.

[0203] In some embodiments, the processing module 601 is also configured to prohibit the generation of a MAC protocol data unit MAC PDU when there is no data to be transmitted in the terminal device, and the data to be transmitted includes a MAC CE, a MAC service data unit MAC SDU and a SL-PRS; or, when there is an SL-PRS to be transmitted in the terminal device, generate a MAC PDU, and multiplex the SL-PRS to be transmitted and the MAC PDU in the same time slot for transmission.

[0204] In some embodiments, the sidelink granted resource is a resource in a shared resource pool.

[0205] In some embodiments, the sidelink granted resources satisfying the transmission requirements of the SL-PRS include at least one of the following:

[0206] The channel bandwidth of the sidelink granted resource meets the bandwidth transmission requirement of the SL-PRS;

[0207] The sidelink granted resources meet the remaining delay budget requirement of the SL-PRS;

[0208] The sidelink granted resources meet the transmission duration requirement of the SL-PRS;

[0209] The sidelink granted resources meet the comb structure size requirement of the SL-PRS;

[0210] There is at least one set of resource parameters for the sidelink granted resources located in the resource parameter requirement set of the SL-PRS, and the resource parameters include the number of symbols and the comb structure size.

[0211] In some embodiments, the processing module 601 is configured to obtain SL-PRS transmission parameters, which are used to transmit the target SL-PRS; and based on the SL-PRS transmission parameters, determine the SL-PRS resources corresponding to the SL-PRS transmission parameters.

[0212] In some embodiments, the SL-PRS transmission parameter is determined based on at least one of the following:

[0213] Provided by the SLPP layer of the terminal device;

[0214] Determined based on preset positioning service quality QoS requirements;

[0215] Determined based on the channel condition between the terminal device and the target destination.

[0216] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0217] 8 is a schematic diagram showing the structure of a terminal device according to an exemplary embodiment. Referring to FIG8 , the terminal device 200 may include one or more of the following components: a processing component 3002 , a memory 3004 , and a communication component 3006 .

[0218] The processing component 3002 can be used to control the overall operation of the terminal device 200, such as operations associated with display, phone calls, data communications, camera operation, and recording. The processing component 3002 can include one or more processors 3020 to execute instructions to complete all or part of the steps of the resource allocation method described above. In addition, the processing component 3002 can include one or more modules to facilitate interaction between the processing component 3002 and other components. For example, the processing component 3002 can include a multimedia module to facilitate interaction between the multimedia component and the processing component 3002.

[0219] The memory 3004 is configured to store various types of data to support operations on the terminal device 200. Examples of such data include instructions for any application or method operating on the terminal device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 3004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0220] The communication component 3006 is configured to facilitate wired or wireless communication between the terminal device 200 and other devices. The terminal device 200 can access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G, 6G, NB-IOT, eMTC, etc., or a combination thereof. In an exemplary embodiment, the communication component 3006 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 3006 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0221] In an exemplary embodiment, the terminal device 200 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned resource allocation method.

[0222] The terminal device 200 may be an independent electronic device or a part of an independent electronic device. For example, in one embodiment, the electronic device may be an integrated circuit (IC) or a chip, wherein the integrated circuit may be an IC or a collection of multiple ICs; the chip may include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-on-chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned resource allocation method. The executable instructions may be stored in the integrated circuit or chip, or may be obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the processor, and when the executable instruction is executed by the processor, the above-mentioned resource allocation method is implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned resource allocation method.

[0223] In an exemplary embodiment, the present disclosure further provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the resource allocation method provided by the present disclosure. For example, the computer-readable storage medium may be a non-transitory computer-readable storage medium including instructions, for example, the aforementioned memory 3004 including instructions, which may be executed by the processor 3020 of the terminal device 200 to complete the aforementioned resource allocation method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like.

[0224] 9 is a schematic diagram showing the structure of a chip according to an exemplary embodiment. If the terminal device 200 can be a chip or a chip system, please refer to the schematic diagram of the structure of the chip 400 shown in FIG9 , but the present invention is not limited thereto.

[0225] The chip 400 includes one or more processors 401 , and the chip 400 is configured to execute any of the above methods.

[0226] In some embodiments, chip 400 further includes one or more interface circuits 402. Optionally, interface circuit 402 is connected to memory 403. Interface circuit 402 can be used to receive signals from memory 403 or other devices, and interface circuit 402 can be used to send signals to memory 403 or other devices. For example, interface circuit 402 can read instructions stored in memory 403 and send the instructions to processor 401.

[0227] In some embodiments, the interface circuit 402 performs at least one of the communication steps such as sending and / or receiving in the above method (for example, sending the target SL-PRS to the target destination, etc., but not limited to this), and the processor 401 performs at least one of the other steps (for example, step 401, step 501, step 502 and step 503, etc.).

[0228] In some embodiments, terms such as interface circuit, interface, transceiver pin, and transceiver may be used interchangeably.

[0229] In some embodiments, the chip 400 further includes one or more memories 403 for storing instructions. Alternatively, all or part of the memories 403 may be located outside the chip 400.

[0230] In another exemplary embodiment, the present disclosure further proposes a computer-readable storage medium having instructions stored thereon. When the instructions are executed on the terminal device 200, the terminal device 200 executes any of the above methods. Optionally, the storage medium is an electronic storage medium. Optionally, the storage medium is a computer-readable storage medium, but is not limited thereto and may also be a storage medium readable by other devices. Optionally, the storage medium may be a non-transitory storage medium, but is not limited thereto and may also be a temporary storage medium.

[0231] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and has a code portion for executing the above resource allocation method when executed by the programmable device.

[0232] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the present disclosure. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0233] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A resource allocation method, characterized in that: include: Based on the priority of the sidelink positioning reference signal SL-PRS, the sidelink granted resources acquired by the terminal device are allocated to the target SL-PRS of the target destination.

2. The method according to claim 1, characterized in that The allocating the sidelink granted resource acquired by the terminal device to the target SL-PRS of the target destination based on the priority of the sidelink positioning reference signal SL-PRS includes: Obtaining priorities of transmission objects to be sent to m destinations, wherein the transmission objects include a sidelink media access control element SL MAC CE, data in an SL logical channel, and an SL-PRS, where m is a positive integer; Determining the target destination based on the priorities of the transmission objects to be sent to the m destinations, the target destination being one of the m destinations; The sidelink granted resources acquired by the terminal device are allocated to the target SL-PRS of the target destination.

3. The method according to claim 2, characterized in that The determining the target destination based on the priority of the transmission object to be sent to the m destinations comprises: A destination corresponding to the transmission object with the highest priority is selected from the m destinations as the target destination.

4. The method according to claim 2, characterized in that: The SL-PRS in the transmission objects of the m destinations must meet a preset first condition, and the preset first condition includes that the sidelink authorized resources meet the transmission requirements of the SL-PRS.

5. The method according to claim 2, characterized in that: The allocating the sidelink granted resource acquired by the terminal device to the target SL-PRS of the target destination includes: determining the target SL-PRS based on at least one SL-PRS in the target destination; Resource allocation is performed based on the side link authorized resources obtained by the terminal device and the target SL-PRS to obtain the SL-PRS resources occupied by the target SL-PRS, and the side link authorized resources include the SL-PRS resources.

6. The method according to claim 5, characterized in that The target SL-PRS is the SL-PRS among the at least one SL-PRS that satisfies a preset second condition, and the preset second condition includes: the side link authorization resources meet the transmission requirements of the SL-PRS, and / or the priority of the SL-PRS is greater than or equal to a preset priority.

7. The method according to claim 5, characterized in that The performing resource allocation based on the sidelink granted resources acquired by the terminal device and the target SL-PRS to obtain the SL-PRS resources occupied by the target SL-PRS includes: When it is determined that the target SL-PRS needs to be transmitted, allocating the SL-PRS resource occupied by the target SL-PRS to the target SL-PRS; Among them, the determination that the target SL-PRS needs to be transmitted includes at least one of the following: the sidelink authorization resources meet the transmission requirements of the target SL-PRS; the sidelink authorization resources are determined to support the transmission of the target SL-PRS based on the priority and size of the transmission object of the target destination; when the sidelink authorization resources are authorization resources allocated by the network device, the sidelink authorization resources indicate support for transmission of the SL-PRS; when the sidelink authorization resources are authorization resources selected by the terminal device, the sidelink authorization resources support transmission of the target SL-PRS.

8. The method according to claim 7, characterized in that The method further comprises: Based on the sidelink granted resources and the SL-PRS resources, the remaining transmission resources are determined, where the remaining transmission resources are the remaining resources in the sidelink granted resources excluding the SL-PRS resources, and the remaining transmission resources are used to transmit data in the SL MAC CE and / or SL logical channel.

9. The method according to claim 8, characterized in that The remaining transmission resources are determined by the MAC layer or PHY layer of the terminal device; wherein, when the remaining transmission resources are determined by the PHY layer of the terminal device, the MAC layer of the terminal device indicates the SL-PRS resources to the PHY layer of the terminal device, and the PHY layer of the terminal device indicates the remaining transmission resources to the MAC layer of the terminal device.

10. The method according to claim 7, characterized in that The method further comprises: The MAC layer of the terminal device instructs the PHY layer of the terminal device to use the SL-PRS resources to send the target SL-PRS to the target destination.

11. The method according to claim 7, characterized in that The method further comprises: When the terminal device performs resource allocation, the objects to be transmitted between the terminal device and the target destination are maximized, and the objects to be transmitted include data in the SL-PRS and / or SL logical channels.

12. The method according to any one of claims 1 to 11, characterized in that The SL-PRS and data in the direct link service channel STCH have the same priority, and the direct link service channel is a channel in the SL logical channel.

13. The method according to any one of claims 1 to 11, characterized in that The method further comprises: When there is no data to be transmitted in the terminal device, it is prohibited to generate a MAC protocol data unit MAC PDU, wherein the data to be transmitted includes a MAC CE, a MAC service data unit MAC SDU and a SL-PRS; or, When there is SL-PRS that needs to be transmitted in the terminal device, a MAC PDU is generated, and the SL-PRS that needs to be transmitted and the MAC PDU are multiplexed and transmitted in the same time slot.

14. The method according to any one of claims 1 to 11, characterized in that The sidelink authorized resources are resources in a shared resource pool.

15. The method according to claim 4 or 6, characterized in that: The sidelink granted resources satisfying the transmission requirements of the SL-PRS include at least one of the following: The channel bandwidth of the sidelink granted resource meets the bandwidth transmission requirement of the SL-PRS; The sidelink granted resources meet the remaining delay budget requirement of the SL-PRS; The sidelink granted resources meet the transmission duration requirement of the SL-PRS; The sidelink granted resources meet the comb structure size requirement of the SL-PRS; The sidelink granted resources have at least one set of resource parameters located in the resource parameter requirement set of the SL-PRS, and the resource parameters include the number of symbols and the size of the comb structure.

16. The method according to claim 7, characterized in that The allocating the SL-PRS resource occupied by the target SL-PRS to the target SL-PRS includes: Acquire a SL-PRS transmission parameter, where the SL-PRS transmission parameter is used to transmit the target SL-PRS; Based on the SL-PRS transmission parameter, determining the SL-PRS Resources.

17. The method according to claim 16, characterized in that The SL-PRS transmission parameter is determined based on at least one of the following: Provided by the SLPP layer of the terminal device; Determined based on preset positioning service quality QoS requirements; Determined based on the channel condition between the terminal device and the target destination.

18. A resource allocation device, characterized in that: include: The processing module is configured to allocate the sidelink authorization resources acquired by the terminal device to the target SL-PRS of the target destination based on the priority of the sidelink positioning reference signal SL-PRS.

19. A terminal device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the steps of the method according to any one of claims 1 to 17.

20. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 17 are implemented.

Citation Information

Patent Citations

  • Positioning method and device

    CN115643636A

  • Positioning reference signal (PRS) resource determination method and device based on sidelink

    CN116097798A

  • Processing positioning reference signals according to priority

    US20230094751A1