Patent Description:
Logical channel prioritization (LCP) of a Uu interface in a Long Term Evolution (LTE) system is performed on the basis of a priority parameter (priority) corresponding to a single radio bearer (RB) configured by network settings.

Direct communications are allowed between devices close to each other. For ease of description, a link of the direct communication between terminals is referred to as a Sidelink (referred to as sidelink communication link or bypass), and a corresponding air interface is also referred to as a sidelink communication interface, which is illustrated in <FIG>.

Devices in sidelink communications may be all in network coverage or out of network coverage; or part of the devices are in network coverage and other part of the devices are out of network coverage. For a terminal in network coverage, the sidelink supports two resource allocation modes:.

It is defined in the related art how to perform a logical channel prioritization (LCP) of a Uu interface and a sidelink in an LTE system. However, there is no scheme to execute the LCP of the sidelink for resource allocation in a New Radio (NR) system.

Document <CIT> discusses a transmitting device for transmitting vehicular data via a sidelink interface to one or more receiving devices. The transmitting device performs autonomous radio resource allocation for transmitting the vehicular data via the sidelink interface. An application layer generates the vehicular data and forwards the vehicular data together with a priority indication and one or more quality of service parameters to a transmission layer responsible for transmission of the vehicular data via the sidelink interface.

Document by <NPL>, discusses about the LCP restrictions in stage <NUM> specification and gives corresponding proposals.

The present invention relates to a resource allocation method for a sidelink and a terminal, as defined in the annexed claims, to solve a problem that network communication is incomplete, and normal data transmission in a sidelink in a <NUM> system can not be guaranteed, because the new radio system does not define how to execute a logic channel prioritization process of the sidelink when a communication interface is directly used for data transmission.

In order to resolve the above technical problem, an embodiment of the present disclosure provides a resource allocation method for a sidelink, which is applied to a terminal and includes:.

Further, the LCP restriction parameter of the sidelink includes at least one of following information: allowed subcarrier spacing; or maximum physical sidelink shared channel (PSSCH) duration.

Specifically, when the terminal is in network coverage, the mapping relationship is configured by a network device or pre-configured; and when the terminal is out of network coverage, the mapping relationship is pre-configured.

Further, in a case that the mapping relationship is configured by the network device, and the specific target includes the quality of service (QoS) parameter, the mapping relationship is configured in at least one of following manners: broadcasting; or first preset signaling, where the first preset signaling is a dedicated signaling, and the dedicated signaling includes at least one of: a radio resource control (RRC) signaling, a medium access control (MAC) signaling, or a physical layer signaling.

Further, in a case that the mapping relationship is configured by broadcasting, the mapping relationship is configured by using a preset message; and the preset message includes at least one of: a master information block (MIB) and a system information block (SIB) dedicated for the sidelink.

Specifically, in a case that the mapping relationship is configured by using the first preset signaling, the obtaining the mapping relationship between the specific target of the sidelink and the logical channel prioritization (LCP) restriction parameter of the sidelink includes: receiving, from the network device, a mapping relationship between all the QoS parameters supported by the sidelink and the LCP restriction parameter of the sidelink.

Specifically, in a case that the mapping relationship is configured by using the first preset signaling, the obtaining the mapping relationship between the specific target of the sidelink and the logical channel prioritization (LCP) restriction parameter of the sidelink includes:.

Further, before obtaining the mapping relationship between the specific target of the sidelink and the logical channel prioritization (LCP) restriction parameter of the sidelink, the method further includes: transmitting first auxiliary information to the network device; where the first auxiliary information is used for enabling the network device to configure the mapping relationship between the QoS parameter and the LCP restriction parameter of the sidelink for the terminal.

Specifically, the first auxiliary information includes: the QoS parameter corresponding to the logical channel of the sidelink of the terminal that currently has the data transmission requirement; or the first auxiliary information includes: the QoS parameter corresponding to the currently established logical channel of the sidelink of the terminal.

Specifically, a triggering condition for reporting the first auxiliary information includes: event triggered report and/or periodical report.

