Patent Description:
With development of wireless communications technologies, a demand for people to communicate with surrounding people or things gradually increases. Therefore, in a Long Term Evolution (long term evolution, LTE) network in the 3rd generation partnership project (the 3rd generation partnership project, 3GPP) technology, a vehicle-to-everything (vehicle-to-everything, V2X) communications technology is proposed, including vehicle to vehicle (vehicle to vehicle, V2V) communication, vehicle to pedestrian (vehicle to pedestrian, V2P) communication, vehicle to infrastructure (vehicle to infrastructure, V2I) communication, and vehicle to network (vehicle to network, V2N) communication.

In LTE-V2X, V2X communication may be performed between terminal apparatuses. The terminal apparatus may send sidelink control information (sidelink control information, SCI) to indicate a time-frequency location of a physical sidelink shared channel (physical sidelink shared channel, PSSCH). Specifically, a higher-layer parameter in LTE-V2X is NMAX = <NUM>. A transmit-side terminal apparatus can indicate time-frequency locations of a maximum of two PSSCHs by using the SCI, and a receive-side terminal apparatus can determine the time-frequency location of the PSSCH based on the SCI.

In new radio (NR)-V2X, the higher-layer parameter NMAX may be configured as <NUM>. The existing SCI of the terminal apparatus can indicate time-frequency locations of a maximum of two PSSCHs, which cannot meet a requirement of NR-V2X.

The standard change proposal by <NPL> deals with an NR sidelink physical layer structure. IT discloses that when reservation of a sidelink resource for an initial transmission of a TB at least by an SCI associated with a different TB is disabled, a parameter NMAX is <NUM>. SCI signaling is designed to allow to indicate <NUM> or <NUM> or <NUM> resources at least of the same number of sub-channels with full flexibility in time and frequency position in a window W of a resource pool. As full flexibility in time and frequency domain of retransmission resources should be indicated in SCI, it needs corresponding resource indications for initial transmission and <NUM> or <NUM> retransmissions. For frequency domain resource indication, the same number of sub-channels used for PSSCH should be indicated for both initial transmission and retransmissions. For the case that one-time retransmission is configured, the index of start sub-channel of the 1st retransmission should be indicated additionally. For the case that two-times of retransmission is configured, as the frequency resources for the 1st and the 2nd retransmissions are independent, the indexes of start sub-channel of the 1st and 2nd retransmissions should be indicated separately. It further discloses that in order to indicate the frequency domain resource of PSSCH, the following indicators should be included in the <NUM>st SCI: the number of sub-channels, the index of start sub-channel for the <NUM>st retransmission, the index of start subchannel for the 2nd retransmission", wherein frequency domain units are referred as sub-ohannels, and data channels are referred as PSSCH channel as a first/initial data channel and 1st and 2nd retransmission as a second and third data channels.

The object of the present invention is to provide communications methods, a communications apparatus, and a computer-readable medium, in which SCI can indicate time-frequency locations of a maximum of three PSSCHs, which can meet a requirement of NR-V2X. This object is solved by the attached independent claims and further embodiments and improvements of the invention are listed in the attached dependent claims. Hereinafter, up to the "brief description of the drawings", expressions like ". aspect according to the invention", "according to the invention", or "the present invention", relate to technical teaching of the broadest embodiment as claimed with the independent claims. Expressions like "implementation", "design", "optionally", "preferably", "scenario", "aspect" or similar relate to further embodiments as claimed, and expressions like "example", ". aspect according to an example", "the disclosure describes", or "the disclosure" describe technical teaching which relates to the understanding of the invention or its embodiments, which, however, is not claimed as such.

According to a first aspect according to the invention, the invention provides the following communications method, including: A first terminal apparatus determines control information, where the control information includes a first field, and a value of the first field is used to indicate a quantity of first frequency domain units, a first start frequency domain unit index, and a second start frequency domain unit index, and the quantity of first frequency domain units is a quantity of frequency domain units included in a first data channel, a second data channel, or a third data channel, the first start frequency domain unit index is a start frequency domain unit index of the second data channel, and the second start frequency domain unit index is a start frequency domain unit index of the third data channel. The first terminal apparatus sends the control information and the first data channel to a second terminal apparatus in a first time unit.

According to the invention, the first terminal apparatus may indicate two start frequency domain unit indexes and a quantity of frequency domain units by using the first field in the control information, may indicate two data channels based on the two start frequency domain unit indexes and the quantity of frequency domain units, and may indicate one data channel based on the quantity of frequency domain units and a start frequency domain unit of a frequency domain resource on which the first terminal apparatus sends the control information. It may be learned that the control information (for example, SCI) according to the invention can indicate a maximum of three data channels (for example, PSSCHs), which supports a scenario in which a higher-layer parameter NMAX is <NUM>, and meets a requirement of NR-V2X.

With reference to the first aspect, of the first aspect according to the invention, that the first terminal apparatus determines control information includes: The first terminal apparatus determines the value of the first field based on the first start frequency domain unit index, the second start frequency domain unit index, the quantity of first frequency domain units, and a quantity of frequency domain units included in a sidelink resource pool.

According to the invention, the control information indicates frequency domain resources of three data channels.

With reference to the first possible implementation of the first aspect, in a second possible implementation of the first aspect, the value of the first field is determined based on one or more of (N - L + <NUM>)×nstart<NUM> + nstart<NUM>, (N-L+<NUM>), (L-<NUM>), Y<NUM>, N, and (N - L + <NUM>)×nstart<NUM>, where nstart<NUM> is the start frequency domain unit index of the second data channel, nstart<NUM> is the start frequency domain unit index of the third data channel, N is the quantity of frequency domain units included in the sidelink resource pool, L is the quantity of first frequency domain units, and Y is related to N and/or L.

This embodiment provides parameters related to a frequency domain resource of a data channel to determine the value of the first field based on these parameters, and frequency domain resources of a maximum of three data channels can be indicated.

With reference to the second possible implementation of the first aspect, in a third possible implementation of the first aspect, the value of the first field meets the following:.

This embodiment provides a possible method for determining a first field, to indicate a frequency domain resource of a data channel by using the first field.

With reference to the first aspect or the first to the third possible implementations of the first aspect, in a fourth possible implementation of the first aspect, the control information further includes a second field, where a value of the second field is used to determine a second time unit carrying the second data channel and a third time unit carrying the third data channel.

In this embodiment, the control information may further indicate two time units, and the two time units may be used to determine a time domain resource of a data channel, to indicate three data channels by using the control information.

With reference to the fourth possible implementation of the first aspect, in a fifth possible implementation of the first aspect, that the first terminal apparatus determines control information further includes: determining the value of the second field based on a first time domain interval Tgap1 and a second time domain interval Tgap2, where the first data channel, the second data channel, and the third data channel are located in different time units; and the first time domain interval Tgap1 is an interval between the first time unit and the second time unit, and the second time domain interval Tgap2 is an interval between the first time unit and the third time unit; or the first time domain interval Tgap1 is the interval between the first time unit and the second time unit, and the second time domain interval Tgap2 is an interval between the second time unit and the third time unit.

This embodiment provides specific implementation in which the control information indicates time domain resource of three data channels.

With reference to the fifth possible implementation of the first aspect, in a sixth possible implementation of the first aspect,
the determining the value of the second field based on a first time domain interval Tgap1 and a second time domain interval Tgap2 includes:.

The TRIV represents the value of the second field; the parameter W is a first time window, and the first time unit, the second time unit, or the third time unit is located in the first time window; and Nslot is a maximum value of the first time domain interval or the second time domain interval, where Nslot= W-<NUM>, <NUM> ≤ Tgap1 ≤ Nslot - <NUM>, and <NUM> ≤ Tgap2 ≤ Nslot.

This embodiment provides specific implementation of the value of the second field, to indicate a time domain resource of a data channel by using the second field.

With reference to any one of the first aspect or the first to the sixth possible implementations of the first aspect, in a seventh possible but not claimed implementation of the first aspect, the control information further includes a third field, where when the third field has a first value, a time unit of the first data channel is before a time unit of the second data channel and a time unit of the third data channel; when the third field has a second value, the time unit of the first data channel is between the time unit of the second data channel and the time unit of the third data channel; and when the third field has a third value, the time unit of the first data channel is after the time unit of the second data channel and the time unit of the third data channel.

This embodiment provides the third field to indicate, by using the third field, a time domain order of the three data channels indicated by the control channel.

According to a second aspect according to the invention, the invention also provides another communications method, including: A second terminal apparatus receives, in a first time unit, control information and a first data channel that are sent by a first terminal apparatus, where the control information includes a first field. The second terminal apparatus determines a quantity of first frequency domain units, a first start frequency domain unit index, and a second start frequency domain unit index based on a value of the first field, where the quantity of first frequency domain units is a quantity of frequency domain units included in the first data channel, a second data channel, or a third data channel, the first start frequency domain unit index is a start frequency domain unit index of the second data channel, and the second start frequency domain unit index is a start frequency domain unit index of the third data channel.

According to the invention, the second terminal apparatus determines two start frequency domain unit indexes and a quantity of frequency domain units by using the first field in the control information, may determine two data channels based on the two start frequency domain unit indexes and the quantity of frequency domain units, and may determine one data channel based on the quantity of frequency domain units and a start frequency domain unit of a frequency domain resource on which the first terminal apparatus sends the control information. It may be learned that the control information (for example, SCI) in this embodiment of this application can indicate a maximum of three data channels (for example, PSSCHs), which supports a scenario in which a higher-layer parameter NMAX is <NUM>, and meets a requirement of NR-V2X.

