Method and device for selecting resources

By selecting resources in the terminal device from a collection of resources that are not reserved by other devices, the problem of resource conflicts in the device-to-device or vehicle-to-device scenarios is solved, and communication performance and data transmission stability are improved.

CN114424656BActive Publication Date: 2025-02-14GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080066386.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-12-30
Filing Date
2020-02-14
Publication Date
2025-02-14
Estimated Expiration
2040-02-14

AI Technical Summary

Technical Problem

In the scenario of device-to-device or vehicle-to-other device, the terminal device may conflict with the resources reserved by other terminal devices when selecting transmission resources, resulting in unfavorable data transmission.

Method used

When the terminal device performs initial resource selection or resource reselecting, it selects from the resource set that has not been reserved by other terminal devices to ensure that the selected resource does not conflict with the resources reserved by other terminal devices.

Benefits of technology

By avoiding resource conflicts, communication performance is improved and data transmission stability and reliability are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114424656B_ABST
    Figure CN114424656B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for selecting resources, which can avoid conflicts with resources reserved by other terminal devices, and is conducive to improving communication performance. The method includes: when a first terminal device performs initial resource selection, or data arrives at the first terminal device and triggers resource reselection under certain conditions, or the first terminal device determines that its reserved resources are successfully preempted by other terminal devices, the first terminal device selects a first resource from a first resource set, and the first resource set does not include resources reserved by other terminal devices in a resource selection window; the first terminal device performs data transmission on the first resource.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and more specifically, to a method and device for selecting resources. Background Art

[0002] In device to device (D2D) or vehicle to everything (V2X) scenarios, a terminal device can select transmission resources from a resource pool by listening, and then the terminal device can indicate the selected resource location to other terminal devices by sending a physical sidelink control channel (PSCCH). For some special scenarios, PSCCH and physical sidelink shared channel (PSSCH) are sent at the same time, which means that the terminal device can indicate its reserved transmission resources to other terminal devices only after the initial transmission.

[0003] For the initial resource selection or when data arrives and triggers resource reselection under certain conditions, or when the terminal device determines that its reserved resources are successfully preempted by other terminal devices, the transmission resources selected by the terminal device may conflict with the transmission resources reserved by other terminal devices, which is not conducive to data transmission. Summary of the invention

[0004] The present application provides a method and device for selecting resources, which can avoid conflicts with resources reserved by other terminal devices and help improve communication performance.

[0005] In a first aspect, a method for selecting resources is provided, comprising: when a first terminal device performs initial resource selection, or data arrives at the first terminal device and triggers resource reselection under certain conditions, or the first terminal device determines that its reserved resources are successfully preempted by other terminal devices, the first terminal device selects a first resource from a first resource set, and the first resource set does not include resources reserved by other terminal devices within a resource selection window; the first terminal device transmits data on the first resource.

[0006] In a second aspect, a terminal device is provided for executing the method in the above-mentioned first aspect or its various implementation modes.

[0007] Specifically, the terminal device includes a functional module for executing the method in the above-mentioned first aspect or its various implementation modes.

[0008] In a third aspect, a terminal device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method in the first aspect or its implementations.

[0009] In a fourth aspect, a device is provided for implementing the method in the above-mentioned first aspect or its various implementations.

[0010] Specifically, the apparatus includes: a processor, configured to call and run a computer program from a memory, so that a device equipped with the apparatus executes the method in the above-mentioned first aspect or its various implementation modes.

[0011] In a fifth aspect, a computer-readable storage medium is provided for storing a computer program, wherein the computer program enables a computer to execute the method in the above-mentioned first aspect or its various implementations.

[0012] In a sixth aspect, a computer program is provided, which, when executed on a computer, enables the computer to execute the method in the first aspect or its various implementations.

[0013] Based on the above technical solution, when the first terminal device selects a first resource, it only selects from a set of resources that have not been reserved by other terminal devices. This can avoid conflicts between the selected resources and resources reserved by other terminal devices, which is conducive to improving communication performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is a schematic diagram of a wireless communication system used in an embodiment of the present application;

[0015] Figure 2 It is a schematic diagram of two transmission modes in the Internet of Vehicles provided in an embodiment of the present application;

[0016] Figure 3 is a schematic diagram of a method for selecting resources by listening provided in an embodiment of the present application;

[0017] Figure 4 is a schematic diagram of a physical layer structure of a PSCCH and a PSSCH provided in an embodiment of the present application;

[0018] Figure 5 is a schematic diagram of a resource reservation method provided in an embodiment of the present application;

[0019] Figure 6 is a schematic diagram of a resource selection method provided in an embodiment of the present application;

[0020] Figure 7 is a schematic diagram of another resource selection method provided in an embodiment of the present application;

[0021] Figure 8 is a schematic diagram of another resource selection method provided in an embodiment of the present application;

[0022] Fig. 9 is a schematic flow chart of a method for selecting resources provided in an embodiment of the present application;

[0023] Fig.10 is a schematic diagram of another resource selection method provided in an embodiment of the present application;

[0024] Fig.11 is a schematic diagram of another resource selection method provided in an embodiment of the present application;

[0025] Fig.12 is a schematic block diagram of a terminal device provided in an embodiment of the present application;

[0026] Fig.13 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0027] Fig.14 is a schematic structural diagram of a device provided in an embodiment of the present application;

[0028] Fig.15 It is a schematic structural diagram of the communication system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] Figure 1 is a schematic diagram of a system 100 according to an embodiment of the present application.

[0030] like Figure 1 As shown, the terminal device 110 is connected to a first network device 130 under a first communication system and a second network device 120 under a second communication system. For example, the first network device 130 is a network device under Long Term Evolution (LTE), and the second network device 120 is a network device under New Radio (NR).

[0031] The first network device 130 and the second network device 120 may include multiple cells.

[0032] It should be understood that Figure 1 This is an example of a communication system in an embodiment of the present application. The embodiment of the present application is not limited to Figure 1 shown.

[0033] As an example, the communication system to which the embodiments of the present application are applicable may include at least a plurality of network devices under the first communication system and / or a plurality of network devices under the second communication system.

[0034] For example, Figure 1 The system 100 shown may include a main network device under a first communication system and at least one auxiliary network device under a second communication system. The at least one auxiliary network device is respectively connected to the one main network device to form multiple connections, and is respectively connected to the terminal device 110 to provide services for it. Specifically, the terminal device 110 can establish a connection through the main network device and the auxiliary network device at the same time.

[0035] In one implementation, the connection established between the terminal device 110 and the primary network device is a primary connection, and the connection established between the terminal device 110 and the secondary network device is a secondary connection. The control signaling of the terminal device 110 can be transmitted through the primary connection, and the data of the terminal device 110 can be transmitted through the primary connection and the secondary connection at the same time, or can be transmitted only through the secondary connection.

[0036] As another example, the first communication system and the second communication system in the embodiment of the present application are different, but the specific categories of the first communication system and the second communication system are not limited.

[0037] For example, the first communication system and the second communication system can be various communication systems, such as: Global System of Mobile communication (GSM), Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), etc.

[0038] The primary network device and the secondary network device may be any access network device.

