Methods and apparatus for determining resources

By using a second terminal device to determine the provision of time and frequency resource information based on location information, the problem of inaccurate acquisition by terminal devices in vehicle-to-everything (V2X) communication is solved, thereby improving the reliability of data transmission and system efficiency.

CN116210267BActive Publication Date: 2025-11-14HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202080104730.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-07
Publication Date
2025-11-14
Estimated Expiration
2040-08-07

AI Technical Summary

Technical Problem

In vehicle-to-everything (V2X) communication systems, inaccurate time and frequency resource information acquired by terminal devices leads to low data transmission reliability. In existing technologies, the resource information provided by terminal devices may not be useful to the receiving end, potentially resulting in resource waste and system interference.

Method used

The second terminal device determines whether to provide time and frequency resource information to the first terminal device based on the location information of the first and third terminal devices, ensuring that the information provided is of reference value to the first terminal device, including available or unavailable time and frequency resource information.

Benefits of technology

It improves the reliability of data transmission, reduces resource waste and system interference, and improves the operating efficiency of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116210267B_ABST
    Figure CN116210267B_ABST
Patent Text Reader

Abstract

This application provides a method and apparatus for determining resources, which can improve the reliability of data transmission. The method includes: a second terminal device receiving a first message sent by a first terminal device, the first message being used to obtain time-frequency resource information, the first message including location information of the first terminal device and / or location information of a third terminal device, wherein the third terminal device is a target terminal device to which the first terminal device needs to transmit data; the second terminal device determining to send the time-frequency resource information to the first terminal device, the time-frequency resource information including available time-frequency resource information or unavailable time-frequency resource information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more specifically, to a method and apparatus for determining resources. Background Technology

[0002] In a vehicle-to-everything (V2X) system, the connection between vehicular terminal devices is a sidelink (SL). When a first terminal device sends data to a third terminal device via the sidelink, it needs to determine the available time-frequency resources. In one implementation, the first terminal device can request time-frequency resources from the base station; in another implementation, the first terminal device can select time-frequency resources from a resource pool to send data to the third terminal device. Before selecting time-frequency resources from the resource pool to send data to the third terminal device, the first terminal device needs to determine which time-frequency resources in the pool are available, or which are unavailable.

[0003] Currently, the first terminal device can send resource request messages to other terminal devices to request information on available or unavailable time-frequency resources, and then send data to the third terminal device based on the obtained time-frequency resource information. However, the time-frequency resource information provided by other terminal devices may not be useful. Summary of the Invention

[0004] This application provides a method and apparatus for determining resources, which can improve the reliability of data transmission.

[0005] In a first aspect, a method for determining resources is provided, comprising: a second terminal device receiving a first message sent by a first terminal device, the first message being used to obtain time-frequency resource information, the first message including location information of the first terminal device and / or location information of a third terminal device, wherein the third terminal device is a target terminal device to which the first terminal device needs to transmit data; the second terminal device determining to send the time-frequency resource information to the first terminal device, the time-frequency resource information including available time-frequency resource information or unavailable time-frequency resource information.

[0006] Based on the above technical solution, the second terminal device can determine whether to provide time and frequency resource information to the first terminal device according to its distance from the first terminal device and / or its distance from the third terminal device. This ensures that the provided time and frequency resource information is of reference value to the first terminal device, enabling the first terminal device to select available time and frequency resources to send data to the third terminal device, thereby improving the reliability of data transmission.

[0007] In one possible implementation, the second terminal device determines to send the time-frequency resource information to the first terminal device, including: the second terminal device determines to send the time-frequency resource information to the first terminal device based on the location information.

[0008] In one possible implementation, the second terminal device determines to send the time-frequency resource information to the first terminal device based on the location information, including: the second terminal device determines a first distance between the second terminal device and the first terminal device based on the location information of the first terminal device; if the first distance is greater than a first threshold, the second terminal device determines to send the time-frequency resource information to the first terminal device.

[0009] In one possible implementation, the second terminal device determines to send the time-frequency resource information to the first terminal device based on the location information, including: the second terminal device determines a second distance between the second terminal device and the third terminal device based on the location information of the third terminal device; if the second distance is less than a second threshold, the second terminal device determines to send the time-frequency resource information to the first terminal device.

[0010] In one possible implementation, the second terminal device determines to send the time-frequency resource information to the first terminal device based on the location information, including: the second terminal device determines a first distance between the second terminal device and the first terminal device and a second distance between the second terminal device and the third terminal device based on the location information of the first terminal device and the location information of the third terminal device; if the first distance is greater than a first threshold and the second distance is less than a second threshold, then the second terminal device determines to send the time-frequency resource information to the first terminal device.

[0011] In one possible implementation, the location information of the first terminal device and / or the location information of the third terminal device is carried in one of the following: first-level side crosslink control information (SCI), second-level side crosslink control information (SCI), or media access control layer control element (MAC CE).

[0012] In one possible implementation, the location information includes a region identifier.

[0013] In a second aspect, a method for determining resources is provided, comprising: a first terminal device acquiring location information of a second terminal device and / or location information of a third terminal device, wherein the third terminal device is a target terminal device to which the first terminal device needs to transmit data; the first terminal device determining to send a first message to the second terminal device, the first message being used to acquire time-frequency resource information, the time-frequency resource information including available time-frequency resource information or unavailable time-frequency resource information.

[0014] Based on the above technical solution, the first terminal device determines whether to request time-frequency resource information from the second terminal device according to the distance between itself and the second terminal device and / or the distance between itself and the third terminal device. This ensures that the obtained time-frequency resource information is of reference value to the first terminal device, enabling the first terminal device to select available time-frequency resources to send data to the third terminal device, thereby improving the reliability of data transmission.

[0015] In one possible implementation, the first terminal device determines to send a first message to the second terminal device, including: the first terminal device determines to send the first message to the second terminal device based on the location information.

[0016] In one possible implementation, the first terminal device determines to send the first message to the second terminal device based on the location information, including: the first terminal device determines a first distance between the first terminal device and the second terminal device based on the location information of the second terminal device; if the first distance is greater than a third threshold, the first terminal device determines to send the first message to the second terminal device.

[0017] In one possible implementation, the first terminal device determines to send the first message to the second terminal device based on the location information, including: the first terminal device determines a second distance between the second terminal device and the third terminal device based on the location information of the second terminal device and the location information of the third terminal device; if the second distance is less than a fourth threshold, the first terminal device determines to send the first message to the second terminal device.

[0018] In one possible implementation, the second terminal device is the terminal device that is closest to the third terminal device among at least one fourth terminal device.

[0019] In one possible implementation, the first terminal device determines to send the first message to the second terminal device based on the location information, including: the first terminal device determines a first distance between the first terminal device and the second terminal device, and a second distance between the second terminal device and the third terminal device based on the location information of the second terminal device and the location information of the third terminal device; if the first distance is greater than a third threshold and the second distance is less than a fourth threshold, then the first terminal device determines to send the first message to the second terminal device.

[0020] In one possible implementation, the first terminal device acquiring the location information of the second terminal device and / or the location information of the third terminal device includes: the first terminal device sending a location information request message to the second terminal device and / or the third terminal device; the first terminal device receiving the location information of the second terminal device sent by the second terminal device, and / or the first terminal device receiving the location information of the third terminal device sent by the third terminal device.

[0021] In one possible implementation, the location information of the second terminal device and / or the location information of the third terminal device is carried in one of the following: first-level side crosslink control information (SCI), second-level side crosslink control information (SCI), or media access control layer control element (MAC CE).

[0022] In one possible implementation, the location information includes a region identifier.

[0023] Thirdly, a method for determining resources is provided, comprising: a second terminal device receiving at least one second message from at least one first terminal device, the second message being used to obtain time-frequency resource information, the second message including at least one of priority information, delay information, broadcast type information, channel quality information, and energy-saving information of data to be transmitted by the first terminal device; the second terminal device determining to send the time-frequency resource information to the first terminal device, the time-frequency resource information including available time-frequency resource information or unavailable time-frequency resource information.

[0024] Based on the above technical solution, the second terminal device can determine whether to send time-frequency resource information to the first terminal device, or determine the order in which to send time-frequency resource information to the first terminal device, according to at least one of the priority information, delay information, broadcast type information, channel quality information, and energy-saving information of the data to be transmitted by the first terminal device. This ensures that the first terminal device uses available time-frequency resources to send data to the third terminal device, thereby improving the reliability of data transmission. The behavior of the second terminal device when receiving multiple second messages is defined, improving communication efficiency.

[0025] In one possible implementation, the second terminal device determines to send the time-frequency resource information to the first terminal device, including: the second terminal device determines to send the time-frequency resource information to the first terminal device based on the second message.

[0026] In one possible implementation, the second terminal device determines to send the time-frequency resource information to the first terminal device according to the second message, including: the second terminal device determines to send the time-frequency resource information to the first terminal device according to the priority information of the data to be sent by the first terminal device, wherein the priority value of the data to be sent by the first terminal device is lower than a fifth threshold.

[0027] In one possible implementation, the second terminal device determines to send the time-frequency resource information to the first terminal device based on the second message, including: the second terminal device determines to send the time-frequency resource information to the first terminal device based on the delay information, wherein the delay of the first terminal device is the shortest.

[0028] In one possible implementation, the second terminal device determines to send the time-frequency resource information to the first terminal device based on the second message, including: the second terminal device determines to send the time-frequency resource information to the first terminal device based on the broadcast type information, wherein the second message sent by the first terminal device is sent in a unicast manner.

[0029] In one possible implementation, the second terminal device determines to send the time-frequency resource information to the first terminal device according to the second message, including: the second terminal device determines to send the time-frequency resource information to the first terminal device according to the channel quality information, wherein the channel quality information of the first terminal device satisfies a preset condition.

[0030] In one possible implementation, the delay information includes remaining packet delay budget (PDB) information.