Specifically, in case that the triggering condition for reporting the first auxiliary information includes the event triggered report, an event for the event triggered report includes that: a QoS parameter of a sidelink communication service that currently has the data transmission requirement is changed caused by establishment of a logical channel or release of the logical channel of the sidelink of the terminal.

Specifically, in case that the triggering condition for reporting the first auxiliary information includes the periodical report, a periodicity of the periodical report is configured by the network device and/or defined by a protocol.

Further, in case that the specific target includes the QoS parameter, the QoS parameter includes at least one of: priority of sidelink communication interface data packet (PPPP), reliability of sidelink communication interface data packet (PPPR), or packet delay budget (PDB) of sidelink communication interface data packet.

Further, in a case that the mapping relationship is configured by the network device, and the specific target includes the logical channel, the obtaining the mapping relationship between the specific target of the sidelink and the logical channel prioritization (LCP) restriction parameter of the sidelink includes: receiving the mapping relationship between the logical channel and the LCP restriction parameter of the sidelink, where the mapping relationship is configured by the network device by using a second preset signaling; where the logical channel is embodied in a form of: a combination of sidelink communication target identification information and sidelink communication interface logical channel identification information; or sidelink communication interface logical channel identification information.

Specifically, before receiving the mapping relationship between the logical channel and the LCP restriction parameter of the sidelink, where the mapping relationship is configured by the network device by using the second preset signaling, the method further includes: transmitting second auxiliary information to the network device,.

Specifically, in a case that the triggering condition for reporting the second auxiliary information includes: the event triggered report, an event for the event triggered report includes: the sidelink of the terminal establishing a logical channel or releasing the logical channel.

Specifically, in a case that the triggering condition for reporting the second auxiliary information includes: the periodical report, a periodicity of the periodical report is configured by the network device and/or defined by a protocol.

Further, the performing resource allocation of the sidelink according to the mapping relationship includes:.

Specifically, the determining the target logical channel that is capable of using the target uplink grant includes: determining, according to a preset condition, a target logical channel that is capable of using the target uplink grant and has a sidelink communication data transmission requirement; where the preset condition includes that:.

Specifically, the determining identification information of the first target according to the target logical channel includes:.

Specifically, the performing resource allocation of the sidelink according to the identification information of the first target includes:.

An embodiment of the present disclosure also provides a terminal, which includes a memory, a processor, and a program stored on the memory and executable on the processor. When executing the problem, the processor is configured to implement following steps:.

Further, in a case that the mapping relationship is configured by using the first preset signaling, the processor executes the program to preform following steps:
receiving, from the network device, a mapping relationship between all the QoS parameters supported by the sidelink and the LCP restriction parameter of the sidelink.

Further, in a case that the mapping relationship is configured by using the first preset signaling, the processor executes the program to preform following steps:.

Specifically, before obtaining the mapping relationship between the specific target of the sidelink and the logical channel prioritization (LCP) restriction parameter of the sidelink, the processor executes the program to preform following steps:.

Specifically, the first auxiliary information includes: the QoS parameter corresponding to the logical channel of the sidelink of the terminal that currently has the data transmission requirement; or
the first auxiliary information includes: the QoS parameter corresponding to the currently established logical channel of the sidelink of the terminal.

Further, in a case that the mapping relationship is configured by the network device, and the specific target includes the logical channel, the processor executes the program to preform following steps:.

Specifically, before receiving the mapping relationship between the logical channel and the LCP restriction parameter of the sidelink, where the mapping relationship is configured by the network device by using the second preset signaling, the processor executes the program to preform following steps:.

Specifically, a triggering condition for reporting the second auxiliary information includes: event triggered report and/or periodical report.

Specifically, in a case that the triggering condition for reporting the second auxiliary information includes: the event triggered report, an event for the event triggered report includes: establishing a logical channel or releasing the logical channel by the terminal for the sidelink.

Specifically, the triggering condition for reporting the second auxiliary information includes: the periodical report, a periodicity of the periodical report is configured by the network device and/or defined by a protocol.

Further, the processor executes the program to preform following steps:.

An embodiment of the present disclosure also provides a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the above resource allocation method for a sidelink.