[0039] In some embodiments, the access network device can be a base station (Base Transceiver Station, BTS) in the Global System of Mobile communication (GSM) or Code Division Multiple Access (CDMA), or a base station (NodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, or an evolved base station (Evolutional Node B, eNB or eNodeB) in a Long Term Evolution (LTE) system.

[0040] In one embodiment, the access network device may also be a next generation radio access network (NG RAN), or a base station (gNB) in an NR system, or a wireless controller in a cloud radio access network (CRAN), or the access network device may be a relay station, an access point, a vehicle-mounted device, a wearable device, or a network device in a future evolved public land mobile network (PLMN).

[0041] exist Figure 1 In the system 100 shown, the first network device 130 is taken as a main network device, and the second network device 120 is taken as an auxiliary network device as an example.

[0042] The first network device 130 may be an LTE network device, and the second network device 120 may be an NR network device. Alternatively, the first network device 130 may be an NR network device, and the second network device 120 may be an LTE network device. Alternatively, both the first network device 130 and the second network device 120 may be NR network devices. Alternatively, the first network device 130 may be a GSM network device, a CDMA network device, etc., and the second network device 120 may also be a GSM network device, a CDMA network device, etc. Alternatively, the first network device 130 may be a macrocell, and the second network device 120 may be a microcell, a picocell, or a femtocell, etc.

[0043] In one implementation, the terminal device 110 may be any terminal device, including but not limited to:

[0044] Via wired connection, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Line (DSL), digital cable, direct cable connection; and / or another data connection / network; and / or via a wireless interface, such as for a cellular network, a Wireless Local Area Network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter; and / or a device of another terminal device configured to receive / send communication signals; and / or an Internet of Things (IoT) device. A terminal device configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communications System (PCS) terminals that may combine cellular radiotelephones with data processing, fax, and data communications capabilities; PDAs that may include radiotelephones, pagers, Internet / Intranet access, Web browsers, notepads, calendars, and / or Global Positioning System (GPS) receivers; and conventional laptop and / or palmtop receivers or other electronic devices that include radiotelephone transceivers. A terminal device may refer to an access terminal, user equipment (UE), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device. The access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network, or a terminal device in a future evolved PLMN, etc.

[0045] It should be understood that the terms "system" and "network" are often used interchangeably herein.

[0046] In one implementation, D2D communication may be performed between the terminal devices 120 .

[0047] In one embodiment, the 5G system or 5G network may also be referred to as an NR system or NR network.

[0048] Device-to-device communication is a sidelink (SL) transmission technology based on D2D, which is different from the traditional cellular system where communication data is received or sent by base stations. The Internet of Vehicles system also uses device-to-device direct communication, so it has higher spectrum efficiency and lower transmission latency. Regarding device-to-device communication, the 3rd Generation Partnership Project (3GPP) defines two transmission modes: Mode A and Mode B. Figure 2 shown.

[0049] Mode A: The transmission resources of the terminal are allocated by the base station, and the terminal sends data on the sidelink according to the resources allocated by the base station; the base station can allocate single transmission resources to the terminal in the downlink (DL), or allocate semi-static transmission resources to the terminal.

[0050] Mode B: The terminal selects a resource in the resource pool for data transmission. Specifically, the terminal can select a transmission resource in the resource pool by listening, or select a transmission resource in the resource pool by random selection.

[0051] Figure 3 A schematic diagram of resource selection by listening is shown. In V2X, when a new data packet arrives at time n, triggering the terminal to perform initial resource selection or triggering resource reselection, the terminal can select resources within the time range of [n+T1,n+T2] milliseconds based on the listening results in the past 1 second, where T1≤4; 20≤T2≤100. The selection of T1 should be greater than the processing delay of the terminal, and the selection of T2 needs to be within the delay requirement of the service. For example, if the delay requirement of the service is 50ms, then 20≤T2≤50, and if the delay requirement of the service is 100ms, then 20≤T2≤100.

[0052] Typically, a terminal device in a V2X scenario can indicate its reserved resources by carrying resource reservation information in the PSCCH, so that other terminal devices can determine the resources reserved by the terminal device and whether they need to release the reserved resources by listening.

[0053] When selecting resources, terminal devices can make selections based on resources reserved by other terminal devices.

[0054] In LTE-V2X, the process of resource selection by the terminal within the selection window can be as follows:

[0055] 1. If the terminal sends data on some subframes in the listening window and does not listen, the resources of the subframes corresponding to these subframes in the selection window are excluded.

[0056] If the terminal sends data at time t within the listening window, the terminal will not monitor the data transmission of other terminals. Therefore, the terminal can exclude all resources that may be reserved by other terminals at time t within the selection window.

[0057] 2. If the terminal detects PSCCH within the listening window, it measures the reference signal receiving power (RSRP) of the PSSCH scheduled by the PSCCH. If the measured PSSCH-RSRP is higher than the PSSCH-RSRP threshold, and the reserved transmission resource is determined to be within the resource selection window of the terminal according to the reservation information in the control information transmitted in the PSCCH, the terminal excludes the resource from resource set A. Among them, the initial set of resource set A includes all candidate resources within the resource selection window, and the selection of the PSSCH-RSRP threshold is determined by the priority information carried in the detected PSCCH and the priority of the terminal's data to be transmitted.

[0058] In one implementation, the network device may configure the correspondence between the priority information and the PSSCH-RSRP threshold for the terminal device. For example, the network device may configure the correspondence between the priority information carried in the PSCCH - the priority of the data to be transmitted and the threshold for the terminal device. After the terminal receives the correspondence, it may determine the PSSCH-RSRP threshold to be used according to the correspondence.

[0059] Generally, when the priority of the data to be transmitted is determined, the higher the priority carried in the detected PSCCH, the lower the corresponding RSRP threshold; and the lower the priority carried in the detected PSCCH, the higher the corresponding RSRP threshold.

[0060] 3. If the number of remaining resources in set A is less than 20% of the total number of resources in the selection window, the terminal may increase the threshold of PSSCH-RSRP by 3 dB and repeat steps 1-2 until the number of remaining resources in set A is greater than 20% of the total number of resources.

[0061] 4. The terminal performs sidelink received signal strength indicator (S-RSSI) detection on the remaining resources in set A, and sorts them according to energy level, and puts the 20% of resources with the lowest energy (relative to the number of resources in set A) into set B.

[0062] The higher the S-RSSI of a resource, the higher the energy of the resource, and the greater the interference to the terminal when transmitting data on the resource. Therefore, when selecting resources, the terminal can try to avoid using high-energy resources. Therefore, the terminal can give priority to low-energy resources.

[0063] 5. The terminal selects a resource from set B with equal probability for data transmission.

[0064] In NR-V2X, autonomous driving needs to be supported, which puts higher requirements on data interaction between vehicles, such as higher throughput, lower latency, higher reliability, larger coverage, more flexible resource allocation, etc.

[0065] The physical layer structure of NR-V2X is as follows: Figure 4 shown.

[0066] Depend on Figure 4 It can be seen that the PSCCH used to transmit control information is included in the PSSCH used to transmit data, which also means that the PSCCH and PSSCH must be sent at the same time. Therefore, the current standard only supports the initial transmission of the current transport block (TB) to reserve the retransmission of the current TB, the retransmission of the current TB to reserve the retransmission of the current TB, and the initial transmission or retransmission of the previous TB to reserve the initial transmission or retransmission of the current TB.

[0067] like Figure 5 As shown, TB1 includes resource blocks x1, y1 and z1, and TB2 includes resource blocks x2, y2 and z2. The initial transmission resource x1 of TB1 can reserve the initial transmission resource x2 of TB2, the initial transmission resource x2 of TB2 can reserve the retransmission resources y2 and z2 of TB2, and the retransmission resource y2 of TB2 can reserve the retransmission resource z2 of TB2.

[0068] Since PSCCH and PSSCH are sent simultaneously, when a terminal device performs initial resource selection or resource reselection, the selected initial transmission resources cannot be indicated to other terminal devices. Only after the initial transmission can the initial transmission PSCCH be used to indicate its reserved resources to other terminal devices.

[0069] by Figure 6For example, the terminal generates a data packet at time n, and the terminal device needs to select a resource. In the embodiment of the present application, the resource set A can be selected from the resource selection window. The resource selection window starts at time (n+T1) and ends at time (n+T2).

[0070] T1 is greater than or equal to the sum of the time it takes for the terminal to process data and the time it takes to select resources. T2 min ≤T2≤The delay requirement range of the service. T2 min The value is {1,5,10,20}*2 μ time slots, where μ = 0, 1, 2, 3 correspond to the cases where the subcarrier spacing is 15, 30, 60, 120 kHz respectively.

[0071] For example, when the subcarrier spacing is 15kHz, μ = 0, T2 min 1*2 0 time slots; when the subcarrier spacing is 60kHz, μ=2, T2 min is 10*2 2 time slots.

[0072] The terminal can perform resource sensing between time (n-T0) and time n, where the value range of T0 is [100,1100] milliseconds. If the terminal senses PSCCH, the terminal can measure the RSRP of the PSCCH or the RSRP of the PSSCH scheduled by the PSCCH. If the measured RSRP is greater than the RSRP threshold, and the reserved resources are determined to be within the resource selection window based on the resource reservation information in the control information transmitted in the PSCCH, the resources reserved by the PSCCH are excluded, and the remaining resources after exclusion constitute resource set A. After resource exclusion, the terminal randomly selects several resources from resource set A as the transmission resources for its initial transmission and retransmission. The above RSRP threshold is determined by the priority carried in the PSCCH sensed by the terminal and the priority of the data to be sent by the terminal.

[0073] It is understandable that for mode B, the terminal can continuously monitor resources and record the monitoring results. When the terminal generates a data packet at time n and needs to select a resource, the terminal can select a resource based on the previous monitoring results between time (n-T0) and time n.

[0074] It should be noted that NR-V2X supports resource preemption. For example, a high-priority UE can preempt the resources of a low-priority UE to ensure that the services of the high-priority UE are transmitted first. Therefore, after the terminal excludes resources, set A may include resource blocks reserved by low-priority terminals. For example, by adjusting the RSRP threshold, the terminal may exclude resources reserved by low-priority terminals. Assume that Figure 6In the example, UE1 generates data and selects resources at time n. UE1 determines the resource selection window from time (n+T1) to time (n+T2) and the resource listening window from time (n-T0) to time n. In the resource listening window, UE1 listens to the PSCCH and PSSCH sent by UE2 at time (na) and determines that it has reserved resource x at time (n+b). After listening to the PSCCH sent by UE2, UE1 learns that the priority carried in UE2's PSCCH is lower than the priority of its own data to be sent, thereby increasing the RSRP threshold and increasing the probability that the RSRP of the measured UE2's transmission signal is lower than the RSRP threshold. When the measured RSRP is lower than the RSRP threshold, UE1 will not exclude the resource x reserved by UE2, that is, resource set A still includes resource x. If UE1 randomly selects resource x reserved by UE2 in resource set A after resource exclusion, UE1 preempts resource x. On the contrary, if UE1 detects that the priority carried in the PSCCH of UE2 is higher than the priority of its own data to be sent, it lowers the RSRP threshold so that the resources reserved by UE2 are more easily excluded, thereby avoiding using the same resource block with a high-priority UE.

[0075] In addition, NR-V2X also supports re-evaluation after initial resource selection or resource reselection.

[0076] like Figure 7 As shown, the terminal generates data at time n, determines the resource listening window and resource selection window, performs resource selection, and selects the initial transmission resource x at time (n+a), the retransmission resource y at time (n+b), and the retransmission resource z at time (n+c). After time n, the terminal will continue to listen to PSCCH. Before time (n+a), if the terminal finds through continuous listening that resource x, resource y, or resource z is reserved by other UEs, and the measured RSRP is higher than the RSRP threshold, the terminal will release the corresponding resources and reselect another resource on the premise of meeting the service delay requirement. After time (n+a), because the terminal has sent PSCCH and PSSCH on resource x and reserved resources y and z, the terminal will release resources y and / or z and reselect resources only if it finds through continuous listening that a high-priority UE has reserved resources y and / or z, and the RSRP is higher than the RSRP threshold. If a low-priority UE reserves resources y and / or z, the terminal will not release resources y and / or z. This is because according to the resource preemption mechanism, if a low-priority UE discovers through listening that a terminal with a higher priority than it has reserved resources y and / or z, it will actively release resources y and / or z, thus avoiding resource conflicts.

[0077] However, in the above-mentioned NR-V2X resource selection mechanism, the initial transmission resources selected by the terminal may also preempt the resources reserved by other low-priority UEs, and the terminal will not send any signal to inform the preempted low-priority UE to release the corresponding resources and reselect resources before the initial transmission, which may cause resource collision.

[0078] For example Figure 8 In the example, after UE1 generates a data packet at time n, it can determine the resource selection window and resource listening window and make resource selection. In the resource listening window, UE1 detects that UE2 sends PSCCH and PSSCH at time (na) and reserves resource x at time (n+b). After UE1 detects UE2's PSCCH in the resource listening window, it finds that the priority carried in UE2's PSCCH is lower than the priority of its own data to be sent. According to the above, by adjusting the RSRP threshold, UE1 does not exclude resource x reserved by UE2. Assume that UE1 selects resource x for initial transmission and selects retransmission resource y. At the same time, UE2 has been continuously listening after sending PSCCH and PSSCH at time (na), but until time (n+b), UE1 does not send any signal to inform UE2 to release resource x and reselect (because UE1 will perform initial transmission and send PSCCH and PSSCH at time (n+b)). Therefore, UE1 and UE2 may use resource x at the same time, resulting in resource collision. UE1 and UE2 become interference sources for each other, and communication reliability is reduced.

[0079] In addition, UE1 has a service arriving at time n, UE1 performs resource selection and selects the initial transmission resource x at time (n+a), and the retransmission resources y and z at time (n+b) and time (n+c). However, after UE1 sends the initial transmission data at time (n+a), and before time (n+b), it finds through re-evaluation that a high-priority UE has preempted the resource y selected by UE1 at time n. According to the principle of resource preemption, UE1 needs to release resource y and reselect the retransmission resource. If the reselection of resource y is in accordance with Figure 8 If a similar method is used for selection, since other UEs are unable to know the resources reselected by the terminal, there will also be a resource collision problem, that is, the resources reselected by UE1 may conflict with the resources reserved by the UE with a lower priority.

[0080] Based on this, an embodiment of the present application provides a method for resource selection, which can avoid resource conflicts and help improve communication reliability.

[0081] When the resource pool used by the terminal is configured or preconfigured to support resource preemption, the terminal can perform resource preemption.

[0082] When the resource pool used by the terminal is configured or preconfigured to support resource preemption, the terminal can decide whether to perform resource preemption based on the result of the measured channel busy ratio (CBR). For example, when the CBR is high, the terminal performs resource preemption; and when the CBR is low, the terminal does not perform resource preemption.

[0083] CBR indicates the occupancy rate of the channel by other terminals. A higher CBR indicates that the channel occupancy rate is high and the terminal needs to preempt resources to use the resources. A lower CBR indicates that the channel occupancy rate is low and the channel is relatively idle, so the terminal can use the resources without preempting resources.

[0084] The terminal determining that resource preemption is required may indicate that the terminal has activated resource preemption.

[0085] In the case where the terminal activates resource preemption, when data arrives at time n, the terminal can exclude the corresponding resources in the resource selection window according to the result of the listening in the resource listening window, and the remaining resources that are not excluded constitute resource set A. At this time, resource set A includes both blank resources that are not reserved by other UEs and resources that are reserved by other UEs but whose RSRP measurement values ​​are lower than the RSRP threshold. The blank resources that are not reserved by other UEs are recorded as resource set B.

[0086] The resources used by the terminal for initial transmission are randomly selected with medium probability from resource set B, and the resources used by the terminal for retransmission are randomly selected with medium probability from resource set A. In extreme cases, when resource set B is an empty set or resource set B only includes the resources with the highest time domain order (last time domain position) in resource set A, the resources used by the terminal for initial transmission are randomly selected with medium probability from resource set A.

[0087] like Fig. 9 As shown, the method of the embodiment of the present application may include steps S910 to S920.

[0088] S910. When the first terminal device performs initial resource selection, or data arrives at the first terminal device and triggers resource reselection under certain conditions, or the first terminal device determines that its reserved resources are successfully preempted by other terminal devices, the first terminal device selects a first resource from the first resource set, wherein the first resource set does not include resources reserved by other terminal devices within the resource selection window.

[0089] S920. The first terminal device transmits data on the first resource.

[0090] Triggering the terminal device to perform initial resource selection may refer to the terminal device being triggered to perform initial resource selection when data arrives when the terminal device initially accesses the network.

[0091] There are many conditions for triggering a terminal device to reselect resources, which are not specifically limited in the embodiments of the present application. For example, a network device may configure a certain number of resources for a terminal device, such as m resources, and the number of resources decreases by 1 each time the terminal device uses a resource. When the number of resources decreases to 0 and the terminal device has data to transmit, the terminal device is triggered to reselect resources.

[0092] The first terminal device determines that its reserved resources are successfully preempted by other terminal devices, which means that the first terminal device has sent resource reservation information through initial transmission or retransmission, indicating its reserved resources, such as indicating that its reserved resources are resource a, but the first terminal device discovers through listening that other high-priority UE2 has also reserved resource a, and detects that the signal quality of PSCCH or PSSCH sent by UE2 is higher than the preset threshold, which means that the resources reserved by the first terminal device are successfully preempted by other terminal devices. This means that UE2 successfully preempts resource a. In this case, the first terminal device needs to give up resource a and reselect resources for resource a.

[0093] In the above three situations, there is a problem that the resources used by the first terminal device to transmit data cannot be acquired by other terminal devices, so the terminal device with a low priority cannot give up the use of certain resources according to the monitoring result, resulting in resource conflict.

[0094] For resources that cannot be acquired by other terminal devices, an embodiment of the present application can select from the first resource set, that is, select the first resource from the first resource set, which does not include resources reserved by other terminal devices. The first resource set can be the above-mentioned resource set B that only includes blank resources.

[0095] When selecting the first resource, the first terminal device can exclude all resources reserved by other terminal devices in the resource selection window according to the listening results in the resource listening window, and only select from the blank resources in the resource selection window that are not reserved by other terminal devices. This can avoid conflicts with resources reserved by low-priority UEs and help improve communication reliability.

[0096] The time range corresponding to the resource listening window can be [n-T0,n], where time n is the time when the first terminal device needs to perform initial resource selection, or time n is the time when data arrives at the first terminal device and triggers resource reselection under certain conditions, or time n is the time when the first terminal device determines that its reserved resources have been successfully preempted by other terminal devices.

[0097] T0 may be predefined in the protocol, and the value range of T0 may be [100,1100] milliseconds.

[0098] The time range corresponding to the resource selection window can be [n+T1,n+T2], where T1 is greater than 0, T2 is greater than T1, time n is the time when the first terminal device needs to perform initial resource selection, or time n is the time when data arrives at the first terminal device and triggers resource reselection under certain conditions, or time n is the time when the first terminal device determines that its reserved resources have been successfully preempted by other terminal devices.

[0099] Among them, T2 is determined based on the maximum transmission delay of the data to be transmitted in the first terminal device, that is, the selection of T2 needs to meet the delay requirement of data transmission.

[0100] For example, assuming that the transmission delay of the data to be transmitted in the first terminal device is 50ms, if data arrives at the first terminal device at time n and triggers the initial resource selection or resource reselection, then T2≤50ms; if the time when the data arrives is time (nm), and the terminal device has performed the initial transmission of the data, after the initial transmission, the first terminal device determines at time n that its reserved resources are successfully preempted by other terminal devices, then (T2+m)≤50ms.

[0101] The first resource may be an initial transmission resource. For example, when the first terminal device performs initial resource selection, or data arrives at the first terminal device and triggers resource reselection under certain conditions, the terminal device may select an initial transmission resource from the first resource set.

[0102] After the first terminal device selects the initial transmission resource from the first resource set, it can select the retransmission resource from the second resource set. After selecting the retransmission resource, the terminal device can send the retransmission data on the retransmission resource.

[0103] The second resource set may include resources not reserved by other terminal devices within the resource selection window and resources satisfying the first condition, and the range of the second resource set is greater than or equal to the range of the first resource set. For example, the second resource set may be set A described above.

[0104] The resources satisfying the first condition may be, for example, resources reserved by other terminal devices through the first PSCCH, where the first PSCCH is a PSCCH whose signal quality is less than a first preset threshold, or a PSCCH whose signal quality of the scheduled PSSCH is less than a second preset threshold.

[0105] The first preset threshold and / or the second preset threshold may be configured by the network device for the first terminal device. The first preset threshold and the second preset threshold may be equal or unequal.

[0106] For example, the network device may configure the relationship between the priority of data transmitted by other terminal devices - the priority of data to be transmitted by the first terminal device, and the preset threshold to the terminal device, and the terminal device may determine the first preset threshold and / or the second preset threshold by itself according to the priority information. Since the priorities of data transmitted by different terminal devices are different, the first preset threshold may be different for different terminal devices, and the second preset threshold may also be different.

[0107] When selecting retransmission resources, the terminal device can exclude resources with relatively high signal quality reserved by other terminal devices in the resource selection window based on the listening results in the resource listening window. The resources that are not excluded form a second resource set, and the terminal device selects retransmission resources from the second resource set.

[0108] That is to say, the second resource set includes resources that are not reserved by other terminal devices, and resources that are reserved by other terminal devices but have relatively poor signal quality.

[0109] Since retransmission resources are resources used by terminal devices for data transmission after initial transmission, when the first terminal device uses retransmission resources, it has indicated its reserved retransmission resources to other devices through initial transmission. Other terminal devices can give up or seize retransmission resources by listening to the initial transmission resources of the first terminal device. For example, a terminal device with poor signal quality can give up the use of retransmission resources, and the resources reserved by terminal devices with higher signal quality have been excluded from the second resource set by the first terminal device. In this way, the retransmission resources selected by the first terminal device will not conflict with the resources reserved by other terminal devices, which is conducive to improving communication performance.

[0110] The signal quality may be represented, for example, by at least one of the following: RSRP, reference signal receiving quality (RSRQ), received signal strength indication (RSSI), and signal-to-interference-and-noise-ratio (SINR).

[0111] Combine the following Fig.10 Provide explanation.

[0112] UE1 activates resource preemption, and when data arrives at time n, UE1 can filter the resources in the resource selection window from time (n+T1) to time (n+T2) based on the listening results in the listening window from time (n-T0) to time n, and the filtered resources form resource set A. Fig.10As shown, resource set A includes resources {x, y, z, m, n, k}.

[0113] In resource set A, resources z, m, n, k are blank resources not reserved by other UEs, and resources x and y are resources reserved by UE2 and UE3 but whose RSRP measurement values ​​are lower than the RSRP threshold. Blank resources z, m, n, k can form resource set B. The resources used by UE1 for initial transmission can be randomly selected from resource set B with medium probability. The resources used by UE1 for retransmission can be randomly selected from resource set A with medium probability. The time domain position of the retransmission resource must be after the time domain position of the initial transmission resource.

[0114] When UE1 selects resources from resource set A and resource set B, it selects randomly with equal probability, which can avoid multiple UEs from selecting the same resource, and is helpful to reduce the probability of resource conflict.

[0115] In addition, there are some extreme cases, such as when the first resource set is empty, or the first resource set satisfies the second condition, the first terminal device can select the first resource from the second resource set.

[0116] The first resource set being empty indicates that all resources in the resource selection window are resources reserved for other terminal devices.

[0117] The second condition is that all resources in the first resource set are resources whose time domain positions in the second resource set are higher than a third preset threshold, that is, the first resource set only includes resources with relatively later time domain positions in the second resource set.

[0118] For example, the first resource set includes resources m and n, and resources m and n are the resources with the highest time domain position in the second resource set, or resources m and n are the resources with the highest and second highest time domain position in the second resource set, respectively.

[0119] The resources reserved by the first terminal device and successfully seized by other terminal devices are retransmission resources. In this case, the terminal device can select reselected resources for the retransmission resources from the first resource set. The first resource set does not include resources reserved by other terminal devices.

[0120] Specifically, the first terminal device determines that the resources reserved by it and successfully seized by other terminal devices include at least one resource, and the target resource is the resource with the earliest time domain position in the at least one resource. When selecting resources, the terminal device can select a reselected resource for the target resource from the first resource set.

[0121] Among the retransmission resources reserved by the terminal device, only some of the retransmission resources may be successfully seized by other terminal devices, and another part of the retransmission resources may not be successfully seized by other terminal devices. For the convenience of description, the resources that are not successfully seized by other terminal devices may be referred to as resources that are not subject to resource reselection. In order to prevent the time domain position of the retransmission resources reselected by the terminal device from being too close to the time domain position of the resources that are not subject to resource reselection, the terminal device may exclude resources whose time domain position is less than a preset value from the resources that are not subject to resource reselection.

[0122] For example, the terminal device does not want to retransmit a piece of data twice within a time slot. Therefore, in order to avoid the reselected resources and the resources without resource reselection falling into the same time slot, the terminal device can exclude all resources in the time slot where the resources without resource reselection are located from the first resource set, that is, the first resource set does not include all resources in the time slot where the resources without resource reselection reserved by the first terminal device are located.

[0123] For reselected resources of other resources except the target resource among the at least one resource, the first terminal device may select from a third resource set.

[0124] Specifically, the first terminal device can select a second resource from a third resource set, where the second resource is a reselected resource for at least one resource other than the target resource, and the third resource set includes resources within the resource selection window that are not reserved by other terminal devices, and resources that meet the first condition.

[0125] The resources satisfying the first condition may be, for example, resources reserved by other terminal devices through the first PSCCH, where the first PSCCH is a PSCCH whose signal quality is less than a first preset threshold, or a PSCCH whose signal quality of the scheduled PSSCH is less than a second preset threshold.

[0126] The first preset threshold and / or the second preset threshold may be configured by the network device for the first terminal device. The first preset threshold and the second preset threshold may be equal or unequal.

[0127] For example, the network device may configure the relationship between the priority of data transmitted by other terminal devices - the priority of data to be transmitted by the first terminal device, and the preset threshold to the terminal device, and the terminal device may determine the first preset threshold and / or the second preset threshold by itself according to the priority information. Since the priorities of data transmitted by different terminal devices are different, the first preset threshold may be different for different terminal devices, and the second preset threshold may also be different.

[0128] Similar to the first resource set, the third resource set may also not include resources whose time domain location distance from the resource not undergoing resource reselection is less than a preset value. For example, the third resource set does not include all resources in the time slot where the resource not undergoing resource reselection reserved by the first terminal device is located.

[0129] The solution of an embodiment of the present application may be for a scenario where PSCCH and PSSCH are transmitted simultaneously, for example, a terminal device simultaneously sends PSCCH and PSSCH on a selected first resource, a second resource and / or a reselected resource, wherein the PSCCH may carry resource reservation information of the first terminal device, that is, carry the resource location reserved by the first terminal device.

[0130] The resource position reserved by the first terminal device may include a time domain position and / or a frequency domain position.

[0131] Combine the following Fig.11 Provide explanation.

[0132] UE1 activates resource preemption, and when a service arrives at time n, UE1 completes resource selection. At time (n+a), UE1 re-evaluates and finds that a high-priority UE has preempted the resource selected by UE1 at time n, so UE1 needs to reselect the preempted resource.

[0133] exist Fig.11 In the example, at time n, UE1 selects resources x, y, and z. At time (n+a), assuming that UE1 discovers that resource y is preempted by a high-priority UE through continuous listening, and the RSRP measurement value is higher than the RSRP threshold, UE1 reselects resource y. The way UE1 reselects resources at time (n+a) is similar to Fig.10 The resource selection at time n is similar to that in . For example, UE1 can screen the resources in the resource selection window from time (n+a+T1) to time (n+a+T2) according to the listening result in the resource listening window from time (n+a-T0) to time (n+a).

[0134] The selection of T2 should meet the transmission delay requirement of the current service. Since the current service arrives at time n, (a+T2)≤the transmission delay of the service.

[0135] Optionally, in the embodiments of the present application, refer to Fig.12 , T2 is the minimum value between the remaining transmission delay of the current service being executed by UE1 and the preset value; wherein the remaining transmission delay is the time difference between the maximum transmission delay of the current service and the used transmission delay; the preset value is 32 time slots.

[0136] Specifically, the selection of T2 should meet the transmission delay requirement of the current service. Since the current service arrives at time n, and UE1 determines at time (n+a) that its reserved resources are successfully seized or reserved by other terminal devices, that is, a is the used transmission delay of UE1 executing the current service, UE1 needs to reselect the resources that it reserved but were successfully seized or reserved by other terminal devices at time (n+a), and the resource selection window for resource reselection is [n+a+T1,n+a+T2]. Therefore, (a+T2)≤the transmission delay of the current service. That is, T2≤the transmission delay of the current service-a.

[0137] At the same time, in NR V2X, a preset value is specified to constrain the time interval between the first transmission and the last transmission of the current data block indicated in the side control information. Assuming that the preset value is represented by W, in this embodiment, T2 needs to satisfy T2≤W. Therefore, T2≤min(transmission delay of the current service-a,W). Exemplarily, in NR-V2X, W is 32 time slots.

[0138] When UE is screening resources, it also needs to exclude all resources in the time slot where the resources are not reselected. Assuming that UE1 only reselects resource y, all resources in the time slot where resource z is located should be excluded by UE1, otherwise UE1 may send data on two resources in the same time slot at the same time. After UE1 performs the above resource exclusion, the set of remaining resources is recorded as resource set A.

[0139] according to Fig.11 According to the method described in , the blank resources in resource set A that are not reserved by other UEs constitute resource set B. UE1 will sort all resources that need to be reselected in the time domain, and the reselection of the resource with the lowest time domain order (the time domain position is ranked first) will be randomly selected with medium probability in resource set B, and the reselection of the remaining resources will be randomly selected with medium probability in resource set A. Assuming that UE1 only reselects for resource y, UE1 directly searches for reselected resources for resource y in resource set B. Assuming that UE reselects for resources y and z, UE1 searches for reselected resources for resource y in resource set B, and searches for reselected resources for resource z in resource set A. Among them, the time domain position of the reselected resources for resource z should be ranked after the time domain position of the reselected resources for resource y.

[0140] In addition, there are some extreme cases, such as when the first resource set is empty, or the first resource set meets the second condition, the first terminal device can select the first resource from the third resource set.

[0141] The first resource set being empty indicates that all resources in the resource selection window are resources reserved for other terminal devices.

[0142] The second condition is that all resources in the first resource set are resources whose time domain positions in the third resource set are higher than a third preset threshold, that is, the first resource set only includes resources with relatively later time domain positions in the third resource set.

[0143] For example, the first resource set includes resources m and n, and resources m and n are the resources with the highest time domain position in the third resource set, or resources m and n are the resources with the highest and second highest time domain position in the third resource set, respectively.

[0144] It can be understood that the low priority UE described above may refer to a UE with a lower priority carried in a PSCCH sent by the UE.

[0145] In an embodiment of the present application, the initial transmission resources and the retransmission resources may be selected at the same time. For example, the terminal device selects the initial transmission resources and all the retransmission resources before the initial transmission.

[0146] Through the method described in the embodiment of the present application, UE1's initial transmission will give priority to blank resources that are not reserved by other UEs. In the case of activating resource preemption, if UE1's initial transmission gives priority to blank resources, that is, it will not preempt the resources reserved by low-priority UEs, then only retransmissions will preempt the resources reserved by low-priority UEs. Figure 8 In the example, if the retransmission of UE1 preempts the resource x reserved by UE2, UE1 will send the PSCCH and PSSCH of the initial transmission from time n to time (n+b). UE2 will continue to listen from time (na) to time (n+b). When it hears the PSCCH sent by UE1, UE2 will release resource x and reselect, thereby avoiding resource collision. In addition, regardless of whether resource preemption is activated, the method described in the embodiment of the present application can improve the communication reliability of UE1's initial transmission.

[0147] The resource preemption described in the embodiments of the present application means that a high-priority UE can preempt resources reserved by a low-priority UE.

[0148] Combine the following Figure 6 Still another embodiment of the present invention is described.

[0149] like Figure 6 As shown in the figure, if the terminal decides to select resources at time n, all candidate resources in the resource selection window [n+T1,n+T2] will be excluded according to the listening results in the resource listening window [n-T0,n], that is, the resources reserved by other terminal devices and meeting the preset conditions will be excluded. For example, T0 can take a value in [100,1000]ms, T1 depends on the time it takes for the terminal to select resources and prepare service data, and T2 depends on the latency requirement range of the service data to be sent by the terminal.

[0150] Assume that all resources in the resource selection window are resource set A, and the remaining resources after resource exclusion are resource set B. Optionally, the specific process of resource exclusion is that the terminal listens to side control information sent by other terminals in the resource listening window [n-T0,n], and the side control information is transmitted in the physical side control channel; when the terminal measures the RSRP of the physical side control channel where the side control information is located or the RSRP of the physical side shared channel scheduled by the side control information is higher than the SL-RSRP threshold value, and the reserved resources indicated in the side control information are within the resource selection window of the terminal, the terminal excludes the reserved resources indicated above from the resource selection window. For example, in Figure 6 In the schematic diagram shown, the terminal excludes the resource x at time (n+b) according to the side control information detected at time (na).

[0151] Exemplarily, the above SL-RSRP threshold value is related to the priority information P1 carried in the detected side control information and the priority information P2 of the service data to be sent by the terminal. Specifically, the network configures or pre-configures a SL-RSRP threshold value table for the terminal, and the threshold value table contains the SL-RSRP threshold values ​​corresponding to all priority combinations.

[0152] For example, as shown in Table 1, assuming that the optional values ​​of the priority levels of P1 and P2 are both 0-7, the SL-RSRP threshold values ​​corresponding to different priority combinations are expressed as γ ij Indicates that, where γ ij Here, i is the value of the priority level P1, and j is the value of the priority level P2.

[0153] Table 1

[0154]

[0155]

[0156] Correspondingly, in an embodiment of the present application, when the terminal detects the side control information, it can determine the SL-RSRP threshold value corresponding to the priority combination of P1 and P2 by looking up Table 1 based on the priority information P1 carried in the side control information and the priority information P2 of the service data to be sent by the terminal.

[0157] Further, in an embodiment of the present application, the specific manners in which the UE determines the resource set B and selects resources from the resource set B are as follows:

[0158] The first implementation method: the terminal excludes resources from resource set A according to the listening result in the resource listening window, and the remaining resources are resource set B.

[0159] Optionally, if the number of resources in resource set B is less than X% of the number of resources in resource set A, the SL-RSRP threshold values ​​corresponding to all priority combinations in Table 1 are increased by 3dB. Accordingly, the terminal excludes the resources in the resource selection window again according to the listening results in the resource listening window. The terminal may repeat the above steps until the number of resources in resource set B is greater than or equal to X% of the number of resources in resource set A. Exemplarily, X may be equal to 20.

[0160] If the number of resources in resource set B is greater than or equal to X% of the number of resources in resource set A, all resource blocks in resource set B are sorted based on the RSRP value of the resource block. The RSRP value of the above resource block is the RSRP of the physical sideline control channel where the sideline control information reserved for the resource block is located, or the RSRP of the physical sideline shared channel scheduled by the sideline control information reserved for the resource block. For example, Figure 6 In the example, the RSRP value of resource block x is the RSRP of the physical sidelink control channel where the sidelink control information is located detected by the terminal at time na, or the RSRP of the physical sidelink shared channel scheduled by the sidelink control information.

[0161] Optionally, when multiple side control information reserves the same resource block, the RSRP values ​​corresponding to the multiple side control information can be added as the RSRP of the resource block, or the maximum value of the multiple RSRP values ​​can be taken as the RSRP of the resource block. The method for determining the RSRP of the resource block can be determined according to the actual scenario and will not be repeated here.

[0162] When a resource block is not reserved by any side control information, the RSRP value of the resource block is set to negative infinity, or set to R, which is an extremely small RSRP value smaller than the RSRP value of any resource block reserved by the side control information.

[0163] After sorting resource set B, the UE randomly selects initial transmission resources and retransmission resources from the (Q%×E) resource blocks with the lowest RSRP values ​​in resource set B. That is, the physical layer reports the (Q%×E) resource blocks with the lowest RSRP values ​​in resource set B to the upper layer. Exemplarily, Q can be equal to X. Wherein, E is the number of resource blocks in resource set A.

[0164] The second method: By configuring the SL-RSRP threshold values ​​corresponding to various priority combinations in the SL-RSRP threshold table, resources are excluded to obtain resource set B.

[0165] Optionally, the network device may configure the SL-RSRP threshold values ​​corresponding to various priority combinations in Table 1 to be less than -M dBm, where M is a preset larger value, for example, M may be 200, 300 or even a value close to positive infinity.

[0166] Optionally, the terminal may modify the SL-RSRP threshold value table configured by the network device by itself, for example, by subtracting a larger number N from each SL-RSRP threshold value to ensure that each SL-RSRP threshold value in the table is less than -M dBm.

[0167] Therefore, in the embodiment of the present application, the terminal can exclude resources of resource set A according to the above-mentioned SL-RSRP threshold value table and the listening result in the resource listening window, and the remaining resources are resource set B.

[0168] If the number of resources in resource set B is less than X% of the number of resources in resource set A, the terminal increases the SL-RSRP threshold corresponding to all priority combinations in Table 1 by 3dB. The terminal excludes the resources in the resource selection window again according to the listening result in the resource listening window. The terminal repeats the above steps until the number of resources in resource set B is greater than or equal to X% of the number of resources in resource set A. For example, X is equal to 20.

[0169] If the number of resources in resource set B is greater than or equal to X% of the number of resources in resource set A, the terminal randomly determines (Q%×E) resources in resource set B and selects initial transmission and retransmission resources from these (Q%×E) resources. That is, the physical layer reports the (Q%×E) resources randomly determined in resource set B to the upper layer. Exemplarily, Q can be equal to X. E is the number of resources in resource set A.

[0170] In this embodiment, resources are excluded based on the SL-RSRP threshold values ​​corresponding to various priority combinations in the configured SL-RSRP threshold table, so that the obtained resource set B is less likely to collide with resources reserved by other terminals, further improving the communication security of the terminal.

[0171] The wireless communication method according to the embodiment of the present application is described in detail above. Figures 12 to 15 , describing the technical features described in the device and method embodiments according to the embodiments of the present application are applicable to the following device embodiments.

[0172] Fig.12 It is a schematic block diagram of a terminal device provided in an embodiment of the present application. The terminal device may be any of the terminal devices described above. For example, the terminal device may be the first terminal device described above. Fig.12The terminal device 1200 shown includes a processing unit 1210 and a communication unit 1220, wherein:

[0173] Processing unit 1210 is used to select a first resource from a first resource set when the first terminal device performs initial resource selection, or when data arrives at the first terminal device and triggers resource reselection under certain conditions, or when the first terminal device determines that its reserved resources are successfully preempted by other terminal devices. The first resource set does not include resources reserved by other terminal devices within the resource selection window.

[0174] The communication unit 1220 is configured to perform data transmission on the first resource.

[0175] In one embodiment, the processing unit 1210 is used to select an initial transmission resource from the first resource set when the first terminal device performs an initial resource selection or when data arrives at the first terminal device and triggers resource reselection under certain conditions.

[0176] In one embodiment, the processing unit 1210 is used to: select retransmission resources from a second resource set, wherein the second resource set includes resources within the resource selection window that are not reserved by other terminal devices, and resources that meet the first condition; the communication unit 1220 is used to: send retransmission data on the retransmission resources.

[0177] In one implementation, the resources reserved by the first terminal device and successfully seized by other terminal devices are retransmission resources.

[0178] In one embodiment, the first terminal device determines that the resources reserved by it and successfully preempted by other terminal devices include at least one resource, and the target resource is the resource with the earliest time domain position among the at least one resource; the processing unit 1210 is used to: select a reselected resource for the target resource from the first resource set.

[0179] In one embodiment, the processing unit 1210 is used to: select a second resource from a third resource set, the third resource set including resources within the resource selection window that are not reserved by the other terminal devices, and resources that meet the first condition, and the second resource is a reselected resource for resources other than the target resource in the at least one resource; the communication unit 1220 is used to: send retransmission data on the second resource.

[0180] In one embodiment, the first resource set and / or the third resource set does not include all resources in the time slot where the resources reserved by the first terminal device without resource reselection are located, and the resources without resource reselection are resources reserved by the first terminal device and have not been successfully preempted by other terminal devices.

[0181] In one embodiment, the resources satisfying the first condition are resources reserved by other terminal devices through the first physical sideline control channel PSCCH, and the first PSCCH is a PSCCH whose signal quality is less than a first preset threshold, or a PSCCH whose signal quality of the scheduled physical sideline shared channel PSSCH is less than a second preset threshold.

[0182] In one implementation, the first preset threshold and / or the second preset threshold is configured by a network device for the first terminal device.

[0183] In one embodiment, the signal quality is represented by at least one of the following: reference signal received power RSRP, reference signal received quality RSRQ, received signal strength indication RSSI, and signal to interference plus noise ratio SINR.

[0184] In one embodiment, the resources reserved by the other terminal devices through the first PSCCH are determined by the first terminal device through listening to the first PSCCH within the resource listening window.

[0185] In one embodiment, the time range corresponding to the resource listening window is [n-T0,n], where time n is the time when the first terminal device needs to perform initial resource selection, or time n is the time when data arrives at the first terminal device and triggers resource reselection under certain conditions, or time n is the time when the first terminal device determines that its reserved resources are successfully preempted by other terminal devices, and T0 is predefined in the protocol.

[0186] In one embodiment, the time range corresponding to the resource selection window is [n+T1, n+T2], T1 is greater than 0, T2 is greater than T1, time n is the time when the first terminal device needs to perform initial resource selection, or time n is the time when data arrives at the first terminal device and triggers resource reselection under certain conditions, or time n is the time when the first terminal device determines that its reserved resources are successfully preempted by other terminal devices.

[0187] In one implementation, T2 is determined according to a maximum transmission delay of data.

[0188] In one embodiment, if the moment n is the moment when the first terminal device determines that its reserved resources are successfully preempted or reserved by other terminal devices, then T2 is the minimum value of the remaining transmission delay of the current service being executed by the first terminal device and the preset value;

[0189] The remaining transmission delay is the time difference between the maximum transmission delay of the current service and the used transmission delay;

[0190] The preset value is 32 time slots.

[0191] In one implementation, the communication unit 1220 is configured to: simultaneously send the PSCCH and the PSSCH on the first resource.

[0192] In one embodiment, the PSCCH is used to indicate the resource location reserved by the first terminal device.

[0193] In one embodiment, the processing unit 1210 is used to: select the first resource from the second resource set or the third resource set when the first resource set is empty or the first resource set satisfies a second condition; wherein the second resource set and the third resource set include resources within the resource selection window that are not reserved by the other terminal devices, and resources reserved by other terminal devices through the first PSCCH, and the first PSCCH is a PSCCH whose signal quality is less than a preset threshold, or the signal quality of the scheduled PSSCH is less than a preset threshold; the second condition is that all resources in the first resource set are resources whose time domain position in the second resource set or the third resource set is higher than a third preset threshold.

[0194] In one implementation, the second condition is that all resources in the set are resources with the highest time domain position in the second resource set or the third resource set.

[0195] In some embodiments, the communication module may be a communication interface or a transceiver, or an input / output interface of a communication chip or a system on chip. The determination module may be one or more processors.

[0196] Fig.13 It is a schematic structural diagram of a communication device 1300 provided in an embodiment of the present application. Fig.13 The communication device 1300 shown includes a processor 1310, and the processor 1310 can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0197] In one embodiment, Fig.13 As shown, the communication device 1300 may further include a memory 1320. The processor 1310 may call and run a computer program from the memory 1320 to implement the method in the embodiment of the present application.