With reference to the second aspect, in a first possible but not claimed implementation of the second aspect, that the second terminal apparatus determines a quantity of first frequency domain units, a first start frequency domain unit index, and a second start frequency domain unit index based on a value of the first field includes:.

The parameter <MAT>, and N is a quantity of frequency domain units included in a sidelink resource pool.

With reference to the second aspect and any possible implementation of the first aspect, in a second possible but not claimed implementation of the second aspect, a start value of the value interval is <MAT>, and an end value of the value interval is <MAT>.

The calculating a value interval based on a parameter l includes:.

With reference to the second aspect and any possible implementation of the first aspect, in a third possible but not claimed implementation of the second aspect, the determining the quantity L of first frequency domain units based on N and the parameter l, and determining the first start frequency domain unit index nstart<NUM> and the second start frequency domain unit index nstart<NUM> based on the FRIV, the quantity L of first frequency domain units, and N includes:.

With reference to the second aspect and any possible implementation of the first aspect, in a fourth possible implementation of the second aspect, the control information further includes a second field, where a value of the second field is used to determine a second time unit carrying the second data channel and a third time unit carrying the third data channel.

With reference to the second aspect and any possible implementation of the first aspect, in a fifth possible implementation of the second aspect, the method further includes:.

With reference to the second aspect and any possible implementation of the first aspect, in a sixth possible implementation of the second aspect, the determining a first time domain interval Tgap1 and a second time domain interval Tgap2 based on the value of the second field includes:.

With reference to the second aspect and any possible implementation of the first aspect, in a seventh possible but not claimed implementation of the second aspect, the control information further includes a third field, where when a value of the third field is a first value, a time unit of the first data channel is before a time unit of the second data channel and a time unit of the third data channel;
when the value of the third field is a second value, the time unit of the first data channel is between the time unit of the second data channel and the time unit of the third data channel; and when the value of the third field is a third value, the time unit of the first data channel is after the time unit of the second data channel and the time unit of the third data channel.

According to a third not claimed aspect, a communications apparatus is disclosed, including: a processing unit, configured to determine control information, where the control information includes a first field, and a value of the first field is used to indicate a quantity of first frequency domain units, a first start frequency domain unit index, and a second start frequency domain unit index; and the quantity of first frequency domain units is a quantity of frequency domain units included in a first data channel, a second data channel, or a third data channel, the first start frequency domain unit index is a start frequency domain unit index of the second data channel, and the second start frequency domain unit index is a start frequency domain unit index of the third data channel. A first terminal apparatus sends the control information and the first data channel to a second terminal apparatus in a first time unit.

With reference to the third aspect, in a first possible but not claimed implementation of the third aspect, the processing unit is specifically configured to determine the value of the first field based on the first start frequency domain unit index, the second start frequency domain unit index, the quantity of first frequency domain units, and a quantity of frequency domain units included in a sidelink resource pool.

With reference to the third aspect, in a second possible but not claimed implementation of the third aspect, the value of the first field is determined based on one or more of (N - L + <NUM>)×nstart<NUM> + nstart<NUM>, (N-L+<NUM>), (L-<NUM>), Y<NUM>, N, and (N - L + <NUM>)×nstart<NUM>.

nstart<NUM> is the start frequency domain unit index of the second data channel, nstart<NUM> is the start frequency domain unit index of the third data channel, N is the quantity of frequency domain units included in the sidelink resource pool, L is the quantity of first frequency domain units, and Y is related to N and/or L.

With reference to the third aspect or any possible implementation of the third aspect, in a third possible but not claimed implementation of the third aspect, the value of the first field meets the following:.

The FRIV represents the value of the first field.

With reference to the third aspect or any possible implementation of the third aspect, in a fourth possible but not claimed implementation of the third aspect, the control information further includes a second field, where a value of the second field is used to determine a second time unit carrying the second data channel and a third time unit carrying the third data channel.

With reference to the third aspect or any possible implementation of the third aspect, in a fifth possible but not claimed implementation of the third aspect, the processing unit is further configured to determine the value of the second field based on a first time domain interval Tgap1 and a second time domain interval Tgap2.

The first data channel, the second data channel and the third data channel are located in different time units; and the first time domain interval Tgap1 is an interval between the first time unit and the second time unit, and the second time domain interval Tgap2 is an interval between the first time unit and the third time unit; or
the first time domain interval Tgap1 is the interval between the first time unit and the second time unit, and the second time domain interval Tgap2 is an interval between the second time unit and the third time unit.

With reference to the third aspect or any possible implementation of the third aspect, in a sixth possible but not claimed implementation of the third aspect, when <MAT>, TRIV = Nslot * (Tgap2 - <NUM>) + Tgap1 + W or TRIV = Nslot * (Tgap2 - <NUM>) + Tgap1; and
when <MAT>, TRIV = Nslot * (Nslot - Tgap2 + <NUM>) + (Nslot - <NUM> - Tgap1) + W or TRIV = Nslot * (Nslot - Tgap2 + <NUM>) + (Nslot - <NUM> - Tgap1).

With reference to the third aspect or any possible implementation of the third aspect, in a seventh possible but not claimed implementation of the third aspect, the control information further includes a third field.

When the third field has a first value, a time unit of the first data channel is before a time unit of the second data channel and a time unit of the third data channel;.

According to a fourth but not claimed aspect, another communications apparatus is provided, including:
a communications unit, configured to receive, in a first time unit, control information and a first data channel that are sent by a first terminal apparatus, where the control information includes a first field; and a processing unit, configured to determine a quantity of first frequency domain units, a first start frequency domain unit index, and a second start frequency domain unit index based on a value of the first field, where the quantity of first frequency domain units is a quantity of frequency domain units included in the first data channel, a second data channel, or a third data channel, the first start frequency domain unit index is a start frequency domain unit index of the second data channel, and the second start frequency domain unit index is a start frequency domain unit index of the third data channel.

With reference to the fourth aspect, in a first possible but not claimed implementation of the fourth aspect, the processing unit is specifically configured to:.

With reference to the fourth aspect or any possible implementation of the fourth aspect, in a second possible but not claimed implementation of the fourth aspect, a start value of the value interval is <MAT>, and an end value of the value interval is <MAT>.

When the parameter l = <NUM>, the start value <MAT>, and the end value <MAT> <MAT>;.

When the parameter <MAT>, the start value <MAT>, and the end value <MAT>.

When the parameter <MAT>, the start value <MAT>, and the end value <MAT> <MAT>.

With reference to the fourth aspect or any possible implementation of the fourth aspect, in a third possible but not claimed implementation of the fourth aspect, if the FRIV is less than or equal to <MAT> (N - (l - <NUM>))<NUM> - <NUM>, L = l, <MAT>, and <MAT> (N - L + <NUM>); and
if the FRIV is greater than <MAT>, L = N - l + <NUM>, <MAT> <MAT>, and <MAT>.

With reference to the fourth aspect or any possible implementation of the fourth aspect, in a fourth possible but not claimed implementation of the fourth aspect, the control information further includes a second field, where a value of the second field is used to determine a second time unit carrying the second data channel and a third time unit carrying the third data channel.

With reference to the fourth aspect or any possible implementation of the fourth aspect, in a fifth possible but not claimed implementation of the fourth aspect, the processing unit is further configured to:.

With reference to the fourth aspect or any possible implementation of the fourth aspect, in a sixth possible implementation of the fourth aspect, the processing unit is specifically configured to:.

With reference to the fourth aspect or any possible implementation of the fourth aspect, in a seventh possible but not claimed implementation of the fourth aspect, the control information further includes a third field, where when a value of the third field is a first value, a time unit of the first data channel is before a time unit of the second data channel and a time unit of the third data channel;
when the value of the third field is a second value, the time unit of the first data channel is between the time unit of the second data channel and the time unit of the third data channel; and when the value of the third field is a third value, the time unit of the first data channel is after the time unit of the second data channel and the time unit of the third data channel.

According to a fifth aspect according to the invention, the invention also provides a communications apparatus, including at least one processor and a memory. The at least one processor may be coupled, according to a not claimed embodiment, to the memory, and the memory may be configured to store a computer program.

The 'communication apparatus is configured, according to the invention, to perform the method according to the first aspect and any implementation of the first aspect, or the method according to the second aspect and any implementation of the second aspect.

According to a sixth aspect according to the invention, the invention also provides a computer-readable storage medium wherein the computer-readable storage medium stores a program or instructions, and when the program or the instructions are run by a processor, the communications method according to the first aspect and any implementation of the first aspect or according to the second aspect and any implementation of the first aspect is performed.

According to a seventh not claimed aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions, and when the computer-readable storage medium is run on the communications apparatus according to the fourth aspect and any implementation of the fourth aspect, the communications apparatus is enabled to perform the communications method according to the second aspect and any implementation of the second aspect.

According to an eighth not claimed aspect, a wireless communications apparatus is provided. The communications apparatus includes a processor. For example, the processor is applied to the communications apparatus to implement the method according to the first aspect and any implementation of the first aspect. The communications apparatus may be, for example, a chip system. In a feasible implementation, the chip system further includes a memory, and the memory is configured to store program instructions and data that are necessary for implementing functions of the method according to the first aspect.

According to a ninth not claimed aspect, a wireless communications apparatus is provided. The communications apparatus includes a processor. For example, the processor is applied to the communications apparatus to implement the function or the method according to the second aspect and any implementation of the second aspect. The communications apparatus may be, for example, a chip system. In a feasible implementation, the chip system further includes a memory, and the memory is configured to store program instructions and data that are necessary for implementing functions of the method according to the second aspect.

The chip system in the foregoing aspect may be, although not claimed, a system on chip (system on chip, SOC), or may be a baseband chip or the like. The baseband chip may include a processor, a channel encoder, a digital signal processor, a modem, an interface module, and the like.