[0031] In one possible implementation, the channel quality information includes at least one of: Reference Signal Received Power (RSRP) information, Received Signal Strength Indication (RSSI) information, Signal-to-Noise Ratio (SINR) and Interference Ratio (SINR) information, or Channel State Information (CSI).

[0032] In one possible implementation, the second terminal device determines the time-frequency resource information to be sent to the first terminal device based on the remaining packet delay budget (PDB) information and the priority information of the data to be sent.

[0033] In one possible implementation, the second terminal device determines the order in which it provides time-frequency resource information to different first terminal devices based on the different weights of the remaining packet delay budget (PDB) information and the priority information of the data to be transmitted.

[0034] In one possible implementation, the energy-saving information includes one or more of the following: whether the first terminal device is in energy-saving mode, the energy-saving cycle, and the active and dormant periods within the energy-saving cycle. The second terminal device determines the time-frequency resource information to provide to the first terminal device based on the energy-saving information. When the first message includes energy-saving information, the second terminal device prioritizes providing time-frequency resource information to terminal devices in energy-saving mode. If the second terminal device receives multiple energy-saving messages from multiple first terminal devices, the second terminal device determines the order in which it provides time-frequency resource information to different first terminal devices based on the length of the energy-saving cycle or the proportion of the active period within the energy-saving cycle.

[0035] Alternatively, the second terminal device may determine to send the time-frequency resource information to the first terminal device, wherein the first terminal device has the shortest energy-saving cycle or the smallest proportion of the activation period within the energy-saving cycle.

[0036] This is because terminal devices in energy-saving mode have limited reception time. Determining resources through sensing or partial sensing increases the probability of resource conflicts or system interference. Therefore, for terminal devices in energy-saving mode, acquiring time-frequency resources is more valuable because it not only improves the reliability of data transmission but also reduces the probability of system interference and resource conflicts.

[0037] Fourthly, a method for determining resources is provided, comprising: a first terminal device sending a second message to a second terminal device, the second message being used to obtain time-frequency resource information, the second message including at least one of priority information, delay information, broadcast type information, channel quality information, and energy-saving information of the data to be transmitted by the first terminal device.

[0038] Fifthly, a method for determining resources is provided, comprising: a first terminal device receiving time-frequency resource information from a second terminal device; the first terminal device determining to use the time-frequency resource information, wherein the time-frequency resource information includes available time-frequency resource information or unavailable time-frequency resource information.

[0039] In one possible implementation, the first terminal device determines the use of the time-frequency resource information based on the location information of the second terminal device and / or the location information of the third terminal device, wherein the third terminal device is the target terminal device to which the first terminal device needs to transmit data.

[0040] Based on the above technical solution, the first terminal device determines the use of the time-frequency resource information according to the location information of the second terminal device and / or the location information of the third terminal device. This can improve the reliability of data transmission by the first terminal device.

[0041] In one possible implementation, the time-frequency resource information includes the location information of the second terminal device. The first terminal device can obtain the location information of the second terminal device and use it to determine whether the time-frequency resource information is available, thereby ensuring the reliability of data transmission.

[0042] In one possible implementation, the first terminal device determines a first distance between itself and the second terminal device based on the location information of the second terminal device. If the first distance is greater than an eighth threshold, the first terminal device determines to use the time-frequency resource information. When the first and second terminal devices are very close, their channel environments are also highly similar, and the reliability and interference levels of the time-frequency resources determined through sensing or partial sensing are similar. Consequently, the time-frequency resource information is not valuable to the first terminal device, and therefore, the first terminal device will not use it.

[0043] In one possible implementation, a first terminal device receives multiple time-frequency resource information from multiple second terminal devices; the time-frequency resource information includes location information of the second terminal devices. Based on the location information of the multiple second terminal devices, the first terminal device determines multiple first distances between itself and the multiple second terminal devices. If a first distance greater than an eighth threshold is identified among the multiple first distances, the first terminal device determines to use the time-frequency resource information sent by the second terminal device whose first distance is greater than the eighth threshold.

[0044] In one possible implementation, the first terminal device determines a second distance between the second terminal device and the third terminal device based on the location information of the second terminal device and the third terminal device. If the second distance is less than a ninth threshold, the first terminal device determines to use the time-frequency resource information. When the third terminal device and the second terminal device are very close, their channel environments are also highly similar. The reliability and interference level of the time-frequency resources determined through sensing or partial sensing are similar. Accordingly, the time-frequency resource information is highly valuable to the first terminal device, which can improve the reliability of data transmission of the first terminal device.

[0045] In one possible implementation, a first terminal device receives multiple time-frequency resource information from multiple second terminal devices; the time-frequency resource information includes location information of the second terminal devices. The first terminal device determines multiple second distances between the multiple second terminal devices and the third terminal device based on the location information of the multiple second terminal devices and the location information of the third terminal device; a minimum value is determined among the multiple second distances, and the first terminal device then determines to use the time-frequency resource information sent by the second terminal device corresponding to the minimum value.

[0046] In one possible implementation, the first terminal device determines a first distance between the first terminal device and the second terminal device, and a second distance between the second terminal device and the third terminal device, based on the location information of the second terminal device and the location information of the third terminal device; if the first distance is greater than an eighth threshold and the second distance is less than a ninth threshold, then the first terminal device determines to use the time-frequency resource information.

[0047] In one possible implementation, before the first terminal device determines to use the time-frequency resource information, the method further includes: the first terminal device sending a location information request message to the third terminal device; and the first terminal device receiving the location information of the third terminal device sent by the third terminal device.

[0048] In one possible implementation, the location information of the third terminal device is carried in one of the following: first-level side crosslink control information (SCI), second-level side crosslink control information (SCI), or media access control layer control element (MAC CE).

[0049] In one possible implementation, the location information includes a region identifier.

[0050] In a sixth aspect, a communication device is provided, including units for implementing the methods as described in the first aspect or any possible implementation thereof.

[0051] In a seventh aspect, a communication apparatus is provided, including a unit for implementing the methods as described in the second aspect or any possible implementation thereof.

[0052] Eighthly, a communication apparatus is provided, including a unit for implementing the methods as described in the third aspect or any possible implementation thereof.

[0053] A ninth aspect provides a communication device, comprising: a processor and a transceiver, the transceiver being configured to receive computer code or instructions and transmit them to the processor, the processor executing the computer code or instructions, such as the method in the first aspect or any possible implementation thereof.

[0054] In a tenth aspect, a communication device is provided, comprising: a processor and a transceiver, the transceiver being configured to receive computer code or instructions and transmit them to the processor, the processor executing the computer code or instructions, such as the method in the second aspect or any possible implementation thereof.

[0055] Eleventhly, a communication device is provided, comprising: a processor and a transceiver, the transceiver being configured to receive computer code or instructions and transmit them to the processor, the processor executing the computer code or instructions, such as the method in the third aspect or any possible implementation thereof.

[0056] In a twelfth aspect, a communication system is provided, comprising a first terminal device, a second terminal device, and a third terminal device as described in the first, second, or third aspects.

[0057] In a thirteenth aspect, a computer-readable storage medium is provided, the computer-readable medium storing a computer program; when the computer program is run on a computer, it causes the computer to perform the methods of the first aspect to the third aspect or any possible implementation of the first aspect to the third aspect. Attached Figure Description

[0058] Figure 1 This is a schematic interactive flowchart illustrating a method for determining resources.

[0059] Figure 2 This is a timing diagram for UE detection of time and frequency resources.

[0060] Figure 3 This is a schematic flowchart illustrating a method for determining time-frequency resources according to an embodiment of this application.

[0061] Figure 4 This is a schematic diagram showing the positional relationship of different terminal devices in an embodiment of this application.

[0062] Figure 5 This is a schematic flowchart illustrating another method for determining time-frequency resources according to an embodiment of this application.

[0063] Figure 6 This is a schematic flowchart illustrating another method for determining time-frequency resources according to an embodiment of this application.

[0064] Figure 7This is a schematic flowchart illustrating another method for determining time-frequency resources according to an embodiment of this application.

[0065] Figure 8 This is a schematic block diagram of a communication device according to an embodiment of this application.

[0066] Figure 9 This is a schematic block diagram of another communication device according to an embodiment of this application.

[0067] Figure 10 This is a schematic block diagram of another communication device according to an embodiment of this application.

[0068] Figure 11 This is a schematic block diagram of a communication device according to an embodiment of this application.

[0069] Figure 12 This is a schematic block diagram of a communication system according to an embodiment of this application. Detailed Implementation

[0070] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0071] The embodiments of this application can be applied to various communication systems, such as sidelink communication systems, vehicle-to-everything (V2X) systems, wireless local area network (WLAN) systems, narrowband internet of things (NB-IoT) systems, global system for mobile communications (GSM), enhanced data rate for GSM evolution (EDGE), wideband code division multiple access (WCDMA), code division multiple access 2000 (CDMA2000), time division-synchronization code division multiple access (TD-SCDMA), long-term evolution (LTE), satellite communication, 5th generation (5G) systems, or new communication systems that will emerge in the future.

[0072] The terminal device involved in this application embodiment can be a device that includes wireless transceiver functionality and can provide communication services to users. Specifically, the terminal device can be a device in a V2X system, a device-to-device (D2D) system, a device in a machine-type communication (MTC) system, etc. It can include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem with wireless communication capabilities. The terminal can be a mobile station (MS), subscriber unit, user equipment (UE), cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, smartphone, wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem, handset, laptop computer, machine-type communication (MTC) terminal, etc.

[0073] The network devices involved in the embodiments of this application mainly refer to base stations, also known as wireless access points, transceivers, relay stations, cells, transceivers, evolved base stations, next-generation base stations, roadside site units (RSUs), etc., and the embodiments of this application do not limit them.