[0198] The memory 1320 may be a separate device independent of the processor 1310 , or may be integrated into the processor 1310 .

[0199] In one embodiment, Fig.13As shown, the communication device 1300 may further include a transceiver 1330, and the processor 1310 may control the transceiver 1330 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.

[0200] The transceiver 1330 may include a transmitter and a receiver. The transceiver 1330 may further include an antenna, and the number of antennas may be one or more.

[0201] In one implementation, the communication device 1300 may specifically be a network device of an embodiment of the present application, and the communication device 1300 may implement the corresponding processes implemented by the network device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.

[0202] In one embodiment, the communication device 1300 may specifically be a mobile terminal / terminal device of an embodiment of the present application. For example, the communication device 1300 may be a first terminal device, and the communication device 1300 may implement the corresponding processes implemented by the mobile terminal / terminal device in each method of the embodiment of the present application. For the sake of brevity, they will not be repeated here.

[0203] Fig.14 It is a schematic structural diagram of the device of an embodiment of the present application. Fig.14 The device 1400 shown includes a processor 1410, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0204] In one embodiment, Fig.14 As shown, the apparatus 1400 may further include a memory 1420. The processor 1410 may call and run a computer program from the memory 1420 to implement the method in the embodiment of the present application.

[0205] The memory 1420 may be a separate device independent of the processor 1410 , or may be integrated into the processor 1410 .