An embodiment of the present disclosure also provides a terminal, including:.

The present disclosure has the following beneficial effects: based on the above scheme, a mapping relationship between a specific target of the sidelink and a logical channel prioritization (LCP) restriction parameter of the sidelink is obtained, and resource allocation of the sidelink is performed according to the mapping relationship, so that a network communication process is improved, and the normal data transmission in the sidelink can be guaranteed in a <NUM> system.

In order to more clearly illustrate the technical solution of embodiments of the present disclosure, drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present disclosure, and those skilled in the art can obtain other drawings based on these drawings without creative effort.

To make the objective, technical solution and advantages of the present disclosure clearer, detailed description will be made in conjunction with the drawings and the embodiments.

First, some concepts mentioned in the embodiments of the present disclosure are explained as follows.

The LCP for the LTE sidelink is as follows:
Step <NUM>: a sidelink communication target (destination) is selected.

The target corresponding to a LC which has the highest priority and has data available in a current sidelink communication interface is selected.

In order to generate each medium access control (MAC) protocol data unit (PDU), the terminal needs to perform the following operations:.

A <NUM> NR system mainly supports three types of services: enhanced Mobile Broadband (eMBB); massive Machine Type Communications (mMTC); and Ultra-Reliable and Low Latency Communications (URLLC).

The physical layer of the NR system supports multiple numerologies or Transmission Timing Intervals (TTI). The respective concepts of Numerology and TTI are as follows:
Numerology is a technical term for 3GPP RANI, which may be translated into parameter set. The main difference between different numerologies is that different numerologies support different subcarrier spacings. For example, a subcarrier spacing supported by the 5GNR system at least includes: <NUM> and <NUM>. The numerologies corresponding to these two different subcarrier spacings are independent. In general, a numerology used by a high-speed terminal is different from that used by a low-speed terminal; and numerologies used for high and low frequencies are also different. In addition to a fact that the use of different numerologies is related to speed and frequency, there is also an understanding in the art or industry that different services may use different numerologies, such as URLLC and eMBB.

In an LTE system in the related art, a length of TTI is <NUM>. Starting from LTE R14, to support latency reduction, different TTI lengths are introduced, such as a length of one orthogonal frequency division multiplex (OFDM) symbol. Different TTI lengths are used in <NUM> systems and may be applied to each numerology. That is, different numerologies in <NUM> NR may use different TTI lengths or the same TTI length, and the TTI lengths used for different terminals on any one occasion in a numerology may be dynamically changed. The selection of a TTI length is mainly related to a latency of a service. For example, for a URLLC service which has a relatively high requirement on its supported latency, a shorter TTI length may be selected, such as the TTI length of one OFDM symbol.

The physical layer of the NR system supports multiple numerologies or TTIs. A numberology and/or TTI corresponding to a bearer/logical channel is configured through a network. For example, the network may configure the numberology and/or TTI corresponding to a bearer/logical channel through radio resource control (RRC) signaling, when the bearer/logical channel is established. The selection of a TTI length is mainly related to a latency of a service. For example, for a URLLC service which has a relatively high requirement on its supported latency, a shorter TTI length may be selected, such as the TTI length of one OFDM symbol.

For NR systems, factors to be considered for Uu interface LCP are referred to as LCP restriction parameters (restrictions), including:.

A specific resource allocation process based on LCP restrictions is as follows:.

Specifically, the present disclosure provides a resource allocation method for a sidelink and a terminal, aiming at a problem that network communication is incomplete, and normal data transmission of a sidelink in a <NUM> system can not be guaranteed, because a new radio system does not define how to execute a logic channel prioritization process of the sidelink when a communication interface is directly used for data transmission.

As shown in <FIG>, the resource allocation method for a sidelink is provided according to an embodiment of the present disclosure, which is applied to the terminal and includes:.

It should be noted that when a terminal is in network coverage, and when the terminal is out of network coverage, specific manners for configuring the above-mentioned mapping relationship are also different. When the terminal is in network coverage, the mapping relationship is configured by a network device or pre-configured; and when the terminal is out of network coverage, the mapping relationship is pre-configured. It should be noted that the above-mentioned pre-configuration refers to configuration based on agreement in a protocol, or a terminal manufacturer directly pre-configures the mapping relationship in terminals when the terminals are out of the factory.