In the following description, features which in the above summary of the invention have been marked as "not claimed" and "according to the invention" are also hereinafter, when they are described and explained with reference to the drawings, to be understood as "not claimed" or "not part of the invention" and" according to the invention".

<FIG> is a schematic diagram of a communications system to which the technical solutions provided in this application is applicable. The communications system may include a plurality of network devices (only a network device <NUM> is shown) and a plurality of terminal apparatuses (only a terminal apparatus <NUM> and a terminal apparatus <NUM> are shown in the figure). <FIG> is merely the schematic diagram and constitutes no limitation on an applicable scenario of the technical solutions provided in this application.

The network device <NUM> may be any device with a wireless receiving/transmission function, and includes but is not limited to an evolved NodeB (E-UTRAN NodeB or e-NodeB or eNB) in LTE, a gNodeB (gNodeB or gNB) or a transmission/reception point (transmission/reception point, TRP) in a <NUM> or new radio (new radio, NR) access technology, a subsequent evolved base station in 3GPP, and an access node, a wireless relay node, a wireless backhaul node, or the like in a Wi-Fi system. The base station may be a macro base station, a micro base station, a picocell base station, a small cell, a relay station, a balloon station, or the like. A plurality of base stations may support networks of a same technology mentioned above, or may support networks of different technologies mentioned above. The base station may include one or more co-site or non-co-site TRPs. The network device may be a radio controller, a centralized unit (centralized unit, CU), and/or a distributed unit (distributed unit, DU) in a cloud radio access network (cloud radio access network, CRAN) scenario. The network device may be a server, a wearable device, an in-vehicle device, or the like. An example in which the network device is a base station is used below for description. The plurality of network devices may be base stations of a same type or may be base stations of different types. The base station may communicate with the terminal apparatus, or may communicate with the terminal apparatus by using a relay station. The terminal apparatus may communicate with a plurality of base stations of different technologies. For example, the terminal apparatus may communicate with a base station supporting an LTE network, may communicate with a base station supporting a <NUM> network, and may support dual connection to the base station in the LTE network and the base station in the <NUM> network.

The terminal apparatus (for example, a terminal apparatus <NUM>) is a device with a wireless receiving/transmission function, and may be deployed on land including indoor or outdoor, handheld, wearable, or in-vehicle; or may be deployed on a water surface (for example, on a ship); or may be deployed in the air (for example, on an airplane, a balloon, and a satellite). The terminal apparatus may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless receiving/transmission function, a virtual reality (virtual reality, VR) terminal apparatus, an augmented reality (augmented reality, AR) terminal apparatus, a wireless terminal in industrial control (industrial control), an in-vehicle terminal apparatus, a wireless terminal in self-driving (self-driving), a wireless terminal in remote medical (remote medical), a wireless terminal in a smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in a smart city (smart city), a wireless terminal in a smart home (smart home), a wearable terminal apparatus, or the like. An application scenario is not limited in embodiments of this application. A terminal sometimes may also be referred to as a terminal apparatus, user equipment (user equipment, UE), an access terminal apparatus, an in-vehicle terminal, an industrial control terminal, a UE unit, a UE station, a mobile station, a mobile console, a remote station, a remote terminal apparatus, a mobile device, a UE terminal apparatus, a terminal apparatus, a wireless communications device, a UE agent, a UE apparatus, or the like. The terminal may also be fixed or mobile. The terminal apparatus in this application may also be built in an in-vehicle module, an in-vehicle module, an in-vehicle component, an in-vehicle chip, or an in-vehicle unit of a vehicle as one or more components. The vehicle may implement the method in this application by using the built in-vehicle module, in-vehicle module, in-vehicle component, in-vehicle chip, or in-vehicle unit.

The network device communicates with the terminal apparatus (for example, the terminal apparatus <NUM> or the terminal apparatus <NUM>) through a Uu link, and terminal apparatuses (for example, the terminal apparatus <NUM> and the terminal apparatus <NUM>) communicate with each other through a sidelink (sidelink).

Terms in the embodiments of this application are first explained.

A sidelink (sidelink) resource pool includes several subchannels (subchannel), and each subchannel includes several consecutive physical resource blocks (physical resource block, PRB). A quantity N of subchannels included in the sidelink resource pool and a quantity of PRBs included in the subchannel are determined by a higher-layer parameter.

The PSSCH is a data channel on a sidelink, and data may be transmitted between terminal apparatuses through the PSSCH. A frequency domain resource of the PSSCH includes one or more consecutive frequency domain units, for example, including L consecutive subchannels, where L is an integer greater than or equal to <NUM>. In the embodiments of this application, that the PSSCH includes L consecutive frequency domain units may be understood as that the PSSCH occupies L consecutive frequency domain units or that L consecutive frequency domain units are allocated to the PSSCH. The terminal apparatus may transmit data by using the L consecutive frequency domain units allocated to the PSSCH. The consecutive frequency domain units may be consecutive frequency domain units in the sidelink resource pool. The frequency domain unit may be a PRB, may be a subchannel, or may be another unit in frequency domain. This is not limited in the embodiments of this application.

The frequency domain resource of the PSSCH is determined by a start frequency domain unit and a quantity L of frequency domain units that are of the PSSCH. The start frequency domain unit of the PSSCH may be a first frequency domain unit included in the PSSCH, and the first frequency domain unit is a frequency domain unit with a lowest index (index) in frequency domain units allocated to the PSSCH. The quantity L of frequency domain units is represented as the L consecutive frequency domain units allocated to the PSSCH.

For example, a subchannel is used as an example. With reference to <FIG>, the PSSCH includes three consecutive subchannels, which are respectively a subchannel-<NUM>, a subchannel-<NUM>, and a subchannel-<NUM>. In ascending order of indexes of the subchannel-<NUM>, the subchannel-<NUM>, and the subchannel-<NUM>, the index of the subchannel-<NUM> is lowest, and the subchannel-<NUM> is the start frequency domain unit (which may be referred to herein as a start subchannel) of the PSSCH. The quantity L of frequency domain units of the PSSCH is equal to <NUM>, that is, the PSSCH includes L consecutive subchannels.

In LTE-V2X, SCI can indicate frequency domain resources of a maximum of two PSSCHs, for example, a PSSCH <NUM> and a PSSCH <NUM>. That the frequency domain unit is a subchannel is used as an example. A start subchannel of the PSSCH <NUM> is a start subchannel of a frequency domain resource of the SCI, and a start subchannel of the PSSCH <NUM> is determined by a start subchannel index <MAT> indicated by the SCI. The SCI may further indicate a quantity LsubCH (a type of the quantity L of frequency domain units) of subchannels. A frequency domain resource of the PSSCH <NUM> may be determined based on LsubCH and the start subchannel of the PSSCH <NUM>, and a frequency domain resource of the PSSCH <NUM> may be determined based on the start subchannel of the PSSCH <NUM> and L. LsubCH represents a quantity of consecutive subchannels included in the PSSCH <NUM> or the PSSCH <NUM>, and the consecutive subchannels indicate consecutive subchannels in the sidelink resource pool.

It should be noted that the frequency domain resource of the SCI may be a frequency domain resource on which the terminal apparatus sends or receives the SCI. The subchannel index <MAT> represents a subchannel, which may be the first subchannel included in the PSSCH. It may be understood that <NUM> ≤ LsubCH ≤ NsubCH and <MAT>, where NsubCH is a total quantity of subchannels included in the sidelink resource pool. When the quantity LsubCH of subchannels included in the PSSCH is determined, the sidelink resource pool has (NsubCH - L + <NUM>) possible PSSCH resources in total, which correspond to (NsubCH - L + <NUM>) start subchannel indexes <MAT>.

For example, referring to <FIG>, assuming that NsubCH = <NUM> and LsubCH = <NUM>, there are NsubCH-LsubCH + <NUM> = <NUM> possible PSSCH resources in total, which are respectively a set (set) <NUM> to a set <NUM> in <FIG>. Start subchannel indexes <MAT> in the set <NUM> to set <NUM> are respectively <NUM> to <NUM>. "<NUM>" represents the subchannel-<NUM>, "<NUM>" represents the subchannel-<NUM>, and so on. For example, the start frequency domain unit in the set <NUM> is the subchannel-<NUM>, and the set <NUM> includes two consecutive subchannels: the subchannel-<NUM> and the subchannel-<NUM>. The start frequency domain unit in the set <NUM> is the subchannel-<NUM>, and the set <NUM> includes two consecutive subchannels: the subchannel-<NUM> and a subchannel-<NUM>.

A time domain resource of the PSSCH includes one or more time units. In the embodiments of this application, that the time domain resource of the PSSCH includes one or more time units may be understood as that the PSSCH occupies one or more time units or that one or more time units are allocated to the PSSCH. The terminal apparatus may transmit data by using the one or more time units allocated to the PSSCH.

The time unit may be a slot (slot), a symbol, or a mini-slot, or may be another unit in time domain. This is not limited in the embodiments of this application.

In LTE-V2X, the SCI can indicate time units of a maximum of two PSSCHs. The time unit of one PSSCH is a time unit in which the terminal apparatus sends or receives the SCI, and the time unit of the other PSSCH is determined by a time domain interval indicated by the SCI and a time unit of the SCI.

In the embodiments of this application, a time domain interval between two time units indicates an interval between first moments of the two time units. A unit of the time domain interval may be a time unit, that is, the time domain interval may include one or more time units. For example, referring to <FIG>, the first moment may be a start moment of the time unit, an end moment of the time unit, an intermediate moment of the time unit, or any moment of the time unit. For example, a first time unit is a slot <NUM>, a second time unit is a slot <NUM>, and a time domain interval between the second time unit and the second time unit is two slots.