[0206] In one implementation, the device 1400 may further include an input interface 1430. The processor 1410 may control the input interface 1430 to communicate with other devices or apparatuses, and specifically, may obtain information or data sent by other devices or apparatuses.

[0207] In one implementation, the apparatus 1400 may further include an output interface 1440. The processor 1410 may control the output interface 1440 to communicate with other devices or apparatuses, and specifically, may output information or data to other devices or apparatuses.

[0208] In one implementation, the device can be applied to the network equipment in the embodiments of the present application, and the device can implement the corresponding processes implemented by the network equipment in each method of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0209] In one embodiment, the device can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the device can implement the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0210] It should be understood that the device mentioned in the embodiments of the present application may be a chip, which may also be called a system-level chip, a system chip, a chip system, or a system-on-chip chip, etc.

[0211] Fig.15 1 is a schematic block diagram of a communication system 1500 provided in an embodiment of the present application. Fig.15 As shown, the communication system 1500 includes a first terminal device 1510 and other terminal devices 1520 .

[0212] Among them, the first terminal device 1510 can be used to implement the corresponding functions implemented by the first terminal device in the above method, and the other terminal device 1520 can be used to implement the corresponding functions implemented by other terminal devices in the above method. For the sake of brevity, they are not repeated here.

[0213] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0214] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and 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 link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0215] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.

