TECHNICAL FIELD
[0001] This application relates to the field of communication technologies, and in particular,
to a resource request method, a resource allocation method, an apparatus, and a medium.
BACKGROUND
[0002] Vehicle-to-everything (vehicle-to-everything, V2X) is an important key technology
that implements environment perception, information exchange, and collaborative control
by using a sensor, an electronic label, and the like mounted on a vehicle. For example,
the technology can implement vehicle-to-vehicle (vehicle-to-vehicle, V2V), vehicle-to-pedestrian
(vehicle-to-pedestrian, V2P), and vehicle-to-infrastructure (vehicle-to-infrastructure,
V2I) information exchange, and can improve an intelligence level and an autonomous
driving capability of vehicles.
[0003] In long term evolution (Long Term Evolution, LTE) V2X, only an LTE V2X sidelink (SideLink,
SL) resource is used to transmit a V2X service. A terminal device obtains the LTE
V2X SL resource in two manners. In one manner, the terminal device sends a resource
request to an access network device, and the access network device allocates the resource
to the terminal device. In the other manner, the terminal device may contend for the
resource in an LTE V2X SL resource pool broadcast or preconfigured by the access network
device.
[0004] After new radio NR (new radio, NR) V2X is introduced, resources used to transmit
a V2X service may include an LTE V2X SL resource and an NR V2X SL resource. In actual
applications, different SL resources are used to transmit different V2X services.
Therefore, how a terminal device requests, from an access network device, an SL resource
required for a V2X service is a current problem that needs to be urgently resolved.
SUMMARY
[0008] This application provides a resource request method, a resource allocation method,
an apparatus, and a medium. A first terminal device may indicate, to an access network
device based on RAT service indication information, a RAT corresponding to a V2X service,
and the access network device may configure or schedule, as indicated by the first
terminal device, an SL resource of the corresponding RAT for the first terminal device.
Embodiments of the present invention are defined by the independent claims. Additional
features of embodiments of the invention are presented in the dependent claims. In
the following, parts of the description and drawings referring to former embodiments
which do not necessarily comprise all features to implement embodiments of the claimed
invention are not represented as embodiments of the invention but as examples useful
for understanding the embodiments of the invention. Embodiments of the present application
(or the present disclosure) provide resource request methods, apparatuses, computer-readable
storage mediums, and corresponding computer program product.
[0009] According to a first aspect, an embodiment of this application provides a resource
request method. A first terminal device receives a first frequency information list
and a second frequency information list from an access network device, where the first
frequency information list includes at least one piece of first frequency information,
and the second frequency information list includes at least one piece of second frequency
information. Then, the first terminal device sends resource request information to
the access network device, where the resource request information carries destination
V2X service indication information, the destination V2X service indication information
corresponds to a first RAT and/or corresponds to a second RAT, the first RAT corresponds
to the first frequency information list, and the second RAT corresponds to the second
frequency information list. The first terminal device receives resource indication
information from the access network device, where the resource indication information
is a time-frequency resource that is determined by the access network device based
on the destination V2X service indication information and that is used to indicate
an SL. The first terminal device may send a V2X service to a second terminal device
by using the time-frequency resource.
[0010] In this technical solution, the destination V2X service indication information corresponds
to the first RAT and/or corresponds to the second RAT, the first terminal device may
indicate, to the access network device, a RAT corresponding to the V2X service, and
the access network device may configure or schedule, as indicated by the first terminal
device, an SL resource of the corresponding RAT for the first terminal device.
[0011] In an implementation, before sending the resource request information to the access
network device, the first terminal device may send a second message to the access
network device, where the second message includes second V2X service information,
the second V2X service information includes a first V2X service identifier list, each
entry in the first V2X service identifier list includes one V2X service identifier
and a first frequency indication information list corresponding to the V2X service
identifier, and a destination V2X service identifier indicated by the destination
V2X service indication information is one V2X service identifier in the second V2X
service information.
[0012] In an implementation, the second message alternatively includes third V2X service
information, the third V2X service information includes a third frequency indication
information list, each entry in the third frequency indication information list includes
one piece of second frequency indication information and at least one V2X service
identifier corresponding to the second frequency indication information, a destination
V2X service identifier indicated by the destination V2X service indication information
is one V2X service identifier in second V2X service information or the third V2X service
information.
[0013] In an implementation, before sending the resource request information to the access
network device, the first terminal device may send a second message to the access
network device, where the second message includes fifth V2X service information, the
fifth V2X service information includes a third V2X service identifier list, each entry
in the third V2X service identifier list includes one V2X service identifier and a
first frequency indication information list or a second frequency indication information
list corresponding to the V2X service identifier, and a destination V2X service identifier
indicated by the destination V2X service indication information is one V2X service
identifier in the fifth V2X service information.
[0014] In an implementation, at least two same V2X service identifiers exist in the third
V2X service identifier list.
[0015] In an implementation, before sending the resource request information to the access
network device, the first terminal device may send a second message to the access
network device, where the second message includes sixth V2X service information and
seventh V2X service information, the sixth V2X service information includes a fourth
V2X service identifier list, each entry in the fourth V2X service identifier list
includes one V2X service identifier and a first frequency indication information list
corresponding to the V2X service identifier, the seventh V2X service information includes
a fifth V2X service identifier list, each entry in the fifth V2X service identifier
list includes one V2X service identifier and a second frequency indication information
list corresponding to the V2X service identifier, a destination V2X service identifier
indicated by the destination V2X service indication information is one V2X service
identifier in the sixth V2X service information or the seventh V2X service information.
[0016] In an implementation, before sending the resource request information to the access
network device, the first terminal device may send a second message to the access
network device, where the second message includes ninth V2X service information, the
ninth V2X service information includes a sixth V2X service identifier list, each entry
in the sixth V2X service identifier list includes one V2X service identifier and a
frequency indication information list and second RAT indication information that correspond
to the V2X service identifier, the second RAT indication information is used to indicate
the first RAT or the second RAT, the frequency indication information list is a first
frequency indication information list or a second frequency indication information
list, and a destination V2X service identifier indicated by the destination V2X service
indication information is one V2X service identifier in the ninth V2X service information.
[0017] In an implementation, first frequency indication information is a first frequency
index, and the first frequency index is used to indicate a location of the first frequency
information in the first frequency information list; and the second frequency indication
information is a second frequency index, and the second frequency index is used to
indicate a location of the second frequency information in the second frequency information
list.
[0018] In an implementation, before sending the second message to the access network device,
the first terminal device may obtain first RAT indication information of any V2X service;
determine, based on the first RAT indication information, a RAT corresponding to a
V2X service identifier used to indicate the V2X service, where the RAT includes the
first RAT and/or the second RAT; and generate the second message based on the determined
RAT.
[0019] In an implementation, before sending the second message to the access network device,
the first terminal device may obtain a propagation type of any V2X service; if the
propagation type is multicast or unicast, determine that a RAT corresponding to a
V2X service identifier used to indicate the V2X service is the first RAT; or if the
propagation type is broadcast, obtain first RAT indication information of the V2X
service, and determine, based on the first RAT indication information, a RAT corresponding
to a V2X service identifier used to indicate the V2X service, where the RAT includes
the first RAT and/or the second RAT; and generate the second message based on the
determined RAT. In an implementation, that the first terminal device sends resource
request information to the access network device includes: sending a buffer status
report BSR to the access network device, where the BSR carries destination RAT indication
information, and the destination RAT indication information is used to indicate the
first RAT or the second RAT.
[0020] In an implementation, the destination V2X service indication information includes
the destination V2X service identifier or a destination index, the destination V2X
service identifier corresponds to the first frequency indication information list
and/or the second frequency indication information list, and the destination index
is used to indicate a location of the destination V2X service identifier in first
V2X service information.
[0021] In an implementation, the first V2X service information is the second V2X service
information, fourth V2X service information, the fifth V2X service information, the
sixth V2X service information, eighth V2X service information, or the ninth V2X service
information, where the fourth V2X service information includes the first V2X service
identifier list and a second V2X service identifier list, the second V2X service identifier
list includes all the V2X service identifiers in the second V2X service information
in sequence, and the first V2X service identifier list is located before or after
the second V2X service identifier list; and the eighth V2X service information includes
the fourth V2X service identifier list and the fifth V2X service identifier list,
and the fourth V2X service identifier list is located before or after the fifth V2X
service identifier list.
[0022] According to a second aspect, an embodiment of this application provides a resource
allocation method. An access network device sends a first frequency information list
and a second frequency information list to a first terminal device, where the first
frequency information list includes at least one piece of first frequency information,
and the second frequency information list includes at least one piece of second frequency
information; receives resource request information from the first terminal device,
where the resource request information carries destination V2X service indication
information, the destination V2X service indication information corresponds to a first
RAT and/or corresponds to a second RAT, the first RAT corresponds to the first frequency
information list, and the second RAT corresponds to the second frequency information
list. Then, the access network device generates resource indication information based
on the resource request information, where the resource indication information is
a time-frequency resource that is determined by the access network device based on
the destination V2X service indication information and that is used to indicate a
sidelink SL, the time-frequency resource corresponds to a RAT, and the RAT includes
the first RAT and/or the second RAT; and sends the resource indication information
to the first terminal device.
[0023] In an implementation, before receiving the resource request information from the
first terminal device, the access network device may receive a second message from
the first terminal device, where the second message includes second V2X service information,
the second V2X service information includes a first V2X service identifier list, each
entry in the first V2X service identifier list includes one V2X service identifier
and a first frequency indication information list corresponding to the V2X service
identifier, and a destination V2X service identifier indicated by the destination
V2X service indication information is one V2X service identifier in the second V2X
service information. In an implementation, the second message alternatively includes
third V2X service information, the third V2X service information includes a third
frequency indication information list, each entry in the third frequency indication
information list includes one piece of second frequency indication information and
at least one V2X service identifier corresponding to the second frequency indication
information, a destination V2X service identifier indicated by the destination V2X
service indication information is one V2X service identifier in second V2X service
information or the third V2X service information.
[0024] In an implementation, before receiving the resource request information from the
first terminal device, the access network device may receive a second message from
the first terminal device, where the second message includes fifth V2X service information,
the fifth V2X service information includes a third V2X service identifier list, each
entry in the third V2X service identifier list includes one V2X service identifier
and a first frequency indication information list or a second frequency indication
information list corresponding to the V2X service identifier, and a destination V2X
service identifier indicated by the destination V2X service indication information
is one V2X service identifier in the fifth V2X service information.
[0025] In an implementation, at least two same V2X service identifiers exist in the third
V2X service identifier list.
[0026] In an implementation, before receiving the resource request information from the
first terminal device, the access network device may receive a second message from
the first terminal device, where the second message includes sixth V2X service information
and seventh V2X service information, the sixth V2X service information includes a
fourth V2X service identifier list, each entry in the fourth V2X service identifier
list includes one V2X service identifier and a first frequency indication information
list corresponding to the V2X service identifier, the seventh V2X service information
includes a fifth V2X service identifier list, each entry in the fifth V2X service
identifier list includes one V2X service identifier and a second frequency indication
information list corresponding to the V2X service identifier, a destination V2X service
identifier indicated by the destination V2X service indication information is one
V2X service identifier in the sixth V2X service information or the seventh V2X service
information.
[0027] In an implementation, before receiving the resource request information from the
first terminal device, the access network device may receive a second message from
the first terminal device, where the second message includes ninth V2X service information,
the ninth V2X service information includes a sixth V2X service identifier list, each
entry in the sixth V2X service identifier list includes one V2X service identifier
and a frequency indication information list and second RAT indication information
that correspond to the V2X service identifier, the second RAT indication information
is used to indicate the first RAT or the second RAT, the frequency indication information
list is a first frequency indication information list or a second frequency indication
information list, and a destination V2X service identifier indicated by the destination
V2X service indication information is one V2X service identifier in the ninth V2X
service information.
[0028] In an implementation, first frequency indication information is a first frequency
index, and the first frequency index is used to indicate a location of the first frequency
information in the first frequency information list; the second frequency indication
information is a second frequency index, and the second frequency index is used to
indicate a location of the second frequency information in the second frequency information
list; and the first frequency information list corresponds to the first RAT, and the
second frequency information list corresponds to the second RAT.
[0029] In an implementation, that the access network device receives resource request information
from the first terminal device includes: receiving a buffer status report BSR from
the first terminal device, where the BSR carries destination RAT indication information,
and the destination RAT indication information is used to indicate the first RAT or
the second RAT.
[0030] In an implementation, the destination V2X service indication information includes
the destination V2X service identifier or a destination index, the destination V2X
service identifier corresponds to the first frequency indication information list
and/or the second frequency indication information list, and the destination index
is used to indicate a location of the destination V2X service identifier in first
V2X service information.
[0031] In an implementation, the first V2X service information is the second V2X service
information, fourth V2X service information, the fifth V2X service information, the
sixth V2X service information, eighth V2X service information, or the ninth V2X service
information, where the fourth V2X service information includes the first V2X service
identifier list and a second V2X service identifier list, the second V2X service identifier
list includes all the V2X service identifiers in the second V2X service information
in sequence, and the first V2X service identifier list is located before or after
the second V2X service identifier list; and the eighth V2X service information includes
the fourth V2X service identifier list and the fifth V2X service identifier list,
and the fourth V2X service identifier list is located before or after the fifth V2X
service identifier list.
[0032] In an implementation, that the access network device generates resource indication
information based on the resource request information includes: determining, based
on the destination V2X service indication information, a RAT and frequency information
that are used to transmit a V2X service; and generating the resource indication information
based on the RAT and the frequency information.
[0033] According to a third aspect, an embodiment of this application provides a communication
apparatus, where the communication apparatus includes a unit configured to implement
the resource request method according to the first aspect.
[0034] According to a fourth aspect, an embodiment of this application provides a communication
apparatus, where the communication apparatus includes a unit configured to implement
the resource allocation method according to the second aspect.
[0035] According to a fifth aspect, an embodiment of this application provides a communication
apparatus, including a processor and a memory, where the memory stores program instructions
of the apparatus, and the processor is configured to run the program instructions
in the memory, so that the apparatus performs the resource request method according
to the first aspect.
[0036] According to a sixth aspect, an embodiment of this application provides a communication
apparatus, including a processor and a memory, where the memory stores program instructions
of the apparatus, and the processor is configured to run the program instructions
in the memory, so that the apparatus performs the resource allocation method according
to the second aspect.
[0037] According to a seventh aspect, an embodiment of this application provides a computer
storage medium, where the computer storage medium stores a computer program or instructions;
and when the program is executed or the instructions are executed by a processor,
the processor is enabled to perform the resource request method according to the first
aspect.
[0038] According to an eighth aspect, an embodiment of this application provides a computer
storage medium, where the computer storage medium stores a computer program or instructions;
and when the program is executed or the instructions are executed by a processor,
the processor is enabled to perform the resource allocation method according to the
second aspect.
[0039] According to a ninth aspect, an embodiment of this application provides a terminal
device. The terminal device includes a processor, a memory, a transmitter, and a receiver.
The memory stores program code, and the processor invokes the program code stored
in the memory to perform the following operations:
receiving a first frequency information list and a second frequency information list
from an access network device, where the first frequency information list includes
at least one piece of first frequency information, and the second frequency information
list includes at least one piece of second frequency information;
sending resource request information to the access network device, where the resource
request information carries destination V2X service indication information, the destination
V2X service indication information corresponds to a first RAT and/or corresponds to
a second RAT, the first RAT corresponds to the first frequency information list, and
the second RAT corresponds to the second frequency information list;
receiving resource indication information from the access network device, where the
resource indication information is a time-frequency resource that is determined by
the access network device based on the destination V2X service indication information
and that is used to indicate a sidelink SL; and
sending a V2X service to a second terminal device by using the time-frequency resource.
[0040] According to a tenth aspect, an embodiment of this application provides an access
network device. The access network device includes a processor, a memory, a transmitter,
and a receiver. The memory stores program code, and the processor invokes the program
code stored in the memory to perform the following operations:
sending a first frequency information list and a second frequency information list
to a first terminal device, where the first frequency information list includes at
least one piece of first frequency information, and the second frequency information
list includes at least one piece of second frequency information;
receiving resource request information from the first terminal device, where the resource
request information carries destination V2X service indication information, the destination
V2X service indication information corresponds to a first RAT and/or corresponds to
a second RAT, the first RAT corresponds to the first frequency information list, and
the second RAT corresponds to the second frequency information list;
generating resource indication information based on the resource request information,
where the resource indication information is a time-frequency resource that is determined
by the access network device based on the destination V2X service indication information
and that is used to indicate a sidelink SL, the time-frequency resource corresponds
to a RAT, and the RAT includes the first RAT and/or the second RAT; and
sending the resource indication information to the first terminal device.
[0041] According to an eleventh aspect, an embodiment of this application provides a chip
system. The chip system includes a processor and an interface circuit, and the interface
circuit is coupled to the processor.
[0042] The processor is configured to execute a computer program or instructions, to implement
the method according to the first aspect.
[0043] The interface circuit is configured to communicate with another module outside the
chip system.
[0044] According to a twelfth aspect, an embodiment of this application provides a chip
system. The chip system includes a processor and an interface circuit, and the interface
circuit is coupled to the processor.
[0045] The processor is configured to execute a computer program or instructions, to implement
the method according to the second aspect.
[0046] The interface circuit is configured to communicate with another module outside the
chip system.
BRIEF DESCRIPTION OF DRAWINGS
[0047] To describe the technical solutions in embodiments of this application or in the
background more clearly, the following briefly describes the accompanying drawings
for describing the embodiments of this application or the background.
FIG. 1 is a schematic diagram of a structure of a communication system according to
an embodiment of this application;
FIG. 2 is a schematic flowchart of a resource allocation method according to an embodiment
of this application;
FIG. 3 is another schematic flowchart of a resource allocation method according to
an embodiment of this application;
FIG. 4 is another schematic flowchart of a resource allocation method according to
an embodiment of this application;
FIG. 5 is another schematic flowchart of a resource allocation method according to
an embodiment of this application;
FIG. 6 is another schematic flowchart of a resource allocation method according to
an embodiment of this application;
FIG. 7 is another schematic flowchart of a resource allocation method according to
an embodiment of this application;
FIG. 8 is another schematic flowchart of a resource allocation method according to
an embodiment of this application;
FIG. 9 is another schematic flowchart of a resource allocation method according to
an embodiment of this application;
FIG. 10 is a schematic diagram of a structure of a communication apparatus according
to an embodiment of this application;
FIG. 11 is a schematic diagram of a structure of a terminal device according to an
embodiment of this application;
FIG. 12 is another schematic diagram of a structure of a communication apparatus according
to an embodiment of this application; and
FIG. 13 is a schematic diagram of a structure of an access network device according
to an embodiment of this application.
DESCRIPTION OF EMBODIMENTS
[0048] The following describes the embodiments of this application with reference to the
accompanying drawings in the embodiments of this application.
[0049] To better understand a resource request method, a resource allocation method, an
apparatus, and a medium that are disclosed in the embodiments of this application,
the following first describes a communication system in the embodiments of this application.
FIG. 1 is a schematic diagram of a structure of a communication system according to
an embodiment of this application. The communication system may include at least one
first terminal device 101, at least one second terminal device 102, and an access
network device 103. The first terminal device 101 separately sets up a communication
connection to the access network device 103 and the second terminal device 102.
[0050] In long term evolution LTE V2X, only an LTE V2X SL resource is used to transmit a
V2X service. After NR V2X is introduced, resources used to transmit a V2X service
may include an LTE V2X SL resource and an NR V2X SL resource. In actual applications,
different SL resources are used to transmit different V2X services. For example, some
V2X services are transmitted only by using LTE V2X SL resources, some V2X services
are transmitted only by using NR V2X SL resources, some V2X services can be transmitted
by using LTE V2X SL resources or NR V2X SL resources, and some V2X services can be
transmitted by using both LTE V2X SL resources and NR V2X SL resources. Therefore,
how the first terminal device 101 requests, from the access network device 103, an
SL resource required for a V2X service is a problem that needs to be urgently resolved
currently.
[0051] In this embodiment of this application, the access network device 103 sends a first
frequency information list and a second frequency information list to the first terminal
device 101. When requesting the resource used to transmit the V2X service, the first
terminal device 101 may determine a radio access technology (Radio Access Technology,
RAT) of a V2X SL corresponding to the V2X service, and further send resource request
information to the access network device 103. The resource request information carries
destination V2X service indication information, the destination V2X service indication
information corresponds to a first RAT and/or corresponds to a second RAT, the first
RAT corresponds to the first frequency information list, and the second RAT corresponds
to the second frequency information list. The access network device 103 generates
resource indication information based on the destination V2X service indication information,
and sends the resource indication information to the first terminal device 101. Then,
the first terminal device 101 may send the V2X service to the second terminal device
102 by using a time-frequency resource that is on the SL and that is indicated by
the resource indication information. In this embodiment of this application, the first
terminal device 101 sends the resource request information to the access network device
103, and the access network device 103 may determine, based on the destination V2X
service indication information carried in the resource request information, that the
resource requested by the first terminal device 101 is an NR V2X SL resource, an LTE
V2X SL resource, or an NR V2X SL resource and an LTE V2X SL resource.
[0052] The technical solutions in the embodiments of the present invention may be applied
to various communication systems, for example, a global system for mobile communications
(Global System for Mobile Communications, GSM) system, a code division multiple access
(Code Division Multiple Access, CDMA) system, a wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA) system, a general packet radio service
(General Packet Radio Service, GPRS) system, a universal mobile telecommunications
system (Universal Mobile Telecommunications System, UMTS), a worldwide interoperability
for microwave access (Worldwide Interoperability for Microwave Access, WiMAX) communication
system, a fifth generation (5th Generation, 5G) communication system, a 5G new radio
(New Radio, NR) communication system, NR, an ultra-reliable low-latency communication
(Ultra-Reliable Low-Latency Communication, URLLC) system, a narrowband internet of
things (NarrowBand Internet of Things, NB-IoT), an enhanced machine type communication
(enhanced Machine Type Communication, eMTC) system, and the like.
[0053] In the embodiments of the present invention, the access network device corresponds
to the first RAT. The access network device may be specifically any one of an access
point (Access Point, AP) in a wireless local area network (Wireless Local Area Network,
WLAN), a base transceiver station (Base Transceiver Station, BTS) in a global system
for mobile communications (Global System for Mobile Communications, GSM) or code division
multiple access (Code Division Multiple Access, CDMA), a NodeB (NodeB, NB) in wideband
code division multiple access (Wideband Code Division Multiple Access, WCDMA), an
evolved NodeB (evolved NodeB, eNB), a relay station or an access point, a vehicle-mounted
device, or a wearable device in an LTE system, an access network device in a 5G network,
an access network device in a future evolved public land mobile network (Public Land
Mobile Network, PLMN), and the like.
[0054] The first terminal device or the second terminal device may also be referred to as
user equipment (User Equipment, UE), a mobile station, an access terminal, a subscriber
unit, a subscriber station, a remote station, a remote terminal, a mobile device,
a terminal, a wireless communication device, a user agent, a user apparatus, or the
like. The first terminal device or the second terminal device may be specifically
any one of a station (Station, ST) in a WLAN, a cellular phone, a cordless phone,
a session initiation protocol (Session Initiation Protocol, SIP) phone, a wireless
local loop (Wireless Local Loop, WLL) station, a personal digital assistant (Personal
Digital Assistant, PDA), a handheld device having a wireless communication function,
a computing device, another processing device connected to a wireless modem, a vehicle-mounted
device, a wearable device, a mobile station in a future 5G network, a terminal device
in a future evolved PLMN, and the like.
[0055] The first frequency information list may include at least one piece of first frequency
information, and the first frequency information list corresponds to the first RAT,
that is, the first frequency information included in the first frequency information
list corresponds to the first RAT. For example, the first RAT may be NR, the first
frequency information list may be an NR sidelink frequency information list, and the
first frequency information may be NR sidelink frequency information and is used to
indicate, to the first terminal device, an NR sidelink frequency supported by a current
cell. The second frequency information list may include at least one piece of second
frequency information, and the second frequency information list corresponds to the
second RAT, that is, the second frequency information included in the second frequency
information list corresponds to the second RAT. For example, the second RAT may be
LTE, the second frequency information list may be an LTE sidelink frequency information
list, and the second frequency information may be LTE sidelink frequency information
and is used to indicate, to the first terminal device, an LTE sidelink frequency supported
by a current cell. The frequency information in the embodiments of this application
may be an absolute radio channel number (Absolute Radio Frequency Channel Number,
ARFCN) value, and an ARFCN value correspond one-to-one to a frequency. Frequencies
corresponding to the first frequency information and the second frequency information
may be the same or different.
[0056] In this embodiment of this application, before transmitting the V2X service to the
second terminal device, the first terminal device may send the resource request information
to the access network device, to request the resource required for transmitting the
V2X service. The resource request information may carry the destination V2X service
indication information, and the destination V2X service indication information may
include a destination V2X service identifier (for example, a destination ID) or a
destination index.
[0057] The destination V2X service identifier corresponds to first frequency indication
information and/or second frequency indication information, the first frequency indication
information corresponds to the first RAT, and the second frequency indication information
corresponds to the second RAT. A V2X layer of the first terminal device may determine
the destination V2X service identifier corresponding to the V2X service, and a service
type may be represented by using a V2X service identifier.
[0058] The destination index is used to indicate a location of the destination V2X service
identifier in first V2X service information, and each entry in the first V2X service
information includes one V2X service identifier and at least one piece of frequency
indication information corresponding to the V2X service identifier. For example, if
the destination index is M, it indicates that the destination V2X service identifier
is an M
th entry in the first V2X service information, that is, the destination V2X service
identifier is an M
th V2X service identifier in the first V2X service information, where M is a positive
integer. Alternatively, if the destination index is M, it indicates that the destination
V2X service identifier is an (M+1)
th entry in the first V2X service information, that is, the destination V2X service
identifier is an (M+1)
th V2X service identifier in the first V2X service information, where M is a positive
integer.
[0059] The first frequency indication information may be a first frequency index or ARFCN
value. The first frequency index is used to indicate a location of the first frequency
information in the first frequency information list. For example, if the first frequency
index is N
1, it indicates that the first frequency information is an N
1th entry in the first frequency information list, that is, the first frequency information
is an N
1th piece of frequency information in the first frequency information list, where N
1 is a positive integer. For another example, if the first frequency index is N
1, it indicates that the first frequency information is an (N
1+1)
th entry in the first frequency information list, that is, the first frequency information
is an (N
1+1)
th piece of frequency information in the first frequency information list, where N
1 is a positive integer.
[0060] The second frequency indication information may be a second frequency index or ARFCN
value. The second frequency index is used to indicate a location of the second frequency
information in the second frequency information list. For example, if the second frequency
index is N
2, it indicates that the second frequency information is an N
2th entry in the second frequency information list, that is, the second frequency information
is an N
2th piece of frequency information in the second frequency information list, where N
2 is a positive integer. For another example, if the second frequency index is N
2, it indicates that the second frequency information is an (N
2+1)
th entry in the second frequency information list, that is, the second frequency information
is an (N
2+1)
th piece of frequency information in the second frequency information list, where N
2 is a positive integer.
[0061] The first frequency indication information list may include at least one piece of
first frequency indication information. The second frequency indication information
list may include at least one piece of second frequency indication information.
[0062] In an implementation, for a solution in which the first frequency indication information
is the first frequency index and the second frequency indication information is the
second frequency index, before receiving the resource request information from the
first terminal device, the access network device may send the first frequency information
list and the second frequency information list to the first terminal device. For example,
the access network device may broadcast the first frequency information list and the
second frequency information list when broadcasting a cell system message. For example,
the first frequency information list and the second frequency information list that
are broadcast by the access network device may be transmitted in one system information
block (system information block, SIB). For another example, the first frequency information
list may be transmitted in a first SIB, and the second frequency information list
may be transmitted in a second SIB. The first SIB is used to indicate NR V2X related
information, and the second SIB is used to indicate LTE V2X related information.
[0063] In an implementation, the first terminal device may send the resource request information
to the access network device in the following two manners:
- 1. The first terminal device sends a first message to the access network device, where
the first message carries the destination V2X service identifier and a service model
corresponding to the destination V2X service identifier. The first message is used
to request a V2X SL resource from the access network device. For example, the first
message may be a UE assistance information (UE Assistance Information, UAI) message.
An example in which the first message is the UAI message is used for description below.
The first terminal device may report the service model to the access network device,
and request the access network device to generate a semi-persistent scheduling (Semi-persistent
scheduling, SPS) configuration or a configured grant (configured grant, CG) resource
for the first terminal device. The configured grant resource may also be referred
to as a configured grant. Both the SPS configuration and the CG may be understood
as SL grant resources provided by the access network device for the first terminal
device by using radio resource control (Radio Resource Control, RRC) signaling. The
first terminal device may transmit SL data by using the SL grant resource. The SL
grant resource is a periodic SL grant resource, and a periodicity is configured by
the access network device for the first terminal device. For example, if the first
terminal device requests an NR V2X SL resource, the access network device may generate
the CG resource for the first terminal device. If the first terminal device requests
an LTE V2X SL resource, the access network device may generate the SPS configuration
for the first terminal device.
- 2. The first terminal device sends a buffer status report (Buffer Status Report, BSR)
to the access network device, where the BSR carries the destination index and a buffer
size corresponding to the destination index. In addition to performing SL communication
in the foregoing manner of requesting the configured grant resource, the first terminal
device may further request dynamic scheduling in a manner of reporting the BSR, to
obtain an SL resource. Specifically, when the V2X service corresponding to the destination
V2X service identifier needs to be transmitted, the first terminal device may report
the BSR to the access network device, where the BSR carries the destination index.
In an implementation, before sending the resource request information to the access
network device, the first terminal device may send a second message to the access
network device. The second message is used to report V2X service related information
to the access network device. For example, the second message may be a sidelink user
equipment information (Sidelink UE Information, SUI) message. An example in which
the second message is the SUI message is used for description below.
[0064] In an implementation, the V2X layer of the first terminal device may determine, in
the following two manners, a RAT of a V2X SL corresponding to a V2X service that the
first terminal device is interested in:
- 1. The V2X layer of the first terminal device obtains first RAT indication information
of the V2X service, and determines, based on the first RAT indication information,
the RAT corresponding to a V2X service identifier used to indicate the V2X service,
where the RAT includes the first RAT and/or the second RAT.
- 2. The V2X layer of the first terminal device obtains a propagation type of the V2X
service. If the propagation type is multicast or unicast, the V2X layer of the first
terminal device determines that the RAT corresponding to a V2X service identifier
used to indicate the V2X service is the first RAT. If the propagation type is broadcast,
the V2X layer of the first terminal device may obtain first RAT indication information
of the V2X service from the first terminal device, and determine, based on the first
RAT indication information, the RAT corresponding to a V2X service identifier used
to indicate the V2X service, where the RAT includes the first RAT and/or the second
RAT.
[0065] When the propagation type is broadcast, the destination ID may be used to identify
the V2X service or a type of the V2X service. When the propagation type is unicast,
the destination ID may be an identifier allocated by the first terminal device to
a unicast connection, and may be used to identify the first terminal device. When
the propagation type is multicast, the destination ID may be used to identify a group.
[0066] In an implementation, the destination V2X service identifier may be determined by
the V2X layer of the first terminal device. If the RAT corresponding to the destination
V2X service identifier in the second message includes the first RAT and the second
RAT, and the first terminal device requests an NR V2X SL resource or an LTE V2X SL
resource from the access network device, the resource request information sent by
the first terminal device to the access network device may further carry destination
RAT indication information. In other words, if the RAT corresponding to the destination
V2X service identifier in the second message includes the first RAT and the second
RAT, the first terminal device may determine that the V2X service corresponding to
the destination V2X service identifier is stored at an access stratum (Access Stratum,
AS) corresponding to the first RAT and/or an AS corresponding to the second RAT. If
the V2X service corresponding to the destination V2X service identifier is stored
at the AS corresponding to the first RAT, the first terminal device requests an NR
V2X SL resource, and the first terminal device may generate destination RAT indication
information used to indicate the first RAT. If the V2X service corresponding to the
destination V2X service identifier is stored at the AS corresponding to the second
RAT, the first terminal device requests an LTE V2X SL resource, and the first terminal
device may generate destination RAT indication information used to indicate the second
RAT. If the V2X service corresponding to the destination V2X service identifier is
stored at the AS corresponding to the first RAT and the AS corresponding to the second
RAT, the first terminal device requests an LTE V2X SL resource and an NR V2X SL resource,
and the first terminal device does not need to generate the destination RAT indication
information.
[0067] Based on the communication system shown in FIG. 1, FIG. 2 is a resource allocation
method according to an embodiment of this application. The method includes but is
not limited to the following steps.
[0068] Step S201: The first terminal device sends an SUI message to the access network device,
where the SUI message includes second V2X service information, the second V2X service
information includes a first V2X service identifier list, and each entry in the first
V2X service identifier list includes one V2X service identifier and a first frequency
indication information list corresponding to the V2X service identifier.
[0069] In this embodiment of this application, the access network device is an NR gNB.
[0070] Optionally, in this embodiment of this application, the SUI message may include two
parts, for example, a first part and a second part. The first part includes the second
V2X service information, and the second V2X service information includes a destination
ID of a RAT being NR. The second part is a container (container), and a specific information
element format may be an OCTET STRING. The container includes a frequency indication
information list, and each entry in the frequency indication information list includes
one piece of frequency indication information and a destination ID list corresponding
to the frequency indication information.
[0071] In a specific implementation, the V2X layer of the first terminal device may obtain
at least one V2X service identifier that the first terminal device is interested in,
and then determine a RAT of a V2X SL corresponding to each V2X service identifier.
If the RAT of the V2X SL corresponding to each V2X service identifier is a first RAT,
the V2X layer of the first terminal device may obtain, based on at least one piece
of first frequency information corresponding to any V2X service identifier, a first
frequency indication information list corresponding to the V2X service identifier.
The V2X layer of the first terminal device may generate the second V2X service information
based on the at least one V2X service identifier and the first frequency indication
information list corresponding to each V2X service identifier. The V2X layer of the
first terminal device may generate the SUI message including the second V2X service
information, where the second V2X service information is located in the first part
of the SUI message, and the first terminal device sends the SUI message to the access
network device.
Table 1: Second V2X service information
First V2X service identifier list |
Destination ID 1 |
First frequency indication information list 1 |
Destination ID 2 |
First frequency indication information list 2 |
[0072] The second V2X service information shown in Table 1 is used as an example. A destination
ID is used to represent a V2X service identifier, and V2X service identifiers that
the first terminal device is interested in include the destination ID 1 and the destination
ID 2. The V2X layer of the first terminal device determines that a RAT of a V2X SL
corresponding to the destination ID 1 is the first RAT. The first frequency indication
information list 1 includes at least one piece of first frequency indication information
corresponding to the destination ID 1, and the first frequency indication information
list 1 corresponds to the destination ID 1. The V2X layer of the first terminal device
determines that a RAT of a V2X SL corresponding to the destination ID 2 is the first
RAT. The first frequency indication information list 2 includes at least one piece
of first frequency indication information corresponding to the destination ID 2, and
the first frequency indication information list 2 corresponds to the destination ID
2.
[0073] In an implementation, the first terminal device may send an SUI message to the access
network device, where the SUI message includes second V2X service information and
third V2X service information. The second V2X service information includes a first
V2X service identifier list, and each entry in the first V2X service identifier list
includes one V2X service identifier and a first frequency indication information list
corresponding to the V2X service identifier. The third V2X service information includes
a third frequency indication information list, and each entry in the third frequency
indication information list includes one piece of second frequency indication information
and at least one V2X service identifier corresponding to the second frequency indication
information.
[0074] In a specific implementation, the V2X layer of the first terminal device may obtain
at least one V2X service identifier that the first terminal device is interested in,
and then determine a RAT of a V2X SL corresponding to each V2X service identifier.
If a RAT of a V2X SL corresponding to a V2X service identifier is a first RAT, the
V2X layer of the first terminal device may obtain, based on at least one piece of
first frequency information corresponding to the V2X service identifier, a first frequency
indication information list corresponding to the V2X service identifier. The V2X layer
of the first terminal device may generate the second V2X service information based
on the at least one V2X service identifier and the first frequency indication information
list corresponding to each V2X service identifier. If a RAT of a V2X SL corresponding
to another V2X service identifier is a second RAT, the V2X layer of the first terminal
device may obtain at least one piece of second frequency information that the first
terminal device is interested in, where each piece of second frequency information
corresponds to at least one V2X service identifier. Then, the V2X layer of the first
terminal device may obtain second frequency indication information used to indicate
each piece of second frequency information, and obtain at least one V2X service identifier
corresponding to each piece of second frequency indication information, where the
at least one V2X service identifier corresponding to the second frequency indication
information is the at least one V2X service identifier corresponding to the second
frequency information indicated by the second frequency indication information. The
V2X layer of the first terminal device may generate the third V2X service information
based on at least one piece of second frequency indication information and at least
one V2X service identifier corresponding to each piece of second frequency indication
information. Then, the V2X layer of the first terminal device may generate the SUI
message including the second V2X service information and the third V2X service information,
where the second V2X service information is located in a first part of the SUI message,
and the third V2X service information is located in a second part of the SUI message.
The first terminal device may send the SUI message to the access network device.
Table 2: Third V2X service information
Third frequency indication information list |
Second frequency indication information 1 |
Destination ID list 1 |
Second frequency indication information 2 |
Destination ID list 2 |
[0075] The third V2X service information shown in Table 2 is used as an example. A destination
ID is used to represent a V2X service identifier, frequency information that the first
terminal device is interested in is second frequency information 1 and second frequency
information 2, the second frequency information 1 corresponds to at least one destination
ID, and the second frequency information 2 corresponds to at least one destination
ID. Frequency indication information used to indicate the second frequency information
1 is the second frequency indication information 1, and frequency indication information
used to indicate the second frequency information 2 is the second frequency indication
information 2. The destination ID list 1 includes the at least one destination ID
corresponding to the second frequency information 1, and the second frequency indication
information 1 corresponds to the destination ID list 1. The destination ID list 2
includes the at least one destination ID corresponding to the second frequency information
2, and the second frequency indication information 2 corresponds to the destination
ID list 2.
[0076] For example, if RATs of V2X SLs corresponding to a V2X service identifier that the
first terminal device is interested in are the first RAT and the second RAT, the V2X
service identifier may exist in both the second V2X service information and the third
V2X service information; in other words, the V2X service identifier may exist in both
the first part and the second part of the SUI message.
[0077] In an implementation, the first terminal device may send an SUI message to the access
network device, where the SUI message includes third V2X service information.
[0078] In a specific implementation, the V2X layer of the first terminal device may obtain
at least one V2X service identifier that the first terminal device is interested in,
and then determine a RAT of a V2X SL corresponding to each V2X service identifier.
If a RAT of a V2X SL corresponding to each V2X service identifier is a second RAT,
the V2X layer of the first terminal device may obtain at least one piece of second
frequency information that the first terminal device is interested in, where each
piece of second frequency information corresponds to at least one V2X service identifier.
Then, the V2X layer of the first terminal device may obtain second frequency indication
information used to indicate each piece of second frequency information, and obtain
at least one V2X service identifier corresponding to each piece of second frequency
indication information, where the at least one V2X service identifier corresponding
to the second frequency indication information is the at least one V2X service identifier
corresponding to the second frequency information indicated by the second frequency
indication information. The V2X layer of the first terminal device may generate the
third V2X service information based on at least one piece of second frequency indication
information and at least one V2X service identifier corresponding to each piece of
second frequency indication information. Then, the V2X layer of the first terminal
device may generate the SUI message including the third V2X service information, where
the third V2X service information is located in a second part of the SUI message.
Then, the first terminal device may send the SUI message to the access network device.
[0079] Step S202: The first terminal device sends a UAI message to the access network device,
where the UAI message carries a destination V2X service identifier and a service model
corresponding to the destination V2X service identifier. In this embodiment of this
application, before sending a V2X service to the second terminal device, the first
terminal device may obtain a destination V2X service identifier corresponding to the
V2X service, and generate a UAI message including the destination V2X service identifier
and a service model corresponding to the destination V2X service identifier. Then,
the first terminal device sends the UAI message to the access network device. For
example, the UAI message may include two parts: a first part and a second part. The
first part is information used to request an NR V2X SL resource. The information may
include a V2X service identifier and a service model corresponding to the V2X service
identifier, and the information may further include a quality of service (Quality
of Service, QoS) parameter corresponding to the V2X service identifier. The second
part is a container, and a specific information element format may be an OCTET STRING.
The second part is information used to request an LTE V2X SL resource. The information
may include a V2X service identifier and a service model corresponding to the V2X
service identifier, and the information may further include a QoS parameter corresponding
to the V2X service identifier.
[0080] In an implementation, if the first terminal device requests the NR V2X SL resource,
the destination V2X service identifier and the service model corresponding to the
destination V2X service identifier may be located in the first part of the UAI message,
and the first part may further include a QoS parameter corresponding to the destination
V2X service identifier.
[0081] In an implementation, if the first terminal device requests the LTE V2X SL resource,
the destination V2X service identifier and the service model corresponding to the
destination V2X service identifier may be located in the second part of the UAI message,
and the second part may further include a QoS parameter corresponding to the destination
V2X service identifier.
[0082] In an implementation, if the first terminal device requests the NR V2X SL resource
and the LTE V2X SL resource, the destination V2X service identifier and the service
model corresponding to the destination V2X service identifier may be located in the
first part of the UAI message, and the first part may further include a QoS parameter
corresponding to the destination V2X service identifier. In addition, the destination
V2X service identifier and the service model corresponding to the destination V2X
service identifier are also located in the second part of the UAI message, and the
second part may further include the QoS parameter corresponding to the destination
V2X service identifier. That is, for a destination V2X service identifier whose corresponding
RATs are the first RAT and the second RAT, the first terminal device always includes
the destination V2X service identifier in content of the two parts of the UAI message.
Optionally, the first terminal device may alternatively determine whether the destination
V2X service identifier needs to be included in the two parts. It should be noted that
the QoS parameter corresponding to the destination V2X service identifier in the first
part and the QoS parameter corresponding to the destination V2X service identifier
in the second part may be in a same form or may be in different forms.
[0083] In this embodiment, only an example in which the access network device is an NR access
network device is used for description. Therefore, during reporting, the first terminal
device reports LTE V2X related information in a form of a container. If the access
network device is an LTE access network device, the first terminal device reports
NR V2X related information in a form of a container, that is, the first terminal device
reports inter-RAT (inter-RAT) V2X related information to the access network device
in a form of a container. Inter-RAT means that a RAT used by the first terminal device
for V2X communication is different from a RAT of an air interface of the access network
device. Step S203: The access network device generates resource indication information
based on the destination V2X service identifier and the service model corresponding
to the destination V2X service identifier, where the resource indication information
is a time-frequency resource used to indicate an SL, the time-frequency resource corresponds
to a RAT, and the RAT includes the first RAT and/or the second RAT.
[0084] After receiving the UAI message, the access network device may determine that the
destination V2X service identifier is included in the first part and/or the second
part of the UAI message. If the destination V2X service identifier is included in
the first part of the UAI message, the access network device may determine that the
first terminal device requests the NR V2X SL resource, then search the second V2X
service information for at least one piece of first frequency indication information
corresponding to the destination V2X service identifier, and determine a time-frequency
resource based on the at least one piece of first frequency indication information
and the service model that correspond to the destination V2X service identifier. Then,
the first access network device may generate the resource indication information based
on the time-frequency resource used to indicate an NR V2X SL.
[0085] If the destination V2X service identifier is included in the second part of the UAI
message, the access network device may determine that the first terminal device requests
the LTE V2X SL resource, then search the third V2X service information for at least
one piece of second frequency indication information corresponding to the destination
V2X service identifier, and determine a time-frequency resource based on the at least
one piece of second frequency indication information and the service model that correspond
to the destination V2X service identifier. Then, the first access network device may
generate the resource indication information based on the time-frequency resource
used to indicate an LTE V2X SL.
[0086] If the destination V2X service identifier is included in the first part and the second
part of the UAI message, the access network device may determine that the first terminal
device requests the NR V2X SL resource and the LTE V2X SL resource, then search the
second V2X service information for at least one piece of first frequency indication
information corresponding to the destination V2X service identifier and search the
third V2X service information for at least one piece of second frequency indication
information corresponding to the destination V2X service identifier, and determine
time-frequency resources based on the at least one piece of first frequency indication
information, the at least one piece of second frequency indication information, and
the service model that correspond to the destination V2X service identifier. Then,
the access network device may generate the resource indication information based on
the time-frequency resource used to indicate an NR V2X SL and the time-frequency resource
used to indicate an LTE V2X SL.
[0087] Step S204: The access network device sends the resource indication information to
the first terminal device.
[0088] Step S205: The first terminal device sends the V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0089] In the method described in FIG. 2, the first terminal device implicitly indicates,
to the access network device, the RAT corresponding to the destination V2X service
identifier, and the access network device may configure or schedule, based on the
RAT indication that corresponds to the destination V2X service identifier and that
is reported by the first terminal device, the SL resource of the corresponding RAT
for the first terminal device.
[0090] Based on the communication system shown in FIG. 1, FIG. 3 is another resource allocation
method according to an embodiment of this application. The method includes but is
not limited to the following steps.
[0091] Step S301: The first terminal device sends an SUI message to the access network device,
where the SUI message includes second V2X service information, the second V2X service
information includes a first V2X service identifier list, and each entry in the first
V2X service identifier list includes one V2X service identifier and a first frequency
indication information list corresponding to the V2X service identifier.
[0092] For step S301 in this embodiment of this application, refer to the specific description
of step S201 in the foregoing embodiment. Details are not described again in this
embodiment of this application.
[0093] Step S302: The first terminal device sends a BSR to the access network device, where
the BSR carries a destination index and a buffer size corresponding to the destination
index.
[0094] In this embodiment of this application, before sending a V2X service to the second
terminal device, the first terminal device may obtain a destination index corresponding
to the V2X service, and generate a BSR including the destination index and a buffer
size corresponding to the destination index. Then, the first terminal device sends
the BSR to the access network device.
[0095] In an implementation, if the access network device does not support inter-RAT SL
flexible scheduling, that is, the access network device can schedule only an NR V2X
SL resource by using downlink control information (Downlink Control Information, DCI),
first V2X service information may be the second V2X service information, to be specific,
the destination index carried in the BSR is used to indicate a location of a destination
V2X service identifier in the second V2X service information, that is, the destination
V2X service identifier may be located in a first part of the SUI message.
[0096] In an implementation, if the access network device supports inter-RAT SL flexible
scheduling, that is, the access network device can schedule an NR V2X SL resource
and an LTE V2X SL resource by using DCI, first V2X service information may be fourth
V2X service information, to be specific, the destination index carried in the BSR
is used to indicate a location of a destination V2X service identifier in the fourth
V2X service information, where the fourth V2X service information includes the first
V2X service identifier list and a second V2X service identifier list, the second V2X
service identifier list includes all the V2X service identifiers in the second V2X
service information in sequence, and the first V2X service identifier list is located
before or after the second V2X service identifier list.
Table 3: Fourth V2X service information
First V2X service identifier list |
Destination ID 1 |
First frequency indication information list 1 |
Destination ID 2 |
First frequency indication information list 2 |
Second V2X service identifier list |
Destination ID 1 |
Second frequency indication information list 1 |
Destination ID 3 |
Second frequency indication information list 2 |
Destination ID 4 |
Second frequency indication information list 3 |
[0097] The fourth V2X service information shown in Table 3 is used as an example. A destination
ID is used to represent a V2X service identifier, the first V2X service identifier
list is located before the second V2X service identifier list, and the first V2X service
identifier list is the first V2X service identifier list included in the second V2X
service information. It is assumed that the third frequency indication information
list shown in Table 2 includes the second frequency indication information 1 and the
second frequency indication information 2, the second frequency indication information
1 corresponds to the destination ID list 1, and the second frequency indication information
2 corresponds to the destination ID list 2. The destination ID list 1 includes the
destination ID 1, the destination ID 3, and the destination ID 4, and the destination
ID list 2 includes the destination ID 4. For example, the first entry in the second
V2X service identifier list shown in Table 3 may include the destination ID 1 and
the second frequency indication information list 1 corresponding to the destination
ID 1, and the second frequency indication information list 1 includes the second frequency
indication information 1. The second entry in the second V2X service identifier list
may include the destination ID 3 and the second frequency indication information list
2 corresponding to the destination ID 3, and the second frequency indication information
list 2 includes the second frequency indication information 1. The third entry in
the second V2X service identifier list may include the destination ID 4 and the second
frequency indication information list 3 corresponding to the destination ID 4, and
the second frequency indication information list 3 includes the second frequency indication
information 1 and the second frequency indication information 2.
Table 4: Fourth V2X service information
First V2X service identifier list |
Destination ID 1 |
First frequency indication information list 1 |
Destination ID 2 |
First frequency indication information list 2 |
Second V2X service identifier list |
Destination ID 1 |
Second frequency indication information 1 |
Destination ID 3 |
Second frequency indication information 1 |
Destination ID 4 |
Second frequency indication information 1 |
Destination ID 4 |
Second frequency indication information 2 |
[0098] The fourth V2X service information shown in Table 4 is used as an example. A destination
ID is used to represent a V2X service identifier, the first V2X service identifier
list is located before the second V2X service identifier list, and the first V2X service
identifier list is the first V2X service identifier list included in the second V2X
service information. It is assumed that the third frequency indication information
list shown in Table 2 includes the second frequency indication information 1 and the
second frequency indication information 2, the second frequency indication information
1 corresponds to the destination ID list 1, and the second frequency indication information
2 corresponds to the destination ID list 2. The destination ID list 1 includes the
destination ID 1, the destination ID 3, and the destination ID 4, and the destination
ID list 2 includes the destination ID 4. For example, the first entry in the second
V2X service identifier list shown in Table 4 may include the destination ID 1 and
the second frequency indication information 1 corresponding to the destination ID
1. The second entry in the second V2X service identifier list may include the destination
ID 3 and the second frequency indication information 1 corresponding to the destination
ID 3. The third entry in the second V2X service identifier list may include the destination
ID 4 and the second frequency indication information 1 corresponding to the destination
ID 4. The fourth entry in the second V2X service identifier list may include the destination
ID 4 and the second frequency indication information 2 corresponding to the destination
ID 4.
[0099] In this embodiment, if the first terminal device requests an NR V2X SL resource or
an LTE V2X SL resource, there is one destination index. If the first terminal device
requests an NR V2X SL resource and an LTE V2X SL resource, there are two destination
indexes.
[0100] Step S303: The access network device generates resource indication information based
on the destination index and the buffer size corresponding to the destination index,
where the resource indication information is a time-frequency resource used to indicate
an SL, the time-frequency resource corresponds to a RAT, and the RAT includes a first
RAT and/or a second RAT.
[0101] In an implementation, if the access network device does not support inter-RAT SL
flexible scheduling, after receiving the destination index, the access network device
may determine that the first terminal device requests the NR V2X SL resource. Then,
the access network device searches, based on the destination index, for the location
of the destination V2X service identifier in the second V2X service information, searches
the second V2X service information for at least one piece of first frequency indication
information corresponding to the destination V2X service identifier, and determines
a time-frequency resource based on the at least one piece of first frequency indication
information and a buffer size that correspond to the destination V2X service identifier.
Then, the first access network device may generate the resource indication information
based on the time-frequency resource used to indicate an NR V2X SL. In an implementation,
if the access network device supports inter-RAT SL flexible scheduling, after receiving
the destination index, the access network device may search, based on the destination
index, for the location of the destination V2X service identifier in the fourth V2X
service information, search the fourth V2X service information for at least one piece
of first frequency indication information or at least one piece of second frequency
indication information corresponding to the destination V2X service identifier, and
determine a time-frequency resource based on the at least one piece of first frequency
indication information and a buffer size that correspond to the destination V2X service
identifier, or determine a time-frequency resource based on the at least one piece
of second frequency indication information and a buffer size that correspond to the
destination V2X service identifier. Then, the first access network device may generate
the resource indication information based on the time-frequency resource used to indicate
an NR V2X SL and/or the time-frequency resource used to indicate an LTE V2X SL. Table
3 is used as an example. Assuming that the destination index is 1, the access network
device may determine that the first terminal device requests an NR V2X SL resource,
and determine a time-frequency resource based on the first frequency indication information
list 1 and a buffer size that correspond to the destination ID 1. Assuming that the
destination index is 3, the access network device may determine that the first terminal
device requests an LTE V2X SL resource, and determine a time-frequency resource based
on the second frequency indication information list 1 and a buffer size that correspond
to the destination ID 1. Assuming that destination indexes are 1 and 3, the access
network device may determine that the first terminal device requests an NR V2X SL
resource and an LTE V2X SL resource, determine, based on the first frequency indication
information list 1 and a buffer size that correspond to the destination ID 1, a time-frequency
resource used to indicate an NR V2X SL, and determine, based on the second frequency
indication information list 1 and the buffer size that correspond to the destination
ID 1, a time-frequency resource used to indicate an LTE V2X SL.
[0102] Step S304: The access network device sends the resource indication information to
the first terminal device.
[0103] Step S305: The first terminal device sends a V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0104] In the method described in FIG. 3, the first terminal device implicitly indicates,
to the access network device, the RAT corresponding to the destination V2X service
identifier, and the access network device may configure or schedule, based on the
RAT indication that corresponds to the destination V2X service identifier and that
is reported by the first terminal device, the SL resource of the corresponding RAT
for the first terminal device.
[0105] Based on the communication system shown in FIG. 1, FIG. 4 is another resource allocation
method according to an embodiment of this application. The method includes but is
not limited to the following steps.
[0106] Step S401: The first terminal device sends an SUI message to the access network device,
where the SUI message includes fifth V2X service information, the fifth V2X service
information includes a third V2X service identifier list, and each entry in the third
V2X service identifier list includes one V2X service identifier and a first frequency
indication information list or a second frequency indication information list corresponding
to the V2X service identifier.
[0107] In an implementation, at least two same V2X service identifiers may exist in the
third V2X service identifier list.
[0108] In a specific implementation, the V2X layer of the first terminal device may obtain
at least one V2X service identifier that the first terminal device is interested in,
and then determine a RAT of a V2X SL corresponding to each V2X service identifier.
If a RAT of a V2X SL corresponding to a V2X service identifier is a first RAT, the
V2X layer of the first terminal device may obtain, based on at least one piece of
first frequency information corresponding to the V2X service identifier, a first frequency
indication information list corresponding to the V2X service identifier. If a RAT
of a V2X SL corresponding to another V2X service identifier is a second RAT, the V2X
layer of the first terminal device may obtain, based on at least one piece of second
frequency information corresponding to the V2X service identifier, a second frequency
indication information list corresponding to the V2X service identifier. If RATs of
V2X SLs corresponding to another V2X service identifier are a first RAT and a second
RAT, the V2X layer of the first terminal device may obtain, based on at least one
piece of first frequency information corresponding to the V2X service identifier,
a first frequency indication information list corresponding to the V2X service identifier,
and obtain, based on at least one piece of second frequency information corresponding
to the V2X service identifier, a second frequency indication information list corresponding
to the V2X service identifier, where the V2X service identifier appears twice in the
third V2X service identifier list.
Table 5: Fifth V2X service information
Third V2X service identifier list |
Destination ID 1 |
First frequency indication information list 1 |
Destination ID 1 |
Second frequency indication information list 1 |
Destination ID 2 |
First frequency indication information list 2 |
[0109] The fifth V2X service information shown in Table 5 is used as an example. A destination
ID is used to represent a V2X service identifier. The V2X layer of the first terminal
device determines that RATs of V2X SLs corresponding to the destination ID 1 are the
first RAT and the second RAT. The V2X layer of the first terminal device may obtain
at least one piece of first frequency indication information corresponding to the
destination ID 1, the first frequency indication information list 1 includes the at
least one piece of first frequency indication information corresponding to the destination
ID 1, and the first entry in the third V2X service identifier list includes the destination
ID 1 and the first frequency indication information list 1 corresponding to the destination
ID 1. The V2X layer of the first terminal device may further obtain at least one piece
of second frequency indication information corresponding to the destination ID 1,
the second frequency indication information list 1 includes the at least one piece
of second frequency indication information corresponding to the destination ID 1,
and the second entry in the third V2X service identifier list includes the destination
ID 1 and the second frequency indication information list 1 corresponding to the destination
ID 1. The V2X layer of the first terminal device determines that a RAT of a V2X SL
corresponding to the destination ID 2 is the first RAT. The V2X layer of the first
terminal device may obtain at least one piece of first frequency indication information
corresponding to the destination ID 2, the first frequency indication information
list 2 includes the at least one piece of first frequency indication information corresponding
to the destination ID 2, and the third entry in the third V2X service identifier list
includes the destination ID 2 and the first frequency indication information list
2 corresponding to the destination ID 2.
[0110] Step S402: The first terminal device sends a UAI message to the access network device,
where the UAI message carries a destination V2X service identifier and a service model
corresponding to the destination V2X service identifier. In this embodiment of this
application, before sending a V2X service to the second terminal device, the first
terminal device may obtain a destination V2X service identifier corresponding to the
V2X service, and generate a UAI message including the destination V2X service identifier
and a service model corresponding to the destination V2X service identifier. Then,
the first terminal device sends the UAI message to the access network device.
[0111] In an implementation, if there are two destination V2X service identifiers in the
fifth V2X service information, and the first terminal device requests an NR V2X SL
resource, the first terminal device may generate destination RAT indication information,
where the destination RAT indication information is used to indicate the first RAT,
then the first terminal device may generate a UAI message that includes the destination
V2X service identifier, a corresponding service model, and the destination RAT indication
information, and send the UAI message to the access network device. If there are two
destination V2X service identifiers in the fifth V2X service information, and the
first terminal device requests an LTE V2X SL resource, the first terminal device may
generate destination RAT indication information, where the destination RAT indication
information is used to indicate the second RAT, then the first terminal device may
generate a UAI message that includes the destination V2X service identifier, a corresponding
service model, and the destination RAT indication information, and send the UAI message
to the access network device.
[0112] In an implementation, if there are two destination V2X service identifiers in the
fifth V2X service information, and the first terminal device requests an NR V2X SL
resource and an LTE V2X SL resource, the first terminal device may generate a UAI
message that includes the destination V2X service identifiers and service models corresponding
to the destination V2X service identifiers, and send the UAI message to the access
network device. Optionally, the UAI message carries two sets of QoS parameters. One
set corresponds to the first RAT, namely, NR V2X. The other set corresponds to the
second RAT, namely, LTE V2X.
[0113] In an implementation, if there is one destination V2X service identifier in the fifth
V2X service information, the first terminal device may directly generate a UAI message
that includes the destination V2X service identifiers and a service model corresponding
to the destination V2X service identifier, and send the UAI message to the access
network device.
[0114] Step S403: The access network device generates resource indication information based
on the destination V2X service identifier and the service model corresponding to the
destination V2X service identifier, where the resource indication information is a
time-frequency resource used to indicate an SL, the time-frequency resource corresponds
to a RAT, and the RAT includes the first RAT and/or the second RAT.
[0115] After receiving the UAI message, the access network device may search the fifth V2X
service information for a frequency indication information list corresponding to the
destination V2X service identifier. If the frequency indication information list is
the first frequency indication information list, the access network device may determine
that the first terminal device requests the NR V2X SL resource, and then determine
a time-frequency resource based on at least one piece of first frequency indication
information and the service model that correspond to the destination V2X service identifier.
Then, the first access network device may generate the resource indication information
based on the determined time-frequency resource used to indicate an NR V2X SL.
[0116] If the frequency indication information list is the second frequency indication information
list, the access network device may determine that the first terminal device requests
the LTE V2X SL resource, and then determine a time-frequency resource based on at
least one piece of second frequency indication information and the service model that
correspond to the destination V2X service identifier. Then, the first access network
device may generate the resource indication information based on the determined time-frequency
resource used to indicate an LTE V2X SL.
[0117] If there are two destination V2X service identifiers in the fifth V2X service information,
and the destination V2X service identifier in an entry in the third V2X service identifier
list corresponds to the first frequency indication information list, the access network
device may determine, based on at least one piece of first frequency indication information
and a service model that correspond to the destination V2X service identifier, a time-frequency
resource used to indicate an NR V2X SL. If the destination V2X service identifier
in another entry in the third V2X service identifier list corresponds to the second
frequency indication information list, the access network device may determine, based
on at least one piece of second frequency indication information and a service model
that correspond to the destination V2X service identifier, a time-frequency resource
used to indicate an LTE V2X SL. Then, the first access network device may generate
the resource indication information based on the time-frequency resource used to indicate
the NR V2X SL and the time-frequency resource used to indicate the LTE V2X SL.
[0118] In an implementation, if the UAI message carries the destination RAT indication information,
the access network device may determine, based on the destination RAT indication information,
whether the first terminal device requests the NR V2X SL resource or the LTE V2X SL
resource. If the destination RAT indication information is used to indicate the first
RAT, the access network device may determine, based on the at least one piece of first
frequency indication information and the service model that correspond to the destination
V2X service identifier, and the QoS parameter corresponding to the first RAT, the
time-frequency resource used to indicate the NR V2X SL, and generate the resource
indication information based on the time-frequency resource used to indicate the NR
V2X SL. If the destination RAT indication information is used to indicate the second
RAT, the access network device may determine, based on the at least one piece of second
frequency indication information and the service model that correspond to the destination
V2X service identifier, and the QoS parameter corresponding to the second RAT, the
time-frequency resource used to indicate the LTE V2X SL, and generate the resource
indication information based on the time-frequency resource used to indicate the LTE
V2X SL.
[0119] Step S404: The access network device sends the resource indication information to
the first terminal device.
[0120] Step S405: The first terminal device sends the V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0121] In the method described in FIG. 4, the first terminal device sends the SUI message
to the access network device, where the SUI message includes the fifth V2X service
information, the fifth V2X service information includes the third V2X service identifier
list, and each entry in the third V2X service identifier list includes one V2X service
identifier and at least one piece of first frequency indication information or at
least one piece of second frequency indication information corresponding to the V2X
service identifier. On this basis, after the first terminal device sends the UAI message
to the access network device, the access network device may determine, based on the
destination V2X service identifier and the fifth V2X service information that are
carried in the UAI message, the RAT indication that corresponds to the destination
V2X service identifier and that is reported by the first terminal device, and configure
or schedule the SL resource of the corresponding RAT for the first terminal device.
[0122] Based on the communication system shown in FIG. 1, FIG. 5 is another resource allocation
method according to an embodiment of this application. The method includes but is
not limited to the following steps.
[0123] Step S501: The first terminal device sends an SUI message to the access network device,
where the SUI message includes fifth V2X service information, the fifth V2X service
information includes a third V2X service identifier list, and each entry in the third
V2X service identifier list includes one V2X service identifier and at least one piece
of first frequency indication information or at least one piece of second frequency
indication information corresponding to the V2X service identifier.
[0124] For step S501 in this embodiment of this application, refer to the specific description
of step S401 in the foregoing embodiment. Details are not described again in this
embodiment of this application.
[0125] Step S502: The first terminal device sends a BSR to the access network device, where
the BSR carries a destination index and a buffer size corresponding to the destination
index.
[0126] In this embodiment of this application, before sending a V2X service to the second
terminal device, the first terminal device may obtain a destination V2X service identifier
corresponding to the V2X service and a RAT required for the V2X service, determine
a destination index based on the destination V2X service identifier and the RAT corresponding
to the destination V2X service identifier, generate a BSR including the destination
index and a buffer size corresponding to the destination index, and then send the
BSR to the access network device. First V2X service information may be the fifth V2X
service information, to be specific, the destination index is used to indicate a location
of the destination V2X service identifier in the fifth V2X service information.
[0127] In this embodiment, if the first terminal device requests an NR V2X SL resource or
an LTE V2X SL resource, there is one destination index. If the first terminal device
requests an NR V2X SL resource and an LTE V2X SL resource, there are two destination
indexes.
[0128] Step S503: The access network device generates resource indication information based
on the destination index and the buffer size corresponding to the destination index.
[0129] Table 5 is used as an example. Assuming that the destination index is 1, the access
network device may determine that the first terminal device requests an NR V2X SL
resource, determine, based on the first frequency indication information list 1 and
a buffer size that correspond to the destination ID 1, a time-frequency resource used
to indicate an NR V2X SL, and generate the resource indication information based on
the time-frequency resource used to indicate the NR V2X SL. Assuming that the destination
index is 2, the access network device may determine that the first terminal device
requests an LTE V2X SL resource, determine, based on the second frequency indication
information list 1 and a buffer size that correspond to the destination ID 1, a time-frequency
resource used to indicate an LTE V2X SL, and generate the resource indication information
based on the time-frequency resource used to indicate the LTE V2X SL. Assuming that
destination indexes are 1 and 2, the access network device may determine that the
first terminal device requests an NR V2X SL resource and an LTE V2X SL resource, determine,
based on the first frequency indication information list 1 and a buffer size that
correspond to the destination ID 1, a time-frequency resource used to indicate an
NR V2X SL, determine, based on the second frequency indication information list 1
and a buffer size that correspond to the destination ID 1, a time-frequency resource
used to indicate an LTE V2X SL, and then generate the resource indication information
based on the time-frequency resource used to indicate the LTE V2X SL and the time-frequency
resource used to indicate the NR V2X SL.
[0130] Step S504: The access network device sends the resource indication information to
the first terminal device.
[0131] Step S505: The first terminal device sends the V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0132] In the method described in FIG. 5, the first terminal device sends the SUI message
to the access network device, where the SUI message includes the fifth V2X service
information, the fifth V2X service information includes the third V2X service identifier
list, and each entry in the third V2X service identifier list includes one V2X service
identifier and at least one piece of first frequency indication information or at
least one piece of second frequency indication information corresponding to the V2X
service identifier. On this basis, after the first terminal device sends the BSR to
the access network device, the access network device may determine, based on the fifth
V2X service information and the destination index that is carried in the BSR, the
RAT indication that corresponds to the destination V2X service identifier and that
is reported by the first terminal device, and configure or schedule the SL resource
of the corresponding RAT for the first terminal device.
[0133] Based on the communication system shown in FIG. 1, FIG. 6 is another resource allocation
method according to an embodiment of this application. The method includes but is
not limited to the following steps.
[0134] Step S601: The first terminal device sends an SUI message to the access network device,
where the SUI message includes sixth V2X service information, the sixth V2X service
information includes a fourth V2X service identifier list, and each entry in the fourth
V2X service identifier list includes one V2X service identifier and a first frequency
indication information list corresponding to the V2X service identifier.
[0135] In a specific implementation, the V2X layer of the first terminal device may obtain
at least one V2X service identifier that the first terminal device is interested in,
and then determine a RAT of a V2X SL corresponding to each V2X service identifier.
If the RAT of the V2X SL corresponding to each V2X service identifier is a first RAT,
the V2X layer of the first terminal device may obtain, based on at least one piece
of first frequency information corresponding to any V2X service identifier, a first
frequency indication information list corresponding to the V2X service identifier.
The V2X layer of the first terminal device may generate the sixth V2X service information
based on the at least one V2X service identifier and the first frequency indication
information list corresponding to each V2X service identifier. The V2X layer of the
first terminal device may generate the SUI message including the sixth V2X service
information, and the first terminal device sends the SUI message to the access network
device.
Table 6: Sixth V2X service information
Fourth V2X service identifier list |
Destination ID 1 |
First frequency indication information list 1 |
Destination ID 3 |
First frequency indication information list 2 |
[0136] The sixth V2X service information shown in Table 6 is used as an example. A destination
ID is used to represent a V2X service identifier, and V2X service identifiers that
the first terminal device is interested in include the destination ID 1 and the destination
ID 3. The V2X layer of the first terminal device determines that a RAT of a V2X SL
corresponding to the destination ID 1 is the first RAT. The first frequency indication
information list 1 includes at least one piece of first frequency indication information
corresponding to the destination ID 1, and the first frequency indication information
list 1 corresponds to the destination ID 1. The V2X layer of the first terminal device
determines that a RAT of a V2X SL corresponding to the destination ID 3 is the first
RAT. The first frequency indication information list 2 includes at least one piece
of first frequency indication information corresponding to the destination ID 3, and
the first frequency indication information list 2 corresponds to the destination ID
3.
[0137] In an implementation, the first terminal device may send an SUI message to the access
network device, where the SUI message includes sixth V2X service information and seventh
V2X service information. The sixth V2X service information includes a fourth V2X service
identifier list, and each entry in the fourth V2X service identifier list includes
one V2X service identifier and at least one piece of first frequency indication information
corresponding to the V2X service identifier. The seventh V2X service information includes
a fifth V2X service identifier list, and each entry in the fifth V2X service identifier
list includes one V2X service identifier and at least one piece of second frequency
indication information corresponding to the V2X service identifier.
[0138] In a specific implementation, the V2X layer of the first terminal device may obtain
at least one V2X service identifier that the first terminal device is interested in,
and then determine a RAT of a V2X SL corresponding to each V2X service identifier.
If a RAT of a V2X SL corresponding to a V2X service identifier is the first RAT, the
V2X layer of the first terminal device may obtain, based on at least one piece of
first frequency information corresponding to the V2X service identifier, a first frequency
indication information list corresponding to the V2X service identifier. The V2X layer
of the first terminal device may generate the sixth V2X service information based
on the at least one V2X service identifier and the first frequency indication information
list corresponding to each V2X service identifier. If a RAT of a V2X SL corresponding
to another V2X service identifier is the second RAT, the V2X layer of the first terminal
device may obtain, based on at least one piece of second frequency information corresponding
to the V2X service identifier, a second frequency indication information list corresponding
to the V2X service identifier. The V2X layer of the first terminal device may generate
the seventh V2X service information based on the at least one V2X service identifier
and the second frequency indication information list corresponding to each V2X service
identifier. Then, the V2X layer of the first terminal device may generate the SUI
message including the sixth V2X service information and the seventh V2X service information.
Then, the first terminal device may send the SUI message to the access network device.
Table 7: Seventh V2X service information
Fifth V2X service identifier list |
Destination ID 1 |
Second frequency indication information list 1 |
Destination ID 2 |
Second frequency indication information list 2 |
[0139] The seventh V2X service information shown in Table 7 is used as an example. A destination
ID is used to represent a V2X service identifier, and V2X service identifiers that
the first terminal device is interested in include the destination ID 1 and the destination
ID 2. The V2X layer of the first terminal device determines that a RAT of a V2X SL
corresponding to the destination ID 1 is the second RAT. The first frequency indication
information list 1 includes at least one piece of second frequency indication information
corresponding to the destination ID 1, and the second frequency indication information
list 1 corresponds to the destination ID 1. The V2X layer of the first terminal device
determines that a RAT of a V2X SL corresponding to the destination ID 2 is the second
RAT. The second frequency indication information list 2 includes at least one piece
of second frequency indication information corresponding to the destination ID 2,
and the second frequency indication information list 2 corresponds to the destination
ID 2.
[0140] For example, if RATs of V2X SLs corresponding to a V2X service identifier that the
first terminal device is interested in are the first RAT and the second RAT, the V2X
service identifier may exist in both the sixth V2X service information and the seventh
V2X service information.
[0141] In an implementation, the first terminal device may send an SUI message to the access
network device, where the SUI message includes seventh V2X service information.
[0142] In a specific implementation, the V2X layer of the first terminal device may obtain
at least one V2X service identifier that the first terminal device is interested in,
and then determine a RAT of a V2X SL corresponding to each V2X service identifier.
If the RAT of the V2X SL corresponding to each V2X service identifier is the second
RAT, the V2X layer of the first terminal device may obtain, based on at least one
piece of second frequency information corresponding to any V2X service identifier,
a second frequency indication information list corresponding to the V2X service identifier.
The V2X layer of the first terminal device may generate the seventh V2X service information
based on the at least one V2X service identifier and the second frequency indication
information list corresponding to each V2X service identifier. The V2X layer of the
first terminal device may generate the SUI message including the seventh V2X service
information, and the first terminal device sends the SUI message to the access network
device.
[0143] Step S602: The first terminal device sends a UAI message to the access network device,
where the UAI message carries a destination V2X service identifier and a service model
corresponding to the destination V2X service identifier. In this embodiment of this
application, before sending a V2X service to the second terminal device, the first
terminal device may obtain a destination V2X service identifier corresponding to the
V2X service, and generate a UAI message including the destination V2X service identifier
and a service model corresponding to the destination V2X service identifier. Then,
the first terminal device sends the UAI message to the access network device.
[0144] In an implementation, if the destination V2X service identifier exists in the sixth
V2X service information and the seventh V2X service information, and the first terminal
device requests an NR V2X SL resource, the first terminal device may generate destination
RAT indication information, where the destination RAT indication information is used
to indicate the first RAT, then the first terminal device may generate a UAI message
that includes the destination V2X service identifier, the corresponding service model,
and the destination RAT indication information, and send the UAI message to the access
network device. If the destination V2X service identifier exists in the sixth V2X
service information and the seventh V2X service information, and the first terminal
device requests an LTE V2X SL resource, the first terminal device may generate destination
RAT indication information, where the destination RAT indication information is used
to indicate the second RAT, then the first terminal device may generate a UAI message
that includes the destination V2X service identifier, the corresponding service model,
and the destination RAT indication information, and send the UAI message to the access
network device.
[0145] In an implementation, if the destination V2X service identifier exists in the sixth
V2X service information and the seventh V2X service information, and the first terminal
device requests an NR V2X SL resource and an LTE V2X SL resource, the first terminal
device may generate a UAI message that includes the destination V2X service identifier
and the service model corresponding to the destination V2X service identifier, and
send the UAI message to the access network device. Optionally, two sets of QoS parameters
corresponding to the destination V2X service identifier are further included. One
set corresponds to the first RAT, and the other set corresponds to the second RAT.
[0146] In an implementation, if the destination V2X service identifier exists in the sixth
V2X service information or the seventh V2X service information, the first terminal
device may directly generate a UAI message that includes the destination V2X service
identifier and the service model corresponding to the destination V2X service identifier,
and send the UAI message to the access network device.
[0147] Step S603: The access network device generates resource indication information based
on the destination V2X service identifier and the service model corresponding to the
destination V2X service identifier, where the resource indication information is a
time-frequency resource used to indicate an SL, the time-frequency resource corresponds
to a RAT, and the RAT includes the first RAT and/or the second RAT.
[0148] After receiving the UAI message, the access network device may search the sixth V2X
service information and the seventh V2X service information for a frequency indication
information list corresponding to the destination V2X service identifier. If the frequency
indication information list is the first frequency indication information list, the
access network device may determine that the first terminal device requests the NR
V2X SL resource, and then determine a time-frequency resource based on at least one
piece of first frequency indication information and the service model that correspond
to the destination V2X service identifier. Then, the first access network device may
generate the resource indication information based on the determined time-frequency
resource used to indicate an NR V2X SL.
[0149] If the frequency indication information list is the second frequency indication information
list, the access network device may determine that the first terminal device requests
the LTE V2X SL resource, and then determine a time-frequency resource based on at
least one piece of second frequency indication information and the service model that
correspond to the destination V2X service identifier. Then, the first access network
device may generate the resource indication information based on the determined time-frequency
resource used to indicate an LTE V2X SL.
[0150] If the frequency indication information list is the first frequency indication information
list and the second frequency indication information list, the access network device
may determine, based on at least one piece of first frequency indication information
and the service model that correspond to the destination V2X service identifier, a
time-frequency resource used to indicate an NR V2X SL, and determine, based on at
least one piece of second frequency indication information and the service model that
correspond to the destination V2X service identifier, a time-frequency resource used
to indicate an LTE V2X SL. Then, the first access network device may generate the
resource indication information based on the time-frequency resource used to indicate
the NR V2X SL and the time-frequency resource used to indicate the LTE V2X SL.
[0151] In an implementation, if the UAI message carries the destination RAT indication information,
the access network device may determine, based on the destination RAT indication information,
whether the first terminal device requests the NR V2X SL resource or the LTE V2X SL
resource. If the destination RAT indication information is used to indicate the first
RAT, the access network device may determine, based on the at least one piece of first
frequency indication information and the service model that correspond to the destination
V2X service identifier, the time-frequency resource used to indicate the NR V2X SL,
and generate the resource indication information based on the time-frequency resource
used to indicate the NR V2X SL. If the destination RAT indication information is used
to indicate the second RAT, the access network device may determine, based on the
at least one piece of second frequency indication information and the service model
that correspond to the destination V2X service identifier, the time-frequency resource
used to indicate the LTE V2X SL, and generate the resource indication information
based on the time-frequency resource used to indicate the LTE V2X SL.
[0152] Step S604: The access network device sends the resource indication information to
the first terminal device.
[0153] Step S605: The first terminal device sends a V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0154] In the method described in FIG. 6, the first terminal device sends the SUI message
to the access network device, where the SUI message includes the sixth V2X service
information, the sixth V2X service information includes the fourth V2X service identifier
list, and each entry in the fourth V2X service identifier list includes one V2X service
identifier and at least one piece of first frequency indication information corresponding
to the V2X service identifier. On this basis, after the first terminal device sends
the UAI message to the access network device, the access network device may determine,
based on the destination V2X service identifier and the sixth V2X service information
that are carried in the UAI message, the RAT indication that corresponds to the destination
V2X service identifier and that is reported by the first terminal device, and configure
or schedule the SL resource of the corresponding RAT for the first terminal device.
[0155] Based on the communication system shown in FIG. 1, FIG. 7 is another resource allocation
method according to an embodiment of this application. The method includes but is
not limited to the following steps.
[0156] Step S701: The first terminal device sends an SUI message to the access network device,
where the SUI message includes sixth V2X service information, the sixth V2X service
information includes a fourth V2X service identifier list, and each entry in the fourth
V2X service identifier list includes one V2X service identifier and a first frequency
indication information list corresponding to the V2X service identifier.
[0157] For step S701 in this embodiment of this application, refer to the specific description
of step S601 in the foregoing embodiment. Details are not described again in this
embodiment of this application.
[0158] Step S702: The first terminal device sends a BSR to the access network device, where
the BSR carries a destination index and a buffer size corresponding to the destination
index.
[0159] In this embodiment of this application, before sending a V2X service to the second
terminal device, the first terminal device may obtain a destination V2X service identifier
corresponding to the V2X service and a RAT required for the V2X service, determine
a destination index based on the destination V2X service identifier and the RAT corresponding
to the destination V2X service identifier, generate a BSR including the destination
index and a buffer size corresponding to the destination index, and then send the
BSR to the access network device.
[0160] In an implementation, if the access network device does not support inter-RAT SL
flexible scheduling, that is, the access network device can schedule an NR V2X SL
resource only by using DCI, first V2X service information may be the sixth V2X service
information, that is, the destination index carried in the BSR is used to indicate
a location of a destination V2X service identifier in the sixth V2X service information.
[0161] In an implementation, if the access network device supports inter-RAT SL flexible
scheduling, that is, the access network device can schedule an NR V2X SL resource
and an LTE V2X SL resource by using DCI, the BSR may further carry destination RAT
indication information corresponding to the destination index. In this case, the destination
index indicates a location of the destination V2X service identifier in a V2X service
identifier list corresponding to a RAT. It may be understood that in this case, the
V2X service identifier list in the sixth V2X service information and a V2X service
identifier list in seventh V2X service information are separately numbered.
[0162] In this embodiment, if the first terminal device requests an NR V2X SL resource,
there is one destination index, second RAT indication information corresponding to
the destination index is used to indicate a first RAT, and the destination index is
used to indicate a location of the destination V2X service identifier in the sixth
V2X service information. If the first terminal device requests an LTE V2X SL resource,
there is one destination index, second RAT indication information corresponding to
the destination index is used to indicate a second RAT, and the destination index
is used to indicate a location of the destination V2X service identifier in the seventh
V2X service information.
[0163] If the first terminal device requests an NR V2X SL resource and an LTE V2X SL resource,
there are two destination indexes, second RAT indication information corresponding
to one destination index is used to indicate a first RAT, and the destination index
is used to indicate a location of the destination V2X service identifier in the sixth
V2X service information; second RAT indication information corresponding to the other
destination index is used to indicate a second RAT, and the destination index is used
to indicate a location of the destination V2X service identifier in the seventh V2X
service information.
[0164] In an implementation, if the access network device supports inter-RAT SL flexible
scheduling, that is, the access network device can schedule an NR V2X SL resource
and an LTE V2X SL resource by using DCI, first V2X service information may be eighth
V2X service information, to be specific, the destination index carried in the BSR
is used to indicate a location of the destination V2X service identifier in the eighth
V2X service information, where the eighth V2X service information includes the fourth
V2X service identifier list and a fifth V2X service identifier list, and the fourth
V2X service identifier list is located before or after the fifth V2X service identifier
list.
Table 8: Eighth V2X service information
Fourth V2X service identifier list |
Destination ID 1 |
First frequency indication information list 1 |
Destination ID 3 |
First frequency indication information list 2 |
Fifth V2X service identifier list |
Destination ID 1 |
Second frequency indication information list 1 |
Destination ID 2 |
Second frequency indication information list 2 |
[0165] The eighth V2X service information shown in Table 8 is used as an example. The fourth
V2X service identifier list is located before the fifth V2X service identifier list.
[0166] In this embodiment, if the first terminal device requests an NR V2X SL resource or
an LTE V2X SL resource, there is one destination index. If the first terminal device
requests an NR V2X SL resource and an LTE V2X SL resource, there are two destination
indexes. In an implementation, the two destination indexes respectively correspond
to the fourth V2X service identifier list and the fifth V2X service identifier list.
In this case, an additional RAT indication is required. In another implementation,
the two destination indexes correspond to one V2X service identifier list, and the
V2X service identifier list includes the fourth V2X service identifier list and the
fifth V2X service identifier list. Step S703: The access network device generates
resource indication information based on the destination index and the buffer size
corresponding to the destination index, where the resource indication information
is a time-frequency resource used to indicate an SL, the time-frequency resource corresponds
to a RAT, and the RAT includes the first RAT and/or the second RAT.
[0167] Table 6 and Table 7 are used as examples. Assuming that the destination RAT indication
information corresponding to the destination index is used to indicate the first RAT
and the destination index is 1, the access network device may determine that the first
terminal device requests an NR V2X SL resource, determine, based on the first frequency
indication information list 1 and a buffer size that correspond to the destination
ID 1, a time-frequency resource used to indicate an NR V2X SL, and generate the resource
indication information based on the time-frequency resource used to indicate the NR
V2X SL. Assuming that the destination RAT indication information corresponding to
the destination index is used to indicate the second RAT and the destination index
is 1, the access network device may determine that the first terminal device requests
an LTE V2X SL resource, determine, based on the second frequency indication information
list 1 and a buffer size that correspond to the destination ID 1, a time-frequency
resource used to indicate an LTE V2X SL, and generate the resource indication information
based on the time-frequency resource used to indicate the LTE V2X SL. Assuming that
destination RAT indication information corresponding to a destination index is used
to indicate the first RAT and the destination index is 1, and destination RAT indication
information corresponding to another destination index is used to indicate the second
RAT and the destination index is 1, the access network device may determine that the
first terminal device requests an NR V2X SL resource and an LTE V2X SL resource, determine,
based on the first frequency indication information list 1 and a buffer size that
correspond to the destination ID 1, a time-frequency resource used to indicate an
NR V2X SL, determine, based on the second frequency indication information list 1
and the buffer size that correspond to the destination ID 1, a time-frequency resource
used to indicate an LTE V2X SL, and then generate the resource indication information
based on the time-frequency resource used to indicate the LTE V2X SL and the time-frequency
resource used to indicate the NR V2X SL.
[0168] Table 8 is used as an example. Assuming that the destination index is 1, the access
network device may determine that the first terminal device requests an NR V2X SL
resource, determine, based on the first frequency indication information list 1 and
a buffer size that correspond to the destination ID 1, a time-frequency resource used
to indicate an NR V2X SL, and generate the resource indication information based on
the time-frequency resource used to indicate the NR V2X SL. Assuming that the destination
index is 3, the access network device may determine that the first terminal device
requests an LTE V2X SL resource, determine, based on the second frequency indication
information list 1 and a buffer size that correspond to the destination ID 1, a time-frequency
resource used to indicate an LTE V2X SL, and generate the resource indication information
based on the time-frequency resource used to indicate the LTE V2X SL. Assuming that
destination indexes are 1 and 3, the access network device may determine that the
first terminal device requests an NR V2X SL resource and an LTE V2X SL resource, determine,
based on the first frequency indication information list 1 and a buffer size that
correspond to the destination ID 1, a time-frequency resource used to indicate an
NR V2X SL, determine, based on the second frequency indication information list 1
and the buffer size that correspond to the destination ID 1, a time-frequency resource
used to indicate an LTE V2X SL, and then generate the resource indication information
based on the time-frequency resource used to indicate the LTE V2X SL and the time-frequency
resource used to indicate the NR V2X SL.
[0169] Step S704: The access network device sends the resource indication information to
the first terminal device.
[0170] Step S705: The first terminal device sends a V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0171] In the method described in FIG. 7, the first terminal device sends the SUI message
to the access network device, where the SUI message includes the sixth V2X service
information, the sixth V2X service information includes the fourth V2X service identifier
list, and each entry in the fourth V2X service identifier list includes one V2X service
identifier and at least one piece of first frequency indication information corresponding
to the V2X service identifier. On this basis, after the first terminal device sends
the BSR to the access network device, the access network device may determine, based
on the sixth V2X service information and the destination index that is carried in
the BSR, the RAT indication that corresponds to the destination V2X service identifier
and that is reported by the first terminal device, and configure or schedule the SL
resource of the corresponding RAT for the first terminal device.
[0172] Based on the communication system shown in FIG. 1, FIG. 8 is another resource allocation
method according to an embodiment of this application. The method includes but is
not limited to the following steps.
[0173] Step S801: The first terminal device sends an SUI message to the access network device,
where the SUI message includes ninth V2X service information, the ninth V2X service
information includes a sixth V2X service identifier list, each entry in the sixth
V2X service identifier list includes one V2X service identifier and at least one piece
of frequency indication information and second RAT indication information that correspond
to the V2X service identifier, where the second RAT indication information is used
to indicate a first RAT or a second RAT, and the at least one piece of frequency indication
information is at least one piece of first frequency indication information or at
least one piece of second frequency indication information.
[0174] In an implementation, at least two same V2X service identifiers may exist in the
sixth V2X service identifier list.
[0175] In a specific implementation, the V2X layer of the first terminal device may obtain
at least one V2X service identifier that the first terminal device is interested in,
and then determine a RAT of a V2X SL corresponding to each V2X service identifier.
If a RAT of a V2X SL corresponding to a V2X service identifier is the first RAT, the
V2X layer of the first terminal device may obtain, based on at least one piece of
first frequency information corresponding to the V2X service identifier, a first frequency
indication information list corresponding to the V2X service identifier, where second
RAT indication information corresponding to the V2X service identifier is used to
indicate the first RAT. If a RAT of a V2X SL corresponding to another V2X service
identifier is the second RAT, the V2X layer of the first terminal device may obtain,
based on at least one piece of second frequency information corresponding to the V2X
service identifier, a second frequency indication information list corresponding to
the V2X service identifier, where second RAT indication information corresponding
to the V2X service identifier is used to indicate the second RAT. If RATs of V2X SLs
corresponding to another V2X service identifier are the first RAT and the second RAT,
the V2X layer of the first terminal device may obtain, based on at least one piece
of first frequency information corresponding to the V2X service identifier, a first
frequency indication information list corresponding to the V2X service identifier,
where second RAT indication information corresponding to the V2X service identifier
is used to indicate the first RAT; and obtain, based on at least one piece of second
frequency information corresponding to the V2X service identifier, a second frequency
indication information list corresponding to the V2X service identifier, where the
second RAT indication information corresponding to the V2X service identifier is used
to indicate the second RAT, and the V2X service identifier appears twice in the sixth
V2X service identifier list.
Table 9: Ninth V2X service information
Sixth V2X service identifier list |
Destination ID 1 |
Frequency indication information list 1 |
Second RAT indication information 1 |
Destination ID 1 |
Frequency indication information list 2 |
Second RAT indication information 2 |
Destination ID 2 |
Frequency indication information list 3 |
Second RAT indication information 3 |
[0176] The ninth V2X service information shown in Table 9 is used as an example. A destination
ID is used to represent a V2X service identifier. The V2X layer of the first terminal
device determines that RATs of V2X SLs corresponding to the destination ID 1 are the
first RAT and the second RAT. The V2X layer of the first terminal device may obtain
at least one piece of first frequency indication information corresponding to the
destination ID 1, the frequency indication information list 1 includes the at least
one piece of first frequency indication information corresponding to the destination
ID 1, and the first entry in the sixth V2X service identifier list includes the destination
ID 1 and the frequency indication information list 1 and the second RAT indication
information 1 that correspond to the destination ID 1, where the second RAT indication
information 1 is used to indicate the first RAT. The V2X layer of the first terminal
device may further obtain at least one piece of second frequency indication information
corresponding to the destination ID 1, the frequency indication information list 2
includes the at least one piece of second frequency indication information corresponding
to the destination ID 1, and the second entry in the sixth V2X service identifier
list includes the destination ID 1 and the frequency indication information list 2
and the second RAT indication information 2 that correspond to the destination ID
1, where the second RAT indication information 2 is used to indicate the second RAT.
The V2X layer of the first terminal device determines that a RAT of a V2X SL corresponding
to the destination ID 2 is the first RAT. The V2X layer of the first terminal device
may obtain at least one piece of first frequency indication information corresponding
to the destination ID 2, the frequency indication information list 3 includes the
at least one piece of first frequency indication information corresponding to the
destination ID 2, and the third entry in the sixth V2X service identifier list includes
the destination ID 2 and the frequency indication information list 3 and the second
RAT indication information 3 that correspond to the destination ID 2, where the second
RAT indication information 3 is used to indicate the first RAT.
[0177] Step S802: The first terminal device sends a UAI message to the access network device,
where the UAI message carries a destination V2X service identifier and a service model
corresponding to the destination V2X service identifier. In this embodiment of this
application, before sending a V2X service to the second terminal device, the first
terminal device may obtain a destination V2X service identifier corresponding to the
V2X service, and generate a UAI message including the destination V2X service identifier
and a service model corresponding to the destination V2X service identifier. Then,
the first terminal device sends the UAI message to the access network device.
[0178] In an implementation, if there are two destination V2X service identifiers in the
ninth V2X service information, and the first terminal device requests an NR V2X SL
resource, the first terminal device may generate destination RAT indication information,
where the destination RAT indication information is used to indicate the first RAT,
then the first terminal device may generate a UAI message that includes the destination
V2X service identifier, a corresponding service model, and the destination RAT indication
information, and send the UAI message to the access network device. If there are two
destination V2X service identifiers in the ninth V2X service information, and the
first terminal device requests an LTE V2X SL resource, the first terminal device may
generate destination RAT indication information, where the destination RAT indication
information is used to indicate the second RAT, then the first terminal device may
generate a UAI message that includes the destination V2X service identifier, a corresponding
service model, and the destination RAT indication information, and send the UAI message
to the access network device.
[0179] In an implementation, if there are two destination V2X service identifiers in the
ninth V2X service information, and the first terminal device requests an NR V2X SL
resource and an LTE V2X SL resource, the first terminal device may generate a UAI
message that includes the destination V2X service identifiers and service models corresponding
to the destination V2X service identifiers, and send the UAI message to the access
network device.
[0180] In an implementation, if there is one destination V2X service identifier in the ninth
V2X service information, the first terminal device may directly generate a UAI message
that includes the destination V2X service identifier and a service model corresponding
to the destination V2X service identifier, and send the UAI message to the access
network device. Step S803: The access network device generates resource indication
information based on the destination V2X service identifier and the service model
corresponding to the destination V2X service identifier, where the resource indication
information is a time-frequency resource used to indicate an SL, the time-frequency
resource corresponds to a RAT, and the RAT includes the first RAT and/or the second
RAT.
[0181] After receiving the UAI message, the access network device may search the ninth V2X
service information for destination RAT indication information corresponding to the
destination V2X service identifier. If the destination RAT indication information
is used to indicate the first RAT, the access network device may determine that the
first terminal device requests the NR V2X SL resource, and then determine a time-frequency
resource based on at least one piece of frequency indication information and the service
model that correspond to the destination V2X service identifier. Then, the first access
network device may generate the resource indication information based on the determined
time-frequency resource used to indicate an NR V2X SL.
[0182] If the destination RAT indication information is used to indicate the second RAT,
the access network device may determine that the first terminal device requests the
LTE V2X SL resource, and then determine a time-frequency resource based on at least
one piece of frequency indication information and the service model that correspond
to the destination V2X service identifier. Then, the first access network device may
generate the resource indication information based on the determined time-frequency
resource used to indicate an LTE V2X SL.
[0183] If there are two destination V2X service identifiers in the ninth V2X service information,
and a destination V2X service identifier in an entry in the sixth V2X service identifier
list corresponds to the destination RAT indication information used to indicate the
first RAT, the access network device may determine, based on at least one piece of
frequency indication information and a service model that correspond to the destination
V2X service identifier, a time-frequency resource used to indicate an NR V2X SL. If
a destination V2X service identifier in another entry in the sixth V2X service identifier
list corresponds to the destination RAT indication information used to indicate the
second RAT, the access network device may determine, based on at least one piece of
frequency indication information and a service model that correspond to the destination
V2X service identifier, a time-frequency resource used to indicate an LTE V2X SL.
Then, the first access network device may generate the resource indication information
based on the time-frequency resource used to indicate the NR V2X SL and the time-frequency
resource used to indicate the LTE V2X SL.
[0184] In an implementation, if the UAI message carries the destination RAT indication information,
the access network device may determine, based on the destination RAT indication information,
whether the first terminal device requests the NR V2X SL resource or the LTE V2X SL
resource. If the destination RAT indication information is used to indicate the first
RAT, the access network device may search the sixth V2X service identifier list for
a destination V2X service identifier corresponding to the destination RAT indication
information used to indicate the first RAT, determine, based on at least one piece
of frequency indication information and a service model that correspond to the destination
V2X service identifier, a time-frequency resource used to indicate an NR V2X SL, and
generate the resource indication information based on the time-frequency resource
used to indicate the NR V2X SL. If the destination RAT indication information is used
to indicate the second RAT, the access network device may search the sixth V2X service
identifier list for a destination V2X service identifier corresponding to the destination
RAT indication information used to indicate the second RAT, determine, based on at
least one piece of frequency indication information and a service model that correspond
to the destination V2X service identifier, a time-frequency resource used to indicate
an LTE V2X SL, and generate the resource indication information based on the time-frequency
resource used to indicate the LTE V2X SL.
[0185] Step S804: The access network device sends the resource indication information to
the first terminal device.
[0186] Step S805: The first terminal device sends a V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0187] In the method described in FIG. 8, the first terminal device sends the SUI message
to the access network device, where the SUI message includes the ninth V2X service
information, the ninth V2X service information includes the sixth V2X service identifier
list, and each entry in the sixth V2X service identifier list includes one V2X service
identifier and at least one piece of frequency indication information and the second
RAT indication information that correspond to the V2X service identifier. On this
basis, after the first terminal device sends the UAI message to the access network
device, the access network device may determine, based on the destination RAT indication
information, the RAT indication that corresponds to the destination V2X service identifier
and that is reported by the first terminal device, and configure or schedule the SL
resource of the corresponding RAT for the first terminal device.
[0188] Based on the communication system shown in FIG. 1, FIG. 9 is another resource allocation
method according to an embodiment of this application. The method includes but is
not limited to the following steps.
[0189] Step S901: The first terminal device sends an SUI message to the access network device,
where the SUI message includes ninth V2X service information, the ninth V2X service
information includes a sixth V2X service identifier list, each entry in the sixth
V2X service identifier list includes one V2X service identifier and at least one piece
of frequency indication information and second RAT indication information that correspond
to the V2X service identifier, where the second RAT indication information is used
to indicate a first RAT or a second RAT.
[0190] For step S901 in this embodiment of this application, refer to the specific description
of step S801 in the foregoing embodiment. Details are not described again in this
embodiment of this application.
[0191] Step S902: The first terminal device sends a BSR to the access network device, where
the BSR carries a destination index and a buffer size corresponding to the destination
index.
[0192] In this embodiment of this application, before sending a V2X service to the second
terminal device, the first terminal device may obtain a destination V2X service identifier
corresponding to the V2X service and a RAT required for the V2X service, determine
a destination index based on the destination V2X service identifier and the RAT corresponding
to the destination V2X service identifier, generate a BSR including the destination
index and a buffer size corresponding to the destination index, and then send the
BSR to the access network device. First V2X service information may be the ninth V2X
service information, to be specific, the destination index is used to indicate a location
of a destination V2X service identifier in the ninth V2X service information.
[0193] In this embodiment, if the first terminal device requests an NR V2X SL resource or
an LTE V2X SL resource, there is one destination index. If the first terminal device
requests an NR V2X SL resource and an LTE V2X SL resource, there are two destination
indexes.
[0194] Step S903: The access network device generates resource indication information based
on the destination index and the buffer size corresponding to the destination index.
[0195] Table 9 is used as an example. Assuming that the destination index is 1, and the
second RAT indication information in the first entry is used to indicate the first
RAT, the access network device may determine that the first terminal device requests
an NR V2X SL resource, determine, based on the frequency indication information list
1 and a buffer size that correspond to the destination ID 1, a time-frequency resource
used to indicate an NR V2X SL, and generate the resource indication information based
on the time-frequency resource used to indicate the NR V2X SL. Assuming that the destination
index is 2, and the second RAT indication information in the second entry is used
to indicate the second RAT, the access network device may determine that the first
terminal device requests an LTE V2X SL resource, determine, based on the frequency
indication information list 2 and a buffer size that correspond to the destination
ID 1, a time-frequency resource used to indicate an LTE V2X SL, and generate the resource
indication information based on the time-frequency resource used to indicate the LTE
V2X SL. Assuming that destination indexes are 1 and 2, the access network device may
determine that the first terminal device requests an NR V2X SL resource and an LTE
V2X SL resource, determine, based on the frequency indication information list 1 and
a buffer size that correspond to the destination ID 1, a time-frequency resource used
to indicate an NR V2X SL, determine, based on the frequency indication information
list 2 and the buffer size that correspond to the destination ID 1, a time-frequency
resource used to indicate an LTE V2X SL, and then generate the resource indication
information based on the time-frequency resource used to indicate the LTE V2X SL and
the time-frequency resource used to indicate the NR V2X SL.
[0196] Step S904: The access network device sends the resource indication information to
the first terminal device.
[0197] Step S905: The first terminal device sends a V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0198] In the method described in FIG. 9, the first terminal device sends the SUI message
to the access network device, where the SUI message includes the ninth V2X service
information, the ninth V2X service information includes the sixth V2X service identifier
list, and each entry in the sixth V2X service identifier list includes one V2X service
identifier and at least one piece of frequency indication information and the second
RAT indication information that correspond to the V2X service identifier. On this
basis, after the first terminal device sends the BSR to the access network device,
the access network device may determine, based on the ninth V2X service information
and the destination index that is carried in the BSR, the RAT indication that corresponds
to the destination V2X service identifier and that is reported by the first terminal
device, and configure or schedule the SL resource of the corresponding RAT for the
first terminal device.
[0199] An embodiment of this application provides another resource allocation method. A
difference between the method and the solution in FIG. 8 is that the second RAT indication
information in this embodiment of this application may indicate the first RAT, the
second RAT, or the first RAT and the second RAT. In addition, the access network device
sends a third frequency information list to the first terminal device. However, the
second RAT indication information in the solution in FIG. 8 may indicate only the
first RAT or the second RAT, and the access network device sends the first frequency
information list and the second frequency information list to the first terminal device.
The method includes but is not limited to the following steps.
[0200] Step S1001: The first terminal device sends an SUI message to the access network
device, where the SUI message includes ninth V2X service information, the ninth V2X
service information includes a sixth V2X service identifier list, each entry in the
sixth V2X service identifier list includes one V2X service identifier and at least
one piece of frequency indication information and the second RAT indication information
that correspond to the V2X service identifier, where the second RAT indication information
is used to indicate the first RAT and/or the second RAT.
[0201] In an implementation, before the first terminal device sends the SUI message to the
access network device, the access network device may send the third frequency information
list to the first terminal device, where the third frequency information list may
include at least one piece of first frequency information and at least one piece of
second frequency information, and the at least one piece of first frequency information
is located before or after the at least one piece of second frequency information.
[0202] In an implementation, before the first terminal device sends the SUI message to the
access network device, the access network device may send the first frequency information
list and the second frequency information list to the first terminal device. The first
terminal device may obtain the third frequency information list based on the first
frequency information list and the second frequency information list, where the third
frequency information list includes the first frequency information list and the second
frequency information list, and the first frequency information list is located before
or after the second frequency information list.
[0203] In an implementation, V2X service identifiers in the sixth V2X service identifier
list are different.
[0204] In a specific implementation, the V2X layer of the first terminal device may obtain
at least one V2X service identifier that the first terminal device is interested in,
and then determine a RAT of a V2X SL corresponding to each V2X service identifier.
If a RAT of a V2X SL corresponding to a V2X service identifier is the first RAT, the
V2X layer of the first terminal device may obtain, based on at least one piece of
first frequency information corresponding to the V2X service identifier, a first frequency
indication information list corresponding to the V2X service identifier, where second
RAT indication information corresponding to the V2X service identifier is used to
indicate the first RAT, and first frequency indication information may be a third
frequency index and is used to indicate a location of the first frequency information
in the third frequency information list.
[0205] If a RAT of a V2X SL corresponding to another V2X service identifier is the second
RAT, the V2X layer of the first terminal device may obtain, based on at least one
piece of second frequency information corresponding to the V2X service identifier,
a second frequency indication information list corresponding to the V2X service identifier,
where second RAT indication information corresponding to the V2X service identifier
is used to indicate the second RAT, and second frequency indication information may
be a fourth frequency index and is used to indicate a location of the second frequency
information in the third frequency information list.
[0206] If RATs of V2X SLs corresponding to another V2X service identifier are the first
RAT and the second RAT, the V2X layer of the first terminal device may obtain, based
on at least one piece of first frequency information corresponding to the V2X service
identifier, a first frequency indication information list corresponding to the V2X
service identifier, and obtain, based on at least one piece of second frequency information
corresponding to the V2X service identifier, a second frequency indication information
list corresponding to the V2X service identifier, where first frequency indication
information is a third frequency index, and second frequency indication information
is a fourth frequency index. Then, the V2X layer of the first terminal device may
obtain a frequency indication information list corresponding to the V2X service identifier.
The frequency indication information list includes the first frequency indication
information list corresponding to the V2X service identifier and the second frequency
indication information list corresponding to the V2X service identifier. Second RAT
indication information corresponding to the V2X service identifier is used to indicate
the first RAT and the second RAT.
Table 10: Ninth V2X service information
Sixth V2X service identifier list |
Destination ID 1 |
Frequency indication information list 1 |
Second RAT indication information 1 |
Destination ID 2 |
Frequency indication information list 2 |
Second RAT indication information 2 |
[0207] The ninth V2X service information shown in Table 10 is used as an example. A destination
ID is used to represent a V2X service identifier. The V2X layer of the first terminal
device determines that RATs of V2X SLs corresponding to the destination ID 1 are the
first RAT and the second RAT. The V2X layer of the first terminal device may obtain
at least one piece of first frequency indication information corresponding to the
destination ID 1 and at least one piece of second frequency indication information
corresponding to the destination ID 1, where the frequency indication information
list 1 includes the at least one piece of first frequency indication information corresponding
to the destination ID 1 and the at least one piece of second frequency indication
information corresponding to the destination ID 1, the first entry in the sixth V2X
service identifier list includes the destination ID 1 and the frequency indication
information list 1 and the second RAT indication information 1 that correspond to
the destination ID 1, where the second RAT indication information 1 is used to indicate
the first RAT and the second RAT. The V2X layer of the first terminal device determines
that a RAT of a V2X SL corresponding to the destination ID 2 is the first RAT. The
V2X layer of the first terminal device may obtain at least one piece of first frequency
indication information corresponding to the destination ID 2, the frequency indication
information list 2 includes the at least one piece of first frequency indication information
corresponding to the destination ID 2, and the second entry in the sixth V2X service
identifier list includes the destination ID 2 and the frequency indication information
list 2 and the second RAT indication information 2 that correspond to the destination
ID 2, where the second RAT indication information 2 is used to indicate the first
RAT.
[0208] Step S1002: The first terminal device sends a UAI message to the access network device,
where the UAI message carries a destination V2X service identifier and a service model
corresponding to the destination V2X service identifier. In this embodiment of this
application, before sending a V2X service to the second terminal device, the first
terminal device may obtain a destination V2X service identifier corresponding to the
V2X service, and generate a UAI message including the destination V2X service identifier
and a service model corresponding to the destination V2X service identifier. Then,
the first terminal device sends the UAI message to the access network device.
[0209] In an implementation, if second RAT indication information corresponding to the destination
V2X service identifier is used to indicate the first RAT and the second RAT, and the
first terminal device requests an NR V2X SL resource, the first terminal device may
generate destination RAT indication information, where the destination RAT indication
information is used to indicate the first RAT, then the first terminal device may
generate a UAI message that includes the destination V2X service identifier, the corresponding
service model, and the destination RAT indication information, and send the UAI message
to the access network device. If second RAT indication information corresponding to
the destination V2X service identifier is used to indicate the first RAT and the second
RAT, and the first terminal device requests an LTE V2X SL resource, the first terminal
device may generate destination RAT indication information, where the destination
RAT indication information is used to indicate the second RAT, then the first terminal
device may generate a UAI message that includes the destination V2X service identifier,
the corresponding service model, and the destination RAT indication information, and
send the UAI message to the access network device.
[0210] In an implementation, if second RAT indication information corresponding to the destination
V2X service identifier is used to indicate the first RAT and the second RAT, and the
first terminal device requests an NR V2X SL resource and an LTE V2X SL resource, the
first terminal device may generate a UAI message that includes the destination V2X
service identifier and the service model corresponding to the destination V2X service
identifier, and send the UAI message to the access network device.
[0211] In an implementation, if second RAT indication information corresponding to the destination
V2X service identifier is used to indicate the first RAT or the second RAT, the first
terminal device may directly generate a UAI message that includes the destination
V2X service identifier and the service model corresponding to the destination V2X
service identifier, and send the UAI message to the access network device.
[0212] Step S1003: The access network device generates resource indication information based
on the destination V2X service identifier and the service model corresponding to the
destination V2X service identifier, where the resource indication information is a
time-frequency resource used to indicate an SL, the time-frequency resource corresponds
to a RAT, and the RAT includes the first RAT and/or the second RAT.
[0213] After receiving the UAI message, the access network device may search the ninth V2X
service information for the destination RAT indication information corresponding to
the destination V2X service identifier. If the destination RAT indication information
is used to indicate the first RAT, the access network device may determine that the
first terminal device requests the NR V2X SL resource, and then determine a time-frequency
resource based on at least one piece of frequency indication information and the service
model that correspond to the destination V2X service identifier. Then, the first access
network device may generate the resource indication information based on the determined
time-frequency resource used to indicate an NR V2X SL.
[0214] If the destination RAT indication information is used to indicate the second RAT,
the access network device may determine that the first terminal device requests the
LTE V2X SL resource, and then determine the time-frequency resource based on at least
one piece of frequency indication information and the service model that correspond
to the destination V2X service identifier. Then, the first access network device may
generate the resource indication information based on the determined time-frequency
resource used to indicate an LTE V2X SL.
[0215] If the destination RAT indication information corresponding to the destination V2X
service identifier is used to indicate the first RAT and the second RAT, the access
network device may search, based on at least one piece of frequency indication information
corresponding to the destination V2X service identifier, the third frequency information
list for first frequency information indicated by the frequency indication information,
determine, based on the found first frequency information and the service model, a
time-frequency resource used to indicate an NR V2X SL, search, based on the at least
one piece of frequency indication information corresponding to the destination V2X
service identifier, the third frequency information list for second frequency information
indicated by the frequency indication information, and determine, based on the second
frequency information and the service model, a time-frequency resource used to indicate
an LTE V2X SL. Then, the first access network device may generate the resource indication
information based on the time-frequency resource used to indicate the NR V2X SL and
the time-frequency resource used to indicate the LTE V2X SL.
[0216] In an implementation, if the UAI message carries the destination RAT indication information,
the access network device may determine, based on the destination RAT indication information,
whether the first terminal device requests the NR V2X SL resource or the LTE V2X SL
resource. If the destination RAT indication information is used to indicate the first
RAT, the access network device may search the sixth V2X service identifier list for
first frequency indication information and the service model in the at least one piece
of frequency indication information corresponding to the destination V2X service identifier,
determine the time-frequency resource used to indicate the NR V2X SL, and generate
the resource indication information based on the time-frequency resource used to indicate
the NR V2X SL. If the destination RAT indication information is used to indicate the
second RAT, the access network device may search the sixth V2X service identifier
list for second frequency indication information and the service model in the at least
one piece of frequency indication information corresponding to the destination V2X
service identifier, determine the time-frequency resource used to indicate the LTE
V2X SL, and generate the resource indication information based on the time-frequency
resource used to indicate the LTE V2X SL.
[0217] Step S1004: The access network device sends the resource indication information to
the first terminal device.
[0218] Step S 1005: The first terminal device sends a V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0219] In this embodiment, the first terminal device sends the SUI message to the access
network device, where the SUI message includes the ninth V2X service information,
the ninth V2X service information includes the sixth V2X service identifier list,
and each entry in the sixth V2X service identifier list includes one V2X service identifier
and at least one piece of frequency indication information and the second RAT indication
information that correspond to the V2X service identifier. On this basis, after the
first terminal device sends the UAI message to the access network device, the access
network device may determine, based on the destination RAT indication information,
the RAT indication that corresponds to the destination V2X service identifier and
that is reported by the first terminal device, and configure or schedule the SL resource
of the corresponding RAT for the first terminal device.
[0220] An embodiment of this application provides another resource allocation method. A
difference between the method and the solution in FIG. 9 is that the second RAT indication
information in this embodiment of this application may indicate the first RAT, the
second RAT, or the first RAT and the second RAT. In addition, the access network device
sends a third frequency information list to the first terminal device. However, the
second RAT indication information in the solution in FIG. 9 may indicate only the
first RAT or the second RAT, and the access network device sends the first frequency
information list and the second frequency information list to the first terminal device.
The method includes but is not limited to the following steps.
[0221] Step S1101: The first terminal device sends an SUI message to the access network
device, where the SUI message includes ninth V2X service information, the ninth V2X
service information includes a sixth V2X service identifier list, each entry in the
sixth V2X service identifier list includes one V2X service identifier and at least
one piece of frequency indication information and the second RAT indication information
that correspond to the V2X service identifier, where the second RAT indication information
is used to indicate the first RAT and/or the second RAT. For step S1101 in this embodiment
of this application, refer to the specific description of step S1001 in the foregoing
embodiment. Details are not described again in this embodiment of this application.
[0222] Step S1102: The first terminal device sends a BSR to the access network device, where
the BSR carries a destination index and a buffer size corresponding to the destination
index.
[0223] In this embodiment of this application, before sending a V2X service to the second
terminal device, the first terminal device may obtain a destination index corresponding
to the V2X service, and generate a BSR including the destination index and a buffer
size corresponding to the destination index. Then, the first terminal device sends
the BSR to the access network device. First V2X service information may be the ninth
V2X service information, to be specific, the destination index is used to indicate
a location of the destination V2X service identifier in the ninth V2X service information.
[0224] In an implementation, if the access network device supports inter-RAT SL flexible
scheduling, that is, the access network device can schedule an NR V2X SL resource
and an LTE V2X SL resource by using DCI, the BSR may further carry destination RAT
indication information corresponding to the destination index.
[0225] In this embodiment, if second RAT indication information corresponding to the destination
V2X service identifier in the ninth V2X service information is used to indicate the
first RAT and the second RAT, and the first terminal device requests the NR V2X SL
resource, the first terminal device may generate a BSR including the destination index,
the corresponding buffer size, and the destination RAT indication information, and
send the BSR to the access network device, where the destination RAT indication information
is used to indicate the first RAT. If second RAT indication information corresponding
to the destination index in the ninth V2X service information is used to indicate
the first RAT and the second RAT, and the first terminal device requests the LTE V2X
SL resource, the first terminal device may generate a B SR including the destination
index, the corresponding buffer size, and the destination RAT indication information,
and send the BSR to the access network device, where the destination RAT indication
information is used to indicate the second RAT.
[0226] Step S 1103: The access network device generates resource indication information
based on the destination index and the buffer size corresponding to the destination
index.
[0227] Table 10 is used as an example. Assuming that the destination index is 1 and the
second RAT indication information in the first entry is used to indicate the first
RAT and the second RAT, the access network device may determine that the first terminal
device requests an NR V2X SL resource and an LTE V2X SL resource, search the third
frequency information list for first frequency information based on the frequency
indication information list 1 corresponding to the destination ID 1, determine, based
on the found first frequency information and a buffer size, a time-frequency resource
used to indicate an NR V2X SL, search the third frequency information list for second
frequency information based on the frequency indication information list 1 corresponding
to the destination ID 1, determine, based on the found second frequency information
and the buffer size, a time-frequency resource used to indicate an LTE V2X SL, and
then generate the resource indication information based on the time-frequency resource
used to indicate the LTE V2X SL and the time-frequency resource used to indicate the
NR V2X SL.
[0228] In an implementation, if the BSR carries the destination RAT indication information,
the access network device may determine, based on the destination RAT indication information,
whether the first terminal device requests the NR V2X SL resource or the LTE V2X SL
resource. If the destination RAT indication information is used to indicate the first
RAT, the access network device may search the sixth V2X service identifier list for
the destination V2X service identifier corresponding to the destination index, search
the third frequency information list for the first frequency information based on
frequency indication information corresponding to the destination V2X service identifier,
determine, based on the found first frequency information and the buffer size, the
time-frequency resource used to indicate the NR V2X SL, and generate the resource
indication information based on the time-frequency resource used to indicate the NR
V2X SL. If the destination RAT indication information is used to indicate the second
RAT, the access network device may search the sixth V2X service identifier list for
the destination V2X service identifier corresponding to the destination index, search
the third frequency information list for the second frequency information based on
at least one piece of frequency indication information corresponding to the destination
V2X service identifier, determine, based on the found second frequency information
and the buffer size, the time-frequency resource used to indicate the LTE V2X SL,
and generate the resource indication information based on the time-frequency resource
used to indicate the LTE V2X SL.
[0229] Step S 1104: The access network device sends the resource indication information
to the first terminal device.
[0230] Step S1105: The first terminal device sends a V2X service corresponding to the destination
V2X service identifier to the second terminal device by using the time-frequency resource.
[0231] In this embodiment, the first terminal device sends the SUI message to the access
network device, where the SUI message includes the ninth V2X service information,
the ninth V2X service information includes the sixth V2X service identifier list,
and each entry in the sixth V2X service identifier list includes one V2X service identifier
and at least one piece of frequency indication information and the second RAT indication
information that correspond to the V2X service identifier. On this basis, after the
first terminal device sends the BSR to the access network device, the access network
device may determine, based on the ninth V2X service information and the destination
index that is carried in the BSR, the RAT indication that corresponds to the destination
V2X service identifier and that is reported by the first terminal device, and configure
or schedule the SL resource of the corresponding RAT for the first terminal device.
With reference to the foregoing content, an embodiment of this application provides
another resource allocation method. The method includes but is not limited to the
following solutions:
In V2X, each destination ID is obtained through mapping at the V2X layer. In this
embodiment, the V2X layer of the first terminal device obtains, in consideration of
a same V2X service type (service type), different destination IDs through mapping
for different RATs, that is, a selected RAT is used as an influencing factor for obtaining
the destination ID through mapping. In this case, the RAT may be the first RAT or
the second RAT.
[0232] In an implementation, the V2X layer of the first terminal device may indicate that
two destination IDs correspond to a same service type. For example, RATs of V2X SLs
corresponding to a V2X service type are the first RAT and the second RAT, and the
V2X layer of the first terminal device may obtain two V2X service identifiers through
mapping for a V2X service corresponding to the V2X service type. Different V2X service
identifiers correspond to different RATs.
[0233] Further, RATs of V2X SLs corresponding to a V2X service type are the first RAT and
the second RAT. In this case, when the first terminal device sends the resource request
information to the access network device, the destination V2X service indication information
carried in the resource request information may indicate two V2X service identifiers.
[0234] In this embodiment, the V2X service identifier corresponds to the first RAT or the
second RAT. This can avoid a complex processing procedure caused by a case in which
the V2X service identifier corresponds to the first RAT and the second RAT.
[0235] The foregoing has described the method in the embodiments of this application in
detail. The following provides a communication apparatus and a related device in the
embodiments of this application.
[0236] FIG. 10 is a schematic diagram of a structure of a communication apparatus according
to an embodiment of this application. The communication apparatus is configured to
perform steps performed by the first terminal device in the method embodiments corresponding
to FIG. 2 to FIG. 9 and the foregoing content. The communication apparatus may include:
a receiving unit 1201, configured to receive a first frequency information list and
a second frequency information list from an access network device, where the first
frequency information list includes at least one piece of first frequency information,
and the second frequency information list includes at least one piece of second frequency
information; and
a sending unit 1202, configured to send resource request information to the access
network device, where the resource request information carries destination V2X service
indication information, the destination V2X service indication information corresponds
to a first RAT and/or corresponds to a second RAT, the first RAT corresponds to the
first frequency information list, and the second RAT corresponds to the second frequency
information list, where
the receiving unit 1201 is further configured to receive resource indication information
from the access network device, where the resource indication information is a time-frequency
resource that is determined by the access network device based on the destination
V2X service indication information and that is used to indicate a sidelink SL; and
the sending unit 1202 is further configured to send a V2X service to a second terminal
device by using the time-frequency resource.
[0237] In an implementation, before sending the resource request information to the access
network device, the sending unit 1202 may send a second message to the access network
device, where the second message includes second V2X service information, the second
V2X service information includes a first V2X service identifier list, each entry in
the first V2X service identifier list includes one V2X service identifier and a first
frequency indication information list corresponding to the V2X service identifier,
and a destination V2X service identifier indicated by the destination V2X service
indication information is one V2X service identifier in the second V2X service information.
[0238] In an implementation, the second message alternatively includes third V2X service
information, the third V2X service information includes a third frequency indication
information list, each entry in the third frequency indication information list includes
one piece of second frequency indication information and at least one V2X service
identifier corresponding to the second frequency indication information, a destination
V2X service identifier indicated by the destination V2X service indication information
is one V2X service identifier in second V2X service information or the third V2X service
information.
[0239] In an implementation, before sending the resource request information to the access
network device, the sending unit 1202 may send a second message to the access network
device, where the second message includes fifth V2X service information, the fifth
V2X service information includes a third V2X service identifier list, each entry in
the third V2X service identifier list includes one V2X service identifier and a first
frequency indication information list or a second frequency indication information
list corresponding to the V2X service identifier, and a destination V2X service identifier
indicated by the destination V2X service indication information is one V2X service
identifier in the fifth V2X service information.
[0240] In an implementation, at least two same V2X service identifiers exist in the third
V2X service identifier list.
[0241] In an implementation, before sending the resource request information to the access
network device, the sending unit 1202 may send a second message to the access network
device, where the second message includes sixth V2X service information and seventh
V2X service information, the sixth V2X service information includes a fourth V2X service
identifier list, each entry in the fourth V2X service identifier list includes one
V2X service identifier and a first frequency indication information list corresponding
to the V2X service identifier, the seventh V2X service information includes a fifth
V2X service identifier list, each entry in the fifth V2X service identifier list includes
one V2X service identifier and a second frequency indication information list corresponding
to the V2X service identifier, a destination V2X service identifier indicated by the
destination V2X service indication information is one V2X service identifier in the
sixth V2X service information or the seventh V2X service information.
[0242] In an implementation, before sending the resource request information to the access
network device, the sending unit 1202 may send a second message to the access network
device, where the second message includes ninth V2X service information, the ninth
V2X service information includes a sixth V2X service identifier list, each entry in
the sixth V2X service identifier list includes one V2X service identifier and a frequency
indication information list and second RAT indication information that correspond
to the V2X service identifier, the second RAT indication information is used to indicate
the first RAT or the second RAT, the frequency indication information list is a first
frequency indication information list or a second frequency indication information
list, and a destination V2X service identifier indicated by the destination V2X service
indication information is one V2X service identifier in the ninth V2X service information.
[0243] In an implementation, first frequency indication information is a first frequency
index, and the first frequency index is used to indicate a location of the first frequency
information in the first frequency information list; and the second frequency indication
information is a second frequency index, and the second frequency index is used to
indicate a location of the second frequency information in the second frequency information
list.
[0244] In an implementation, before sending the second message to the access network device,
the sending unit 1202 may obtain first RAT indication information of any V2X service.
[0245] The communication apparatus may further include a processing unit 1203.
[0246] The processing unit 1203 is configured to determine, based on the first RAT indication
information, a RAT corresponding to a V2X service identifier used to indicate the
V2X service, where the RAT includes the first RAT and/or the second RAT.
[0247] The processing unit 1203 is further configured to generate the second message based
on the determined RAT.
[0248] In an implementation, before sending the second message to the access network device,
the sending unit 1202 may obtain a propagation type of any V2X service.
[0249] The communication apparatus may further include a processing unit 1203.
[0250] The processing unit 1203 is configured to: if the propagation type is multicast or
unicast, determine that a RAT corresponding to a V2X service identifier used to indicate
the V2X service is the first RAT; or if the propagation type is broadcast, obtain
first RAT indication information of the V2X service, and determine, based on the first
RAT indication information, a RAT corresponding to a V2X service identifier used to
indicate the V2X service, where the RAT includes the first RAT and/or the second RAT.
[0251] The processing unit 1203 is further configured to generate the second message based
on the determined RAT.
[0252] In an implementation, that the sending unit 1202 sends resource request information
to the access network device includes:
sending a BSR to the access network device, where the BSR carries destination RAT
indication information, and the destination RAT indication information is used to
indicate the first RAT or the second RAT.
[0253] In an implementation, the destination V2X service indication information includes
the destination V2X service identifier or a destination index, the destination V2X
service identifier corresponds to the first frequency indication information list
and/or the second frequency indication information list, and the destination index
is used to indicate a location of the destination V2X service identifier in first
V2X service information.
[0254] In an implementation, the first V2X service information is the second V2X service
information, fourth V2X service information, the fifth V2X service information, the
sixth V2X service information, eighth V2X service information, or the ninth V2X service
information, where the fourth V2X service information includes the first V2X service
identifier list and a second V2X service identifier list, the second V2X service identifier
list includes all the V2X service identifiers in the second V2X service information
in sequence, and the first V2X service identifier list is located before or after
the second V2X service identifier list; and the eighth V2X service information includes
the fourth V2X service identifier list and the fifth V2X service identifier list,
and the fourth V2X service identifier list is located before or after the fifth V2X
service identifier list.
[0255] It should be noted that, for content that is not described in the embodiment corresponding
to FIG. 10 and specific implementations of the steps performed by the units, refer
to the embodiments shown in FIG. 1 to FIG. 9 and the foregoing content. Details are
not described herein.
[0256] In an implementation, related functions implemented by the units in FIG. 10 may be
implemented in combination with a processor, a transmitter, and a receiver. FIG. 11
is a schematic diagram of a structure of a terminal device according to an embodiment
of the present invention. The terminal device includes a processor 1301, a memory
1302, a receiver 1303, and a transmitter 1304. The processor 1301, the memory 1302,
the receiver 1303, and the transmitter 1304 are connected through one or more communication
buses.
[0257] The processor 1301 is configured to support the terminal device in performing the
methods in FIG. 2 to FIG. 9 and the steps performed by the first terminal device in
the foregoing content. The processor 1301 may be a central processing unit (central
processing unit, CPU), a network processor (network processor, NP), a hardware chip,
or any combination thereof.
[0258] The memory 1302 is configured to store program code and the like. The memory 1302
may include a volatile memory (volatile memory), for example, a random access memory
(random access memory, RAM). The memory 1302 may alternatively include a non-volatile
memory (non-volatile memory), for example, a read-only memory (read-only memory, ROM),
a flash memory (flash memory), a hard disk drive (hard disk drive, HDD), or a solid-state
drive (solid-state drive, SSD). The memory 1302 may alternatively include a combination
of the foregoing types of memories.
[0259] The receiver 1303 is configured to receive a message, for example, receive a first
frequency information list and a second frequency information list from an access
network device.
[0260] The transmitter 1304 is configured to send a message, for example, send resource
request information to the access network device.
[0261] The processor 1301, the receiver 1303, and the transmitter 1304 may invoke the program
code stored in the memory 1302, to perform the following operations:
receiving, by the receiver 1303, the first frequency information list and the second
frequency information list from the access network device, where the first frequency
information list includes at least one piece of first frequency information, and the
second frequency information list includes at least one piece of second frequency
information;
sending, by the transmitter 1304, the resource request information to the access network
device, where the resource request information carries destination V2X service indication
information, the destination V2X service indication information corresponds to a first
RAT and/or corresponds to a second RAT, the first RAT corresponds to the first frequency
information list, and the second RAT corresponds to the second frequency information
list;
receiving, by the receiver 1303, resource indication information from the access network
device, where the resource indication information is a time-frequency resource that
is determined by the access network device based on the destination V2X service indication
information and that is used to indicate a sidelink SL; and
sending, by the transmitter 1304, a V2X service to a second terminal device by using
the time-frequency resource.
[0262] In an implementation, before sending the resource request information to the access
network device, the transmitter 1304 may send a second message to the access network
device, where the second message includes second V2X service information, the second
V2X service information includes a first V2X service identifier list, each entry in
the first V2X service identifier list includes one V2X service identifier and a first
frequency indication information list corresponding to the V2X service identifier,
and a destination V2X service identifier indicated by the destination V2X service
indication information is one V2X service identifier in the second V2X service information.
[0263] In an implementation, the second message alternatively includes third V2X service
information, the third V2X service information includes a third frequency indication
information list, each entry in the third frequency indication information list includes
one piece of second frequency indication information and at least one V2X service
identifier corresponding to the second frequency indication information, a destination
V2X service identifier indicated by the destination V2X service indication information
is one V2X service identifier in second V2X service information or the third V2X service
information.
[0264] In an implementation, before sending the resource request information to the access
network device, the transmitter 1304 may send a second message to the access network
device, where the second message includes fifth V2X service information, the fifth
V2X service information includes a third V2X service identifier list, each entry in
the third V2X service identifier list includes one V2X service identifier and a first
frequency indication information list or a second frequency indication information
list corresponding to the V2X service identifier, and a destination V2X service identifier
indicated by the destination V2X service indication information is one V2X service
identifier in the fifth V2X service information.
[0265] In an implementation, at least two same V2X service identifiers exist in the third
V2X service identifier list.
[0266] In an implementation, before sending the resource request information to the access
network device, the transmitter 1304 may send a second message to the access network
device, where the second message includes sixth V2X service information and seventh
V2X service information, the sixth V2X service information includes a fourth V2X service
identifier list, each entry in the fourth V2X service identifier list includes one
V2X service identifier and a first frequency indication information list corresponding
to the V2X service identifier, the seventh V2X service information includes a fifth
V2X service identifier list, each entry in the fifth V2X service identifier list includes
one V2X service identifier and a second frequency indication information list corresponding
to the V2X service identifier, a destination V2X service identifier indicated by the
destination V2X service indication information is one V2X service identifier in the
sixth V2X service information or the seventh V2X service information.
[0267] In an implementation, before sending the resource request information to the access
network device, the transmitter 1304 may send a second message to the access network
device, where the second message includes ninth V2X service information, the ninth
V2X service information includes a sixth V2X service identifier list, each entry in
the sixth V2X service identifier list includes one V2X service identifier and a frequency
indication information list and second RAT indication information that correspond
to the V2X service identifier, the second RAT indication information is used to indicate
the first RAT or the second RAT, the frequency indication information list is a first
frequency indication information list or a second frequency indication information
list, and a destination V2X service identifier indicated by the destination V2X service
indication information is one V2X service identifier in the ninth V2X service information.
[0268] In an implementation, first frequency indication information is a first frequency
index, and the first frequency index is used to indicate a location of the first frequency
information in the first frequency information list; and the second frequency indication
information is a second frequency index, and the second frequency index is used to
indicate a location of the second frequency information in the second frequency information
list.
[0269] In an implementation, before sending the second message to the access network device,
the transmitter 1304 may obtain first RAT indication information of any V2X service.
[0270] The processor 1301 is configured to determine, based on the first RAT indication
information, a RAT corresponding to a V2X service identifier used to indicate the
V2X service, where the RAT includes the first RAT and/or the second RAT.
[0271] The processor 1301 generates the second message based on the determined RAT.
[0272] In an implementation, before sending the second message to the access network device,
the transmitter 1304 may obtain a propagation type of any V2X service.
[0273] If the propagation type is multicast or unicast, the processor 1301 determines that
a RAT corresponding to a V2X service identifier used to indicate the V2X service is
the first RAT; or if the propagation type is broadcast, obtain first RAT indication
information of the V2X service, and determine, based on the first RAT indication information,
a RAT corresponding to a V2X service identifier used to indicate the V2X service,
where the RAT includes the first RAT and/or the second RAT.
[0274] The processor 1301 generates the second message based on the determined RAT.
[0275] In an implementation, that the transmitter 1304 sends resource request information
to the access network device includes:
sending a BSR to the access network device, where the BSR carries destination RAT
indication information, and the destination RAT indication information is used to
indicate the first RAT or the second RAT.
[0276] In an implementation, the destination V2X service indication information includes
the destination V2X service identifier or a destination index, the destination V2X
service identifier corresponds to the first frequency indication information list
and/or the second frequency indication information list, and the destination index
is used to indicate a location of the destination V2X service identifier in first
V2X service information.
[0277] In an implementation, the first V2X service information is the second V2X service
information, fourth V2X service information, the fifth V2X service information, the
sixth V2X service information, eighth V2X service information, or the ninth V2X service
information, where the fourth V2X service information includes the first V2X service
identifier list and a second V2X service identifier list, the second V2X service identifier
list includes all the V2X service identifiers in the second V2X service information
in sequence, and the first V2X service identifier list is located before or after
the second V2X service identifier list; and the eighth V2X service information includes
the fourth V2X service identifier list and the fifth V2X service identifier list,
and the fourth V2X service identifier list is located before or after the fifth V2X
service identifier list.
[0278] It should be noted that, for content that is not described in the embodiment corresponding
to FIG. 11 and specific implementations of the steps performed by the components,
refer to the embodiments shown in FIG. 1 to FIG. 9 and the foregoing content. Details
are not described herein.
[0279] FIG. 12 is another schematic diagram of a structure of a communication apparatus
according to an embodiment of this application. The communication apparatus is configured
to perform steps performed by the access network device in the method embodiments
corresponding to FIG. 2 to FIG. 9 and the foregoing content. The communication apparatus
may include:
a sending unit 1401, configured to send a first frequency information list and a second
frequency information list to a first terminal device, where the first frequency information
list includes at least one piece of first frequency information, and the second frequency
information list includes at least one piece of second frequency information;
a receiving unit 1402, configured to receive resource request information from the
first terminal device, where the resource request information carries destination
V2X service indication information, the destination V2X service indication information
corresponds to a first RAT and/or corresponds to a second RAT, the first RAT corresponds
to the first frequency information list, and the second RAT corresponds to the second
frequency information list; and
a processing unit 1403, configured to generate resource indication information based
on the resource request information, where the resource indication information is
a time-frequency resource that is determined by an access network device based on
the destination V2X service indication information and that is used to indicate a
sidelink SL, the time-frequency resource corresponds to a RAT, and the RAT includes
the first RAT and/or the second RAT, where
the sending unit 1401 is further configured to send the resource indication information
to the first terminal device.
[0280] In an implementation, before receiving the resource request information from the
first terminal device, the receiving unit 1402 may receive a second message from the
first terminal device, where the second message includes second V2X service information,
the second V2X service information includes a first V2X service identifier list, each
entry in the first V2X service identifier list includes one V2X service identifier
and a first frequency indication information list corresponding to the V2X service
identifier, and a destination V2X service identifier indicated by the destination
V2X service indication information is one V2X service identifier in the second V2X
service information.
[0281] In an implementation, the second message alternatively includes third V2X service
information, the third V2X service information includes a third frequency indication
information list, each entry in the third frequency indication information list includes
one piece of second frequency indication information and at least one V2X service
identifier corresponding to the second frequency indication information, a destination
V2X service identifier indicated by the destination V2X service indication information
is one V2X service identifier in second V2X service information or the third V2X service
information.
[0282] In an implementation, before receiving the resource request information from the
first terminal device, the receiving unit 1402 may receive a second message from the
first terminal device, where the second message includes fifth V2X service information,
the fifth V2X service information includes a third V2X service identifier list, each
entry in the third V2X service identifier list includes one V2X service identifier
and a first frequency indication information list or a second frequency indication
information list corresponding to the V2X service identifier, and a destination V2X
service identifier indicated by the destination V2X service indication information
is one V2X service identifier in the fifth V2X service information.
[0283] In an implementation, at least two same V2X service identifiers exist in the third
V2X service identifier list.
[0284] In an implementation, before receiving the resource request information from the
first terminal device, the receiving unit 1402 may receive a second message from the
first terminal device, where the second message includes sixth V2X service information
and seventh V2X service information, the sixth V2X service information includes a
fourth V2X service identifier list, each entry in the fourth V2X service identifier
list includes one V2X service identifier and a first frequency indication information
list corresponding to the V2X service identifier, the seventh V2X service information
includes a fifth V2X service identifier list, each entry in the fifth V2X service
identifier list includes one V2X service identifier and a second frequency indication
information list corresponding to the V2X service identifier, a destination V2X service
identifier indicated by the destination V2X service indication information is one
V2X service identifier in the sixth V2X service information or the seventh V2X service
information.
[0285] In an implementation, before receiving the resource request information from the
first terminal device, the receiving unit 1402 may receive a second message from the
first terminal device, where the second message includes ninth V2X service information,
the ninth V2X service information includes a sixth V2X service identifier list, each
entry in the sixth V2X service identifier list includes one V2X service identifier
and a frequency indication information list and second RAT indication information
that correspond to the V2X service identifier, the second RAT indication information
is used to indicate the first RAT or the second RAT, the frequency indication information
list is a first frequency indication information list or a second frequency indication
information list, and a destination V2X service identifier indicated by the destination
V2X service indication information is one V2X service identifier in the ninth V2X
service information.
[0286] In an implementation, first frequency indication information is a first frequency
index, and the first frequency index is used to indicate a location of the first frequency
information in the first frequency information list; the second frequency indication
information is a second frequency index, and the second frequency index is used to
indicate a location of the second frequency information in the second frequency information
list; and the first frequency information list corresponds to the first RAT, and the
second frequency information list corresponds to the second RAT.
[0287] In an implementation, that the receiving unit 1402 receives resource request information
from the first terminal device includes:
receiving a BSR from the first terminal device, where the BSR carries destination
RAT indication information, and the destination RAT indication information is used
to indicate the first RAT or the second RAT.
[0288] In an implementation, the destination V2X service indication information includes
the destination V2X service identifier or a destination index, the destination V2X
service identifier corresponds to the first frequency indication information list
and/or the second frequency indication information list, and the destination index
is used to indicate a location of the destination V2X service identifier in first
V2X service information.
[0289] In an implementation, the first V2X service information is the second V2X service
information, fourth V2X service information, the fifth V2X service information, the
sixth V2X service information, eighth V2X service information, or the ninth V2X service
information, where the fourth V2X service information includes the first V2X service
identifier list and a second V2X service identifier list, the second V2X service identifier
list includes all the V2X service identifiers in the second V2X service information
in sequence, and the first V2X service identifier list is located before or after
the second V2X service identifier list; and the eighth V2X service information includes
the fourth V2X service identifier list and the fifth V2X service identifier list,
and the fourth V2X service identifier list is located before or after the fifth V2X
service identifier list.
[0290] In an implementation, that a processing unit 1403 generates resource indication information
based on the resource request information includes:
determining, based on the destination V2X service indication information, a RAT and
frequency information that are used to transmit a V2X service; and
generating the resource indication information based on the RAT and the frequency
information.
[0291] It should be noted that, for content that is not described in the embodiment corresponding
to FIG. 12 and specific implementations of the steps performed by the units, refer
to the embodiments shown in FIG. 1 to FIG. 9 and the foregoing content. Details are
not described herein.
[0292] In an implementation, related functions implemented by the units in FIG. 12 may be
implemented in combination with a processor, a transmitter, and a receiver. FIG. 13
is a schematic diagram of a structure of an access network device according to an
embodiment of the present invention. The access network device includes a processor
1501, a memory 1502, a receiver 1503, and a transmitter 1504. The processor 1501,
the memory 1502, the receiver 1503, and the transmitter 1504 are connected through
one or more communication buses.
[0293] The processor 1501 is configured to support the access network device in performing
the methods in FIG. 2 to FIG. 9 and the steps performed by the access network device
in the foregoing content. The processor 1501 may be a CPU, an NP, a hardware chip,
or any combination thereof.
[0294] The memory 1502 is configured to store program code and the like. The memory 1502
may include a volatile memory, for example, a RAM. The memory 1502 may alternatively
include a non-volatile memory, for example, a ROM, a flash memory, an HDD, or an SSD.
The memory 1502 may alternatively include a combination of the foregoing types of
memories.
[0295] The receiver 1503 is configured to receive a message, for example, receive resource
request information from a first terminal device.
[0296] The transmitter 1504 is configured to send a message, for example, send a first frequency
information list and a second frequency information list to the first terminal device.
[0297] The processor 1501, the receiver 1503, and the transmitter 1504 may invoke the program
code stored in the memory 1502, to perform the following operations:
sending, by the transmitter 1504, the first frequency information list and the second
frequency information list to the first terminal device, where the first frequency
information list includes at least one piece of first frequency information, and the
second frequency information list includes at least one piece of second frequency
information;
receiving, by the receiver 1503, the resource request information from the first terminal
device, where the resource request information carries destination V2X service indication
information, the destination V2X service indication information corresponds to a first
RAT and/or corresponds to a second RAT, the first RAT corresponds to the first frequency
information list, and the second RAT corresponds to the second frequency information
list;
generating, by the processor 1501, resource indication information based on the resource
request information, where the resource indication information is a time-frequency
resource that is determined by the access network device based on the destination
V2X service indication information and that is used to indicate a sidelink SL, the
time-frequency resource corresponds to a RAT, and the RAT includes the first RAT and/or
the second RAT; and
sending, by the transmitter 1504, the resource indication information to the first
terminal device.
[0298] In an implementation, before receiving the resource request information from the
first terminal device, the receiver 1503 may receive a second message from the first
terminal device, where the second message includes second V2X service information,
the second V2X service information includes a first V2X service identifier list, each
entry in the first V2X service identifier list includes one V2X service identifier
and a first frequency indication information list corresponding to the V2X service
identifier, and a destination V2X service identifier indicated by the destination
V2X service indication information is one V2X service identifier in the second V2X
service information.
[0299] In an implementation, the second message alternatively includes third V2X service
information, the third V2X service information includes a third frequency indication
information list, each entry in the third frequency indication information list includes
one piece of second frequency indication information and at least one V2X service
identifier corresponding to the second frequency indication information, a destination
V2X service identifier indicated by the destination V2X service indication information
is one V2X service identifier in second V2X service information or the third V2X service
information.
[0300] In an implementation, before receiving the resource request information from the
first terminal device, the receiver 1503 may receive a second message from the first
terminal device, where the second message includes fifth V2X service information,
the fifth V2X service information includes a third V2X service identifier list, each
entry in the third V2X service identifier list includes one V2X service identifier
and a first frequency indication information list or a second frequency indication
information list corresponding to the V2X service identifier, and a destination V2X
service identifier indicated by the destination V2X service indication information
is one V2X service identifier in the fifth V2X service information.
[0301] In an implementation, at least two same V2X service identifiers exist in the third
V2X service identifier list.
[0302] In an implementation, before receiving the resource request information from the
first terminal device, the receiver 1503 may receive a second message from the first
terminal device, where the second message includes sixth V2X service information and
seventh V2X service information, the sixth V2X service information includes a fourth
V2X service identifier list, each entry in the fourth V2X service identifier list
includes one V2X service identifier and a first frequency indication information list
corresponding to the V2X service identifier, the seventh V2X service information includes
a fifth V2X service identifier list, each entry in the fifth V2X service identifier
list includes one V2X service identifier and a second frequency indication information
list corresponding to the V2X service identifier, a destination V2X service identifier
indicated by the destination V2X service indication information is one V2X service
identifier in the sixth V2X service information or the seventh V2X service information.
[0303] In an implementation, before receiving the resource request information from the
first terminal device, the receiver 1503 may receive a second message from the first
terminal device, where the second message includes ninth V2X service information,
the ninth V2X service information includes a sixth V2X service identifier list, each
entry in the sixth V2X service identifier list includes one V2X service identifier
and a frequency indication information list and second RAT indication information
that correspond to the V2X service identifier, the second RAT indication information
is used to indicate the first RAT or the second RAT, the frequency indication information
list is a first frequency indication information list or a second frequency indication
information list, and a destination V2X service identifier indicated by the destination
V2X service indication information is one V2X service identifier in the ninth V2X
service information.
[0304] In an implementation, first frequency indication information is a first frequency
index, and the first frequency index is used to indicate a location of the first frequency
information in the first frequency information list; the second frequency indication
information is a second frequency index, and the second frequency index is used to
indicate a location of the second frequency information in the second frequency information
list; and the first frequency information list corresponds to the first RAT, and the
second frequency information list corresponds to the second RAT.
[0305] In an implementation, that the receiver 1503 receives resource request information
from the first terminal device includes:
receiving a BSR from the first terminal device, where the BSR carries destination
RAT indication information, and the destination RAT indication information is used
to indicate the first RAT or the second RAT.
[0306] In an implementation, the destination V2X service indication information includes
the destination V2X service identifier or a destination index, the destination V2X
service identifier corresponds to the first frequency indication information list
and/or the second frequency indication information list, and the destination index
is used to indicate a location of the destination V2X service identifier in first
V2X service information.
[0307] In an implementation, the first V2X service information is the second V2X service
information, fourth V2X service information, the fifth V2X service information, the
sixth V2X service information, eighth V2X service information, or the ninth V2X service
information, where the fourth V2X service information includes the first V2X service
identifier list and a second V2X service identifier list, the second V2X service identifier
list includes all the V2X service identifiers in the second V2X service information
in sequence, and the first V2X service identifier list is located before or after
the second V2X service identifier list; and the eighth V2X service information includes
the fourth V2X service identifier list and the fifth V2X service identifier list,
and the fourth V2X service identifier list is located before or after the fifth V2X
service identifier list.
[0308] In an implementation, that a processor 1501 generates resource indication information
based on the resource request information includes:
determining, based on the destination V2X service indication information, a RAT and
frequency information that are used to transmit a V2X service; and
generating the resource indication information based on the RAT and the frequency
information.
[0309] It should be noted that, for content that is not described in the embodiment corresponding
to FIG. 13 and specific implementations of the steps performed by the components,
refer to the embodiments shown in FIG. 1 to FIG. 9 and the foregoing content. Details
are not described herein.
[0310] All or some of the foregoing embodiments may be implemented by using software, hardware,
firmware, or any combination thereof. When software is used to implement the embodiments,
all or some of the embodiments may be implemented in a form of a computer program
product. The computer program product includes one or more computer instructions.
When the computer program instructions are loaded and executed on a computer, all
or some of the procedures or the functions according to the embodiments of this application
are generated. The computer may be a general-purpose computer, a special-purpose computer,
a computer network, or another programmable apparatus. The computer instructions may
be stored in a computer-readable storage medium or may be transmitted from one computer-readable
storage medium to another computer-readable storage medium. For example, the computer
instructions may be transmitted from a website, computer, server, or data center to
another website, computer, server, or data center in a wired (for example, a coaxial
cable, an optical fiber, or a digital subscriber line) or wireless (for example, infrared,
radio, or microwave) manner. The computer-readable storage medium may be any usable
medium accessible by a computer, or a data storage device, such as a server or a data
center, integrating one or more usable media. The usable medium may be a magnetic
medium (for example, a floppy disk, a storage disk, or a magnetic tape), an optical
medium (for example, a DVD), a semiconductor medium (for example, a solid-state drive
(solid-state drive, SSD)), or the like.