[0074] In a V2X communication system, transmissions include those between terminals, between vehicles and terminals, and between network devices / base stations and terminals / vehicles. Vehicle-mounted terminals need to maintain a connection to the network to obtain configuration information and also need to maintain connections with other vehicle-mounted terminals to enable in-vehicle communication. The connection between the vehicle-mounted terminal and the base station consists of uplink and downlink, while the connection between vehicle-mounted terminal devices is a sidelink (SL).

[0075] To facilitate understanding of the embodiments of this application, a brief introduction to hybrid automatic repeat request (HARQ) technology and V2X technology will be provided.

[0076] HARQ is a technique that combines forward error correction (FEC) with automatic repeat request (ARQ). In wireless communication systems, both the transmitter and receiver typically use HARQ to ensure the correctness of data transmission. After the data block is encoded, i.e., after the transport block (TB) is encoded, the first transmission sends information bits and some redundant bits. If the receiver can decode correctly, it sends an acknowledgment (ACK) signal to the transmitter, confirming that the corresponding information bits have been successfully received and that the TB has been successfully transmitted. If the receiver cannot decode correctly, it sends a negative acknowledgment (NACK) to the transmitter. After receiving the NACK, the transmitter transmits more information bits and / or redundant bits to the receiver, called retransmitted data. The receiver receives the retransmitted data, combines it with the previously received data, and decodes it. If, even with the added redundant bits, decoding is still not possible, a second retransmission is performed. As the number of retransmissions increases, redundant bits accumulate, the channel coding rate decreases, and thus a better decoding effect can be obtained.

[0077] In V2X technology, under the normal cyclic prefix (NCP), a timeslot consists of 14 symbols. The number of symbols used to carry the physical sidelink control channel (PSCCH) within a timeslot is configured on each resource pool. The number of candidate physical resource blocks (PRBs) for the PSCCH is also configured for each resource pool, and the PSCCH is carried in sub-channels. The first symbol of each timeslot is used for automatic gain control (AGC), and the last symbol is the guard interval. The PSCCH carries first-level sidelink control information (SCI), and the PSSCH carries second-level SCI.

[0078] When the first terminal device sends data to the third terminal device via the sidelink, it needs to determine the available time and frequency resources. In one implementation, the first terminal device can request time and frequency resources from the base station. In another implementation, the first terminal device can select time and frequency resources from the resource pool to send data to the third terminal device.

[0079] Before the first terminal device selects time-frequency resources from the resource pool to send data to the third terminal device, it needs to determine which time-frequency resources in the resource pool are available or which are unavailable. In existing technical solutions, the first terminal device sends resource request messages to other UEs to request information on available or unavailable time-frequency resources, and then selects available time-frequency resources from the resource pool based on the obtained information to send data to the third terminal device. Figure 1 As shown, a method for determining resources is presented, the method comprising:

[0080] 110. The first terminal device sends a time-frequency resource request message to the second terminal device to obtain time-frequency resource information, which includes available or unavailable time-frequency resource information. It should be understood that the second terminal device can be any UE other than the first terminal device and the third terminal device.

[0081] 120. The second terminal device receives a time-frequency resource request message sent by the first terminal device, and determines a time-frequency resource set based on the time-frequency resource request message. This time-frequency resource set can be an available time-frequency resource set or an unavailable time-frequency resource set. The second terminal device sends the time-frequency resource set to the first terminal device. After receiving the time-frequency resource set sent by the second terminal device, the first terminal device uses the available time-frequency resources to send data to the third terminal device.

[0082] Optionally, if the second terminal device does not receive a time-frequency resource request message from the first terminal device, it may also actively determine the time-frequency resource set and then actively send the time-frequency resource set to the first terminal device.

[0083] In existing technical solutions, when a first terminal device sends a time-frequency resource request message to a second terminal device, the set of time-frequency resources determined by the second terminal device may not be useful to the first terminal device. For example, if the second terminal device is far from the third terminal device, the available or unavailable time-frequency resources detected by the second terminal device may differ from those detected by the third terminal device. In this case, the time-frequency resources selected by the first terminal device based on the time-frequency resource information sent by the second terminal device may be unavailable or already occupied by other UEs. Furthermore, if the second terminal device receives the time-frequency resource request message from the first terminal device and determines that the set of time-frequency resources is useless to the first terminal device, sending that set back to the first terminal device would waste resources and increase system interference.

[0084] Therefore, embodiments of this application propose a method for determining resources, which can improve the reliability of data transmission.

[0085] To facilitate understanding of the embodiments of this application, a brief introduction to UE detection time-frequency resources is provided. For example... Figure 2 The diagram shows the timing sequence of UE detection of time-frequency resources. At time n, if the UE is triggered to select or reselect a resource, the resource detection window (sensing window) is a time slot. T0 is configured by the base station. Depending on the subcarrier spacing, under different subcarrier spacings The values ​​for [n+T1, n+T2] are different, as shown in Table 1. [n+T1, n+T2] represents the resource selection window. The UE determines available or unavailable time-frequency resources based on the resource information indicated by the first-level SCI, priority information, and reference signal received power (RSRP). For example... Figure 2 As shown, if two resources indicated by the first-level SCI carried in PSCCH1 are in the resource selection window and their RSRP measurement value is higher than a threshold, then these two resources are excluded from the resource selection window. Similarly, if two resources indicated by the first-level SCI carried in PSCCH2 are in the resource selection window and their RSRP measurement value is higher than a threshold, then these two resources are excluded from the resource selection window. The excluded resources from all resources in the resource selection window are determined as a candidate resource set and reported to higher layers.

[0086] Table 1. Different subcarrier spacings The value of

[0087]

[0088]

[0089] like Figure 3 The diagram illustrates a schematic flowchart of a method 300 for determining time-frequency resources according to an embodiment of this application. The method 300 includes:

[0090] 310. The second terminal device receives a first message sent by the first terminal device. This first message requests time-frequency resource information from the second terminal device. The time-frequency resource information can be available time-frequency resource information detected by the second terminal device, or it can be unavailable time-frequency resource information detected by the second terminal device. The second terminal device receiving the first message sent by the first terminal device can be understood as the second terminal device receiving a first message from the first terminal device. The time-frequency resource information can be understood as resource information, resource auxiliary information, or auxiliary information. Optionally, the first message may include only the location information of the first terminal device, only the location information of the third terminal device, or both the location information of the first and third terminal devices. There may be more than one third terminal device; a group of third terminal devices may be present. The third terminal device is the target terminal device from which the first terminal device needs to transmit data. The first, second, and third terminal devices can be terminal devices in a V2X communication system or in a side-by-side communication system. This invention does not limit the type of terminal device. Figure 4 As shown, a schematic diagram illustrating the location relationships of different terminal devices is presented.

[0091] It should be understood that the location information of the first terminal device can be the zone identifier (zone ID) of the first terminal device, and the location information of the second terminal device can be the zone ID of the second terminal device. For ease of understanding of the embodiments of this application, a brief introduction to the zone ID in V2X is provided.

[0092] Assuming that the sidelink-ZoneConfiguration (sl-ZoneConfig) of the higher-layer parameters is configured, the UE can determine the identifier of a zone, such as the zone ID, according to the following formula, and the UE is located in that zone.

[0093] x1 = Floor(x / L) Mod 64

[0094] y1 = Floor(y / W) Mod 64

[0095] zone_id = y1 * 64 + x1

[0096] The parameters in the above formula are defined as follows: L and W are the same value of sl-ZoneLength, which is included in sl-ZoneConfig. x is the geodesic distance in longitude between the UE's current location and the geographic coordinates (0,0), according to the WGS84 model; the unit is meters. y is the geodesic distance in latitude between the UE's current location and the geographic coordinates (0,0), according to the WGS84 model; the unit is meters. The higher-layer parameter sl-ZoneConfig is used to configure parameters related to the zone ID and is configured to the UE by the base station. sl-ZoneLength indicates the length of each geographic area. Zone-related information is configured on the resource pool.

[0097] Optionally, to obtain more accurate location information and thus improve the reliability of data transmission from the first terminal device, the granularity of zone division can be reduced, i.e., the formula is...

[0098] x1 = Floor(x / L) Mod 128

[0099] y1 = Floor(y / W) Mod 128

[0100] zone_id = y1 * 128 + x1

[0101] Before transmitting data to the third terminal device, the first terminal device needs to select time-frequency resources from the resource pool. Therefore, the first terminal device needs to determine which time-frequency resources are unavailable and which are available. Optionally, corresponding to 310, the first terminal device can send a first message to the second terminal device to obtain time-frequency resource information.

[0102] Optionally, the location information of the first terminal device and / or the location information of the third terminal device included in the first message sent by the first terminal device to the second terminal device for requesting time-frequency resource information can be carried in a first-level SCI, where a field indicating the location information is used. This field includes 12 bits. Optionally, the first-level SCI may include one or more indications of the priority information, delay information, and reservation period of the data to be transmitted by the first terminal device.

[0103] Optionally, the location information of the first terminal device and / or the location information of the third terminal device included in the first message sent by the first terminal device to the second terminal device for requesting time-frequency resource information can be carried in a second-level SCI, where a field is used to indicate the location information. This field consists of 12 bits.

[0104] Specifically, optionally, the second-level SCI can use 1 bit to indicate that the zone ID field in the second SCI is used to obtain the zone IDs of other terminal devices. For example, the zone ID of a third terminal device, instead of the zone ID of the first terminal device used for HARQ feedback. For example, when the 1 bit indicates 1, it means that the zone ID is used for HARQ feedback; when the 1 bit indicates 0, it means that the location information is used to obtain the zone IDs of other terminal devices. It should be understood that in the prior art, multicast supports HARQ feedback in two ways: one is that the receiving end sends back ACK or NACK after receiving data, and the other is that the receiving end only sends back NACK after receiving data. For example, when the sending end sends a multicast data packet, the second-level SCI includes a zone ID. After the receiving end receives the data packet, it calculates the distance based on its own location information and the center point of the nearest zone indicated by the zone ID included in the second-level SCI, and compares it with the communication range requirement; if it is within the communication range requirement and the data packet is not successfully received, it sends back NACK; if it is not within the communication range requirement, it does not send back NACK.