[0216] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.

[0217] Optionally, the computer-readable storage medium can be applied to the network device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0218] In one embodiment, the computer-readable storage medium can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0219] An embodiment of the present application also provides a computer program product, including computer program instructions.

[0220] Optionally, the computer program product can be applied to the network device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0221] In one embodiment, the computer program product can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0222] The embodiment of the present application also provides a computer program.

[0223] Optionally, the computer program can be applied to the network device in the embodiments of the present application. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the network device in the various methods in the embodiments of the present application. For the sake of brevity, they are not described here.

[0224] In one embodiment, the computer program can be applied to the mobile terminal / terminal device in the embodiments of the present application. When the computer program is run on a computer, the computer executes the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0225] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

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

[0227] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0229] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0230] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. In view of such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0231] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for selecting resources, characterized in that: include: When the first terminal device performs initial resource selection, or data arrives at the first terminal device and triggers resource reselection under certain conditions, or the first terminal device determines that its reserved resources are successfully preempted by other terminal devices, the first terminal device selects a first resource from a first resource set, and the first resource set does not include resources reserved by other terminal devices in a resource selection window; The first terminal device performs data transmission on the first resource; Wherein, when the first terminal device performs initial resource selection, or when data arrives at the first terminal device and triggers resource reselection under certain conditions, the first terminal device selects a first resource from a first resource set, including: The first terminal device selects an initial transmission resource from the first resource set; Wherein, the method further comprises: The first terminal device selects a retransmission resource from a second resource set, where the second resource set includes resources within the resource selection window that are not reserved by other terminal devices and resources that meet the first condition; The first terminal device sends retransmission data on the retransmission resource; Among them, the resources that meet the first condition are resources reserved by other terminal devices through the first physical sideline control channel PSCCH, and the first PSCCH is a PSCCH whose signal quality is less than a first preset threshold, or the signal quality of the scheduled physical sideline shared channel PSSCH is less than a second preset threshold.