The PSCCH is a control channel on a sidelink, and SCI may be transmitted between terminal apparatuses through the PSCCH to schedule data transmission on the sidelink.

The embodiments of this application provide a communications method. A first terminal apparatus determines control information. The control information includes a first field, and a value of the first field is used to determine a quantity of first frequency domain units, a first start frequency domain unit index, and a second start frequency domain unit index. The quantity of first frequency domain units is a quantity of frequency domain units included in a first data channel, a second data channel, or a third data channel, the first start frequency domain unit index is a start frequency domain unit index of the second data channel, and the second start frequency domain unit index is a start frequency domain unit index of the third data channel. The first terminal apparatus sends the control information and the first data channel to a second terminal apparatus in a first time unit. It may be learned that the control information (for example, SCI) in the embodiments of this application can indicate three data channels (for example, PSSCHs), which supports a scenario in which a higher-layer parameter NMAX is <NUM>, and meets a requirement of NR-V2X.

The terminal apparatus in embodiments of this application may be implemented by using a communications apparatus <NUM> in <FIG> is a schematic diagram of a hardware structure of the communications apparatus <NUM> according to an embodiment of this application. The communications apparatus <NUM> includes a processor <NUM>, a memory <NUM>, and at least one communications interface (where in <FIG>, that a communications interface <NUM> is included is merely used as an example for description). The processor <NUM>, the memory <NUM>, and the communications interface <NUM> are connected to each other. Optionally, the communications apparatus <NUM> may not include the memory <NUM>.

The processor <NUM> may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (application-specific integrated circuit, ASIC), or one or more integrated circuits configured to control program execution of the solutions of this application.

The communications interface <NUM> is any apparatus such as a transceiver, and is configured to communicate with another device or a communications network such as the Ethernet, a radio access network (radio access network, RAN), or a wireless local area network (wireless local area network, WLAN).

The memory <NUM> may be a read-only memory (read-only memory, ROM) or another type of static storage device that can store static information and instructions, or a random access memory (random access memory, RAM) or another type of dynamic storage device that can store information and instructions, or may be an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory, CD-ROM) or other compact disc storage, optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, and the like), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be used to carry or store expected program code in an instruction form or a data structure form and that can be accessed by a computer. However, the memory <NUM> is not limited thereto. The memory may exist independently, or may be connected to the processor. Alternatively, the memory may be integrated with the processor.

The memory <NUM> is configured to store computer-executable instructions for performing the solutions of this application, and the processor <NUM> controls execution of the computer-executable instructions. The processor <NUM> is configured to execute the computer-executable instructions stored in the memory <NUM>, to implement the intent processing method provided in the following embodiment of this application.

Optionally, the computer-executable instructions in embodiments of this application may also be referred to as application program code. This is not specifically limited in embodiments of this application.

During specific implementation, in an embodiment, the processor <NUM> may include one or more CPUs such as a CPU <NUM> and a CPU <NUM> in <FIG>.

During specific implementation, in an embodiment, the communications apparatus <NUM> may include a plurality of processors, for example, the processor <NUM> and a processor <NUM> in <FIG>. Each of the processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor herein may be one or more devices, circuits, and/or processing cores configured to process data (for example, computer program instructions).

During specific implementation, in an embodiment, the communications apparatus <NUM> may further include an output device <NUM> and an input device <NUM>. The output device <NUM> communicates with the processor <NUM>, and may display information in a plurality of manners. For example, the output device <NUM> may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector). The input device <NUM> communicates with the processor <NUM>, and may receive an input of a user in a plurality of manners. For example, the input device <NUM> may be a mouse, a keyboard, a touchscreen device, or a sensing device.

The communications apparatus <NUM> may be a general-purpose device or a dedicated device. During specific implementation, the communications apparatus <NUM> may be a desktop computer, a portable computer, a network server, a palmtop computer (personal digital assistant, PDA), a mobile phone, a tablet computer, a wireless terminal apparatus, an embedded device, or a device having a structure similar to that in <FIG>. A type of the communications apparatus <NUM> is not limited in embodiments of this application.

It should be noted that the communications apparatus <NUM> may be an entire terminal, may be a part or component that implements a function of the terminal, or may be a communications chip, for example, a baseband chip. When the communications apparatus <NUM> is the entire terminal, the communications interface may be a radio frequency module. When the communications apparatus <NUM> is the communications chip, the communications interface <NUM> may be an input/output interface circuit of the chip, where the input/output interface circuit is configured to read and output baseband signals.

<FIG> is a schematic diagram of a structure of a network device. For the structure of the network device <NUM>, refer to the structure shown in <FIG>.

The network device includes at least one processor <NUM>, at least one memory <NUM>, at least one transceiver <NUM>, at least one network interface <NUM>, and one or more antennas <NUM>. The processor <NUM>, the memory <NUM>, the transceiver <NUM>, and the network interface <NUM> are connected, for example, through a bus. The antenna <NUM> is connected to the transceiver <NUM>. The network interface <NUM> is configured to connect the network device to another communications device by using a communications link. For example, the network device is connected to a core network element through an S1 interface. In embodiments of this application, the connection may include various types of interfaces, transmission lines, buses, or the like. This is not limited in embodiments. Optionally, the network device <NUM> may not include the memory <NUM>.

A processor, for example, the processor <NUM> in embodiments of this application may include at least one of the following types: a general-purpose central processing unit (Central Processing Unit, CPU), a digital signal processor (Digital Signal Processor, DSP), a microprocessor, an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), a microcontroller unit (Microcontroller Unit, MCU), a field programmable gate array (Field Programmable Gate Array, FPGA), or an integrated circuit configured to implement a logical operation. For example, the processor <NUM> may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The at least one processor <NUM> may be integrated into one chip or located on a plurality of different chips.

A memory, for example, the memory <NUM> in embodiments of this application may include at least one of the following types: a read-only memory (read-only memory, ROM) or another type of static storage device that can store static information and instructions, or a random access memory (random access memory, RAM) or another type of dynamic storage device that can store information and instructions, or may be an electrically erasable programmable read-only memory (Electrically erasable programmable read-only memory, EEPROM). In some scenarios, the memory may alternatively be a compact disc read-only memory (compact disc read-only memory, CD-ROM) or other compact disc storage, optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, and the like), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be used to carry or store expected program code in an instruction form or a data structure form and that can be accessed by a computer. However, the memory is not limited thereto.

The memory <NUM> may exist independently, and is connected to the processor <NUM>. Optionally, the memory <NUM> may alternatively be integrated with the processor <NUM>, for example, integrated into a chip. The memory <NUM> can store program code for performing the technical solutions in embodiments of this application, and the processor <NUM> controls execution of the program code. Various types of executed computer program code may also be considered as drivers of the processor <NUM>. For example, the processor <NUM> is configured to execute the computer program code stored in the memory <NUM>, to implement the technical solutions in embodiments of this application.

The transceiver <NUM> may be configured to support receiving or sending of a radio frequency signal between the network device and a terminal apparatus, and the transceiver <NUM> may be connected to the antenna <NUM>. Specifically, the one or more antennas <NUM> may receive a radio frequency signal. The transceiver <NUM> may be configured to: receive the radio frequency signal from the antenna, convert the radio frequency signal into a digital baseband signal or a digital intermediate frequency signal, and provide the digital baseband signal or the digital intermediate frequency signal for the processor <NUM>, so that the processor <NUM> further processes the digital baseband signal or the digital intermediate frequency signal, for example, performs demodulation processing and decoding processing. In addition, the transceiver <NUM> may be configured to: receive a modulated digital baseband signal or digital intermediate frequency signal from the processor <NUM>, convert the modulated digital baseband signal or digital intermediate frequency signal into a radio frequency signal, and send the radio frequency signal through the one or more antennas <NUM>. Specifically, the transceiver <NUM> may selectively perform one or more levels of frequency down-mixing processing and analog-to-digital conversion processing on the radio frequency signal to obtain the digital baseband signal or the digital intermediate frequency signal. A sequence of the frequency down-mixing processing and the analog-to-digital conversion processing is adjustable. The transceiver <NUM> may selectively perform one or more levels of frequency up-mixing processing and digital-to-analog conversion processing on the modulated digital baseband signal or digital intermediate frequency signal to obtain the radio frequency signal. A sequence of the frequency up-mixing processing and the digital-to-analog conversion processing is adjustable. The digital baseband signal and the digital intermediate frequency signal may be collectively referred to as digital signals. The transceiver may be referred to as a transceiver circuit, a transceiver unit, a transceiver component, a sending circuit, a sending unit, a sending component, or the like.

It should be noted that the communications apparatus <NUM> may be an entire network device, may be a part or component that implements a function of the network device, or may be a communications chip. When the communications apparatus <NUM> is the communications chip, the transceiver <NUM> may be an interface circuit of the chip, and the interface circuit is configured to read and output baseband signals.

An embodiment of this application provides a communications method.

A first terminal apparatus determines control information, where the control information includes a first field, and a value of the first field is used to determine a quantity of first frequency domain units, a first start frequency domain unit index, and a second start frequency domain unit index.

The quantity of first frequency domain units is a quantity of frequency domain units included in a first data channel, a second data channel, or a third data channel, the first start frequency domain unit index is a start frequency domain unit index of the second data channel, and the second start frequency domain unit index is a start frequency domain unit index of the third data channel. The first data channel, the second data channel, and the third data channel are located in different time units. In this embodiment of this application, the start frequency domain unit index is used to determine a start frequency domain unit of a data channel, that is, the first frequency domain unit included in the data channel.