As specific contents of the specific target are different, processing manners of the terminal are also different. Embodiments of the present disclosure are specifically described below from different contents contained in the specific target respectively and from an aspect that the mapping relationship is configured by the network device.

First, the specific target includes a QoS parameter.

It should be noted that in this case, the mapping relationship is configured in at least one of the following ways:.

It is noted that the first preset signaling is a dedicated signaling. Particularly, the dedicated signaling includes at least one of: a radio resource control (RRC) signaling, a medium access control (MAC) signaling, or a physical layer signaling.

It is further noted that when the mapping relationship is configured by using the first preset signaling, step <NUM> may be implemented in one of the following manners:
a first manner: receiving a mapping relationship between all the QoS parameters supported by the sidelink and the LCP restriction parameter(s) of the sidelink, where the mapping relationship is transmitted by the network device.

It should be noted that in this implementation manner, the network device transmits a mapping relationship between a mapping relationship between all the QoS parameters supported by the sidelink and the LCP restriction parameter(s) to the terminal.

A second manner: receiving, from the network device, a mapping relationship between a QoS parameter corresponding to a logical channel of the sidelink that currently has a data transmission requirement and the LCP restriction parameter(s) of the sidelink; or receiving, from the network device, a mapping relationship between a QoS parameter corresponding to a currently established logical channel of the sidelink and the LCP restriction parameter(s) of the sidelink.

It should be noted that in this implementation manner, the network device only transmits the mapping relationship between the QoS parameters corresponding to the logical channel that currently has a data transmission requirement (or the QoS parameters corresponding to a currently established logical channel of the sidelink) and the LCP restriction parameter(s) to the terminal. In order to ensure that the network device can know the QoS parameters corresponding to the logical channel that currently has a data transmission requirement (or the QoS parameters corresponding to a currently established logical channel of the sidelink), the terminal needs to transmit first auxiliary information to the network device, before obtaining the mapping relationship between the specific target of the sidelink and the logical channel prioritization (LCP) restriction parameter of the sidelink. The first auxiliary information is used for enabling the network device to configure the mapping relationship between the QoS parameter and the LCP restriction parameter(s) of the sidelink for the terminal.

It should be noted that when the network device transmits the mapping relationship between the QoS parameter corresponding to the logical channel of the sidelink that currently has a data transmission requirement and the LCP restriction parameter(s) of the sidelink, the first auxiliary information includes the QoS parameter corresponding to the logical channel of the sidelink of the terminal that currently has a data transmission requirement; and when the network device transmits the mapping relationship between the QoS parameter corresponding to the currently established logical channel of the sidelink and the LCP restriction parameter(s) of the sidelink, the first auxiliary information includes the QoS parameter corresponding to the currently established logical channel of the sidelink of the terminal.

It is further noted that a triggering condition for reporting the first auxiliary information includes at least one of:.

Second, the specific target includes a logical channel.

It should be noted that in this case, step <NUM> is specifically implement as follows: receiving the mapping relationship between the logical channel and the LCP restriction parameter(s) of the sidelink, where the mapping relationship is configured by the network device by using a second preset signaling.

It should be noted that the second preset signaling refers to dedicated signaling, which specifically includes at least one of: RRC signaling, MAC signaling, or physical layer signaling.

It is further noted that in this case, the logical channel is embodied in a form of: a combination of sidelink communication target identification information and sidelink communication interface logical channel identification information; or sidelink communication interface logical channel identification information.

That is, in this case, the network device does not directly transmit a logical channel in transmitted information, but transmits a combination of the sidelink communication target identification information and the sidelink communication interface logical channel identification information to represent the logical channel, or transmits the sidelink communication interface logical channel identification information to represent the logical channel.

It should also be noted that in this case, the terminal also needs to transmit second auxiliary information to the network device before receiving the mapping relationship between the logical channel and the LCP restriction parameter(s) of the sidelink, where the mapping relationship is configured by the network device by using a second preset signaling.