2. The method according to claim 1, characterized in that The resources reserved by the first terminal device and successfully seized by other terminal devices are retransmission resources.

3. The method according to claim 2, characterized in that The first terminal device determines that the resources reserved by it and successfully seized by other terminal devices include at least one resource, and the target resource is the resource with the most forward time domain position among the at least one resource; The first terminal device selects a first resource from a first resource set, including: The first terminal device selects a reselected resource for the target resource from the first resource set.

4. The method according to claim 3, characterized in that The method further comprises: The first terminal device selects a second resource from a third resource set, the third resource set including resources in the resource selection window that are not reserved by the other terminal devices and resources that meet the first condition, and the second resource is a reselected resource for a resource other than the target resource in the at least one resource; The first terminal device sends retransmission data on the second resource.

5. The method according to any one of claims 2 to 4, characterized in that: The first resource set and / or the third resource set do not include all resources in the time slot where the resources reserved by the first terminal device without resource reselection are located. The resources without resource reselection are resources reserved by the first terminal device and have not been successfully preempted by other terminal devices.

6. The method according to claim 1, characterized in that The first preset threshold and / or the second preset threshold is configured by a network device for the first terminal device.

7. The method according to claim 1, characterized in that The signal quality is represented by at least one of the following: reference signal received power RSRP, reference signal received quality RSRQ, received signal strength indicator RSSI, and signal to interference plus noise ratio SINR.