[0105] Optionally, the first terminal device sends a first message to the second terminal device, the first message being used to request time-frequency resource information. This first message includes the location information of the first terminal device and / or the location information of the third terminal device. The location information of the first terminal device and / or the third terminal device can be carried in a medium access control (MAC) control element (CE), which includes the location information. Optionally, the MAC CE can include one or more parameters such as priority information, latency information, and reservation period for the data to be transmitted by the first terminal device. Optionally, the location information of the first terminal device and / or the third terminal device can be carried in a first-level SCI, which can include one or more parameters such as priority information, latency information, and reservation period for the data to be transmitted by the first terminal device.

[0106] If the first message sent by the first terminal device to the second terminal device includes the location information of the third terminal device, then, optionally, before sending the first message to the second terminal device, the first terminal device may send a location information request message to the third terminal device to obtain the location information of the third terminal device. The location information request message can be indicated by a field in the SCI (Site Information Query). Optionally, the first terminal device receives the location information of the third terminal device sent by the third terminal device. The location information sent by the third terminal device to the first terminal device can be carried in any of the aforementioned first-level SCI, second-level SCI, or MAC CE (Machine-Assisted Component Query). It should be understood that the location information of the first terminal device is known to the first terminal device.

[0107] The first terminal device can obtain the location information of the third terminal device based on a location information request message, or it can obtain the location information during communication between the first terminal device and the third terminal device.

[0108] 320, the second terminal device determines to send the time-frequency resource information to the first terminal device, the time-frequency resource information including available time-frequency resource information or unavailable time-frequency resource information.

[0109] Specifically, the second terminal device can determine to send time and frequency resource information to the first terminal device based on the location information.

[0110] In one implementation, the second terminal device can determine a first distance between itself and the first terminal device based on the location information of the first terminal device, and determine to send time-frequency resource information to the first terminal device based on the first distance.

[0111] Specifically, optionally, if the first distance is greater than the first threshold, the second terminal device determines to send time-frequency resource information to the first terminal device.

[0112] Optionally, if the first message sent by the first terminal device for requesting time-frequency resource information does not include the location information of the first terminal device and the location information of the third terminal device, then the second terminal device may not provide the time-frequency resource information to the first terminal device after receiving the first message.

[0113] Optionally, the second terminal device determines whether to send the time-frequency resource information to the first terminal device, the time-frequency resource information including available time-frequency resource information or unavailable time-frequency resource information.

[0114] It should be understood that available time-frequency resource information includes time-frequency resources in the resource pool that are not occupied by other UEs, detected by the second terminal device, or time-frequency resources whose RSRP measurement value is lower than a threshold, detected by the second terminal device. Unavailable time-frequency resources include time-frequency resources that are occupied by other UEs and whose RSRP measurement value is higher than a threshold, detected by the second terminal device. Here, RSRP measurement can also be RSSI measurement, SINR measurement, or other signal strength or energy strength measurement. This invention does not limit the method by which the terminal device determines available or unavailable time-frequency resources.

[0115] Specifically, the second terminal device can determine whether to send time-frequency resource information to the first terminal device based on its location information. This can also be understood as the second terminal device determining whether to send time-frequency resource information to the first terminal device based on its location information. Alternatively, the second terminal device can determine whether not to send time-frequency resource information to the first terminal device based on its location information.

[0116] In one implementation, the second terminal device can determine a first distance between itself and the first terminal device based on the location information of the first terminal device, and determine whether to send time-frequency resource information to the first terminal device based on the first distance. Specifically, if the first distance is greater than a first threshold, the second terminal device determines to send time-frequency resource information to the first terminal device; if the first distance is less than or equal to the first threshold, the second terminal device determines not to send time-frequency resource information to the first terminal device. The location information of the first terminal device can be a zone ID or zone information, and the first distance between the second terminal device and the first terminal device can be the distance between the location of the second terminal device itself and the center location of the nearest zone indicated by the zone ID field.

[0117] It should be understood that the first terminal device can also send data to the target terminal device using its own determined time-frequency resource information. For example, the first terminal device may use a sensing or partially sensing resource selection method to determine time-frequency resources, and then use these resources to send data to the target terminal device. The closer the distance between the first and second terminal devices, the more similar their channel environments. Under similar channel environments, the similarity between the time-frequency resources determined by the first and second terminal devices using sensing or partially sensing methods is higher. In this case, if the second terminal device provides time-frequency resource information to the first terminal device, this information has very low or no value to the first terminal device; that is, the time-frequency resource information provided by the second terminal device does not improve the reliability of data transmission. Furthermore, sending time-frequency resource information from the second terminal device to the first terminal device introduces additional signaling interaction, affecting the operating efficiency of the communication system. Therefore, it is only necessary for the second terminal device to provide time-frequency resource information to the first terminal device when the distance between them is greater than a first threshold. When the distance between the first terminal device and the second terminal device is equal to or less than the first threshold, the second terminal device does not provide time and frequency resource information to the first terminal device. This not only avoids additional signaling interaction but also improves the operating efficiency of the communication system.

[0118] Optionally, if the first message sent by the first terminal device to request time-frequency resource information does not include the location information of the first terminal device, then after receiving the first message, the second terminal device may choose not to determine whether to provide time-frequency resource information to the first terminal device based on the distance to the first terminal device, or it may choose not to provide time-frequency resource information to the first terminal device. Specifically, if the first message does not include the location information of the first terminal device, that is, the zone ID field is set to 0, or it is indicated by 1 bit in the first-level SCI or the second-level SCI, or indicated by other means, such as RRC indication, MAC indication, system information block (SIB) indication, or master information block (MIB) indication.

[0119] In another implementation, the second terminal device can determine the second distance between itself and the third terminal device based on the location information of the third terminal device, and determine the time and frequency resource information to be sent to the first terminal device based on the second distance.

[0120] Specifically, optionally, if the second distance is less than the second threshold, the second terminal device determines to send the time-frequency resource information determined by the second terminal device to the first terminal device.

[0121] Optionally, if the first message sent by the first terminal device for requesting time-frequency resource information does not include the location information of the first terminal device and the location information of the third terminal device, then the second terminal device may not provide the time-frequency resource information to the first terminal device after receiving the first message.

[0122] In another implementation, the second terminal device can determine a second distance between itself and the third terminal device based on the location information of the third terminal device, and determine whether to send time-frequency resource information to the first terminal device based on the second distance. Here, determining whether to send time-frequency resource information to the first terminal device based on the second distance can be understood as either deciding to send time-frequency resource information to the first terminal device based on the second distance, or deciding not to send time-frequency resource information to the first terminal device based on the second distance. Specifically, if the second distance is less than a second threshold, the second terminal device decides to send the time-frequency resource information determined by the second terminal device to the first terminal device; if the second distance is greater than or equal to the second threshold, the second terminal device decides not to send the time-frequency resource information determined by the second terminal device to the first terminal device. The location information of the third terminal device can be indicated by the zone ID field, and the second distance between the second terminal device and the third terminal device can be the distance between the location of the second terminal device itself and the center location of the nearest zone indicated by the zone ID field.

[0123] It should be understood that the first terminal device needs to send data to the third terminal device based on the time-frequency resource information obtained from the second terminal device. The closer the second terminal device is to the third terminal device, the more similar their channel environments are. When the second terminal device is relatively close to the third terminal device, the time-frequency resource information determined by the second terminal device is close to the resource situation of the third terminal device, and in this case, the time-frequency resource information provided by the second terminal device to the first terminal device is valuable. If the second terminal device is far from the third terminal device, the time-frequency resource information provided by the second terminal device to the first terminal device differs significantly from the resource situation of the third terminal device. In this case, the time-frequency resource information provided by the second terminal device is meaningless to the first terminal device and will introduce additional signaling interactions, affecting the operating efficiency of the communication system. Therefore, it is only necessary for the second terminal device to provide time-frequency resource information to the first terminal device when the distance between the second and third terminal devices is less than a second threshold. Under this condition, the provided time-frequency resource information is useful to the first terminal device, bringing significant gains and improving the reliability of data transmission. In this embodiment of the application, the time and frequency resource information determined by the terminal device can be understood as the time and frequency resource information detected by the terminal device itself or the time and frequency resource information obtained through other means.

[0124] Optionally, if the first message sent by the first terminal device to request time-frequency resource information does not include the location information of the third terminal device, then after receiving the first message, the second terminal device may choose not to determine whether to provide time-frequency resource information to the first terminal device based on the distance to the third terminal device, or it may choose not to provide time-frequency resource information to the first terminal device. Specifically, if the first message does not include the location information of the third terminal device, that is, the zone ID field is set to 0, or it is indicated by 1 bit in the first-level SCI or the second-level SCI, or indicated by other means, such as RRC indication, MAC indication, SIB indication, or MIB indication.

[0125] In another implementation, the second terminal device can determine the first distance between the second terminal device and the first terminal device and the second distance between the second terminal device and the third terminal device based on the location information of the first terminal device and the location information of the third terminal device, and determine to send time and frequency resource information to the first terminal device based on the first distance and the second distance.

[0126] Specifically, optionally, if the first distance is greater than the first threshold and the second distance is less than the second threshold, then the second terminal device determines to send time-frequency resource information to the first terminal device;

[0127] Optionally, if the first message sent by the first terminal device for requesting time-frequency resource information does not include the location information of the first terminal device and the location information of the third terminal device, then the second terminal device may not provide the time-frequency resource information to the first terminal device after receiving the first message.

[0128] In another implementation, the second terminal device can determine the first distance between the second terminal device and the first terminal device and the second distance between the second terminal device and the third terminal device based on the location information of the first terminal device and the location information of the third terminal device, and determine whether to send time-frequency resource information to the first terminal device based on the first distance and the second distance.