Specifically, the second auxiliary information includes one of the following information:
D1, sidelink communication target identification information (for example, Target ID), sidelink communication interface logical channel identification information (for example, LCID), or a QoS parameter of a logical channel corresponding to the sidelink communication interface logical channel identification information.

It should be noted that the sidelink communication target refers to: other terminals communicating with the terminal, or a sidelink communication service between the terminal and the other terminals.

D2, sidelink communication interface logical channel identification information and a QoS parameter of a logical channel corresponding to the sidelink communication interface logical channel identification information.

It is further noted that a triggering condition for reporting the second auxiliary information includes at least one of the following manners:.

After obtaining the above mapping relationship, the terminal needs to allocate resources for the sidelink according to the mapping relationship. Specifically, a implementation manner of step <NUM> includes:
step <NUM>, for each target uplink grant in allowed uplink grants, determining a target logical channel that is capable of using the target uplink grant;.

It should be noted that the terminal performs resource allocation on each of the allowed uplink grants when performing resource allocation. In the embodiments of the present disclosure, only one of the allowed uplink grants is taken as an example, processings of the other uplink grants are the same as that of the one uplink grant, which can be deduced in a similar way. The target uplink grant mentioned in the description of this step represents a certain uplink grant.

In particular, a specific implementation of this step is as follows: determining, according to a preset condition, a target logical channel that is capable of using the target uplink grant and has a sidelink communication data transmission requirement;
It should be noted that the preset condition includes the following information:.

It should be noted that the terminal needs to determine a target logical channel in a manner specified by F1 and F2.

Step <NUM>, determining identification information of the first target according to the target logical channel;
in particular, a specific implementation of this step is as follows: selecting, among the target logical channels, a logical channel with the highest priority; and determining, according to the logic channel with the highest priority, a sidelink communication target identifier corresponding to the logic channel with the highest priority, and taking the sidelink communication target identifier as the identification information of the first target.

Step <NUM>, performing resource allocation of the sidelink according to the identification information of the first target.

In particular, a specific implementation of this step is as follows: selecting all logical channels corresponding to the identification information of the first target from the target logical channels, and sorting all the logical channels corresponding to the identification information of the first target in descending order of priorities; and allocating resources for respective logical channels sequentially according to the descending order of priorities until resources are allocated to all the logical channels or all the resources are exhausted.

It should be noted that in a case that there are a plurality of uplink grants, the processing order of various uplink grants by the terminal depends on an implementation of the network device.

Embodiments of the present disclosure are described in detail below in specific application scenarios.

First scenario: uplink resource allocation process of a sidelink for an off-line terminal (i.e., a terminal is in an off-line state).

Step <NUM>: an MAC layer of the off-line terminal obtains a mapping relationship between preconfigured QoS parameters and LCP restriction parameters;
it should be noted that the preconfigured mapping relationship may be from a higher layer (such as the RRC layer), or it may be preconfigured directly to the MAC layer.

Step <NUM>: the terminal selects a resource from a transmission resource pool.

In the off-line scenario, the terminal can only use a resource allocation mode based on terminal self-selecting, and the terminal selects an appropriate resource from a pre-configured transmission resource pool according to a data volume of a logical channel of the sidelink that currently has a data transmission requirement and a requirement on the LCP restriction parameters, namely selecting at least one uplink grant.

Step <NUM>: organizing MAC protocol data units (PDUs) for at least one uplink grant.

For each uplink grant, MAC PDUs are organized according to an LCP process of the sidelink. The detailed implementation process can be seen in the fourth scenario.

Second scenario: uplink allocation process of a sidelink for an on-line terminal (i.e., a terminal is in an on-line state).

Step <NUM>: the on-line terminal obtains a relationship between QoS parameters and LCP restriction parameters of the sidelink.

In the on-line scenario, the mapping relationship between QoS parameters and LCP restriction parameter may be preconfigured. For example, the preconfigured mapping relationship may be from a higher layer, such as the RRC layer, or it may be preconfigured directly to the MAC layer.