8. The method according to any one of claims 6 to 7, characterized in that: The resources reserved by the other terminal devices through the first PSCCH are determined by the first terminal device through listening to the first PSCCH within the resource listening window.

9. The method according to claim 8, characterized in that The time range corresponding to the resource listening window is [n-T0,n], where time n is the time when the first terminal device needs to perform initial resource selection, or time n is the time when data arrives at the first terminal device and triggers resource reselection under certain conditions, or time n is the time when the first terminal device determines that its reserved resources are successfully preempted by other terminal devices, and T0 is predefined in the protocol.

10. The method according to any one of claims 1-4, 6-7 and 9, characterized in that The time range corresponding to the resource selection window is [n+T1, n+T2], T1 is greater than 0, T2 is greater than T1, time n is the time when the first terminal device needs to perform initial resource selection, or time n is the time when data arrives at the first terminal device and triggers resource reselection under certain conditions, or time n is the time when the first terminal device determines that its reserved resources are successfully preempted by other terminal devices.

11. The method according to claim 10, characterized in that The T2 is determined according to the maximum transmission delay of the data.

12. The method according to claim 10, characterized in that If the moment n is the moment when the first terminal device determines that its reserved resources are successfully preempted or reserved by other terminal devices, then T2 is the minimum value of the remaining transmission delay of the current service being executed by the first terminal device and the preset value; The remaining transmission delay is the time difference between the maximum transmission delay of the current service and the used transmission delay; The preset value is 32 time slots.