The first data channel, the second data channel, and the third data channel may be physical sidelink data channels (physical sidelink shared channels, PSSCHs). The control information may be sidelink control information (sidelink control information, SCI), which is carried on a physical sidelink control channel (physical sidelink control channel, PSCCH).

In specific implementation, the control information can indicate frequency domain resources of a maximum of three data channels. Specifically, the first terminal apparatus may determine the first field based on a start frequency domain unit of a data channel and a quantity L of frequency domain units, and indicate a frequency domain resource of the data channel by using the first field in the control information.

In a possible implementation, the value of the first field is determined based on one or more of (N - L + <NUM>)×nstart<NUM> + nstart<NUM>, (N-L+<NUM>), (L-<NUM>), Y<NUM>, N, and (N - L + <NUM>)×nstart<NUM>.

nstart<NUM> is the start frequency domain unit index of the second data channel, nstart<NUM> is the start frequency domain unit index of the third data channel, N is a quantity of frequency domain units included in a sidelink resource pool, L is the quantity of first frequency domain units, and Y is related to N and/or L.

In a possible implementation, the value of the first field may be represented by a frequency resource indication value (frequency resource indication value, FRIV), and the value of the first field is determined based on (N - L + <NUM>)×nstart<NUM> + nstart<NUM>. N is the quantity of frequency domain units included in the sidelink resource pool; nstart<NUM> is the first start frequency domain unit index in this embodiment of this application, and may indicate a frequency domain unit; and nstart<NUM> is the second start frequency domain unit index in this embodiment of this application, and may indicate a frequency domain unit.

For example, when <MAT> and L=<NUM>, the FRIV meets the following formula (<NUM>): <MAT>.

When <MAT> and L><NUM>, the FRIV meets the following formula (<NUM>): <MAT>.

When <MAT>, the FRIV meets the following formula (<NUM>): <MAT>.

It should be noted that "└ ┘" in this embodiment of this application is a rounding down operation.

When the first terminal apparatus sends the first data channel, for example, the first data channel in this embodiment of this application, a start frequency domain unit of the first data channel is a start frequency domain unit m of a frequency domain resource on which the first terminal apparatus sends the control information, and a quantity of frequency domain units of the first data channel is L. Letting nstart<NUM>=nstart<NUM>=m, nstart<NUM>, nstart<NUM>, and L are substituted into the foregoing formula (<NUM>) or formula (<NUM>) or formula (<NUM>) to determine the value of the first field.

When the first terminal apparatus sends two data channels, for example, the first data channel and the second data channel in this embodiment of this application, the start frequency domain unit of the first data channel is the start frequency domain unit m of the frequency domain resource on which the first terminal apparatus sends the control information, a start frequency domain unit of the second data channel is a frequency domain unit corresponding to the first start frequency domain unit index nstart<NUM>, and a quantity of frequency domain units of the first data channel and the second data channel is L. Letting nstart<NUM>=nstart<NUM>, nstart<NUM>, nstart<NUM>, and L are substituted into the foregoing formula (<NUM>) or formula (<NUM>) or formula (<NUM>) to determine the value of the first field.

When the first terminal apparatus sends three data channels, for example, the first data channel, the second data channel, and the third data channel in this embodiment of this application, the start frequency domain unit of the first data channel is the start frequency domain unit m of the frequency domain resource on which the first terminal apparatus sends the control information, the start frequency domain unit of the second data channel is the frequency domain unit corresponding to the first start frequency domain unit index nstart<NUM>, a start frequency domain unit of the third data channel is a frequency domain unit corresponding to the second start frequency domain unit index nstart<NUM>, and a quantity of frequency domain units of the first data channel, the second data channel, and the third data channel is L. nstart<NUM>, nstart<NUM>, and L are substituted into the foregoing formula (<NUM>) or formula (<NUM>) or formula (<NUM>) to determine the value of the first field.

For example, the first terminal apparatus sends three data channels, and a quantity of frequency domain units of the data channel is L=<NUM>, and the quantity of frequency domain units included in the sidelink resource pool is N=<NUM>, which meets <MAT> and L=<NUM>. Assuming that the first start frequency domain unit index nstart<NUM>=<NUM> and the second start frequency domain unit index nstart<NUM>= <NUM>, the two indexes are substituted into the formula (<NUM>) to determine that the value of the first field is <NUM>.

In a possible implementation, the first field is a binary number of the FRIV. Assuming that the FRIV has P possible values in total, the first field is a binary number with a length of <MAT>.

Derivation processes of the foregoing formula (<NUM>) to formula (<NUM>) are described below by using an example in which the frequency domain unit is a subchannel. <MAT> and <MAT> are used to represent a first start subchannel index and a second start subchannel index. When a quantity L of subchannels is determined, <MAT> and <MAT> each have (N - L + <NUM>) possible frequency domain locations in total. To be specific, the FRIV may have (N - L + <NUM>)<NUM> different values, and each value determines a set of <MAT>, and L.

For example, referring to <FIG>, N=<NUM> and L=<NUM>. The first start subchannel index <MAT> has six possibilities, as shown on a left side of <FIG>, and the second start subchannel index <MAT> has six possibilities, as shown on a right side of <FIG>. The FRIV needs to indicate <NUM> possible combinations of <MAT> and <MAT>. <FIG> shows one of the <NUM> possible combinations of <MAT> and <MAT>. That <MAT> indicates a subchannel-<NUM>, and the second data channel includes the subchannel-<NUM>, a subchannel-<NUM>, and a subchannel-<NUM>. That <MAT> indicates the subchannel-<NUM>, and the second data channel includes the subchannel-<NUM>, a subchannel-<NUM>, and a subchannel-<NUM>.

For example, N = <NUM>. The following Table <NUM> shows possible values of the FRIV. A row index in Table <NUM> corresponds to a length L of a data channel, and a value range of the row index is from <NUM> to L. A column index indicates a set of start subchannel indexes <MAT> and <MAT>, and a value range of the column index is from <NUM> to (N - L + <NUM>)<NUM> - <NUM>.

In a possible implementation, L represents the row index, that L=<NUM> corresponds to FRIVs in the first row in Table <NUM>, that L=<NUM> corresponds to FRIVs in the second row in Table <NUM>, and so on. The first start subchannel index <MAT>, and the second start subchannel index <MAT> L + <NUM>). It may be understood that the column <MAT>, where "/" represents a division operation, and "%" represents a remainder operation. The column index=<NUM>, <NUM>,. , and (N - L + <NUM>)<NUM> - <NUM>, which respectively represent the first column, the second column, and the like in Table <NUM>.

For example, <NUM> in Table <NUM> is located in the second row and has a row index <NUM>, that is, L = <NUM>. <NUM> is located in the second column and has a column index <NUM>. When <MAT> and <MAT>, the column index is <MAT>.

Further, if the Lth row in Table <NUM> meets <MAT>, elements in the Lth row may be mapped, to be specific, the elements in the Lth row are filled in the (N-L+<NUM>)th row in a reverse order. The Lth row and the (N-L+<NUM>)th row are mapping rows for each other, for example, the (N-L+<NUM>)th row may be referred to as a mapping row of the Lth row, and the Lth row may be referred to as a mapping row of the (N-L+<NUM>)th row. For example, elements in the fifth row are mapped to the second row, and <NUM> in Table <NUM> is inverted to be filled in the second row; elements in the fourth row are mapped to the third row, and so on. For example, <NUM>, <NUM>, <NUM>, and <NUM> in the fourth row in the table are sequentially filled in the third row in a reverse order. An order of <NUM>, <NUM>, <NUM>, and <NUM> in the third row is opposite to an order of these elements in the fourth row, which are sequentially <NUM>, <NUM>, <NUM>, and <NUM>. <NUM> is in the <NUM>th column and corresponds to a column index <NUM>, <NUM> is in the <NUM>th row and corresponds to a column index <NUM>, <NUM> is in the <NUM>th row and corresponds to a column index <NUM>, and <NUM> is in the <NUM>th row and corresponds to a column index <NUM>. After mapping processing is performed, the following Table <NUM> may be obtained.

Table <NUM> has the following features: (<NUM>) A total quantity of elements in the Lth row is (N - L + <NUM>)<NUM> + (L - <NUM>)<NUM>.