[0129] Specifically, optionally, if the first distance is greater than the first threshold and the second distance is less than the second threshold, the second terminal device determines to send time-frequency resource information to the first terminal device; if the first distance is less than or equal to the first threshold, or the second distance is greater than or equal to the second threshold, the second terminal device determines not to send time-frequency resource information to the first terminal device.

[0130] Optionally, if the first message sent by the first terminal device for requesting time-frequency resource information does not include the location information of the first terminal device and the location information of the third terminal device, then after receiving the first message, the second terminal device may choose not to determine whether to provide time-frequency resource information to the first terminal device based on the distance, or it may choose not to provide time-frequency resource information to the first terminal device.

[0131] The first and second thresholds are configured in the resource pool by the base station's radio resource control (RRC) signaling. They can also be configured by the MAC layer, MAC CE, SIB, or MIB messages, or by the first terminal device via PC5RRC, or configured on the resource pool itself. It should be understood that this application embodiment does not impose any limitation on the size of the first and second thresholds.

[0132] In the technical solution provided in the embodiments of this application, the second terminal device can determine whether to provide time and frequency resource information to the first terminal device based on the distance between itself and the first terminal device and / or the distance between itself and the third terminal device. This can ensure that the provided time and frequency resource information is of reference value to the first terminal device, enabling the first terminal device to select available time and frequency resources to send data to the third terminal device, thereby improving the reliability of data transmission.

[0133] If the second terminal device provides time-frequency resource information, the first terminal device can determine the target time-frequency resource based on the received time-frequency resource information from the second terminal device. The target time-frequency resource is an available time-frequency resource in the resource pool, and the first terminal device uses the target time-frequency resource to transmit data.

[0134] Specifically, optionally, the first terminal device can determine the target time-frequency resource based on its own detected time-frequency resource information and the time-frequency resource information sent by the second terminal device. Alternatively, the first terminal device can determine the target time-frequency resource solely based on the time-frequency resource information sent by the second terminal device. The self-detected time-frequency resource information can be understood as time-frequency resource information determined by the device itself through sensing, partial sensing, or random selection of resources.

[0135] It should be understood that the first terminal device may also request time and frequency resource information from the third terminal device, but the embodiments of this application are applicable to application scenarios where the third terminal device does not provide time and frequency resource information.

[0136] This application provides another method for determining resources, such as... Figure 5 As shown, a schematic flowchart of another method 500 for determining time-frequency resources according to an embodiment of this application is presented. The method 500 includes:

[0137] 510, the first terminal device obtains the location information of the second terminal device and / or the location information of the third terminal device, wherein the third terminal device is the target terminal device to which the first terminal device needs to transmit data.

[0138] The first terminal device can send a location information request message to the second terminal device to obtain the location information of the second terminal device; the first terminal device can also send a location information request message to the third terminal device to obtain the location information of the third terminal device.

[0139] After receiving a location information request message from the first terminal device, the second terminal device can send its location information to the first terminal device, and the first terminal device receives the location information sent by the second terminal device.

[0140] After receiving a location information request message from a first terminal device, a third terminal device can send its own location information to the first terminal device, and the first terminal device can receive the location information sent by the third terminal device.

[0141] Optionally, the first terminal device may also obtain the location information of the second terminal device and / or the location information of the third terminal device through multicast feedback.

[0142] Optionally, the first terminal device may obtain the location information of the second terminal device and / or the location information of the third terminal device during past communications.

[0143] 520, the first terminal device determines to send a first message to the second terminal device, the first message being used to obtain time and frequency resource information, the time and frequency resource information including available time and frequency resource information or unavailable time and frequency resource information.

[0144] Specifically, the first terminal device can determine to send a first message to the second terminal device based on the location information.

[0145] In one implementation, the first terminal device determines a first distance between itself and the second terminal device based on the location information of the second terminal device, and determines to send a first message to the second terminal device based on the first distance. Specifically, if the first distance is greater than a third threshold, the first terminal device determines to send the first message to the second terminal device.

[0146] Specifically, the first terminal device can determine whether to send a first message to the second terminal device based on the location information. The first message is used to obtain time and frequency resource information, which includes available time and frequency resource information or unavailable time and frequency resource information.

[0147] Specifically, the first terminal device can determine whether to send a first message to the second terminal device based on location information.

[0148] In one implementation, the first terminal device determines a first distance between itself and the second terminal device based on the location information of the second terminal device, and determines whether to send a first message to the second terminal device based on the first distance. Specifically, if the first distance is greater than a third threshold, the first terminal device determines to send the first message to the second terminal device; if the first distance is less than or equal to the third threshold, the first terminal device determines not to send the first message to the second terminal device.

[0149] It should be understood that the first terminal device can also determine time-frequency resource information on its own. This determination of time-frequency resource information can be understood as the time-frequency resource information determined by itself through sensing, partial sensing, or random selection of resources.

[0150] The closer the distance between the first and second terminal devices, the more similar their channel environments. Under similar channel environments, the similarity in the time-frequency resource results detected by the first and second terminal devices is higher. In this case, if the first terminal device sends a first message to the second terminal device to obtain the time-frequency resource information determined by the second terminal device, the time-frequency resource information provided by the second terminal device to the first terminal device has very low or no value for the first terminal device. Furthermore, sending the first message from the first terminal device to the second terminal device, or vice versa, introduces additional signaling interaction, affecting the operating efficiency of the communication system. Therefore, it is only necessary to send a first message to the second terminal device when the distance between the first and second terminal devices is greater than a third threshold.

[0151] In another implementation, the first terminal device determines a second distance between the second and third terminal devices based on the location information of the second and third terminal devices, and determines to send a first message to the second terminal device based on the second distance. Specifically, if the second distance is less than a fourth threshold, the first terminal device determines to send a first message to the second terminal device.

[0152] The second terminal device can be any terminal device other than the first terminal device and the third terminal device, or it can be the terminal device closest to the third terminal device among at least one fourth terminal device other than the first terminal device and the third terminal device.

[0153] In another implementation, the first terminal device determines a second distance between the second and third terminal devices based on the location information of the second and third terminal devices, and determines whether to send a first message to the second terminal device based on the second distance. Specifically, if the second distance is less than a fourth threshold, the first terminal device determines to send a first message to the second terminal device; if the first distance is greater than or equal to the fourth threshold, the first terminal device determines not to send a first message to the second terminal device.

[0154] The second terminal device can be any terminal device other than the first terminal device and the third terminal device, or it can be the terminal device closest to the third terminal device among at least one fourth terminal device other than the first terminal device and the third terminal device.

[0155] It should be understood that the first terminal device needs to send data to the third terminal device based on the time-frequency resource information obtained from the second terminal device. The closer the second terminal device is to the third terminal device, the more similar their channel environments are. When the second and third terminal devices are close, the time-frequency resource information determined by the second terminal device is relatively close to the resource situation of the third terminal device. In this case, the time-frequency resource information determined by the second terminal device obtained by the first terminal device when sending the first message is valuable to the first terminal device. When the second terminal device is far from the third terminal device, if the first terminal device obtains the time-frequency resource information from the second terminal device, the time-frequency resource information will differ significantly from the resource situation determined by the third terminal device through sensing or partial sensing. In this case, the time-frequency resource information obtained from the second terminal device is of little or no value to the first terminal device, and it will also introduce additional signaling interactions, affecting the operating efficiency of the communication system. Therefore, it is only necessary for the first terminal device to send the first message to the second terminal device to obtain time-frequency resource information when the distance between the second and third terminal devices is less than the fourth threshold.

[0156] In another implementation, the first terminal device determines a first distance between itself and the second terminal device, and a second distance between itself and the third terminal device, based on the location information of the second and third terminal devices. Then, based on the first and second distances, it determines to send a first message to the second terminal device. Specifically, if the first distance is greater than a third threshold and the second distance is less than a fourth threshold, the first terminal device determines to send the first message to the second terminal device.

[0157] If the location information of the second terminal device and / or the location information of the third terminal device cannot be obtained, the first terminal device may not send the first message for obtaining time and frequency resource information.

[0158] In another implementation, the first terminal device determines a first distance between itself and the second terminal device, and a second distance between itself and the third terminal device, based on the location information of the second and third terminal devices. It then determines whether to send a first message to the second terminal device based on the first and second distances. Specifically, if the first distance is greater than a third threshold and the second distance is less than a fourth threshold, the first terminal device determines to send the first message to the second terminal device; if the first distance is less than or equal to the third threshold and the second distance is greater than or equal to the fourth threshold, the first terminal device determines not to send the first message to the second terminal device.

[0159] If the location information of the second terminal device and / or the location information of the third terminal device cannot be obtained, the first terminal device may not send the first message for obtaining time and frequency resource information.

[0160] In the technical solution provided in the embodiments of this application, the first terminal device determines whether to request time-frequency resource information from the second terminal device based on the distance between itself and the second terminal device and / or the distance between itself and the third terminal device. This ensures that the obtained time-frequency resource information is of reference value to the first terminal device, enabling the first terminal device to select available time-frequency resources to send data to the third terminal device, thereby improving the reliability of data transmission.

[0161] This application provides another method for determining resources, such as... Figure 6 As shown, a schematic flowchart of another method 600 for determining time-frequency resources according to an embodiment of this application is presented. The method 600 includes:

[0162] 610, the second terminal device receives at least one second message from at least one first terminal device, the second message being used to obtain time and frequency resource information, wherein the second message includes at least one of priority information, delay information, broadcast type information, channel quality information, and energy saving information of the data to be transmitted by the first terminal device.

[0163] Optionally, at least one of the first terminal devices is a terminal device that needs to transmit data to the third terminal device.

[0164] It should be understood that the second terminal device receives a second message from the first terminal device, wherein there is more than one first terminal device. Before the second terminal device receives at least one second message from at least one first terminal device, at least one first terminal device determines that it needs to transmit data to the third terminal device. In this case, it needs to determine the available time and frequency resources. The first terminal device sends a second message to the second terminal device to obtain time and frequency resource information in order to improve the reliability of data transmission or reduce power consumption.