13. The method according to any one of claims 1-4, 6-7 and 9, characterized in that The first terminal device performs data transmission on the first resource, including: The first terminal device simultaneously sends PSCCH and PSSCH on the first resource.

14. The method according to claim 13, characterized in that The PSCCH is used to indicate the resource location reserved by the first terminal device.

15. The method according to any one of claims 1-4, 6-7 and 9, characterized in that The method further comprises: When the first resource set is empty or the first resource set meets a second condition, the first terminal device selects the first resource from the second resource set or the third resource set; The second resource set and the third resource set include resources in the resource selection window that are not reserved by the other terminal devices, and resources reserved by other terminal devices through a first PSCCH, wherein the first PSCCH is a PSCCH whose signal quality is less than a preset threshold, or a PSSCH whose signal quality is less than a preset threshold; The second condition is that all resources in the first resource set are resources whose time domain positions in the second resource set or the third resource set are higher than a third preset threshold.

16. The method according to claim 15, characterized in that The second condition is that all resources in the first resource set are resources with the highest time domain position in the second resource set or the third resource set.

17. A terminal device, the terminal device being a first terminal device, characterized in that: include: a processing unit, configured to select a first resource from a first resource set when the first terminal device performs initial resource selection, or when data arrives at the first terminal device and triggers resource reselection under certain conditions, or when the first terminal device determines that its reserved resources are successfully preempted by other terminal devices, wherein the first resource set does not include resources reserved by other terminal devices in the resource selection window; a communication unit, configured to perform data transmission on the first resource; The processing unit is used to: select an initial transmission resource from the first resource set when the first terminal device performs initial resource selection or when data arrives at the first terminal device and triggers resource reselection under certain conditions; Wherein, the processing unit is used for: Selecting a retransmission resource from a second resource set, where the second resource set includes resources that are not reserved by other terminal devices within the resource selection window and resources that meet the first condition; The communication unit is used to: send retransmission data on the retransmission resource; Among them, the resources that meet the first condition are resources reserved by other terminal devices through the first physical sideline control channel PSCCH, and the first PSCCH is a PSCCH whose signal quality is less than a first preset threshold, or the signal quality of the scheduled physical sideline shared channel PSSCH is less than a second preset threshold.

18. The terminal device according to claim 17, characterized in that: The resources reserved by the first terminal device and successfully seized by other terminal devices are retransmission resources.

19. The terminal device according to claim 18, characterized in that: The first terminal device determines that the resources reserved by it and successfully seized by other terminal devices include at least one resource, and the target resource is the resource with the most forward time domain position among the at least one resource; The processing unit is used for: A reselected resource for the target resource is selected from the first resource set.

20. The terminal device according to claim 19, characterized in that: The processing unit is used for: Selecting a second resource from a third resource set, the third resource set including resources in the resource selection window that are not reserved by the other terminal devices and resources that meet the first condition, the second resource being a reselected resource for a resource other than the target resource in the at least one resource; The communication unit is used for: The retransmission data is sent on the second resource.

21. The terminal device according to any one of claims 18 to 20, characterized in that: The first resource set and / or the third resource set do not include all resources in the time slot where the resources reserved by the first terminal device without resource reselection are located. The resources without resource reselection are resources reserved by the first terminal device and have not been successfully preempted by other terminal devices.

22. The terminal device according to claim 17, characterized in that: The first preset threshold and / or the second preset threshold is configured by a network device for the first terminal device.

23. The terminal device according to claim 17, characterized in that: The signal quality is represented by at least one of the following: reference signal received power RSRP, reference signal received quality RSRQ, received signal strength indicator RSSI, and signal to interference plus noise ratio SINR.

24. The terminal device according to any one of claims 22-23, characterized in that: The resources reserved by the other terminal devices through the first PSCCH are determined by the first terminal device through listening to the first PSCCH within the resource listening window.

25. The terminal device according to claim 24, characterized in that: The time range corresponding to the resource listening window is [n-T0,n], where time n is the time when the first terminal device needs to perform initial resource selection, or time n is the time when data arrives at the first terminal device and triggers resource reselection under certain conditions, or time n is the time when the first terminal device determines that its reserved resources are successfully preempted by other terminal devices, and T0 is predefined in the protocol.

26. The terminal device according to any one of claims 17-20, 22-23 and 25, characterized in that: The time range corresponding to the resource selection window is [n+T1, n+T2], T1 is greater than 0, T2 is greater than T1, time n is the time when the first terminal device needs to perform initial resource selection, or time n is the time when data arrives at the first terminal device and triggers resource reselection under certain conditions, or time n is the time when the first terminal device determines that its reserved resources are successfully preempted by other terminal devices.

27. The terminal device according to claim 26, characterized in that: The T2 is determined according to the maximum transmission delay of the data.

28. The terminal device according to claim 26, characterized in that: If the moment n is the moment when the first terminal device determines that its reserved resources are successfully preempted or reserved by other terminal devices, then T2 is the minimum value of the remaining transmission delay of the current service being executed by the first terminal device and the preset value; The remaining transmission delay is the time difference between the maximum transmission delay of the current service and the used transmission delay; The preset value is 32 time slots.

29. The terminal device according to any one of claims 17-20, 22-23 and 25, characterized in that: The communication unit is used for: The PSCCH and the PSSCH are sent simultaneously on the first resource.

30. The terminal device according to claim 29, characterized in that: The PSCCH is used to indicate the resource location reserved by the first terminal device.

31. The terminal device according to any one of claims 17-20, 22-23 and 25, characterized in that: The processing unit is used for: When the first resource set is empty or the first resource set meets a second condition, selecting the first resource from a second resource set or a third resource set; The second resource set and the third resource set include resources in the resource selection window that are not reserved by the other terminal devices, and resources reserved by other terminal devices through a first PSCCH, wherein the first PSCCH is a PSCCH whose signal quality is less than a preset threshold, or a PSSCH whose signal quality is less than a preset threshold; The second condition is that all resources in the first resource set are resources whose time domain positions in the second resource set or the third resource set are higher than a third preset threshold.

32. The terminal device according to claim 31, characterized in that: The second condition is that all resources in the first resource set are resources with the highest time domain position in the second resource set or the third resource set.

33. A terminal device, characterized in that: The terminal device includes a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 16.

34. A device, characterized in that The apparatus comprises a processor, and the processor is used to call and run a computer program from a memory, so that a device equipped with the apparatus executes the method according to any one of claims 1 to 16.

35. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 16.

36. A computer program product, characterized in that The method comprises computer program instructions, wherein the computer program instructions cause a computer to execute the method according to any one of claims 1 to 16.

37. A communication system, characterized in that: Comprising a terminal device as described in any one of claims 17-32.