The mapping relationship between QoS parameters and LCP restriction parameters of the sidelink is configured based on network settings in the following ways:.

For option <NUM>-<NUM>, the content of the auxiliary information reported by the terminal may be, but not limited to: a QoS parameter corresponding to a logical channel of the sidelink of the terminal that currently has a data transmission requirement; or, the content of the auxiliary information reported by the terminal may be, but not limited to: a QoS parameter corresponding to a currently established logical channel of the sidelink of the terminal.

A triggering condition for reporting the auxiliary information of the terminal includes at least one of the following manners:.

The QoS parameter includes at least one of: PPPP, PPPR, or PDB.

For each uplink grant, MAC PDUs are organized according to an LCP process of the sidelink. The detailed implementation process can be referred to the fourth scenario.

Third scenario: uplink allocation process of a sidelink for an on-line terminal.

Step <NUM>: the on-line terminal obtains a relationship between logical channels of the sidelink and LCP restriction parameters of the sidelink.

If the mapping relationship between logical channels of the sidelink and LCP restriction parameter of the sidelink is configured by a network device, the network device may configure it as follows: the network uses a dedicated signaling (RRC signaling, MAC signaling, or physical layer signaling) to configure a mapping relationship between the logical channels and the LCP restriction parameters of the sidelink, based on a combination of sidelink communication target identification information and sidelink communication interface logical channel identification information.

In a case that the mapping relationship between the logical channels of the sidelink and the LCP restriction parameters of the sidelink is configured by a network device, a terminal needs to report auxiliary information, and the content of the auxiliary information may include, but not limited to: sidelink communication target identification information, sidelink communication interface logical channel identification information and QoS parameters of a logical channel corresponding to the sidelink communication interface logical channel identification information.

A triggering condition for reporting the auxiliary information by the terminal includes at least one of the following manners:.

The QoS parameter includes, but not limited to: PPPP (or PPPR) in the related art, and at least one of other PDBs that may be subsequently introduced.

Step <NUM>: the terminal obtains an uplink grant;
in an on-line scenario, the terminal may select at least one uplink grant or obtain an uplink grant from the network device side, according to different resource allocation modes.

In a case that the terminal uses a resource allocation mode based on terminal self-selecting, the terminal selects an appropriate resource from a transmission resource pool configured by a network device according to a data volume of a logical channel of the sidelink that currently has a data transmission requirement and a requirement on the LCP restriction parameters, namely selecting at least one uplink grant.

In a case that the terminal uses a resource allocation mode based on network scheduling, a network is requested to perform resource allocation through a scheduling request (SR)/buffer status report (BSR) process, and the network device indicates an allocated uplink grant to the terminal by scheduling signaling.

Step <NUM>: organizing MAC PDUs for at least one uplink grant.

For each uplink grant, MAC PDUs are organized according to an LCP process of the sidelink. The detailed implementation process can refer to the fourth scenario.

Fourth scenario, a LCP process of a sidelink based on a mapping relationship.

Based on LCP restriction parameters of the sidelink, a LCP process of the terminal on the sidelink is as follows:
For each uplink grant, resource allocation is performed as follows:
Step <NUM>: for each uplink grant, selecting logical channels that are capable of using the uplink grant.

For each uplink grant, all logical channels which have data transmission requirements and are capable of using the uplink grant are selected as follows (following requirements need to be met simultaneously):.

Step <NUM>: for each uplink grant, selecting a target ID that is capable of using the uplink grant.

According to all the logic channels selected in the step <NUM>, a target corresponding to a logic channel that currently has a data transmission requirement and has the highest priority is selected.

Step <NUM>: performing specific resource allocation for UL grant.

Step <NUM>-<NUM>: the logical channels selected in the step <NUM> are subjected to further selection, logical channels belonging to the target selected in the step <NUM> are selected, and the selected logical channels are sorted according to a descending order of priorities.

Step <NUM>-<NUM>: resources are allocated to respective logical channels sequentially in the descending order as determined in step <NUM>-<NUM> until the resources are exhausted, or data of all logical channels corresponding to the target ID are allocated with resources.