[0165] 620, the second terminal device determines to send time and frequency resource information to the first terminal device, the time and frequency resource information including available time and frequency resource information or unavailable time and frequency resource information.

[0166] Specifically, the second terminal device can determine to send time and frequency resource information to the first terminal device based on the information in the received second message.

[0167] Specifically, the second terminal device can determine whether to send time-frequency resource information to the first terminal device based on the information in the received second message. That is, the second terminal device can determine whether to send time-frequency resource information to the first terminal device based on the information in the received second message, or the second terminal device can determine whether not to send time-frequency resource information to the first terminal device based on the information in the received second message.

[0168] Specifically, the second terminal device can determine the order in which it sends time and frequency resource information to the first terminal device based on the information in the received second message.

[0169] Optionally, the second terminal device determines to send time-frequency resource information to the first terminal device based on the priority information of the data to be transmitted by the first terminal device. If multiple first terminal devices request time-frequency resource information from the second terminal device, the second terminal device can determine to provide time-frequency resource information to the first terminal device with the highest priority of the data to be transmitted based on the priority of the data to be transmitted by the different first terminal devices. If the higher the priority, the lower the priority value, then if multiple first terminal devices request time-frequency resource information from the second terminal device, the second terminal device can determine to provide time-frequency resource information to the first terminal device with the lowest priority value of the data to be transmitted based on the priority value of the data to be transmitted by the different first terminal devices.

[0170] Optionally, the second terminal device determines the time-frequency resource information to be sent to the first terminal device based on the priority information of the data to be sent by the first terminal device. If multiple first terminal devices request time-frequency resource information from the second terminal device, the second terminal device can provide the time-frequency resource information to different first terminal devices in priority order. If the higher the priority, the lower the priority value, and the time-frequency resource information is provided to different first terminal devices in priority order. For example, if the priority values ​​of the data to be sent by multiple first terminal devices are 1, 2, 3, and 4, then the second terminal device determines the order in which to provide the time-frequency resource information to different first terminal devices based on the corresponding priority values ​​of 1, 2, 3, and 4.

[0171] Optionally, the second terminal device determines to send time-frequency resource information to the first terminal device based on the priority information of the data to be transmitted by the first terminal device. If only one first terminal device requests time-frequency resource information from the second terminal device, the second terminal device can directly send the time-frequency resource information to that first terminal device. Optionally, the second terminal device determines to send time-frequency resource information to the first terminal device based on the priority information of the data to be transmitted by the first terminal device. Specifically, the second terminal device can determine to send time-frequency resource information to first terminal devices whose priority value of the data to be transmitted is lower than a fifth threshold.

[0172] Optionally, the second terminal device can determine which time-frequency resource information to send to the first terminal device based on the latency information. The latency information refers to the latency requirements of the data to be transmitted, and may include the remaining packet delay budget (PDB) information. If multiple first terminal devices request time-frequency resource information from the second terminal device, the second terminal device can determine which time-frequency resource information to send to the first terminal devices based on the latency requirements. If multiple first terminal devices request time-frequency resource information from the second terminal device, the second terminal device may prioritize sending the time-frequency resource information to the first terminal device with the shortest latency requirement.

[0173] Optionally, the second terminal device can determine the time-frequency resource information to send to the first terminal device based on the latency information. The latency information refers to the latency requirement information of the data to be transmitted, which may include the remaining packet delay budget (PDB) information. Specifically, the second terminal device can sort the lengths of the remaining PDB information in multiple second messages sent by the first terminal devices, and send the time-frequency resource information in ascending order. For example, if UEA, UEB, and UEC all request time-frequency resources from the second terminal device, and the remaining PDBs in their request messages are 10ms, 100ms, and 50ms respectively, then the second terminal device will provide the time-frequency resource information to these three UEs in the following order: UEA, UEB, and UEB.

[0174] Optionally, the second terminal device can determine whether to send time-frequency resource information to the first terminal device based on the latency information. The latency information refers to the latency requirements of the data to be transmitted, and may include the remaining packet delay budget (PDB) information. The second terminal device can determine whether to send the time-frequency resource information to the first terminal device whose remaining PDB is below a sixth threshold.

[0175] Optionally, the second terminal device can determine which time-frequency resource information to send to the first terminal device based on the broadcast type information. The broadcast type information refers to the broadcast type of the second message sent by the first terminal device to request time-frequency resource information, including multicast and unicast. If multiple first terminal devices request time-frequency resource information from the second terminal device, the second terminal device may prioritize sending the time-frequency resource information to the first terminal devices that sent the second message using unicast. It should be understood that if the first terminal device sends the second message to request time-frequency resource information using unicast, only one receiving end (the second terminal device) will receive the message, resulting in a low probability of obtaining the time-frequency resource information. Timely sending of the time-frequency resource information to this first terminal device can help save power or improve the reliability of its data transmission. However, if the second message to request time-frequency resource information is sent using multicast, multiple receiving ends will receive the message, increasing the probability of obtaining the time-frequency resource information.

[0176] Optionally, the second terminal device can determine the time-frequency resource information to send to the first terminal device based on the broadcast type information. The broadcast type information refers to the broadcast type of the second message sent by the first terminal device to request time-frequency resource information, including multicast, unicast, and broadcast. If multiple first terminal devices request time-frequency resource information from the second terminal device, the first priority order for the second terminal devices to send the time-frequency resource information to the first terminal devices that sent the second message is unicast, the second priority order is multicast, and the third priority order is broadcast. If the first terminal device sends the second message to request time-frequency resource information using unicast, only one receiving end (second terminal device) receives the message, and the probability of obtaining time-frequency resource information is lower compared to multicast or broadcast. If the second message to request time-frequency resource information is sent using multicast, multiple receiving ends receive the message, and the probability of obtaining time-frequency resource information is higher than with unicast.

[0177] Optionally, the second terminal device can determine which time-frequency resource information to send to the first terminal device based on channel quality information. The channel quality information includes at least one of the following: reference signal received power (RSRP) information, received signal strength indicator (RSSI) information, signal-to-noise and interference ratio (SINR) information, or channel state information (CSI). Specifically, the second terminal device can send time-frequency resource information to the first terminal device whose channel quality meets preset conditions or has the best channel quality. For example, the second terminal device can select the first terminal device with the highest RSRP / RSSI / SINR / CSI values ​​to send time-frequency resource information, i.e., select the most stable link to provide time-frequency resource information. The preset condition can be that the RSRP / RSSI / SINR / CSI values ​​are greater than a seventh threshold. That is, a stable link is selected to provide time-frequency resource information.

[0178] Optionally, the second terminal device can determine which time-frequency resource information to send to the first terminal device based on the energy-saving information. The energy-saving information includes one or more of the following: whether the first terminal device is in energy-saving mode, the energy-saving period, and the active and dormant periods within the energy-saving period. When the first message includes energy-saving information, the second terminal device prioritizes providing time-frequency resource information to terminal devices in energy-saving mode. If the second terminal device receives multiple energy-saving messages from multiple first terminal devices, the second terminal device determines the order in which it provides time-frequency resource information to different first terminal devices based on the length of the energy-saving period or the proportion of the active period within the energy-saving period. Optionally, the energy-saving information can be Discontinuous Reception (DRX) information, and the energy-saving period can be the DRX period.

[0179] Alternatively, the second terminal device may determine to send the time-frequency resource information to the first terminal device, wherein the first terminal device has the shortest energy-saving cycle or the smallest proportion of the activation period within the energy-saving cycle.

[0180] This is because terminal devices in energy-saving mode have limited reception time. Determining resources through sensing or partial sensing increases the probability of resource conflicts or system interference. Therefore, for terminal devices in energy-saving mode, acquiring time-frequency resources is more valuable because it not only improves the reliability of data transmission but also reduces the probability of system interference and resource conflicts.

[0181] Optionally, if multiple first terminal devices request time-frequency resource information from a second terminal device, the second terminal device may also determine N first terminal devices to provide time-frequency resource information based on one or more of the priority information, delay information, broadcast type information, and channel quality information of the data to be transmitted in the second message. The value of N can be determined by the second terminal device based on its own capabilities, i.e., it is a UE capability parameter, which can be configured or pre-configured by the network device, configured or pre-configured by the sending end (first terminal device), or predefined. This application embodiment does not impose any limitations on this.

[0182] For example, the second terminal device can determine the time-frequency resource information to be sent to the first terminal device based on the remaining PDB information and the priority information of the data to be sent. Specifically, the order in which time-frequency resource information is provided to different first terminal devices can be determined based on the different weights of the remaining PDB information and the priority information of the data to be sent.

[0183] In the technical solution provided in the embodiments of this application, the second terminal device can determine to send time-frequency resource information to the first terminal device based on at least one of the priority information, delay information, broadcast type information, channel quality information, and energy-saving information of the data to be sent by the first terminal device, or determine the order in which to send time-frequency resource information to the first terminal device. This can ensure that the first terminal device uses available time-frequency resources to send data to the third terminal device, thereby improving the reliability of data transmission.

[0184] This application provides another method for determining resources, such as... Figure 7 As shown, a schematic flowchart of another method 700 for determining time-frequency resources according to an embodiment of this application is presented. The method 700 includes:

[0185] 710. The first terminal device receives time-frequency resource information from the second terminal device, which includes available or unavailable time-frequency resource information. It should be understood that the second terminal device may proactively send time-frequency resource information to the first terminal device without receiving a message from the first terminal device requesting access to time-frequency resource information. The first terminal device needs to use available time-frequency resources to transmit data to the third terminal device.

[0186] 720, the first terminal device determines that it will use the time-frequency resource information. This can be understood as the first terminal device determining that it will use the time-frequency resource information to send data to the third terminal device.