It may be understood that the quantity of elements in the Lth row in Table <NUM> is equal to the sum of a quantity of elements in the row in Table <NUM> and a quantity of elements included in the (L')th row (L'= N + <NUM> - L) mapped to the Lth row. The Lth row in Table <NUM> includes (N - L + <NUM>)<NUM> elements, and the mapping row includes (N - L' + <NUM>)<NUM> elements, that is, (L - <NUM>)<NUM> elements. Therefore, the total quantity of elements in the Lth row in Table <NUM> is (N - L + <NUM>)<NUM> + (L - <NUM>)<NUM>.

(<NUM>) A start FRIV in each row is equal to a total quantity of elements in all rows before the row in Table <NUM>, and the start FRIV may be an FRIV corresponding to a column index <NUM>.

For example, the start FRIV value in the third row is <NUM>, and there are <NUM> elements before <NUM> in Table <NUM>.

(<NUM>) An FRIV meeting <MAT> in Table <NUM> is equal to the sum of a start FRIV in a row in which the FRIV is located and a column index corresponding to the FRIV.

The column index of the FRIV/(N - L + <NUM>) is equal to the first start subchannel index <MAT>, and the column index of the FRIV%(N - L + <NUM>) is equal to the second start subchannel index <MAT>, that is, the column <MAT>.

For example, the element "<NUM>" in Table <NUM> is the sum of a start FRIV <NUM> in the second row (L=<NUM>) and a column index <NUM>. Based on the column index <NUM> corresponding to <NUM>, it may be further determined that the first start subchannel index <MAT> and the second start subchannel index <MAT>.

(<NUM>) An FRIV meeting <MAT> in Table <NUM> is equal to a start FRIV in a mapping row plus a total quantity of elements in the row after mapping is performed and minus <NUM> and further minus a column index of the FRIV before mapping is performed.

For example, the element "<NUM>" in Table <NUM> corresponds to L= <NUM> and L'=<NUM>, that is, the element is in the third row in Table <NUM>, where the start FRIV in the third row is <NUM>. Based on L'=<NUM> and N=<NUM>, a total quantity of elements in the third row is (N - L' + <NUM>)<NUM> + (L' - <NUM>)<NUM>=(<NUM> - <NUM> + <NUM>)<NUM> + (<NUM> - <NUM>)<NUM>=<NUM>. A column index of "<NUM>" is <NUM> in Table <NUM> before mapping is performed, and therefore <NUM>=<NUM>+<NUM>-<NUM>-<NUM>.

The foregoing formula (<NUM>), formula (<NUM>), and formula (<NUM>) may be obtained based on the foregoing features. Specifically, when <MAT> and L = <NUM>, because a total quantity of all elements before the row after the mapping processing is <NUM>, the FRIV includes only a combined value <MAT> of the start subchannel indexes <MAT> and <MAT>. The combined value is the column index of the FRVI before the mapping processing.

When L > <NUM>, the FRIV may be divided into two parts, where <MAT> is a total quantity of elements in all rows before the row in Table <NUM>, and <MAT> is the combined value of the start subchannel indexes <MAT> and <MAT>. The combined value is the column index of the FRVI before the mapping processing.

When <MAT> represents a start FRIV in a next row of a mapping row in Table <NUM>, that is, a total quantity of elements in all rows before the next row of the mapping row in Table <NUM>; (N - L + <NUM>) represents a mapping row index corresponding to L; and <MAT> is the combined value of the start subchannel indexes <MAT> and <MAT>, where <MAT> is nstart<NUM> in the formulas (<NUM>) to (<NUM>), and <MAT> is nstart<NUM> in the formulas (<NUM>) to (<NUM>).

The first terminal apparatus sends the control information and the first data channel to a second terminal apparatus in a first time unit.

In specific implementation, the first terminal apparatus sends a control channel such as a PSCCH in the first time unit. The control channel carries the control information.

A time domain resource of the first data channel may include one or more time units, the one or more time units include the first time unit, and the first time unit may be considered as an earliest time unit in the one or more time units in time domain.

The second terminal apparatus receives the control information, and determines the quantity of first frequency domain units, the first start frequency domain unit index, and the second start frequency domain unit based on the first field in the control information.

In specific implementation, the second terminal device may decode the control information to obtain the first field, and determine a frequency domain resource of the second data channel and a frequency domain resource of the third data channel based on the value of the first field.

In a possible implementation, the value of the first field may be represented as an FRIV, and the second terminal apparatus may determine the two start frequency domain unit indexes nstart<NUM> and nstart<NUM> and the quantity L of first frequency domain units based on the FRIV.

For example, the second terminal apparatus determines a parameter l, and determines, based on the parameter l and the value (the FRIV) of the first field, the quantity L of first frequency domain units and the two start frequency domain unit indexes nstart<NUM> and nstart<NUM> that are indicated by the FRIV. Specifically, an FRIV interval (that is, the value interval in the embodiments of this application) is calculated based on l. When the value FRIV of the first field belongs to the interval, the quantity L of first frequency domain units is determined based on N and l, and the first start frequency domain unit index nstart<NUM> and the second start frequency domain unit index nstart<NUM> are determined based on the FRIV, the quantity L of first frequency domain units, and N. When the FRIV indicated by the first field does not belong to the interval, the parameter l is increased by <NUM>, and the foregoing steps continue to be performed until the value of the first field belongs to the determined FRIV interval.

For example, a start FRIV value <MAT> of an FRIV interval <NUM> corresponding to l = <NUM> and an end FRIV value <MAT> of the FRIV interval <NUM> are first calculated. A start FRIV value <MAT> and an end FRIV value <MAT> that correspond to a row number l are calculated according to the following formulas (<NUM>) and (<NUM>): <MAT> <MAT>.

If the FRIV indicated by the first field belongs to the FRIV interval <NUM>, it is determined whether the FRIV is less than or equal to <MAT>. If the FRIV is less than or equal to <MAT> <NUM>, the start frequency domain unit indexes nstart<NUM> and nstart<NUM> and a frequency domain unit length L are calculated based on a result (<NUM>); or if the FRIV is not less than or equal to <MAT>, the start frequency domain unit indexes nstart<NUM> and nstart<NUM> and the quantity L of first frequency domain units are calculated based on a result (<NUM>).

If the FRIV indicated by the first field does not belong to the FRIV interval <NUM>, l is increased by <NUM>, and a start FRIV value <MAT> of an FRIV interval <NUM> and an end FRIV value <MAT> of the FRIV interval <NUM> are calculated when l =<NUM>.

It should be noted that when <MAT>, a start value and an end value of the FRIV interval are calculated according to the following formulas (<NUM>) and (<NUM>): <MAT> <MAT>.

It should be noted that when <MAT>, the start value and the end value of the FRIV interval are calculated according to the following formulas (<NUM>) and (<NUM>): <MAT> <MAT>.

That N = <NUM> is used as an example below. Assuming that the FRIV indicated by the first field is <NUM>, a process of determining the quantity L of first frequency domain units, the first start frequency domain unit index nstart<NUM>, and the second start frequency domain unit index nstart<NUM> based on the FRIV is as follows.

First, the start FRIV value <MAT> and the end FRIV value <MAT> that correspond to l = <NUM> are calculated by using the formulas (<NUM>) and (<NUM>). Because <NUM> does not belong to the interval, the start FRIV value <MAT> <NUM> and the end FRIV value <MAT> that correspond to l = <NUM> are calculated by using the formulas (<NUM>) and (<NUM>), and then it is determined whether the FRIV belongs to the interval. Because <NUM> does not belong to the interval, the start FRIV value <MAT> and the end FRIV value <MAT> that correspond to l = <NUM> are calculated by using the formulas (<NUM>) and (<NUM>), and then it is determined whether the FRIV belongs to the interval. Because <NUM> belongs to the interval, it is determined whether <NUM> is less than or equal to <MAT>. Because <NUM> is less than <NUM>, it may be obtained, through calculation based on the result (<NUM>), that the start frequency domain unit indexes meet nstart<NUM> = <NUM> and nstart<NUM> = <NUM> and the frequency domain unit length meets L=<NUM>.

In a possible implementation, a time unit (for example, the first time unit in this embodiment of this application) in which the first terminal apparatus sends the control information may be a time unit of the first data channel. The control information may further include a second field, where a value of the second field is used to determine a time unit of the second data channel and a time unit of the third data channel.

Optionally, that the first terminal apparatus determines control information includes: determining the value of the second field based on a first time domain interval Tgap1 and a second time domain interval Tgap2.

The first time domain interval Tgap1 is an interval between the time unit of the first data channel and the time unit of the second data channel, and the second time domain interval Tgap2 is an interval between the time unit of the first data channel and the time unit of the third data channel, or
the first time domain interval Tgap1 is the interval between the time unit of the first data channel and the time unit of the second data channel, and the second time domain interval Tgap2 is an interval between the time unit of the second data channel and the time unit of the third data channel.

In a possible implementation, the value of the second field is a time resource indication value (time resource indication value, TRIV).

When the first terminal apparatus sends one data channel, for example, the first data channel in this embodiment of this application, the TRIV=<NUM>.

When the first terminal apparatus sends two data channels, for example, the first data channel and the second data channel in this embodiment of this application, the TRIV=Tgap1, where Tgap1 is greater than or equal to <NUM> and less than or equal to W-<NUM>.

If the first terminal apparatus sends three data channels, for example, the first data channel, the second data channel, and the third data channel in this embodiment of this application, when <MAT>, the TRIV meets the following formula (<NUM>): <MAT>.

When <MAT>, the TRIV meets the following formula (<NUM>): <MAT>.

The TRIV represents the value of the second field; the parameter W is a first time window, and the first time unit, the second time unit, or the third time unit is located in the first time window; a value of W is greater than <NUM>; and Nslot is a maximum value of the first time domain interval or the second time domain interval, where Nslot= W-<NUM>, <NUM> ≤ Tgap1 ≤ Nslot - <NUM>, and <NUM> ≤ Tgap2 ≤ Nslot.

It should be noted that the time units of the first data channel, the second data channel, and the third data channel may be limited as follows:.

The time unit of the first data channel is before the time unit of the second data channel and the time unit of the third data channel; or.

The second terminal apparatus may further determine the time unit of the first data channel based on a time unit for receiving the control information, determine the time unit of the second data channel based on the time unit and Tgap1, and determine the time unit of the third data channel based on the time unit, Tgap1, and/or Tgap2. It should be noted that if the value of the second field in the control information is TRIV = <NUM>, the control information indicates one data channel, and a time unit of the data channel is a time unit in which the second terminal apparatus receives the control information. If <NUM> ≤ TRIV ≤ W - <NUM>, the TRIV is used to determine one time interval, and the control information indicates two data channels. A time unit of one data channel is a time unit for receiving the control information, and an interval between the other data channel and the data channel in time domain is a time interval corresponding to the TRIV. If TRIV ≥ W, the TRIV is used to determine two time intervals, and the control information indicates three data channels. The time unit of the first data channel is a time unit for receiving the control information, an interval between the second data channel and the first data channel in time domain is one time interval determined by the TRIV, and an interval between the third data channel and the first data channel (or the second data channel) in time domain is the other time interval determined by the TRIV.

Optionally, the first terminal apparatus determines the value of the second field according to the foregoing formula (<NUM>) or formula (<NUM>), and that the second terminal apparatus determines two time intervals Tgap1 and Tgap2 based on the value TRIV of the second field includes the following.

First, a value x of <MAT> is calculated. When x<Nslot, <MAT> is met, and Tgap1 = (TRIV - W ) % Nslot and <MAT>.

When x≥ Nslot , <MAT> is met, and Tgap1 = Nslot - (TRIV - W )% Nslot -<NUM> and <MAT>.

In a possible implementation, when <MAT>, the TRIV meets the following formula (<NUM>): <MAT>.

When the first terminal apparatus determines the value of the first field according to the formula (<NUM>) or (<NUM>), that the second terminal apparatus determines two time intervals Tgap1 and Tgap2 based on the value of the first field includes the following.

A value x of <MAT> is calculated. When x< Nslot, <MAT> is met, and Tgap1 = TRIV % Nslot and <MAT>.

When x≥Nslot, <MAT> is met, and Tgap1 = Nslot - TRIV % Nslot - <NUM> and <MAT>.

In a possible implementation, the control information further includes a third field. The third field is located in a first stage (first stage) or a second stage (second stage) of the control information. Specifically, when the third field has a first value, the time unit of the first data channel is before the time unit of the second data channel and the time unit of the third data channel.

When the third field has a second value, the time unit of the first data channel is between the time unit of the second data channel and the time unit of the third data channel.

When the third field has a third value, the time unit of the first data channel is after the time unit of the second data channel and the time unit of the third data channel.

In a possible implementation, when W=<NUM>, the second field has <NUM> bits, which indicate a total of <NUM> possible time domain intervals, and the third field has <NUM> bits, which may indicate the first value, the second value, or the third value. For example, the third field "<NUM>" indicates the first value "<NUM>", the third field "<NUM>" indicates the second value "<NUM>", and the third field "<NUM>" indicates the third value "<NUM>".

When the frequency domain unit is a subchannel, L in this embodiment of this application may be identified as LsubCH, N may be identified as NsubCH, nstart<NUM> may be identified as <MAT>, and nstart<NUM> may be identified as <MAT>.

A time-frequency resource of a data channel that may be indicated by the control information is described below with reference to a specific example. Assuming that the time unit is a slot, that the frequency domain unit is a subchannel, and that the second terminal apparatus receives the control information on a subchannel m in a slot <MAT>, the data channel indicated by the control information is specifically as follows.

In a first case, the second field is "<NUM>", the start frequency domain unit indexes indicated by the first field meet nstart<NUM>=nstart<NUM>=m, and the quantity of first frequency domain units indicated by the first field is L.

Referring to <FIG>, the control information indicates one data channel. The data channel is located in the slot <MAT> in time domain, and includes L subchannels starting from the subchannel m in frequency domain, which are respectively the subchannel m, a subchannel (m+<NUM>),. , and a subchannel (m+L-<NUM>).

In a second case, the value of the second field is less than W, a value of the third field is the first value, the second field indicates the time interval Tgap<NUM>,the start frequency domain unit indexes indicated by the first field meet nstart<NUM>=nstart<NUM>, and the quantity of first frequency domain units indicated by the first field is L.

Referring to <FIG>, the control information indicates two data channels, which are respectively a data channel <NUM> and a data channel <NUM>. The data channel <NUM> is located in the slot <MAT> in time domain, and includes L subchannels starting from the subchannel m in frequency domain, which are respectively the subchannel m, a subchannel (m+<NUM>),. , and a subchannel (m+L-<NUM>). The data channel <NUM> is located in a slot <MAT> in time domain, and includes L subchannels starting from a subchannel nstart<NUM> in frequency domain, which are respectively the subchannel nstart<NUM>, a subchannel (nstart<NUM>+<NUM>),. , and a subchannel (nstart<NUM>+L-<NUM>).

In a third case, the value of the second field is less than W, a value of the third field is the second value, the second field indicates the time interval Tgap<NUM>, the start frequency domain unit indexes indicated by the first field meet nstart<NUM>=nstart<NUM>, and the quantity of first frequency domain units indicated by the first field is L.

In a fourth case, the value of the second field is greater than or equal to W, a value of the third field is the first value, the second field indicates the time intervals Tgap<NUM> and Tgap<NUM>, the first field indicates the start frequency domain unit indexes nstart<NUM> and ηstart<NUM>, and the quantity of first frequency domain units indicated by the first field is L.

Referring to <FIG>, the control information indicates three data channels, which are respectively a data channel <NUM>, a data channel <NUM>, and a data channel <NUM>. The data channel <NUM> is located in the slot <MAT> in time domain, and includes L subchannels starting from the subchannel m in frequency domain, which are respectively the subchannel m, a subchannel (m+<NUM>),. , and a subchannel (m+L-<NUM>). The data channel <NUM> is located in a slot <MAT> in time domain, and includes L subchannels starting from a subchannel nstart<NUM> in frequency domain, which are respectively the subchannel nstart<NUM>, a subchannel (nstart<NUM>+<NUM>),. , and a subchannel (nstart<NUM>+L-<NUM>). The data channel <NUM> is located in a slot <MAT> in time domain, and includes L subchannels starting from a subchannel nstart<NUM> in frequency domain, which are respectively the subchannel nstart<NUM>, a subchannel (nstart<NUM>+<NUM>),. , and a subchannel (nstart<NUM>+L-<NUM>).

In a fifth case, the value of the second field is greater than or equal to W, a value of the third field is the second value, the second field indicates the time intervals Tgap<NUM> and Tgap<NUM>, the first field indicates the start frequency domain unit indexes nstart<NUM> and nstart<NUM>, and the quantity of first frequency domain units indicated by the first field is L.

Referring to <FIG>, the control information indicates three data channels, which are respectively a data channel <NUM>, a data channel <NUM>, and a data channel <NUM>. The data channel <NUM> is located in the slot <MAT> in time domain, and includes L subchannels starting from the subchannel m in frequency domain, which are respectively the subchannel m, a subchannel (m+<NUM>),. , and a subchannel (m+L-<NUM>). The data channel <NUM> is located in a slot ( <MAT>) in time domain, and includes L subchannels starting from a subchannel nstart<NUM> in frequency domain, which are respectively the subchannel nstart<NUM>, a subchannel (nstart<NUM>+<NUM>),. , and a subchannel (nstart<NUM>+L-<NUM>). The data channel <NUM> is located in a slot ( <MAT>) in time domain, and includes L subchannels starting from a subchannel nstart<NUM> in frequency domain, which are respectively the subchannel nstart<NUM>, a subchannel (nstart2+<NUM>),. , and a subchannel (nstart<NUM>+L-<NUM>).

In a sixth case, the value of the second field is greater than or equal to W, a value of the third field is the third value, the second field indicates the time intervals Tgap<NUM> and Tgap<NUM>, the first field indicates the start frequency domain unit indexes nstart<NUM> and nstart<NUM>, and the quantity of first frequency domain units indicated by the first field is L.

Referring to <FIG>, the control information indicates three data channels, which are respectively a data channel <NUM>, a data channel <NUM>, and a data channel <NUM>. The data channel <NUM> is located in the slot <MAT> in time domain, and includes L subchannels starting from the subchannel m in frequency domain, which are respectively the subchannel m, a subchannel (m+<NUM>),. , and a subchannel (m+L-<NUM>). The data channel <NUM> is located in a slot ( <MAT>) in time domain, and includes L subchannels starting from a subchannel nstart<NUM> in frequency domain, which are respectively the subchannel nstart<NUM>, a subchannel (nstart<NUM>+<NUM>),. , and a subchannel (nstart<NUM>+L-<NUM>). The data channel <NUM> is located in a slot ( <MAT>) in time domain, and includes L subchannels starting from a subchannel nstart<NUM> in frequency domain, which are respectively the subchannel nstart<NUM>, a subchannel (nstart<NUM>+<NUM>),. , and a subchannel (nstart<NUM>+L-<NUM>).

It should be noted that the first field in this embodiment of this application may be a frequency resource assignment (frequency resource assignment) field, the second field may be a time resource assignment (time resource assignment) field, and the third field may be a retransmission indication (retransmission index) field. In addition, the control information in this embodiment of this application may alternatively be downlink control information (downlink control information, DCI). In this scenario, a network device sends the DCI to a terminal apparatus, where the DCI may include a first field and/or a second field. For a method for determining values of the first field and the second field, refer to the foregoing description. The first field in the DCI is used to determine two start frequency domain unit indexes and a quantity of frequency domain units, and a frequency domain resource on a sidelink may be determined based on the start frequency domain unit indexes and the quantity of frequency domain units. The second field in the DCI is used to determine a time domain interval, and a time unit for sending a PSSCH and/or a PSCCH may be determined based on a time unit for receiving or sending SCI and the time domain interval indicated by the DCI.

In a possible implementation, the network device may send RRC signaling to the terminal apparatus, where the RRC signaling may include a first field and/or a second field. For a method for determining values of the first field and the second field, refer to the foregoing description. The RRC signaling indicates a configure grant (configure grant). In a period of the configure grant, the first field in the RRC signaling is used to determine one or more start frequency domain unit indexes and a quantity of frequency domain units, and the configure grant may be allocated to a sidelink based on the start frequency domain unit indexes and the quantity of frequency domain units. In a period of the configure grant, the second field in the RRC signaling is used to determine a time domain interval, and a time unit of the configure grant may be determined based on a time offset (time offset) indicated by the RRC signaling and the time domain interval indicated by the RRC signaling.

The RRC signaling may further include a fourth field. The first field and the second field in the RRC signaling indicate a set of time-frequency resources, and the set of time-frequency resources may be periodically repeated in time domain in a period of the configure grant. The set of time-frequency resources includes one or more sidelink resources. The fourth field indicates an interval between two sets of time-frequency resources. The interval may be an interval between the last time-frequency resource in the ith set and the first time-frequency resource in the (i+<NUM>)th set, or may be an interval between the first time-frequency resource in the ith set and the first time-frequency resource in the (i+<NUM>)th set.

The RRC signaling may further include a fifth field, and the fifth field is used to indicate a quantity of time-frequency resources in a period of the configure grant. The time-frequency resource is any resource in the set of time-frequency resources indicated by the first field and the second field in the RRC signaling.

When function modules are obtained through division based on corresponding functions, <FIG> is a schematic diagram of a possible structure of a communications apparatus in the foregoing embodiment. The communications apparatus shown in <FIG> may be the terminal apparatus described in embodiments of this application, or may be a component that implements the foregoing method in the terminal apparatus, or may be a chip used in the terminal apparatus. The chip may be a system-on-a-chip (System-On-a-Chip, SoC), a baseband chip having a communications function, or the like. As shown in <FIG>, the communications apparatus includes a processing unit <NUM> and a communications unit <NUM>. The processing unit may be one or more processors, and the communications unit may be a transceiver.

The processing unit <NUM> is configured to support the terminal apparatus in performing step <NUM>, step <NUM>, and/or another process of the technology described in this specification.

The communications unit <NUM> is configured to support communication between the terminal apparatus and another communications apparatus, for example, support the terminal apparatus in performing step <NUM>, and/or is configured to perform another process of the technology described in this specification.

It should be noted that all related content of the steps in the foregoing method embodiment may be cited in function descriptions of corresponding function modules.

For example, when an integrated unit is used, a schematic diagram of a structure of a communications apparatus according to an embodiment of this application is shown in <FIG>. In <FIG>, the communications apparatus includes a processing module <NUM> and a communications module <NUM>. The processing module <NUM> is configured to control and manage actions of the communications apparatus, for example, perform the step performed by the processing unit <NUM>, and/or another process of the technology described in this specification. The communications module <NUM> is configured to: perform the step performed by the communications unit <NUM>, and support interaction between the communications apparatus and another device, for example, interaction with another terminal apparatus. As shown in <FIG>, the communications apparatus may further include a storage module <NUM>, and the storage module <NUM> is configured to store program code and data of the communications apparatus.

When the processing module <NUM> is a processor, the communications module <NUM> is a transceiver, and the storage module <NUM> is a memory, the communications apparatus is the communications apparatus shown in <FIG>.

When function modules are obtained through division based on corresponding functions, <FIG> is a schematic diagram of a possible structure of a communications apparatus in the foregoing embodiment. The communications apparatus shown in <FIG> may be the network device in embodiments of this application, may be a component that implements the foregoing method in the network device, or may be a chip used in the network device. The chip may be a system-on-a-chip (System-On-a-Chip, SoC), a baseband chip having a communications function, or the like. As shown in <FIG>, the communications apparatus includes a processing unit <NUM> and a communications unit <NUM>. The processing unit <NUM> may be one or more processors, and the communications unit <NUM> may be a transceiver.

The processing unit <NUM> is configured to support internal processing of the network device, for example, generate DCI or RRC signaling in embodiments of this application, and/or is configured to perform another process of the technology described in this specification.

The communications unit <NUM> is configured to support communication between the network device and another communications apparatus, for example, support the network device in sending DCI or RRC signaling to a terminal apparatus, and/or is configured to perform another process of the technology described in this specification.

For example, when an integrated unit is used, a schematic diagram of a structure of a communications apparatus according to an embodiment of this application is shown in <FIG>. In <FIG>, the communications apparatus includes a processing module <NUM> and a communications module <NUM>. The processing module <NUM> is configured to control and manage actions of the communications apparatus, for example, perform the step performed by the processing unit <NUM>, and/or another process of the technology described in this specification. The communications module <NUM> is configured to: perform the step performed by the communications unit <NUM>, and support interaction between the communications apparatus and another device, for example, interaction with another network device. As shown in <FIG>, the communications apparatus may further include a storage module <NUM>, and the storage module <NUM> is configured to store program code and data of the communications apparatus.

An embodiment of this application provides a computer-readable storage medium. The computer-readable storage medium stores instructions. The instructions are used to perform the method shown in <FIG>.

An embodiment of this application provides a computer program product including instructions. When the computer program product runs on a communications apparatus, the communications apparatus is enabled to perform the method shown in <FIG>.

An embodiment of this application provides a wireless communications apparatus. The wireless communications apparatus stores instructions. When the wireless communications apparatus runs on the communications apparatuses shown in <FIG>, and <FIG> to <FIG>, the communications apparatus is enabled to perform the method shown in <FIG>. The wireless communications apparatus may be a chip.

Based on the descriptions of the foregoing implementations, a person skilled in the art can clearly understand that, for ease and brevity of description, division into the foregoing function modules is merely used as an example for illustration. During actual application, the foregoing functions can be allocated to different function modules and implemented based on a requirement. In other words, an inner structure of a database access apparatus is divided into different function modules to implement all or some of the functions described above.

The processor in embodiments of this application may include but is not limited to at least one of the following computing devices that run software: a central processing unit (central processing unit, CPU), a microprocessor, a digital signal processor (DSP), a microcontroller unit (microcontroller unit, MCU), an artificial intelligence processor, or the like. Each computing device may include one or more cores configured to perform an operation or processing by executing software instructions. The processor may be an independent semiconductor chip, or may be integrated with another circuit to form a semiconductor chip. For example, the processor and another circuit (for example, an encoding/decoding circuit, a hardware acceleration circuit, or various buses and interface circuits) may form a SoC (system-on-a-chip). Alternatively, the processor may be integrated into an ASIC as a built-in processor of the ASIC, and the ASIC integrated with the processor may be independently packaged or may be packaged with another circuit. In addition to the core configured to perform an operation or processing by executing software instructions, the processor may further include a necessary hardware accelerator, for example, a field programmable gate array (field programmable gate array, FPGA), a PLD (programmable logic device), or a logic circuit that implements a dedicated logic operation.

The memory in embodiments of this application may include at least one of the following types: a read-only memory (read-only memory, ROM) or another type of static storage device that can store static information and instructions, or a random access memory (random access memory, RAM) or another type of dynamic storage device that can store information and instructions, or may be an electrically erasable programmable read-only memory (Electrically erasable programmable read-only memory, EEPROM). In some scenarios, the memory may alternatively be a compact disc read-only memory (compact disc read-only memory, CD-ROM) or other compact disc storage, optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, and the like), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be used to carry or store expected program code in an instruction form or a data structure form and that can be accessed by a computer. However, the memory is not limited thereto.