It should be noted that the resource allocation method for a sidelink according to the embodiments of the present disclosure can be used to resolve a problem of how to perform uplink resource allocation of the sidelink, in a case that a plurality of numerologies/TTIs are introduced into NR systems. Based on the resource allocation method for a sidelink, services can be ensured to be transmitted in appropriate uplink resources, so that QoS of the services can be better guaranteed.

As shown in <FIG>, an embodiment of the present disclosure provides a terminal <NUM>, which includes:.

Further, when the terminal is in network coverage, the mapping relationship is configured by a network device or pre-configured; and when the terminal is out of network coverage, the mapping relationship is pre-configured.

Optionally, in a case that the mapping relationship is configured by the network device, and the specific target includes the quality of service (QoS) parameter, the mapping relationship is configured in at least one of following manners: broadcasting; or first preset signaling, where the first preset signaling is a dedicated signaling, and the dedicated signaling includes at least one of: a radio resource control (RRC) signaling, a medium access control (MAC) signaling, or a physical layer signaling.

Optionally, in a case that the mapping relationship is configured by using the first preset signaling, the obtaining module <NUM> is configured to receive, from the network device, a mapping relationship between all the QoS parameters supported by the sidelink and the LCP restriction parameter of the sidelink.

Optionally, in a case that the mapping relationship is configured by using the first preset signaling, the obtaining module <NUM> is configured to:.

Further, before the obtaining module <NUM> obtains the mapping relationship between the specific target of the sidelink and the logical channel prioritization (LCP) restriction parameter of the sidelink, the terminal further includes: a first transmitting module configured to transmit first auxiliary information to the network device; where the first auxiliary information is used for enabling the network device to configure the mapping relationship between the QoS parameter and the LCP restriction parameter of the sidelink for the terminal.

Optionally, in case that the triggering condition for reporting the first auxiliary information includes event triggered report, an event for the event triggered report includes that: a QoS parameter of a sidelink communication service that currently has the data transmission requirement is changed caused by establishment of a logical channel or release of the logical channel of the sidelink of the terminal.

Optionally, in case that the triggering condition for reporting the first auxiliary information includes periodical report, a periodicity of the periodical report is configured by the network device and/or defined by a protocol.

Optionally, in a case that the mapping relationship is configured by the network device, and the specific target includes a logical channel, the obtaining module <NUM> is configured to: receive the mapping relationship between the logical channel and the LCP restriction parameter of the sidelink, where the mapping relationship is configured by the network device by using a second preset signaling; where the logical channel is embodied in a form of: a combination of sidelink communication target identification information and sidelink communication interface logical channel identification information; or sidelink communication interface logical channel identification information.

Further, before the obtaining module <NUM> receives the mapping relationship between the logical channel and the LCP restriction parameter of the sidelink, where the mapping relationship is configured by the network device by using the second preset signaling, the terminal further includes: a second transmitting module configured to transmit second auxiliary information to the network device,.

Further, a triggering condition for reporting the second auxiliary information includes: event triggered report and/or periodical report.

Further, in case that the triggering condition for reporting the first auxiliary information includes event triggered report, an event for the event triggered report includes that: a QoS parameter of a sidelink communication service that currently has the data transmission requirement is changed caused by establishment of a logical channel or release of the logical channel of the sidelink of the terminal.

Further, in case that the triggering condition for reporting the first auxiliary information includes periodical report, a periodicity of the periodical report is configured by the network device and/or defined by a protocol.

Further, the allocation module <NUM> includes:.

Specifically, the first determination unit is configured to: determine, according to a preset condition, a target logical channel that is capable of using the target uplink grant and has a sidelink communication data transmission requirement; where the preset condition includes that:.

Specifically, the second determination unit is configured to:.

Specifically, the allocation unit is configured to:.

It should be noted that the terminal embodiments involve a terminal corresponding to the above-mentioned method embodiments on a one-to-one basis, and all the implementations in the above-mentioned method embodiments are applicable to the terminal embodiments, and the same technical effects can be achieved.