[0187] Specifically, the first terminal device can determine whether to use the time-frequency resource information based on the location information of the second terminal device and / or the location information of the third terminal device. This time-frequency resource information may include the location information of the second terminal device. The first terminal device can obtain the location information of the second terminal device and use it to determine whether the time-frequency resource information is available, thereby ensuring the reliability of data transmission.

[0188] In one implementation, the first terminal device can determine a first distance between itself and the second terminal device based on the location information of the second terminal device, and determine whether to use the time-frequency resource information based on the first distance. Specifically, if the first distance is greater than an eighth threshold, the first terminal device determines to use the time-frequency resource information. When the first terminal device and the second terminal device are very close, their channel environments are also highly similar, and the reliability and interference level of the time-frequency resources determined by sensing or partial sensing are similar. Consequently, the time-frequency resource information is not valuable to the first terminal device, and therefore, the first terminal device will not use it.

[0189] Optionally, the first terminal device receives multiple time-frequency resource information from multiple second terminal devices; the time-frequency resource information includes the location information of the second terminal devices. Based on the location information of the multiple second terminal devices, the first terminal device determines multiple first distances between itself and the multiple second terminal devices. If a first distance greater than an eighth threshold is determined among the multiple first distances, the first terminal device determines to use the time-frequency resource information sent by the second terminal device whose first distance is greater than the eighth threshold.

[0190] In one implementation, the first terminal device can determine a second distance between the second and third terminal devices based on the location information of the second and third terminal devices, and determine whether to use the time-frequency resource information based on the second distance. Specifically, if the second distance is less than a ninth threshold, the first terminal device determines to use the time-frequency resource information. When the distance between the third and second terminal devices is very close, their channel environments are also highly similar, and the reliability and interference level of the time-frequency resources determined by sensing or partial sensing are similar. Consequently, the time-frequency resource information is highly valuable to the first terminal device, which can improve the reliability of data transmission by the first terminal device.

[0191] Optionally, the first terminal device receives multiple time-frequency resource information from multiple second terminal devices; the time-frequency resource information includes the location information of the second terminal devices. The first terminal device determines multiple second distances between the multiple second terminal devices and the third terminal device based on the location information of the multiple second terminal devices and the location information of the third terminal device; a minimum value is determined among the multiple second distances, and the first terminal device then determines to use the time-frequency resource information sent by the second terminal device corresponding to the minimum value.

[0192] In another implementation, the first terminal device can determine a first distance between itself and the second terminal device, and a second distance between itself and the third terminal device, based on the location information of the second and third terminal devices. It then determines whether to use the time-frequency resource information based on the first and second distances. Specifically, if the first distance is greater than an eighth threshold and the second distance is less than a ninth threshold, the first terminal device determines to use the time-frequency resource information.

[0193] Specifically, the first terminal device can determine whether to use the time-frequency resource information based on the location information of the second terminal device and / or the location information of the third terminal device.

[0194] In one implementation, the first terminal device can determine a first distance between itself and the second terminal device based on the location information of the second terminal device, and determine whether to use the time-frequency resource information based on the first distance. Specifically, if the first distance is greater than an eighth threshold, the first terminal device determines to use the time-frequency resource information; if the first distance is less than or equal to the eighth threshold, the first terminal device determines not to use the time-frequency resource information.

[0195] It should be understood that the first terminal device can also determine time-frequency resource information on its own. This determination of time-frequency resource information can be understood as the time-frequency resource information determined by itself through sensing, partial sensing, or random selection of resources.

[0196] The closer the distance between the first and second terminal devices, the more similar their channel environments. Under similar channel environments, the similarity in the time-frequency resource results detected by the first and second terminal devices is higher. In this case, the time-frequency resource information sent by the second terminal device has very low or no value to the first terminal device. Therefore, the first terminal device only uses the time-frequency resource information sent by the second terminal device when the distance between them is greater than the eighth threshold.

[0197] In one implementation, the first terminal device can determine a second distance between the second terminal device and the third terminal device based on the location information of the second terminal device and the third terminal device, and determine whether to use the time-frequency resource information based on the second distance. Specifically, if the second distance is less than a ninth threshold, the first terminal device determines to use the time-frequency resource information; if the second distance is greater than or equal to the ninth threshold, the first terminal device determines not to use the time-frequency resource information.

[0198] It should be understood that the first terminal device needs to send data to the third terminal device. The closer the second terminal device is to the third terminal device, the more similar their channel environments are. When the second and third terminal devices are close, the time-frequency resource information determined by the second terminal device is relatively close to the resource situation of the third terminal device, and in this case, the time-frequency resource information sent by the second terminal device is valuable to the first terminal device. When the second terminal device is far from the third terminal device, the time-frequency resource information sent by the second terminal device differs significantly from the resource situation determined by the third terminal device through sensing or partial sensing, and in this case, the time-frequency resource information sent by the second terminal device is of little or no value to the first terminal device. Therefore, the first terminal device only uses the time-frequency resource information sent by the second terminal device when the distance between the second and third terminal devices is less than the ninth threshold.

[0199] In another implementation, the first terminal device can determine a first distance between itself and the second terminal device, and a second distance between itself and the third terminal device, based on the location information of the second and third terminal devices. It then determines whether to use the time-frequency resource information based on the first and second distances. Specifically, if the first distance is greater than an eighth threshold and the second distance is less than a ninth threshold, the first terminal device determines to use the time-frequency resource information; if the first distance is less than or equal to the eighth threshold and the second distance is greater than or equal to the ninth threshold, the first terminal device determines not to use the time-frequency resource information.

[0200] Optionally, before the first terminal device determines to use the time-frequency resource information, the first terminal device may also send a location information request message to the third terminal device to obtain the location information of the third terminal device; the third terminal device sends its location information to the first terminal device according to the location information request message; and the first terminal device receives the location information of the third terminal device sent by the third terminal device.

[0201] Optionally, the location information of the third terminal device can be carried in one of the following: Level 1 side hop link control information (SCI), Level 2 side hop link control information (SCI), or Media Access Control Layer (MAC) control element (CE). Optionally, the location information can be a zone identifier.

[0202] In the technical solution provided in this application embodiment, the first terminal device determines the use of the time-frequency resource information based on the location information of the second terminal device and / or the location information of the third terminal device. This can improve the reliability of data transmission by the first terminal device.

[0203] It should be understood that the various methods for determining resources provided in this application can be used individually or in combination, and all of them are covered within the scope of protection claimed in the embodiments of this application. The embodiments of this application do not impose any limitations on them.

[0204] This application provides a communication device, such as... Figure 8 The diagram shown illustrates a schematic block diagram of a communication device 800 according to an embodiment of this application. This device can be applied to a second terminal device according to an embodiment of this application.

[0205] The communication device 800 includes: a transceiver unit 810 and a determination unit 820. The transceiver unit 810 is used to receive a first message sent by a first terminal device. The first message is used to obtain time and frequency resource information. The first message includes the location information of the first terminal device and / or the location information of a third terminal device, wherein the third terminal device is the target terminal device to which the first terminal device needs to transmit data.

[0206] The determining unit 820 is configured to determine to send the time-frequency resource information to the first terminal device, wherein the time-frequency resource information includes available time-frequency resource information or unavailable time-frequency resource information.

[0207] Optionally, the determining unit 820 is specifically used to determine, based on the location information, to send the time-frequency resource information to the first terminal device.

[0208] Optionally, the determining unit 820 is specifically used to determine a first distance between the second terminal device and the first terminal device based on the location information of the first terminal device; if the first distance is greater than a first threshold, then determine to send the time-frequency resource information to the first terminal device.

[0209] Optionally, the determining unit 820 is specifically used to determine a second distance between the second terminal device and the third terminal device based on the location information of the third terminal device; if the second distance is less than a second threshold, then determine to send the time-frequency resource information to the first terminal device.

[0210] Optionally, the determining unit 820 is specifically configured to determine, based on the location information of the first terminal device and the location information of the third terminal device, a first distance between the second terminal device and the first terminal device, and a second distance between the second terminal device and the third terminal device; if the first distance is greater than a first threshold and the second distance is less than a second threshold, then determine to send the time-frequency resource information to the first terminal device.

[0211] Optionally, the location information of the first terminal device and / or the location information of the third terminal device may be carried in one of the following: first-level side crosslink control information (SCI), second-level side crosslink control information (SCI), or media access control layer control element (MAC CE).

[0212] Optionally, the location information includes a region identifier.

[0213] This application provides a communication device, such as... Figure 9 The diagram shown illustrates a schematic block diagram of a communication device 900 according to an embodiment of this application. This device can be applied to the first terminal device in the embodiment of this application.

[0214] The communication device 900 includes: an acquisition unit 910 and a determination unit 920. The acquisition unit 910 is used to acquire the location information of a second terminal device and / or the location information of a third terminal device, wherein the third terminal device is the target terminal device to which the first terminal device needs to transmit data.

[0215] The determining unit 920 is configured to determine to send a first message to the second terminal device, the first message being used to obtain time and frequency resource information, the time and frequency resource information including available time and frequency resource information or unavailable time and frequency resource information.

[0216] Optionally, the determining unit 920 is specifically used to determine, based on the location information, to send the first message to the second terminal device.

[0217] Optionally, the determining unit 920 is specifically used to determine a first distance between the first terminal device and the second terminal device based on the location information of the second terminal device; if the first distance is greater than a third threshold, then determine to send the first message to the second terminal device.

[0218] Optionally, the determining unit 920 is specifically used to determine a second distance between the second terminal device and the third terminal device based on the location information of the second terminal device and the location information of the third terminal device; if the second distance is less than a fourth threshold, then determine to send the first message to the second terminal device.

[0219] Optionally, the second terminal device is the terminal device that is closest to the third terminal device among at least one fourth terminal device.

[0220] Optionally, the determining unit 920 is specifically configured to: determine a first distance between the first terminal device and the second terminal device, and determine a second distance between the second terminal device and the third terminal device, based on the location information of the second terminal device and the location information of the third terminal device; if the first distance is greater than a third threshold and the second distance is less than a fourth threshold, then determine to send the first message to the second terminal device.