In this application, "at least one" means one or more. "A plurality of" means two or more than two. "And/or" describes an association relationship between associated objects, and represents that three relationships may exist. For example, A and/or B may represent the following cases: Only A exists, both A and B exist, and only B exists, where A and B may be singular or plural. The character "/" generally indicates an "or" relationship between the associated objects. "At least one of the following items (pieces)" or a similar expression thereof refers to any combination of these items, including any combination of singular items (pieces) or plural items (pieces). For example, at least one of a, b, or c may indicate a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c may be singular or plural. In addition, to clearly describe the technical solutions in embodiments of this application, terms such as "first" and "second" are used in embodiments of this application to distinguish between same items or similar items that have basically the same functions and purposes. A person skilled in the art may understand that the terms such as "first" and "second" do not limit a quantity and an execution sequence, and the terms such as "first" and "second" do not indicate a definite difference.

In the several embodiments provided in this application, it should be understood that the disclosed database access apparatus and method may be implemented in other manners. For example, the described database access apparatus embodiments are merely examples. For example, the division into modules or units is merely logical function division and may be other division during actual implementation. For example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communications connections may be implemented through some interfaces. The indirect couplings or communications connections between the database access apparatuses or units may be implemented in electrical, mechanical, or other forms.

The units described as separate parts may or may not be physically separate, and parts displayed as units may be one or more physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected based on an actual requirement to achieve the objectives of the solutions of embodiments.