As shown in <FIG>, an embodiment of the present disclosure further provides a terminal <NUM>, which includes a processor <NUM>, a transceiver <NUM>, a memory <NUM>, and a program stored on the memory <NUM> and executable on the processor <NUM>. The transceiver <NUM> is connected, via a bus interface, to the processor <NUM> and the memory <NUM>. The processor <NUM> is configured to read the program in the memory to performing the following processes:.

It should be noted that in <FIG>, the bus architecture may include any number of interconnected buses and bridges. Various circuits of one or more processors represented by processor <NUM> and a memory represented by memory <NUM> are specially linked together. The bus architecture may also link various other circuits, such as peripheral device, voltage regulator, power management circuit, etc., which is well known in the art, and thus will not be further described herein. The bus interface provides an interface. The transceiver <NUM> may be multiple elements, including a transmitter and receiver, providing a means for communicating with various other devices over a transmission medium. For different terminals, the user interface <NUM> may also be an interface capable of externally or internally connecting with a desired device. The connected device includes, but not limited to, a keypad, a display, a speaker, a microphone, a joystick, etc. The processor <NUM> is responsible for managing the bus architecture and general processing, and the memory <NUM> may store data used by the processor <NUM> in performing operations.

Specifically, the LCP restriction parameter of the sidelink includes at least one of following information:.

Optionally, in a case that the mapping relationship is configured by the network device, and the specific target includes the quality of service (QoS) parameter, the mapping relationship is configured in at least one of following manners:.

Optionally, in a case that the mapping relationship is configured by broadcasting, the mapping relationship is configured by using a preset message; and
the preset message includes at least one of: a master information block (MIB) and a system information block (SIB) dedicated for the sidelink.

Optionally, in a case that the mapping relationship is configured by using the first preset signaling, the processor executes the program to preform following steps:
receiving, from the network device, a mapping relationship between all the QoS parameters supported by the sidelink and the LCP restriction parameter of the sidelink.

Optionally, in a case that the mapping relationship is configured by using the first preset signaling, the processor executes the program to preform following steps:.

Further, before obtaining the mapping relationship between the specific target of the sidelink and the logical channel prioritization (LCP) restriction parameter of the sidelink, the processor executes the program to preform following steps:.

Specifically, a triggering condition for reporting the first auxiliary information includes:
event triggered report and/or periodical report.

Specifically, in case that the triggering condition for reporting the first auxiliary information includes event triggered report, an event for the event triggered report includes that: a QoS parameter of a sidelink communication service that currently has the data transmission requirement is changed caused by establishment of a logical channel or release of the logical channel of the sidelink of the terminal.

Specifically, in case that the triggering condition for reporting the first auxiliary information includes periodical report, a periodicity of the periodical report is configured by the network device and/or defined by a protocol.

Optionally, in a case that the mapping relationship is configured by the network device, and the specific target includes a logical channel, the processor executes the program to preform following steps:.

Further, before receiving the mapping relationship between the logical channel and the LCP restriction parameter of the sidelink, where the mapping relationship is configured by the network device by using the second preset signaling, the processor executes the program to preform following steps:.

Specifically, a triggering condition for reporting the second auxiliary information includes:
event triggered report and/or periodical report.

Specifically, in a case that the triggering condition for reporting the second auxiliary information includes: the event triggered report, an event for the event triggered report includes: establishing a logical channel or releasing a logical channel by the terminal for the sidelink.

Optionally, the processor executes the program to preform following steps:.

The terminal according to the embodiments of the present disclosure obtains a mapping relationship between a specific target of a sidelink and a logical channel prioritization (LCP) restriction parameter of a sidelink, and performs resource allocation of the sidelink according to the mapping relationship. Thus, a network communication process is improved, and the normal data transmission can be guaranteed in the sidelink in a <NUM> system.

Claim 1:
A resource allocation method for a sidelink, executed by a terminal, characterized by comprising:
obtaining (<NUM>) a mapping relationship between a specific target of the sidelink and a logical channel prioritization, LCP, restriction parameter of the sidelink; and
performing (<NUM>) resource allocation of the sidelink according to the mapping relationship,
wherein the specific target comprises: a quality of service, QoS, parameter or a logical channel.