[0221] Optionally, the acquisition unit 910 is specifically configured to send a location information request message to the second terminal device and / or the third terminal device; receive the location information of the second terminal device sent by the second terminal device; and / or receive the location information of the third terminal device sent by the third terminal device.

[0222] Optionally, the location information of the second terminal device and / or the location information of the third terminal device may be carried in one of the following: first-level side crosslink control information (SCI), second-level side crosslink control information (SCI), or media access control layer control element (MAC CE).

[0223] Optionally, the location information includes a region identifier.

[0224] This application provides a communication device, such as... Figure 10 The diagram illustrates a schematic block diagram of a communication device 1000 according to an embodiment of this application. This device can be applied to a second terminal device according to an embodiment of this application.

[0225] The communication device 1000 includes: a transceiver unit 1010 and a determination unit 1020. The transceiver unit 1010 is used to receive at least one second message from at least one first terminal device. The second message is used to obtain time and frequency resource information. The second message includes at least one of priority information, delay information, broadcast type information, and channel quality information of the data to be transmitted by the first terminal device.

[0226] The determining unit 1020 is configured to determine to send the time-frequency resource information to the first terminal device, wherein the time-frequency resource information includes available time-frequency resource information or unavailable time-frequency resource information.

[0227] Optionally, the determining unit 1020 is specifically used to determine, based on the second message, to send the time-frequency resource information to the first terminal device.

[0228] Optionally, the determining unit 1020 is specifically used to determine, based on the priority information of the data to be sent by the first terminal device, to send the time-frequency resource information to the first terminal device, wherein the priority value of the data to be sent by the first terminal device is lower than a fifth threshold.

[0229] Optionally, the determining unit 1020 is specifically used to determine, based on the delay information, to send the time-frequency resource information to the first terminal device, wherein the delay of the first terminal device is the shortest.

[0230] Optionally, the determining unit 1020 is specifically used to determine, based on the broadcast type information, to send the time-frequency resource information to the first terminal device, wherein the second message sent by the first terminal device is sent in a unicast manner.

[0231] Optionally, the determining unit 1020 is specifically used to determine, based on the channel quality information, to send the time-frequency resource information to the first terminal device, wherein the channel quality information of the first terminal device satisfies a preset condition.

[0232] Optionally, the delay information includes the remaining packet delay budget (PDB) information.

[0233] Optionally, the channel quality information includes at least one of: Reference Signal Received Power (RSRP) information, Received Signal Strength Indication (RSSI) information, Signal-to-Noise Ratio (SINR) and Interference Ratio (SINR) information, or Channel State Information (CSI).

[0234] This application provides a communication device 1100, such as... Figure 11 The diagram shown is a schematic block diagram of a communication device 1000 according to an embodiment of this application.

[0235] The device 1100 includes a processor 1110 and a transceiver 1120, wherein the transceiver 1120 is used to receive computer code or instructions and transmit them to the processor 1110, and the processor 1110 executes the computer code or instructions, as in any possible implementation of the embodiments of this application.

[0236] The aforementioned processor 1110 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The aforementioned processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0237] The aforementioned memory can be volatile memory or non-volatile memory, or may include both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DRRAM).

[0238] It should be understood that the aforementioned memory can be integrated into the processor, or the processor and memory can be integrated on the same chip, or they can be located on different chips and connected by an interface coupling. This application does not limit this.

[0239] This application provides a communication system 1200, including a first terminal device 1210, a second terminal device 1220, and a third terminal device 1230 from the resource determination method provided in this application. For example... Figure 12 The diagram shown is a schematic block diagram of a communication device 1200 according to an embodiment of this application.

[0240] This application also provides a computer-readable storage medium storing a computer program for implementing the methods in the above-described method embodiments. When the computer program is run on a computer, the computer can implement the methods in the above-described method embodiments.

[0241] Furthermore, the term "and / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship. The term "at least one" in this application can represent "one" and "two or more." For example, at least one of A, B, and C can represent: A existing alone, B existing alone, C existing alone, A and B existing simultaneously, A and C existing simultaneously, C and B existing simultaneously, and A, B, and C existing simultaneously.

[0242] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0243] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0244] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0245] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0246] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0247] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0248] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for determining resources, characterized in that, include: The second terminal device receives a first message sent by the first terminal device. The first message is used to obtain time and frequency resource information. The first message includes the location information of the first terminal device and / or the location information of the third terminal device, wherein the third terminal device is the target terminal device that the first terminal device needs to transmit data to. The second terminal device determines a first distance between itself and the first terminal device based on the location information of the first terminal device, and / or the second terminal device determines a second distance between itself and the third terminal device based on the location information of the third terminal device; If the first distance is greater than a first threshold, and / or if the second distance is less than a second threshold, the second terminal device determines to send the time-frequency resource information to the first terminal device, the time-frequency resource information including available time-frequency resource information or unavailable time-frequency resource information.

2. The method according to claim 1, characterized in that, The location information of the first terminal device and / or the location information of the third terminal device are carried in one of the following: First-level side outlink control information (SCI), second-level side outlink control information (SCI) or media access control layer control element (MAC CE).

3. The method according to claim 1 or 2, characterized in that, The location information includes the area identifier.

4. A method for determining resources, characterized in that, include: The first terminal device obtains the location information of the second terminal device and / or the location information of the third terminal device, wherein the third terminal device is the target terminal device to which the first terminal device needs to transmit data. The first terminal device determines a first distance between the first terminal device and the second terminal device based on the location information of the second terminal device, and / or the first terminal device determines a second distance between the second terminal device and the third terminal device based on the location information of the second terminal device and the location information of the third terminal device; If the first distance is greater than the third threshold, and / or if the second distance is less than the fourth threshold, the first terminal device determines to send a first message to the second terminal device. The first message is used to obtain time-frequency resource information, which includes available time-frequency resource information or unavailable time-frequency resource information.

5. The method according to claim 4, characterized in that, The first terminal device obtains the location information of the second terminal device and / or the location information of the third terminal device, including: The first terminal device sends a location information request message to the second terminal device and / or the third terminal device; The first terminal device receives the location information of the second terminal device sent by the second terminal device, and / or the first terminal device receives the location information of the third terminal device sent by the third terminal device.

6. The method according to claim 4 or 5, characterized in that, The location information of the second terminal device and / or the location information of the third terminal device are carried in one of the following: First-level side outlink control information (SCI), second-level side outlink control information (SCI) or media access control layer control element (MAC CE).

7. The method according to any one of claims 4 to 6, characterized in that, The location information includes the area identifier.

8. A method for determining resources, characterized in that, include: The second terminal device receives at least one second message from at least one first terminal device. The second message is used to obtain time-frequency resource information. The second message includes at least one of priority information, delay information, broadcast type information, and channel quality information of the data to be transmitted by the first terminal device. The second terminal device determines the order in which it sends the time-frequency resource information to the at least one first terminal device based on the at least one second message; The second terminal device determines to send the time-frequency resource information to the first terminal device. The time-frequency resource information includes available time-frequency resource information or unavailable time-frequency resource information. The first terminal device belongs to the at least one first terminal device.

9. The method according to claim 8, characterized in that, The second terminal device determines to send the time-frequency resource information to the first terminal device, including: The second terminal device determines to send the time and frequency resource information to the first terminal device based on the second message.

10. The method according to claim 9, characterized in that, The second terminal device determines to send the time-frequency resource information to the first terminal device according to the second message, including: The second terminal device determines to send the time-frequency resource information to the first terminal device based on the priority information of the data to be sent by the first terminal device, wherein the priority value of the data to be sent by the first terminal device is lower than the fifth threshold.

11. The method according to claim 9, characterized in that, The second terminal device determines to send the time-frequency resource information to the first terminal device according to the second message, including: The second terminal device determines to send the time-frequency resource information to the first terminal device based on the latency information, wherein the latency of the first terminal device is the shortest.

12. The method according to claim 9, characterized in that, The second terminal device determines to send the time-frequency resource information to the first terminal device according to the second message, including: The second terminal device determines to send the time-frequency resource information to the first terminal device based on the broadcast type information, wherein the second message sent by the first terminal device is sent in a unicast manner.

13. The method according to claim 9, characterized in that, The second terminal device determines to send the time-frequency resource information to the first terminal device according to the second message, including: The second terminal device determines to send the time-frequency resource information to the first terminal device based on the channel quality information, wherein the channel quality information of the first terminal device meets preset conditions.

14. The method according to claim 8 or 11, characterized in that, The latency information includes the remaining packet latency budget (PDB) information.

15. The method according to claim 8 or 13, characterized in that, The channel quality information includes at least one of the following: Reference Signal Received Power (RSRP) information, Received Signal Strength Indication (RSSI) information, Signal-to-Noise Ratio (SINR) and Interference Ratio (SINR) information, or Channel State Information (CSI).

16. A communication device, characterized in that, It includes units for implementing the function of the method as described in any one of claims 1 to 3.

17. A communication device, characterized in that, It includes units for implementing the function of the method as described in any one of claims 4 to 7.

18. A communication device, characterized in that, Includes units for implementing the function of the method as described in any one of claims 8 to 15.

19. A communication device, characterized in that, include: A processor and a transceiver, the transceiver being configured to receive computer code or instructions and transmit them to the processor, the processor executing the computer code or instructions such that the method as described in any one of claims 1 to 15 is performed.

20. A communication system, characterized in that, include: The first terminal device, the second terminal device, and the third terminal device in the method of any one of claims 1 to 15.

21. A computer-readable storage medium, characterized in that, include: The computer-readable medium stores a computer program; When the computer program is run, the method as described in any one of claims 1 to 15 is performed.

Citation Information

Patent Citations

  • Radio resource scheduling method, device and system

    CN107710845A

  • Resource allocation method, device and system

    CN110381586A