In addition, function units in embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units may be integrated into one unit.

When the integrated unit is implemented in the form of a software function unit and sold or used as an independent product, the integrated unit may be stored in a readable storage medium. Based on such an understanding, the technical solutions in embodiments of this application essentially, or the part contributing to the conventional technology, or all or some of the technical solutions may be implemented in a form of a software product. The software product is stored in a storage medium and includes several instructions for instructing a device (which may be a single-chip microcomputer, a chip, or the like) or a processor to perform all or some of the steps of the method described in embodiments of this application. The foregoing storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disc.

Claim 1:
A communications method, comprising:
determining (<NUM>) control information, wherein the control information comprises a first field, and a value of the first field is used to indicate a quantity of first frequency domain units, a first start frequency domain unit index, and a second start frequency domain unit index; and the quantity of first frequency domain units is a quantity of frequency domain units comprised in a first data channel, a second data channel, or a third data channel, the first start frequency domain unit index is a start frequency domain unit index of the second data channel, and the second start frequency domain unit index is a start frequency domain unit index of the third data channel; and
sending (<NUM>) the control information and the first data channel in a first time unit;
wherein the determining control information comprises:
determining the value of the first field based on the first start frequency domain unit index, the second start frequency domain unit index, the quantity of first frequency domain units, and a quantity of frequency domain units comprised in a sidelink resource pool.